[PyKDE] segfaults in _dl_lookup_symbol when eric3 exits
Detlev Offenbach
detlev at die-offenbachs.de
Tue Jul 20 18:53:01 BST 2004
Hi,
could this be a problem of the compiler or the python executable? I
haven't seen this. Maybe you can create a testscript, that reproduces
this problem consistently.
Detlev
> System information:
>
> $ uname -a
> Linux dev000cm 2.4.20-xfs-sym-qla #12 SMP Fri Apr 11 17:07:38 CDT 2003
> i686 i686 i386 GNU/Linux
>
> $ gcc -v
> Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3/specs
> Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> --infodir=/usr/share/info --enable-shared --enable-threads=posix
> --disable-checking --with-system-zlib --enable-__cxa_atexit
> --host=i386-redhat-linux
> Thread model: posix
> gcc version 3.3 20030623 (Red Hat Linux 3.3-12)
> dev000cm:~/src/Languages/Python
>
> $ python
> Python 2.3.3 (#3, Jul 13 2004, 14:41:00)
> [GCC 3.3 20030623 (Red Hat Linux 3.3-12)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> qscintilla-1.60-gpl-1.3
> sip-4.0.1
> PyQt-x11-gpl-3.12
> eric-3.4.2 or eric-snapshot-20040714
>
> When eric exits, I often receive segfaults in _dl_lookup_symbol. This
> does not happen with other pyqt applications. Here's a sample report
> from valgrind:
>
> ==26335== Invalid read of size 4
> ==26335== at 0x3C008337: (within /lib/ld-2.3.2.so)
> ==26335== by 0x3C007145: _dl_lookup_symbol (in /lib/ld-2.3.2.so)
> ==26335== by 0x3C00AEC5: (within /lib/ld-2.3.2.so)
> ==26335== by 0x3C00ADDF: (within /lib/ld-2.3.2.so)
> ==26335== by 0x4202AC51: exit (in /lib/i686/libc-2.3.2.so)
> ==26335== by 0x80CE9D1: Py_Exit (pythonrun.c:1573)
> ==26335== by 0x80CF8CE: handle_system_exit (pythonrun.c:1043)
> ==26335== by 0x80CE128: PyErr_PrintEx (pythonrun.c:1053)
> ==26335== by 0x80CDE40: PyErr_Print (pythonrun.c:967)
> ==26335== by 0x80CDDB3: PyRun_SimpleFileExFlags (pythonrun.c:866)
> ==26335== by 0x8054CAC: Py_Main (main.c:415)
> ==26335== by 0x805482E: main (python.c:23)
> ==26335== Address 0x3C238910 is not stack'd, malloc'd or (recently)
> free'd
>
> ==26335==
> ==26335== Invalid read of size 4
> ==26335== at 0x3C008339: (within /lib/ld-2.3.2.so)
> ==26335== by 0x3C007145: _dl_lookup_symbol (in /lib/ld-2.3.2.so)
> ==26335== by 0x3C00AEC5: (within /lib/ld-2.3.2.so)
> ==26335== by 0x3C00ADDF: (within /lib/ld-2.3.2.so)
> ==26335== by 0x4202AC51: exit (in /lib/i686/libc-2.3.2.so)
> ==26335== by 0x80CE9D1: Py_Exit (pythonrun.c:1573)
> ==26335== by 0x80CF8CE: handle_system_exit (pythonrun.c:1043)
> ==26335== by 0x80CE128: PyErr_PrintEx (pythonrun.c:1053)
> ==26335== by 0x80CDE40: PyErr_Print (pythonrun.c:967)
> ==26335== by 0x80CDDB3: PyRun_SimpleFileExFlags (pythonrun.c:866)
> ==26335== by 0x8054CAC: Py_Main (main.c:415)
> ==26335== by 0x805482E: main (python.c:23)
> ==26335== Address 0x3C238914 is not stack'd, malloc'd or (recently)
> free'd
> ==26335==
> ==26335== Invalid read of size 4
> ==26335== at 0x3C008356: (within /lib/ld-2.3.2.so)
> ==26335== by 0x3C007145: _dl_lookup_symbol (in /lib/ld-2.3.2.so)
> ==26335== by 0x3C00AEC5: (within /lib/ld-2.3.2.so)
> ==26335== by 0x3C00ADDF: (within /lib/ld-2.3.2.so)
> ==26335== by 0x4202AC51: exit (in /lib/i686/libc-2.3.2.so)
> ==26335== by 0x80CE9D1: Py_Exit (pythonrun.c:1573)
> ==26335== by 0x80CF8CE: handle_system_exit (pythonrun.c:1043)
> ==26335== by 0x80CE128: PyErr_PrintEx (pythonrun.c:1053)
> ==26335== by 0x80CDE40: PyErr_Print (pythonrun.c:967)
> ==26335== by 0x80CDDB3: PyRun_SimpleFileExFlags (pythonrun.c:866)
> ==26335== by 0x8054CAC: Py_Main (main.c:415)
> ==26335== by 0x805482E: main (python.c:23)
> ==26335== Address 0x3C34B0D4 is not stack'd, malloc'd or (recently)
> free'd
> ==26335==
>
> Any ideas?
>
> _______________________________________________
> PyKDE mailing list PyKDE at mats.imk.fraunhofer.de
> http://mats.imk.fraunhofer.de/mailman/listinfo/pykde
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the PyQt
mailing list