[Freewx-maint] Bug#719086: wxwidgets2.8: FTBFS on hppa -- Segmentation fault (core dumped) python2.7-dbg

John David Anglin dave.anglin at bell.net
Thu Aug 8 12:22:03 UTC 2013

Source: wxwidgets2.8
Severity: normal

Build fails here:

cd wxPython                                                     \
                && python2.7-dbg ./setup.py build                       \
                                            WX_CONFIG='/home/dave/debian/wxwidgets2.8/wxwidgets2.8- --no_rpath' \
                                            WXPORT=gtk2         \
                                            "UNICODE=1"         \
/bin/bash: line 5: 14117 Segmentation fault      (core dumped) python2.7-dbg ./setup.py build WX_CONFIG='/home/dave/debian/wxwidgets2.8/wxwidgets2.8- --no_rpath' WXPORT=gtk2 "UNICODE=1" FLAVOUR=dbg
make: *** [build-gtk-dbg-py2.7-stamp] Error 139
dpkg-buildpackage: error: debian/rules build gave error exit status 2

Backtrace is:

(gdb) r
Starting program: /usr/bin/python2.7-dbg ./setup.py build WX_CONFIG='/home/dave/debian/wxwidgets2.8/wxwidgets2.8- --no_rpath' WXPORT=gtk2 "UNICODE=1" FLAVOUR=dbg
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/hppa-linux-gnu/libthread_db.so.1".
WARNING: WXWIN not set in environment. Assuming '..'

Program received signal SIGSEGV, Segmentation fault.
0x0000001c in ?? ()
(gdb) bt
#0  0x0000001c in ?? ()
#1  0x42d07d18 in PyDict_GetItemString (
    v=<error reading variable: Cannot access memory at address 0xa1>, 
    key=<optimized out>) at ../Objects/dictobject.c:2426
#2  0x42da407c in PyImport_AddModule (name=0x41dca788 "libxml2mod")
    at ../Python/import.c:637
#3  0x42db2280 in Py_InitModule4 (name=0x41dca788 "libxml2mod", 
    methods=0x41dd8244, doc=0x0, passthrough=0x0, 
    module_api_version=<optimized out>) at ../Python/modsupport.c:65
#4  0x41daeb1c in initlibxml2mod ()
   from /usr/lib/python2.7/dist-packages/libxml2mod.so
#5  0x001ddb08 in _PyImport_LoadDynamicModule (name=0x68ea98 "libxml2mod", 
    pathname=0x6971d8 "/usr/lib/python2.7/dist-packages/libxml2mod.so", 
    fp=0x4c51b0) at ../Python/importdl.c:53
#6  0x001d8228 in load_module (name=0x68ea98 "libxml2mod", fp=0x4c51b0, 
    pathname=0x6971d8 "/usr/lib/python2.7/dist-packages/libxml2mod.so", 
    type=3, loader=0x0) at ../Python/import.c:1915
#7  0x001db198 in import_submodule (mod=None, subname=0x68ea98 "libxml2mod", 
    fullname=0x68ea98 "libxml2mod") at ../Python/import.c:2700

It appears build has a dependency on python-libxml2-dbg.  Error went
away when I installed python-libxml2-dbg.

-- System Information:
Debian Release: 7.0
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: hppa (parisc64)

Kernel: Linux 3.11.0-rc4+ (SMP w/4 CPU cores)
Locale: LANG=en_CA.UTF-8, LC_CTYPE=en_CA.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

More information about the Freewx-maint mailing list