eric ide

Issue222

Classification
Title: Segmentation fault during startup
Type: crash Product: eric6
Process
Priority: high    
Status: closed Resolution: rejected
Superseder: Nosy List: detlev, rotzbengel
Assigned to: detlev Keywords:

Created on 2017-02-03.09:04:50 by rotzbengel, last changed by rotzbengel.

Messages (5.0)
msg832 (view) Author: rotzbengel Date: 2017-02-04.13:17:03
I see... :-)
Knowing this is still helpful for me, I'll keep an eye on that.
Thanks
msg831 (view) Author: detlev Date: 2017-02-04.10:59:05
Please note that PyQt 5.7.1 does not support Qt 5.8.0 (see the PyQt mailing list 
for more details).

Arch seems to be too quick adopting new versions sometimes.
msg830 (view) Author: rotzbengel Date: 2017-02-04.09:21:01
Of course, sorry, my fault. Thank you for your quick 
response, it's appreciated!
I'm working on an Arch Linux Setup, and the eric package is 
from the community repository.
I'll try the 17.02 version on Monday and let you know if it 
fixes the problem.

Also, an updated version list:
eric 17.01(-1)
python 3.6.0-2
python-qscintilla-qt5 2.9.3-2
qt 5.8.0-2
pyqt 5.7.1-3
And just in case
kernel 4.6.9-1
glibc 2.24-2
msg829 (view) Author: detlev Date: 2017-02-03.17:25:02
It doesn't crash over here. In order to maybe get an idea of the issue I would 
like to get some more version information (Qt, PyQt, Distribution).

Tomorrow there will be a new release (17.02). Please try that as well.

The eric version info you gave indicates, that it is a distribution package (I 
have just released the plain 17.01). Please change the distribution package 
against the variant available through the eric web site and try that.
msg828 (view) Author: rotzbengel Date: 2017-02-03.09:07:23
eric6 (17.01-1) crashes with segfault during startup process

python 3.6.0-2
python-qscintilla-qt5 2.9.3-2


gdb stack trace:

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff789f446 in strlen () from /usr/lib/libc.so.6
(gdb) bt
#0  0x00007ffff789f446 in strlen () from /usr/lib/libc.so.6
#1  0x00007ffff7407b69 in PyUnicode_FromFormatV () from
/usr/lib/libpython3.6m.so.1.0
#2  0x00007ffff743784d in PyErr_FormatV () from /usr/lib/libpython3.6m.so.1.0
#3  0x00007ffff7437904 in PyErr_Format () from /usr/lib/libpython3.6m.so.1.0
#4  0x00007ffff14a381a in ?? () from /usr/lib/python3.6/site-packages/sip.so
#5  0x00007fffeae7642a in PyInit_Qsci () from
/usr/lib/python3.6/site-packages/PyQt5/Qsci.so
#6  0x00007ffff74ab541 in _PyImport_LoadDynamicModuleWithSpec () from
/usr/lib/libpython3.6m.so.1.0
#7  0x00007ffff74abb46 in ?? () from /usr/lib/libpython3.6m.so.1.0
#8  0x00007ffff7418d00 in PyCFunction_Call () from /usr/lib/libpython3.6m.so.1.0
#9  0x00007ffff73e9379 in _PyEval_EvalFrameDefault () from
/usr/lib/libpython3.6m.so.1.0
#10 0x00007ffff7426291 in ?? () from /usr/lib/libpython3.6m.so.1.0
#11 0x00007ffff742778a in ?? () from /usr/lib/libpython3.6m.so.1.0
#12 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#13 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from
/usr/lib/libpython3.6m.so.1.0
#14 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#15 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#16 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from
/usr/lib/libpython3.6m.so.1.0
#17 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#18 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#19 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from
/usr/lib/libpython3.6m.so.1.0
#20 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#21 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#22 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from
/usr/lib/libpython3.6m.so.1.0
#23 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#24 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#25 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from
/usr/lib/libpython3.6m.so.1.0
#26 0x00007ffff7426f9a in _PyFunction_FastCallDict () from
/usr/lib/libpython3.6m.so.1.0
#27 0x00007ffff747ca4e in _PyObject_FastCallDict () from
/usr/lib/libpython3.6m.so.1.0
#28 0x00007ffff747d45a in _PyObject_CallMethodIdObjArgs () from
/usr/lib/libpython3.6m.so.1.0
#29 0x00007ffff73cf084 in PyImport_ImportModuleLevelObject () from
/usr/lib/libpython3.6m.so.1.0
#30 0x00007ffff73e628d in _PyEval_EvalFrameDefault () from
/usr/lib/libpython3.6m.so.1.0
#31 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#32 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#33 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from
/usr/lib/libpython3.6m.so.1.0
#34 0x00007ffff742753a in ?? () from /usr/lib/libpython3.6m.so.1.0
#35 0x00007ffff7427af3 in ?? () from /usr/lib/libpython3.6m.so.1.0
#36 0x00007ffff73e3d77 in _PyEval_EvalFrameDefault () from
/usr/lib/libpython3.6m.so.1.0
#37 0x00007ffff7427f47 in PyEval_EvalCodeEx () from /usr/lib/libpython3.6m.so.1.0
#38 0x00007ffff73e3a5b in PyEval_EvalCode () from /usr/lib/libpython3.6m.so.1.0
#39 0x00007ffff74acdc2 in ?? () from /usr/lib/libpython3.6m.so.1.0
#40 0x00007ffff74af62d in PyRun_FileExFlags () from /usr/lib/libpython3.6m.so.1.0
#41 0x00007ffff74af817 in PyRun_SimpleFileExFlags () from
/usr/lib/libpython3.6m.so.1.0
#42 0x00007ffff74a46f1 in Py_Main () from /usr/lib/libpython3.6m.so.1.0
#43 0x0000000000400a5d in main ()


