FS#52691 - [qscintilla] Segfault with sip / pyqt4

Attached to Project: Arch Linux
Opened by A. K. (Misery) - Tuesday, 24 January 2017, 06:49 GMT
Last edited by Antonio Rojas (arojas) - Friday, 03 February 2017, 21:29 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Felix Yan (felixonmars)
Architecture All
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 10
Private No

Details

After upgrade the following packages we get a segfault if we try to start tortoisehg.
pyqt4-common-4.12-1 python-sip-4.19-1 python2-pyqt4-4.12-1 python2-sip-4.19-1 sip-4.19-1

After a downgrade to these version it works flawlessly.
pyqt4-common-4.11.4-5 python-sip-4.18.1-2 python2-pyqt4-4.11.4-5 python2-sip-4.18.1-2 sip-4.18.1-2



https://aur.archlinux.org/packages/tortoisehg/

Stack trace of thread 5741:
#0 0x00007fbe32693446 strlen (libc.so.6)
#1 0x00007fbe32c651b9 PyString_FromFormatV (libpython2.7.so.1.0)
#2 0x00007fbe32cc5a08 PyErr_Format (libpython2.7.so.1.0)
#3 0x00007fbe2dc2ac8a n/a (sip.so)
#4 0x00007fbe24995d66 initQsci (Qsci.so)
#5 0x00007fbe32cd003c _PyImport_LoadDynamicModule (libpython2.7.so.1.0)
#6 0x00007fbe32ccdf81 import_submodule (libpython2.7.so.1.0)
#7 0x00007fbe32cce209 load_next (libpython2.7.so.1.0)
#8 0x00007fbe32cceca8 PyImport_ImportModuleLevel (libpython2.7.so.1.0)
#9 0x00007fbe32cb0907 builtin___import__ (libpython2.7.so.1.0)
#10 0x00007fbe32cbbba6 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#11 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#12 0x00007fbe32cb8d02 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#13 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#14 0x00007fbe32c411bb function_call (libpython2.7.so.1.0)
#15 0x00007fbe32c1a692 PyObject_Call (libpython2.7.so.1.0)
#16 0x00007fbe32cb2716 PyEval_CallObjectWithKeywords (libpython2.7.so.1.0)
#17 0x00007fbe32cb5552 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#18 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#19 0x00007fbe32cbc9e8 PyEval_EvalCode (libpython2.7.so.1.0)
#20 0x00007fbe32cccfc7 PyImport_ExecCodeModuleEx (libpython2.7.so.1.0)
#21 0x00007fbe32ccd25e load_source_module (libpython2.7.so.1.0)
#22 0x00007fbe32ccdf81 import_submodule (libpython2.7.so.1.0)
#23 0x00007fbe32cce209 load_next (libpython2.7.so.1.0)
#24 0x00007fbe32cceca8 PyImport_ImportModuleLevel (libpython2.7.so.1.0)
#25 0x00007fbe32cb0907 builtin___import__ (libpython2.7.so.1.0)
#26 0x00007fbe32cbbba6 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#27 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#28 0x00007fbe32cb8d02 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#29 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#30 0x00007fbe32c411bb function_call (libpython2.7.so.1.0)
#31 0x00007fbe32c1a692 PyObject_Call (libpython2.7.so.1.0)
#32 0x00007fbe32cb2716 PyEval_CallObjectWithKeywords (libpython2.7.so.1.0)
#33 0x00007fbe32cb5552 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#34 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#35 0x00007fbe32cbc9e8 PyEval_EvalCode (libpython2.7.so.1.0)
#36 0x00007fbe32cccfc7 PyImport_ExecCodeModuleEx (libpython2.7.so.1.0)
#37 0x00007fbe32ccd25e load_source_module (libpython2.7.so.1.0)
#38 0x00007fbe32ccdf81 import_submodule (libpython2.7.so.1.0)
#39 0x00007fbe32cce209 load_next (libpython2.7.so.1.0)
#40 0x00007fbe32ccec63 PyImport_ImportModuleLevel (libpython2.7.so.1.0)
#41 0x00007fbe32cb0907 builtin___import__ (libpython2.7.so.1.0)
#42 0x00007fbe32cbbba6 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#43 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#44 0x00007fbe32cb8d02 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#45 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#46 0x00007fbe32cb8d02 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#47 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#48 0x00007fbe32c411bb function_call (libpython2.7.so.1.0)
#49 0x00007fbe32c1a692 PyObject_Call (libpython2.7.so.1.0)
#50 0x00007fbe32c2a06a instancemethod_call (libpython2.7.so.1.0)
#51 0x00007fbe32c1a692 PyObject_Call (libpython2.7.so.1.0)
#52 0x00007fbe32c76bfb call_method (libpython2.7.so.1.0)
#53 0x00007fbe32cb79de PyEval_EvalFrameEx (libpython2.7.so.1.0)
#54 0x00007fbe32cb8e38 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#55 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#56 0x00007fbe32c4129d function_call (libpython2.7.so.1.0)
#57 0x00007fbe32c1a692 PyObject_Call (libpython2.7.so.1.0)
#58 0x00007fbe32cb6239 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#59 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)
#60 0x00007fbe32c4129d function_call (libpython2.7.so.1.0)
#61 0x00007fbe32c1a692 PyObject_Call (libpython2.7.so.1.0)
#62 0x00007fbe32cb6239 PyEval_EvalFrameEx (libpython2.7.so.1.0)
#63 0x00007fbe32cbc8dc PyEval_EvalCodeEx (libpython2.7.so.1.0)

This task depends upon

Closed by  Antonio Rojas (arojas)
Friday, 03 February 2017, 21:29 GMT
Reason for closing:  Fixed
Additional comments about closing:  qscintilla 2.9.4
Comment by Antonio Rojas (arojas) - Tuesday, 24 January 2017, 07:26 GMT
Probably qscintilla needs to be updated to work with latest sip/pyqt
Comment by Doug Newgard (Scimmia) - Tuesday, 24 January 2017, 14:03 GMT
We're having issues with QGIS (AUR) as well, qscintilla makes sense.
Comment by Serge (Viterzgir) - Tuesday, 24 January 2017, 17:36 GMT
I am also have issue with Eric ide 17.01
http://pastebin.com/yYiYdHia
Comment by Alexandre Bique (babali) - Thursday, 26 January 2017, 09:37 GMT
Crashing thg here as well!
Comment by A. K. (Misery) - Thursday, 26 January 2017, 11:24 GMT
Simple recompile of qscintilla fixes the problem for me.
Comment by kachelaqa (kachelaqa) - Sunday, 29 January 2017, 22:35 GMT
The python qscintilla packages should be rebuilt every time there's a new version of the pyqt packages. I've never understood why this doesn't happen automatically. Why is it necessary to make a bug report every time?
Comment by Evgenii Khvorik (ekhvorik) - Monday, 30 January 2017, 12:22 GMT
I suppose, we need to wait updates of "pyqt4-common python2-pyqt4 python2-sip sip" packages in official repos or there is another way to fix the problem without downgrading?
Comment by Denis A. Altoe Falqueto (denisfalqueto) - Thursday, 02 February 2017, 16:27 GMT
Rebuilding qscintilla also fixes the issue with tortoisehg for me. Maybe it (qscintilla) should be rebuilt and version bumped.
Comment by Demelier David (Markand) - Friday, 03 February 2017, 18:08 GMT
Please bump the version and rebuild it, it's already one week that many packages are broken.

Loading...