[PyQt] sipEnumType_alloc: Assertion for PyQt5 but not PyQt4

Guðjón Guðjónsson gudjon.i.gudjonsson at gmail.com
Thu May 28 12:54:43 BST 2015


Hi Dmitry

PyQt5 5.3.2
Sip     4.16.7
the versions in Debian unstable.

Qwt.so is the sip library I am building and I did rebuild it.

The stack trace:
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
python: siplib.c:11997: sipEnumType_alloc: Assertion
`(((currentType)->td_flags & 0x0007) == 0x0003)' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff6f28107 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
56      ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  0x00007ffff6f28107 in __GI_raise (sig=sig at entry=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6f294e8 in __GI_abort () at abort.c:89
#2  0x00007ffff6f21226 in __assert_fail_base (fmt=0x7ffff7057ce8
"%s%s%s:%u: %s%sAssertion `%s' failed.\n%n",
assertion=assertion at entry=0x7fffee204950
"(((currentType)->td_flags & 0x0007) == 0x0003)",
    file=file at entry=0x7fffee203def "siplib.c", line=line at entry=11997,
function=function at entry=0x7fffee203c00 <__PRETTY_FUNCTION__.14986>
"sipEnumType_alloc") at assert.c:92
#3  0x00007ffff6f212d2 in __GI___assert_fail
(assertion=assertion at entry=0x7fffee204950
"(((currentType)->td_flags & 0x0007) == 0x0003)",
file=file at entry=0x7fffee203def
"siplib.c", line=line at entry=11997,
    function=function at entry=0x7fffee203c00 <__PRETTY_FUNCTION__.14986>
"sipEnumType_alloc") at assert.c:101
#4  0x00007fffee1f4f3b in sipEnumType_alloc (self=<optimized out>,
nitems=<optimized out>) at siplib.c:11997
#5  0x00000000004bdd07 in ?? ()
#6  0x0000000000000001 in ?? ()
#7  0x00000000004a8100 in ?? ()
#8  0x0000003000000008 in ?? ()
#9  0x00007fff00000000 in ?? ()
#10 0x00007fffffffd800 in ?? ()
#11 0xa5a71e16f1109b00 in ?? ()
#12 0x00007fffedd21d18 in ?? ()
#13 0x00007fffedd21d18 in ?? ()
#14 0x00007fffedd21d18 in ?? ()
#15 0x00007fffecfc5310 in ?? ()
#16 0x00007fffecfc26e0 in ?? ()
#17 0xa5a71e16f1109b00 in ?? ()
#18 0x00007fffffffd860 in ?? ()
#19 0x00000000004bd900 in ?? ()
#20 0x00007fffee40ca40 in ?? () from /usr/lib/python2.7/dist-packages/
sip.x86_64-linux-gnu.so
#21 0x00007ffff7e85190 in ?? ()
#22 0x0000000000000000 in ?? ()

The stacktrace contains GL references. I tried to run the program with
optirun to use GLX but without success.

Thanks for your help. Hope this gives you a clue.

Regards
Gudjon
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20150528/dbd405be/attachment.html>


More information about the PyQt mailing list