last part of strace:

stat("/usr/lib/python3.6/site-packages/PyQt5", {st_mode=S_IFDIR|0755,
st_size=4096, ...}) = 0
stat("/usr/lib/python3.6/site-packages/PyQt5/Qsci.so", {st_mode=S_IFREG|0755,
st_size=1282928, ...}) = 0
open("/usr/lib/python3.6/site-packages/PyQt5/Qsci.so", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0000\300\4\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=1282928, ...}) = 0
mmap(NULL, 3378088, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7fd6d9956000
mprotect(0x7fd6d9a68000, 2093056, PROT_NONE) = 0
mmap(0x7fd6d9c67000, 163840, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x111000) = 0x7fd6d9c67000
close(3)                                = 0
open("/opt/opencascade/lib/libqscintilla2-qt5.so.12", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
open("/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=418775, ...}) = 0
mmap(NULL, 418775, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7fd6d98ef000
close(3)                                = 0
open("/usr/lib/libqscintilla2-qt5.so.12", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0 \250\4\0\0\0\0\0"...,
832) = 832
fstat(3, {st_mode=S_IFREG|0755, st_size=3147312, ...}) = 0
mmap(NULL, 5251112, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7fd6d93ec000
mprotect(0x7fd6d96e0000, 2093056, PROT_NONE) = 0
mmap(0x7fd6d98df000, 53248, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x2f3000) = 0x7fd6d98df000
mmap(0x7fd6d98ec000, 8232, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7fd6d98ec000
close(3)                                = 0
open("/opt/opencascade/lib/libQt5PrintSupport.so.5", O_RDONLY|O_CLOEXEC) = -1
ENOENT (No such file or directory)
open("/usr/lib/libQt5PrintSupport.so.5", O_RDONLY|O_CLOEXEC) = 3
read(3, "\177ELF\2\1\1\3\0\0\0\0\0\0\0\0\3\0>\0\1\0\0\0`3\2\0\0\0\0\0"..., 832)
= 832
fstat(3, {st_mode=S_IFREG|0755, st_size=457416, ...}) = 0
mmap(NULL, 2552528, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) =
0x7fd6d917c000
mprotect(0x7fd6d91e7000, 2093056, PROT_NONE) = 0
mmap(0x7fd6d93e6000, 24576, PROT_READ|PROT_WRITE,
MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x6a000) = 0x7fd6d93e6000
close(3)                                = 0
mprotect(0x7fd6d93e6000, 16384, PROT_READ) = 0
mprotect(0x7fd6d98df000, 45056, PROT_READ) = 0
mprotect(0x7fd6d9c67000, 24576, PROT_READ) = 0
munmap(0x7fd6d98ef000, 418775)          = 0
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=0x1000086f2} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault (core dumped)
History
Date User Action Args
2017-02-04 13:17:03rotzbengelsetmessage_count: 4.0 -> 5.0
messages: + msg832
2017-02-04 10:59:05detlevsetstatus: open -> closed
resolution: rejected
messages: + msg831
message_count: 3.0 -> 4.0
2017-02-04 09:21:01rotzbengelsetmessage_count: 2.0 -> 3.0
messages: + msg830
2017-02-03 17:25:02detlevsetstatus: new -> open
assignedto: detlev
messages: + msg829
message_count: 1.0 -> 2.0
nosy: + detlev
2017-02-03 09:07:40rotzbengelsetmessage_count: 2.0 -> 1.0
messages: - msg827
2017-02-03 09:07:23rotzbengelsetmessage_count: 1.0 -> 2.0
messages: + msg828
2017-02-03 09:04:50rotzbengelcreate