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

Detlev Offenbach detlev at die-offenbachs.de
Sat Jan 7 12:12:02 GMT 2017


Hi,

if they upgraded having had the distribution provided packages installed can cause such 
strange issues. They should first uninstall all distro provided packages and than do pip 
install ...

I had such a report yesterday and following the above method got the user back up and 
working.

Detlev

On Saturday 07 January 2017, 10:57:29 Florian Bruhin wrote:
> 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-2702652
> 99
> 
> Any idea what could be going on there?
> 
> Florian-- 
*Detlev Offenbach*
detlev at die-offenbachs.de
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.riverbankcomputing.com/pipermail/pyqt/attachments/20170107/28d5d9f5/attachment.html>


More information about the PyQt mailing list