OK an update on this issue.
Recap: I’m having after building wxPython2.9.2.4 on SLES-11 SP 1-x64 with python 2.6.5, I get “Segmentation Fault” running simple program - wxPython-src-2.9.2.4/wxPython/demo/demo.py
When I run gdb, here is the output:
gdb --args /apps/openlogic/1.0/python/2.6.5/bin/python2.6 /root/wxPython-src-2.9.2.4/wxPython/demo/demo.py
GNU gdb (GDB) SUSE (7.3-0.6.1)
Copyright (C) 2011 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 “x86_64-suse-linux”.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/…
Reading symbols from /apps/openlogic/1.0/python/2.6.5/bin/python2.6…done.
(gdb) r
Starting program: /apps/openlogic/1.0/python/2.6.5/bin/python2.6 /root/wxPython-src-2.9.2.4/wxPython/demo/demo.py
Missing separate debuginfo for /lib64/ld-linux-x86-64.so.2
Try: zypper install -C “debuginfo(build-id)=c1807b5762068e6c5f4a6a0ed48d9d4469965351”
Missing separate debuginfo for /lib64/libpthread.so.0
Try: zypper install -C “debuginfo(build-id)=f69d3b06516c61cfab7d00c9ef86c41936dfc017”
[Thread debugging using libthread_db enabled]
Missing separate debuginfo for /lib64/libdl.so.2
Try: zypper install -C “debuginfo(build-id)=f607b21f9a513c99bba9539050c01236d19bf22b”
Missing separate debuginfo for /lib64/libutil.so.1
Try: zypper install -C “debuginfo(build-id)=e43269d9649d86bcd7ba19a0823d7f86a6f21af3”
Missing separate debuginfo for /lib64/libm.so.6
Try: zypper install -C “debuginfo(build-id)=4e9fa1a2c1141fc0123a142783efd044c40bdaaf”
Missing separate debuginfo for /lib64/libc.so.6
Try: zypper install -C “debuginfo(build-id)=f7b8fc2bc1d68899a2cb561ac8e16092228223e3”
Missing separate debuginfo for /lib64/libz.so.1
Try: zypper install -C “debuginfo(build-id)=4c05d1eb180f9c02b81a0c559c813dada91e0ca4”
Missing separate debuginfo for /usr/lib64/libstdc++.so.6
Try: zypper install -C “debuginfo(build-id)=e907b88d15f5e1312d1ae0c7c61f8da92745738b”
Missing separate debuginfo for /lib64/libgcc_s.so.1
Try: zypper install -C “debuginfo(build-id)=3f06bcfc74f9b01780d68e89b8dce403bef9b2e3”
Missing separate debuginfo for /usr/lib64/libgtk-x11-2.0.so.0
Try: zypper install -C “debuginfo(build-id)=d8fa8f100b1b44448b6c768559c071fa6c623e78”
Missing separate debuginfo for /usr/lib64/libgdk-x11-2.0.so.0
Try: zypper install -C “debuginfo(build-id)=a093fa8795911e420f7f31877405e6627d76f290”
Missing separate debuginfo for /usr/lib64/libgio-2.0.so.0
Try: zypper install -C “debuginfo(build-id)=fd46f48a898661349c3e9e20245ea280abe4dc5f”
Missing separate debuginfo for /usr/lib64/libpangoft2-1.0.so.0
Try: zypper install -C “debuginfo(build-id)=2779b2f21d57bed01e53fa34e22d1d384817a259”
Missing separate debuginfo for /usr/lib64/libgdk_pixbuf-2.0.so.0
Try: zypper install -C “debuginfo(build-id)=afc8c4968f510adb9237c7297950c5fd97300802”
Missing separate debuginfo for /usr/lib64/libpangocairo-1.0.so.0
Try: zypper install -C “debuginfo(build-id)=e0d6defe427c9ca3dc102d8b94b67940febe154c”
Missing separate debuginfo for /usr/lib64/libcairo.so.2
Try: zypper install -C “debuginfo(build-id)=bc1c1723b3c61ae471738046973ea1eff58ee29f”
Missing separate debuginfo for /usr/lib64/libpango-1.0.so.0
Try: zypper install -C “debuginfo(build-id)=3cde6b6c330bd7a4ca793a3f8755127cf0af363a”
Missing separate debuginfo for /usr/lib64/libfreetype.so.6
Try: zypper install -C “debuginfo(build-id)=97ab599dc5a8df2c1291fb6a64456d5a9679bb14”
Missing separate debuginfo for /usr/lib64/libfontconfig.so.1
Try: zypper install -C “debuginfo(build-id)=150b2aee9ba64585e8e84da22664d51252ceb93d”
Missing separate debuginfo for /usr/lib64/libgobject-2.0.so.0
Try: zypper install -C “debuginfo(build-id)=cb6e3b81b36cf5fd4ea879a9cde3e8ebe83fd470”
Missing separate debuginfo for /usr/lib64/libgmodule-2.0.so.0
Try: zypper install -C “debuginfo(build-id)=7628521c672203c59dc215682379c792c6273c8d”
Missing separate debuginfo for /usr/lib64/libgthread-1.2.so.0
Try: zypper install -C “debuginfo(build-id)=5bbd7a7299b6837ed9a83cbf2a404349959ee423”
Missing separate debuginfo for /lib64/librt.so.1
Try: zypper install -C “debuginfo(build-id)=d44cbcbbcbdc9ed66abdcd82fa04fb4140bc155e”
Missing separate debuginfo for /usr/lib64/libglib-2.0.so.0
Try: zypper install -C “debuginfo(build-id)=c9b24d1f2a0c29d0e7035dfd84e96b8efecf3537”
Missing separate debuginfo for /usr/lib64/libX11.so.6
Try: zypper install -C “debuginfo(build-id)=f25c9a3f51eceb4a1c11b826c2fa925e9483a5b9”
Missing separate debuginfo for /usr/lib64/libXxf86vm.so.1
Try: zypper install -C “debuginfo(build-id)=91f87c8a09de9f061be271741fbda406ea8d1ef8”
Missing separate debuginfo for /usr/lib64/libSM.so.6
Try: zypper install -C “debuginfo(build-id)=e1f8bfe8a6d23683ea90b156f76329ad7fe452a3”
Missing separate debuginfo for /usr/lib64/libpng12.so.0
Try: zypper install -C “debuginfo(build-id)=f26a69dc25c2394ea2bd5ea2e3f9d3ffdc964841”
Missing separate debuginfo for /usr/lib64/libXinerama.so.1
Try: zypper install -C “debuginfo(build-id)=e57bdf84691a0a0c14e7af22855bbb1a4d50a2e6”
Missing separate debuginfo for /usr/lib64/libXi.so.6
Try: zypper install -C “debuginfo(build-id)=2fd04936feeb06a7809e74b2939501b571896fcd”
Missing separate debuginfo for /usr/lib64/libXrandr.so.2
Try: zypper install -C “debuginfo(build-id)=bf4eb9a1fefbf372c0010f17bba01709efb372c3”
Missing separate debuginfo for /usr/lib64/libXcursor.so.1
Try: zypper install -C “debuginfo(build-id)=8e19ec26e2068239b854a2c15820c31cb998fd55”
Missing separate debuginfo for /usr/lib64/libXcomposite.so.1
Try: zypper install -C “debuginfo(build-id)=e2c1fe47c4386854a9e430aa6b2855cb3c7b8ff3”
Missing separate debuginfo for /usr/lib64/libXext.so.6
Try: zypper install -C “debuginfo(build-id)=4d348b514a3a427748b4f8314b9a5028b56c4559”
Missing separate debuginfo for /usr/lib64/libXdamage.so.1
Try: zypper install -C “debuginfo(build-id)=ecea85f269e28bbbdeea8a3ce114d0300a9355d4”
Missing separate debuginfo for /usr/lib64/libXfixes.so.3
Try: zypper install -C “debuginfo(build-id)=a59ae7dcbf9a645b62a30d73ae1a2fd8e39b50a1”
Missing separate debuginfo for /usr/lib64/libpixman-1.so.0
Try: zypper install -C “debuginfo(build-id)=4d5de2b859dd2085a5b1a86f5c34524dcd8823cb”
Missing separate debuginfo for /usr/lib64/libxcb-render-util.so.0
Try: zypper install -C “debuginfo(build-id)=4f75d94e872e7ea9748a5874da5e4781be15a4fc”
Missing separate debuginfo for /usr/lib64/libxcb-render.so.0
Try: zypper install -C “debuginfo(build-id)=a4cf20dfbc0ebccc0bf4cb61b7b803cf6ef6e98c”
Missing separate debuginfo for /usr/lib64/libXrender.so.1
Try: zypper install -C “debuginfo(build-id)=8f5ba4c59765a6bcf81ace6f3e9d9266e8986518”
Missing separate debuginfo for /usr/lib64/libxcb-xlib.so.0
Try: zypper install -C “debuginfo(build-id)=be562d9316e960c35fee2ed868a0e5b17308d575”
Missing separate debuginfo for /usr/lib64/libxcb.so.1
Try: zypper install -C “debuginfo(build-id)=b420d129816f22330cd25c45cdff8ef41941abca”
Missing separate debuginfo for /usr/lib64/libXau.so.6
Try: zypper install -C “debuginfo(build-id)=9213680483512b8ae3ff90d914900be4637bb495”
Missing separate debuginfo for /usr/lib64/libpcre.so.0
Try: zypper install -C “debuginfo(build-id)=690bc513d49ca57c3d0ea00e5f58578683edec8b”
Missing separate debuginfo for /lib64/libresolv.so.2
Try: zypper install -C “debuginfo(build-id)=030c0a3cbece78509a07e1e98be3419aeb32a1f8”
Missing separate debuginfo for /lib64/libselinux.so.1
Try: zypper install -C “debuginfo(build-id)=f06fa5738bd2305653c1a024692edbf8f522e0f9”
Missing separate debuginfo for /lib64/libexpat.so.1
Try: zypper install -C “debuginfo(build-id)=2696e815e28d6ef4fcb614baf8b7802891fd5341”
Missing separate debuginfo for /usr/lib64/libglib-1.2.so.0
Try: zypper install -C “debuginfo(build-id)=1265531d8ca79de2ee9743bc4cf32e659d463618”
Missing separate debuginfo for /usr/lib64/libICE.so.6
Try: zypper install -C “debuginfo(build-id)=8d02389f434bcfb82ae599210e70ec69e49e8568”
Missing separate debuginfo for /lib64/libuuid.so.1
Try: zypper install -C “debuginfo(build-id)=74dec793ff01a81c22ae1f7c901225f53ef3894f”
Missing separate debuginfo for /usr/lib64/gconv/UTF-32.so
Try: zypper install -C “debuginfo(build-id)=fe8378072f0e000cd830ecdeef06e82f475daba4”
Missing separate debuginfo for /usr/lib64/libgstreamer-0.10.so.0
Try: zypper install -C “debuginfo(build-id)=dd6a948b10517439d77c7b849e10a99ecff910b7”
Missing separate debuginfo for /usr/lib64/libxml2.so.2
Try: zypper install -C “debuginfo(build-id)=2d6e1df829ef6e065b8b5fd9ed1a9085fd6786e6”
Missing separate debuginfo for /usr/lib64/libgconf-2.so.4
Try: zypper install -C “debuginfo(build-id)=4fa3827905f6332eb159e295a280bb1d3ad71c20”
Missing separate debuginfo for /usr/lib64/libgstinterfaces-0.10.so.0
Try: zypper install -C “debuginfo(build-id)=d6a2630034573b6427b590dcbc66da22107ed9b1”
Missing separate debuginfo for /usr/lib64/libgthread-2.0.so.0
Try: zypper install -C “debuginfo(build-id)=b120765459fba091619c012312ca4b633ec5d382”
Missing separate debuginfo for /usr/lib64/libORBit-2.so.0
Try: zypper install -C “debuginfo(build-id)=686f87bf164f077e1671c53cf7a9c0cc8b0be2d5”
Missing separate debuginfo for /usr/lib64/libdbus-glib-1.so.2
Try: zypper install -C “debuginfo(build-id)=c122a3188160b6baafdbab4395c30f971313859c”
Missing separate debuginfo for /lib64/libnsl.so.1
Try: zypper install -C “debuginfo(build-id)=bdcf485f96de50e19ebd8f6fb7660cb60e2ff194”
Missing separate debuginfo for /lib64/libdbus-1.so.3
Try: zypper install -C “debuginfo(build-id)=69a2c4fb6dfb7c7e30f7aab22396a6221f2c9328”
Missing separate debuginfo for /usr/lib64/libGL.so.1
Try: zypper install -C “debuginfo(build-id)=c3de741e56303b4d53cb102421ea30a0cec07c8e”
Missing separate debuginfo for /usr/lib64/libGLU.so.1
Try: zypper install -C “debuginfo(build-id)=e99bd6ad9b1c2b94d649b67ae92c8c6aea896667”
Missing separate debuginfo for /usr/lib64/libdrm.so.2
Try: zypper install -C “debuginfo(build-id)=3189175a7924bc8e00af24db6030ec068551d13d”
Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7bca2d4 in pthread_mutex_lock () from /lib64/libpthread.so.0
So it looks like libpthread.so.0 is the culprit. Any ideas how I might fix this?
Much thanks,
-Nicholas
···
-----Original Message-----
From: wx-users@googlegroups.com [mailto:wx-users@googlegroups.com] On Behalf Of Vadim Zeitlin
Sent: Wednesday, March 07, 2012 5:50 PM
To: wx-users@googlegroups.com
Subject: Re: After building wxPython2.9.2.4 on SLES-11 SP 1-x64 with python 2.6.5, I get “Segmentation Fault” running simple program
On Wed, 7 Mar 2012 13:00:12 -0800 (PST) Nicholas DiPiazza nicholas.dipiazza@openlogic.com wrote:
Does anyone know what might have went wrong during the WxPython
build that could cause a segmentation fault when ? Or does anyone
know how to get some logging (like hs_err*.log in Java) that can
describe which library caused it?
Use gdb.
I’m looking into using gdb, but not sure that is the easiest way to
do it.
Do
$ gdb --args python program.py
(gdb) r
… it crashes …
(gdb) bt
Regards,
VZ
–
TT-Solutions: wxWidgets consultancy and technical support
–
Please read http://www.wxwidgets.org/support/mlhowto.htm before posting.
To unsubscribe, send email to wx-users+unsubscribe@googlegroups.com
or visit http://groups.google.com/group/wx-users