[Python-modules-team] Bug#618987: python-sip: segfault using qscintilla component

Bastian Kleineidam calvin at debian.org
Sun Mar 20 07:09:32 UTC 2011


Package: python-sip
Version: 4.12.1-1
Severity: normal

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

I am not sure wether this is a bug in qscintilla2 or sip. Anyway,
recently I experienced segfaults in my application linkchecker-gui.
The version of python-qscintilla2 I am using is 2.4.3-1+b1.

Here is the backtrace from gdb. It is generated using a locally built
python-sip and python-qscintilla2 with non-stripped libraries.

gdb python2.6
[...]
(gdb) run linkchecker-gui
[...]
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff1867424 in parsePass2 (self=0x0, selfarg=<value optimized out>, sipArgs=(), sipKwdArgs={'parent': <QFrame at remote 0x1304560>}, kwdlist=0x0,
    fmt=0x7fffefb2eb31 "H", va=0x7fffffffb840) at /home/calvin/src/sip4-4.12.1/siplib/siplib.c:4628
4628                const char *name = kwdlist[a];
(gdb) bt
#0  0x00007ffff1867424 in parsePass2 (self=0x0, selfarg=<value optimized out>, sipArgs=(), sipKwdArgs={'parent': <QFrame at remote 0x1304560>}, kwdlist=
    0x0, fmt=0x7fffefb2eb31 "H", va=0x7fffffffb840) at /home/calvin/src/sip4-4.12.1/siplib/siplib.c:4628
#1  0x00007ffff186c369 in parseKwdArgs (parseErrp=0x7fffffffba30, sipArgs=(), sipKwdArgs={'parent': <QFrame at remote 0x1304560>}, kwdlist=0x0,
    unused=<value optimized out>, fmt=0x7fffefb2eb2f "|JH", va_orig=0x7fffffffb8d0) at /home/calvin/src/sip4-4.12.1/siplib/siplib.c:2899
#2  0x00007ffff186c490 in sip_api_parse_kwd_args (parseErrp=<value optimized out>, sipArgs=<value optimized out>, sipKwdArgs=<value optimized out>,
    kwdlist=<value optimized out>, unused=0x7fffffffba38, fmt=<value optimized out>) at /home/calvin/src/sip4-4.12.1/siplib/siplib.c:2819
#3  0x00007fffefb26fbc in init_QsciScintilla (sipSelf=0x1304680, sipArgs=<value optimized out>, sipKwds=<value optimized out>,
    sipUnused=<value optimized out>, sipOwner=<value optimized out>, sipParseErr=<value optimized out>) at ./sipQscipart0.cpp:70061
#4  0x00007ffff1869e1f in sipSimpleWrapper_init (self=0x1304680, args=(), kwds={'parent': <QFrame at remote 0x1304560>})
    at /home/calvin/src/sip4-4.12.1/siplib/siplib.c:8959
#5  0x000000000046b39c in wrap_init (self=0x0, args=0x0, wrapped=0x0, kwds={'parent': <QFrame at remote 0x1304560>}) at ../Objects/typeobject.c:4688
#6  0x000000000041ef47 in PyObject_Call (func=<method-wrapper at remote 0x12ff3d0>, arg=0x0, kw=0x0) at ../Objects/abstract.c:2492
#7  0x00000000004a72b8 in do_call (f=
    Frame 0x14b07d0, for file /home/calvin/projects/linkchecker-git/linkcheck/gui/editor.py, line 66, in __init__ (self=<Editor at remote 0x1304680>, parent$


Please tell me if you need any more information or tests.
I will also try to come up with a more compact example to reproduce this.


Regards,
  Bastian
  
- -- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.38grog1 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages python-sip depends on:
ii  libc6                   2.11.2-13        Embedded GNU C Library: Shared lib
ii  libgcc1                 1:4.5.2-6        GCC support library
ii  libstdc++6              4.5.2-6          The GNU Standard C++ Library v3
ii  python                  2.6.6-3+squeeze6 interactive high-level object-orie
ii  python-support          1.0.11           automated rebuilding support for P

python-sip recommends no packages.

python-sip suggests no packages.

- -- no debconf information

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iEYEARECAAYFAk2FqCwACgkQeBwlBDLsbz6d+ACcDXIlVueC7FvYgGZJb5ywJgb8
nVEAoMHurjUQPWYXl10xE3E6wC1d3PZK
=rt/5
-----END PGP SIGNATURE-----





More information about the Python-modules-team mailing list