[PyQt] PyQt 5.7.1: Segfault in PyInit_QtCore -> ... -> PyUnicode_FromFormatV -> strlen

Florian Bruhin me at the-compiler.org
Sat Jan 7 09:57:29 GMT 2017


Hi,

some users of my application reported that they get an instant
segfault when importing Qt modules after updating to PyQt 5.7.1 and
sip 4.19:

	#0  strlen () at ../sysdeps/x86_64/strlen.S:106
	#1  0x00005555556fbb43 in PyUnicode_FromFormatV ()
	#2  0x00005555556ba6f3 in PyErr_FormatV ()
	#3  0x00005555556ba7b4 in PyErr_Format ()
	#4  0x00007ffff25dfbe6 in ?? ()
	   from .../python3.5/site-packages/sip.cpython-35m-x86_64-linux-gnu.so
	#5  0x00007ffff61f7ab5 in PyInit_QtCore ()
	   from .../python3.5/site-packages/PyQt5/QtCore.so
	#6  0x00005555557abc91 in _PyImport_LoadDynamicModuleWithSpec ()
	[...]

Full stacktrace:
https://github.com/The-Compiler/qutebrowser/issues/2206#issuecomment-270265299

Any idea what could be going on there?

Florian

-- 
http://www.the-compiler.org | me at the-compiler.org (Mail/XMPP)
   GPG: 916E B0C8 FD55 A072 | http://the-compiler.org/pubkey.asc
         I love long mails! | http://email.is-not-s.ms/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170107/1bf89f54/attachment.sig>


More information about the PyQt mailing list