Package: python-qwt5-qt4
Version: 5.2.1~cvs20091107+dfsg-4
Severity: important


Hello, I was building a package not yet part of Debian, which use sphinx
to generate the documentation it import plenty of modules

I got a segfault during the build, so I investigate a bit and found that the 
segfault
comes from the import of PyQt4.Qwt5.Qwt

here a backtrace

picca@grisette:/tmp$ gdb --args python
GNU gdb (GDB) 7.2-debian
Copyright (C) 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i486-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/python...Reading symbols from 
/usr/lib/debug/usr/bin/python2.6...done.
done.
(gdb) r
Starting program: /usr/bin/python 
[Thread debugging using libthread_db enabled]
Python 2.6.6 (r266:84292, Dec 27 2010, 00:02:40) 
[GCC 4.4.5] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import PyQt4.Qwt5.Qwt

Program received signal SIGSEGV, Segmentation fault.
0xb64ae1e6 in ?? () from /usr/lib/pymodules/python2.6/sip.so
(gdb) bt
#0  0xb64ae1e6 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#1  0xb64af336 in ?? () from /usr/lib/pymodules/python2.6/sip.so
#2  0xb78e0315 in initQwt () from /usr/lib/pymodules/python2.6/PyQt4/Qwt5/Qwt.so
#3  0x080f7644 in _PyImport_LoadDynamicModule (name=0xbfff9bdb 
"PyQt4.Qwt5.Qwt", pathname=0xbfff8b47 
"/usr/lib/pymodules/python2.6/PyQt4/Qwt5/Qwt.so", fp=0x8353430) at 
../Python/importdl.c:53
#4  0x080f55b0 in load_module (name=0xbfff9bdb "PyQt4.Qwt5.Qwt", fp=0x830e5ec, 
buf=0x0, type=3, loader=0x0) at ../Python/import.c:1830
#5  0x080f5d95 in import_submodule (mod=<module at remote 0xb7c4868c>, 
subname=<value optimized out>, fullname=0xbfff9bdb "PyQt4.Qwt5.Qwt") at 
../Python/import.c:2592
#6  0x080f6055 in load_next (mod=<module at remote 0xb7c4868c>, altmod=<value 
optimized out>, p_name=<value optimized out>, buf=0xbfff9bdb "PyQt4.Qwt5.Qwt", 
p_buflen=0xbfffabdc) at ../Python/import.c:2412
#7  0x080f6640 in import_module_level (name=0x0, globals=
    {'__builtins__': {'bytearray': <type at remote 0x826d640>, 'IndexError': 
<type at remote 0x822a280>, 'all': <built-in function all>, 'help': <_Helper at 
remote 0xb7c2b60c>, 'vars': <built-in function vars>, 'SyntaxError': <type at 
remote 0x8229f00>, 'unicode': <type at remote 0x8235fc0>, 'UnicodeDecodeError': 
<type at remote 0x822a6e0>, 'isinstance': <built-in function isinstance>, 
'copyright': <_Printer(_Printer__data='Copyright (c) 2001-2010 Python Software 
Foundation.\nAll Rights Reserved.\n\nCopyright (c) 2000 BeOpen.com.\nAll Rights 
Reserved.\n\nCopyright (c) 1995-2001 Corporation for National Research 
Initiatives.\nAll Rights Reserved.\n\nCopyright (c) 1991-1995 Stichting 
Mathematisch Centrum, Amsterdam.\nAll Rights Reserved.', _Printer__lines=None, 
_Printer__name='copyright', _Printer__dirs=(), _Printer__files=(...)) at remote 
0xb7c2b28c>, 'NameError': <type at remote 0x8229c60>, 'BytesWarning': <type at 
remote 0x822b860>, 'dict': <type at remote 0x822f360>, 'input
 ': <built-in function input>, 'oct': <...(truncated), 
    locals=<value optimized out>, fromlist=('*',), level=-1) at 
../Python/import.c:2133

I installed the python-sip-dbg but I did not got the debug information in the 
sip part.

See you

Frederic

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 
'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-1-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages python-qwt5-qt4 depends on:
ii  libc6                         2.11.2-11  Embedded GNU C Library: Shared lib
ii  libgcc1                       1:4.5.2-6  GCC support library
ii  libqt4-svg                    4:4.7.2-3  Qt 4 SVG module
ii  libqtcore4                    4:4.7.2-3  Qt 4 core module
ii  libqtgui4                     4:4.7.2-3  Qt 4 GUI module
ii  libqwt5-qt4                   5.2.0-1    Qt4 widgets library for technical 
ii  libstdc++6                    4.5.2-6    The GNU Standard C++ Library v3
ii  python                        2.6.6-12   interactive high-level object-orie
ii  python-numpy                  1:1.4.1-5  Numerical Python adds a fast array
ii  python-qt4                    4.8.3-2    Python bindings for Qt4
ii  python-sip [sip-api-8.1]      4.12.1-1   Python/C++ bindings generator runt
ii  python-support                1.0.11     automated rebuilding support for P

Versions of packages python-qwt5-qt4 recommends:
ii  libqwt5-qt4-dev               5.2.0-1    Qt4 widgets library for technical 

python-qwt5-qt4 suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to