After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 417004 - python crashes when loading gnome bindings.
python crashes when loading gnome bindings.
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: gobject
unspecified
Other All
: Normal critical
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2007-03-11 05:44 UTC by paul beard
Modified: 2007-03-28 16:19 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description paul beard 2007-03-11 05:44:21 UTC
Steps to reproduce:
white:~ paul$ python
Python 2.4.3 (#1, Mar  8 2007, 13:41:24) 
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
>>> import gnome
Bus error



Stack trace:
Stack trace (from ktrace) is too large to paste. I am building bug-buddy in hopes gets you what you need. This is what Apple's crash reporter offered:

**********

Host Name:      white
Date/Time:      2007-03-04 11:53:41.553 -0800
OS Version:     10.4.8 (Build 8L127)
Report Version: 4

Command: python
Path:    /opt/local/bin/python
Parent:  bash [8496]

Version: ??? (???)

PID:    748
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
0   libpython2.4.dylib 	0x03e24e90 PyDict_GetItemString + 48 (dictobject.c:504)
1   _gnome.so          	0x0354a17c init_gnome + 92
2   org.python.python  	0x002bb1e4 _PyImport_LoadDynamicModule + 196 (importdl.c:54)
3   org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
4   org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
5   org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
6   org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
7   org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
8   org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
9   org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
10  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
11  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
12  org.python.python  	0x002b8070 PyImport_ExecCodeModuleEx + 304 (import.c:632)
13  org.python.python  	0x002b8570 load_source_module + 1008 (import.c:910)
14  org.python.python  	0x002b9008 load_package + 360 (import.c:965)
15  org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
16  org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
17  org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
18  org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
19  org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
20  org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
21  org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
22  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
23  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
24  org.python.python  	0x002b8070 PyImport_ExecCodeModuleEx + 304 (import.c:632)
25  org.python.python  	0x002b8570 load_source_module + 1008 (import.c:910)
26  org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
27  org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
28  org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
29  org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
30  org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
31  org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
32  org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
33  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
34  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
35  org.python.python  	0x002c3d58 PyRun_FileExFlags + 216 (pythonrun.c:1266)
36  org.python.python  	0x002c3f90 PyRun_SimpleFileExFlags + 448 (pythonrun.c:860)
37  org.python.python  	0x002cfb38 Py_Main + 2744 (main.c:493)
38  python             	0x000028ec _start + 760
39  python             	0x000025f0 start + 48

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x0000000003e24e90 srr1: 0x000000000000f030                        vrsave: 0x0000000000000000
    cr: 0x44244224          xer: 0x0000000000000004   lr: 0x0000000003e24e88  ctr: 0x0000000090130fc0
    r0: 0x0000000003e24e88   r1: 0x00000000bfffc350   r2: 0x0000000000000000   r3: 0x0000000002f0dc50
    r4: 0x0000000003550386   r5: 0x000000000000000f   r6: 0x0000000000000000   r7: 0x000000004f626a65
    r8: 0x0000000002f0dc78   r9: 0x0000000002e5e000  r10: 0x0000000002f0dc50  r11: 0x00000000003269cc
   r12: 0x0000000002f0dc72  r13: 0x00000000ffffffff  r14: 0x0000000000000000  r15: 0x00000000ffffffff
   r16: 0x000000000006bf34  r17: 0x0000000002ef0928  r18: 0x000000000057afa8  r19: 0x0000000000000000
   r20: 0x0000000000000000  r21: 0x0000000000308d48  r22: 0x0000000000580370  r23: 0x00000000003294ac
   r24: 0x00000000bfffc4b0  r25: 0x00000000bfffc9a0  r26: 0x000000000354a120  r27: 0x00000000bfffc4b0
   r28: 0x0000000000000000  r29: 0x0000000000000000  r30: 0x0000000002f0dc50  r31: 0x0000000003e24e70

Binary Images Description:
    0x1000 -     0x3fff python 	/opt/local/bin/python
   0x46000 -    0x48fff libgthread-2.0.0.dylib 	/opt/local/lib/libgthread-2.0.0.dylib
   0x95000 -    0x97fff pangocairo.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pangocairo.so
   0xa4000 -    0xa6fff _locale.so 	/opt/local/lib/python2.4/lib-dynload/_locale.so
   0xad000 -    0xb5fff libintl.8.dylib 	/opt/local/lib/libintl.8.dylib
   0xce000 -    0xd1fff strop.so 	/opt/local/lib/python2.4/lib-dynload/strop.so
   0xde000 -    0xe1fff struct.so 	/opt/local/lib/python2.4/lib-dynload/struct.so
   0xee000 -    0xf3fff libSM.6.dylib 	/usr/X11R6/lib/libSM.6.dylib
   0xfb000 -    0xfcfff libgmodule-2.0.0.dylib 	/opt/local/lib/libgmodule-2.0.0.dylib
  0x205000 -   0x302fff org.python.python 2.4a0 (2.2)	/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Python
  0x5b3000 -   0x5cefff libatk-1.0.0.dylib 	/opt/local/lib/libatk-1.0.0.dylib
  0x5db000 -   0x5f6fff libgdk_pixbuf-2.0.0.dylib 	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib
  0x705000 -   0x723fff _gobject.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gobject/_gobject.so
  0x780000 -   0x7c0fff libgobject-2.0.0.dylib 	/opt/local/lib/libgobject-2.0.0.dylib
  0x7d1000 -   0x7e3fff libz.1.dylib 	/opt/local/lib/libz.1.dylib
  0x7e7000 -   0x7f6fff libICE.6.dylib 	/usr/X11R6/lib/libICE.6.dylib
 0x1008000 -  0x1101fff libiconv.2.dylib 	/opt/local/lib/libiconv.2.dylib
 0x1152000 -  0x1205fff libglib-2.0.0.dylib 	/opt/local/lib/libglib-2.0.0.dylib
 0x1220000 -  0x13bafff _gtk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
 0x16cd000 -  0x1770fff libgdk-x11-2.0.0.dylib 	/opt/local/lib/libgdk-x11-2.0.0.dylib
 0x1794000 -  0x17b2fff libjpeg.62.dylib 	/opt/local/lib/libjpeg.62.dylib
 0x17b9000 -  0x17befff libpangocairo-1.0.0.dylib 	/opt/local/lib/libpangocairo-1.0.0.dylib
 0x17d5000 -  0x17d6fff libXrandr.2.dylib 	/usr/X11R6/lib/libXrandr.2.dylib
 0x17d9000 -  0x17dafff libXinerama.1.dylib 	/usr/X11R6/lib/libXinerama.1.dylib
 0x17dd000 -  0x17e9fff libXext.6.dylib 	/usr/X11R6/lib/libXext.6.dylib
 0x17ef000 -  0x17f5fff libXrender.1.dylib 	/usr/X11R6/lib/libXrender.1.dylib
 0x2008000 -  0x2456fff libgtk-x11-2.0.0.dylib 	/opt/local/lib/libgtk-x11-2.0.0.dylib
 0x2529000 -  0x2575fff libtiff.3.dylib 	/opt/local/lib/libtiff.3.dylib
 0x260d000 -  0x26d6fff libX11.6.dylib 	/usr/X11R6/lib/libX11.6.dylib
 0x26ff000 -  0x2725fff libpangoft2-1.0.0.dylib 	/opt/local/lib/libpangoft2-1.0.0.dylib
 0x27af000 -  0x27e3fff libpango-1.0.0.dylib 	/opt/local/lib/libpango-1.0.0.dylib
 0x2851000 -  0x28a3fff libcairo.2.dylib 	/opt/local/lib/libcairo.2.dylib
 0x29dd000 -  0x2a39fff libfreetype.6.dylib 	/opt/local/lib/libfreetype.6.dylib
 0x2bb6000 -  0x2bd8fff libfontconfig.1.dylib 	/opt/local/lib/libfontconfig.1.dylib
 0x2c3e000 -  0x2c5cfff libexpat.1.dylib 	/opt/local/lib/libexpat.1.dylib
 0x2c91000 -  0x2cc4fff libpng12.0.dylib 	/opt/local/lib/libpng12.0.dylib
 0x2ccc000 -  0x2cd2fff libXrender.1.dylib 	/opt/local/lib/libXrender.1.dylib
 0x2d2a000 -  0x2d36fff _cairo.so 	/opt/local/lib/python2.4/site-packages/cairo/_cairo.so
 0x2d5e000 -  0x2d74fff pango.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pango.so
 0x2dab000 -  0x2ddefff atk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/atk.so
 0x2fb0000 -  0x2fb3fff glade.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gtk/glade.so
 0x2fc2000 -  0x2fd3fff libglade-2.0.0.dylib 	/opt/local/lib/libglade-2.0.0.dylib
 0x2ffe000 -  0x310ffff libxml2.2.dylib 	/opt/local/lib/libxml2.2.dylib
 0x3549000 -  0x3550fff _gnome.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gnome/_gnome.so
 0x3556000 -  0x3565fff libgnome-2.0.dylib 	/opt/local/lib/libgnome-2.0.dylib
 0x358c000 -  0x35abfff libdbus-glib-1.2.dylib 	/opt/local/lib/libdbus-glib-1.2.dylib
 0x35b8000 -  0x360efff libdbus-1.3.dylib 	/opt/local/lib/libdbus-1.3.dylib
 0x3625000 -  0x365ffff libssl.0.9.8.dylib 	/opt/local/lib/libssl.0.9.8.dylib
 0x3675000 -  0x3777fff libcrypto.0.9.8.dylib 	/opt/local/lib/libcrypto.0.9.8.dylib
 0x37e4000 -  0x37f0fff libhowl.0.dylib 	/opt/local/lib/libhowl.0.dylib
 0x3933000 -  0x3934fff libORBitCosNaming-2.0.dylib 	/opt/local/lib/libORBitCosNaming-2.0.dylib
 0x3948000 -  0x394dfff libesd.0.dylib 	/opt/local/lib/libesd.0.dylib
 0x3964000 -  0x398afff libaudiofile.0.dylib 	/opt/local/lib/libaudiofile.0.dylib
 0x3a0b000 -  0x3a14fff libpopt.0.dylib 	/opt/local/lib/libpopt.0.dylib
 0x3a18000 -  0x3a68fff libbonobo-2.0.dylib 	/opt/local/lib/libbonobo-2.0.dylib
 0x3a96000 -  0x3ae4fff libgnomevfs-2.0.dylib 	/opt/local/lib/libgnomevfs-2.0.dylib
 0x3bed000 -  0x3bfdfff libbonobo-activation.4.dylib 	/opt/local/lib/libbonobo-activation.4.dylib
 0x3c0a000 -  0x3c33fff libgconf-2.4.dylib 	/opt/local/lib/libgconf-2.4.dylib
 0x3c9f000 -  0x3cd5fff libORBit-2.0.dylib 	/opt/local/lib/libORBit-2.0.dylib
 0x3de2000 -  0x3edefff libpython2.4.dylib 	/opt/local/lib/libpython2.4.dylib
0x8fe00000 - 0x8fe51fff dyld 45.3	/usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x907ba000 - 0x90893fff com.apple.CoreFoundation 6.4.6 (368.27)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908de000 - 0x909e0fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x90a3a000 - 0x90abefff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6e000 - 0x90b80fff libauto.dylib 	/usr/lib/libauto.dylib
0x9110d000 - 0x9111bfff libz.1.dylib 	/usr/lib/libz.1.dylib
0x913e8000 - 0x91410fff com.apple.SystemConfiguration 1.8.3	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91423000 - 0x9142efff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x9143f000 - 0x914bafff com.apple.audio.CoreAudio 3.0.4	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x94b08000 - 0x94b79fff libstdc++.6.dylib 	/usr/lib/libstdc++.6.dylib
0x94f74000 - 0x94f91fff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib

**********

Host Name:      white
Date/Time:      2007-03-10 11:26:15.488 -0800
OS Version:     10.4.8 (Build 8L127)
Report Version: 4

Command: python
Path:    /opt/local/bin/python
Parent:  bash [241]

Version: ??? (???)

PID:    470
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
0   libpython2.4.dylib 	0x03bc4e90 PyDict_GetItemString + 48 (dictobject.c:504)
1   _gnome.so          	0x02fa017c init_gnome + 92
2   org.python.python  	0x002bb1e4 _PyImport_LoadDynamicModule + 196 (importdl.c:54)
3   org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
4   org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
5   org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
6   org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
7   org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
8   org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
9   org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
10  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
11  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
12  org.python.python  	0x002b8070 PyImport_ExecCodeModuleEx + 304 (import.c:632)
13  org.python.python  	0x002b8570 load_source_module + 1008 (import.c:910)
14  org.python.python  	0x002b9008 load_package + 360 (import.c:965)
15  org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
16  org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
17  org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
18  org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
19  org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
20  org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
21  org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
22  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
23  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
24  org.python.python  	0x002c3928 PyRun_InteractiveOneFlags + 584 (pythonrun.c:1266)
25  org.python.python  	0x002c3b20 PyRun_InteractiveLoopFlags + 288 (pythonrun.c:699)
26  org.python.python  	0x002c4910 PyRun_AnyFileExFlags + 176 (pythonrun.c:659)
27  org.python.python  	0x002cfb38 Py_Main + 2744 (main.c:493)
28  python             	0x000028ec _start + 760
29  python             	0x000025f0 start + 48

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x0000000003bc4e90 srr1: 0x000000000000d030                        vrsave: 0x0000000000000000
    cr: 0x44244224          xer: 0x0000000000000004   lr: 0x0000000003bc4e88  ctr: 0x0000000090130fc0
    r0: 0x0000000003bc4e88   r1: 0x00000000bfffd5e0   r2: 0x0000000000000000   r3: 0x0000000002ecbae8
    r4: 0x0000000002fa6386   r5: 0x000000000000000f   r6: 0x0000000000000000   r7: 0x000000004f626a65
    r8: 0x0000000002ecbb10   r9: 0x0000000000308e58  r10: 0x0000000002ecbae8  r11: 0x00000000003269cc
   r12: 0x0000000002ecbb0a  r13: 0x00000000ffffffff  r14: 0x0000000000000000  r15: 0x00000000ffffffff
   r16: 0x0000000002f5a154  r17: 0x0000000002eaddc0  r18: 0x000000000004d2b0  r19: 0x0000000000000000
   r20: 0x0000000000000000  r21: 0x0000000000308d48  r22: 0x0000000000056d50  r23: 0x00000000003294ac
   r24: 0x00000000bfffd740  r25: 0x00000000bfffdc30  r26: 0x0000000002fa0120  r27: 0x00000000bfffd740
   r28: 0x0000000000000000  r29: 0x0000000000000000  r30: 0x0000000002ecbae8  r31: 0x0000000003bc4e70

Binary Images Description:
    0x1000 -     0x3fff python 	/opt/local/bin/python
   0x46000 -    0x48fff libgthread-2.0.0.dylib 	/opt/local/lib/libgthread-2.0.0.dylib
   0x8e000 -    0x90fff pangocairo.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pangocairo.so
   0xc4000 -    0xccfff libintl.8.dylib 	/opt/local/lib/libintl.8.dylib
   0xe7000 -    0xecfff libSM.6.dylib 	/usr/X11R6/lib/libSM.6.dylib
   0xf0000 -    0xf1fff libgmodule-2.0.0.dylib 	/opt/local/lib/libgmodule-2.0.0.dylib
   0xf4000 -    0xf5fff libXrandr.2.dylib 	/usr/X11R6/lib/libXrandr.2.dylib
   0xfb000 -    0xfcfff libXinerama.1.dylib 	/usr/X11R6/lib/libXinerama.1.dylib
  0x205000 -   0x302fff org.python.python 2.4a0 (2.2)	/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Python
  0x573000 -   0x591fff _gobject.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gobject/_gobject.so
  0x5ee000 -   0x5fafff libXext.6.dylib 	/usr/X11R6/lib/libXext.6.dylib
  0x705000 -   0x745fff libgobject-2.0.0.dylib 	/opt/local/lib/libgobject-2.0.0.dylib
  0x756000 -   0x771fff libatk-1.0.0.dylib 	/opt/local/lib/libatk-1.0.0.dylib
  0x77e000 -   0x799fff libgdk_pixbuf-2.0.0.dylib 	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib
  0x7a1000 -   0x7b3fff libz.1.dylib 	/opt/local/lib/libz.1.dylib
  0x7b7000 -   0x7d5fff libjpeg.62.dylib 	/opt/local/lib/libjpeg.62.dylib
  0x7dc000 -   0x7e1fff libpangocairo-1.0.0.dylib 	/opt/local/lib/libpangocairo-1.0.0.dylib
 0x1008000 -  0x10bbfff libglib-2.0.0.dylib 	/opt/local/lib/libglib-2.0.0.dylib
 0x10d6000 -  0x11cffff libiconv.2.dylib 	/opt/local/lib/libiconv.2.dylib
 0x1220000 -  0x13bafff _gtk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
 0x16cd000 -  0x1770fff libgdk-x11-2.0.0.dylib 	/opt/local/lib/libgdk-x11-2.0.0.dylib
 0x1794000 -  0x17a3fff libICE.6.dylib 	/usr/X11R6/lib/libICE.6.dylib
 0x17ab000 -  0x17c9fff libexpat.1.dylib 	/opt/local/lib/libexpat.1.dylib
 0x2008000 -  0x2456fff libgtk-x11-2.0.0.dylib 	/opt/local/lib/libgtk-x11-2.0.0.dylib
 0x2529000 -  0x2575fff libtiff.3.dylib 	/opt/local/lib/libtiff.3.dylib
 0x260d000 -  0x26d6fff libX11.6.dylib 	/usr/X11R6/lib/libX11.6.dylib
 0x26ff000 -  0x2725fff libpangoft2-1.0.0.dylib 	/opt/local/lib/libpangoft2-1.0.0.dylib
 0x27af000 -  0x27e3fff libpango-1.0.0.dylib 	/opt/local/lib/libpango-1.0.0.dylib
 0x2851000 -  0x28a3fff libcairo.2.dylib 	/opt/local/lib/libcairo.2.dylib
 0x29dd000 -  0x2a39fff libfreetype.6.dylib 	/opt/local/lib/libfreetype.6.dylib
 0x2bb6000 -  0x2bd8fff libfontconfig.1.dylib 	/opt/local/lib/libfontconfig.1.dylib
 0x2c3e000 -  0x2c71fff libpng12.0.dylib 	/opt/local/lib/libpng12.0.dylib
 0x2c79000 -  0x2c7ffff libXrender.1.dylib 	/opt/local/lib/libXrender.1.dylib
 0x2cd7000 -  0x2cddfff libXrender.1.dylib 	/usr/X11R6/lib/libXrender.1.dylib
 0x2ce1000 -  0x2cedfff _cairo.so 	/opt/local/lib/python2.4/site-packages/cairo/_cairo.so
 0x2d15000 -  0x2d2bfff pango.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pango.so
 0x2d62000 -  0x2d95fff atk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/atk.so
 0x2f9f000 -  0x2fa6fff _gnome.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gnome/_gnome.so
 0x2fac000 -  0x2fbbfff libgnome-2.0.dylib 	/opt/local/lib/libgnome-2.0.dylib
 0x2fe2000 -  0x30f3fff libxml2.2.dylib 	/opt/local/lib/libxml2.2.dylib
 0x332c000 -  0x334bfff libdbus-glib-1.2.dylib 	/opt/local/lib/libdbus-glib-1.2.dylib
 0x3358000 -  0x33aefff libdbus-1.3.dylib 	/opt/local/lib/libdbus-1.3.dylib
 0x33c5000 -  0x33fffff libssl.0.9.8.dylib 	/opt/local/lib/libssl.0.9.8.dylib
 0x3415000 -  0x3517fff libcrypto.0.9.8.dylib 	/opt/local/lib/libcrypto.0.9.8.dylib
 0x3584000 -  0x3590fff libhowl.0.dylib 	/opt/local/lib/libhowl.0.dylib
 0x36d3000 -  0x36d4fff libORBitCosNaming-2.0.dylib 	/opt/local/lib/libORBitCosNaming-2.0.dylib
 0x36e8000 -  0x36edfff libesd.0.dylib 	/opt/local/lib/libesd.0.dylib
 0x3704000 -  0x372afff libaudiofile.0.dylib 	/opt/local/lib/libaudiofile.0.dylib
 0x37ab000 -  0x37b4fff libpopt.0.dylib 	/opt/local/lib/libpopt.0.dylib
 0x37b8000 -  0x3808fff libbonobo-2.0.dylib 	/opt/local/lib/libbonobo-2.0.dylib
 0x3836000 -  0x3884fff libgnomevfs-2.0.dylib 	/opt/local/lib/libgnomevfs-2.0.dylib
 0x398d000 -  0x399dfff libbonobo-activation.4.dylib 	/opt/local/lib/libbonobo-activation.4.dylib
 0x39aa000 -  0x39d3fff libgconf-2.4.dylib 	/opt/local/lib/libgconf-2.4.dylib
 0x3a3f000 -  0x3a75fff libORBit-2.0.dylib 	/opt/local/lib/libORBit-2.0.dylib
 0x3b82000 -  0x3c7efff libpython2.4.dylib 	/opt/local/lib/libpython2.4.dylib
0x8fe00000 - 0x8fe51fff dyld 45.3	/usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x907ba000 - 0x90893fff com.apple.CoreFoundation 6.4.6 (368.27)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908de000 - 0x909e0fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x90a3a000 - 0x90abefff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6e000 - 0x90b80fff libauto.dylib 	/usr/lib/libauto.dylib
0x9110d000 - 0x9111bfff libz.1.dylib 	/usr/lib/libz.1.dylib
0x913e8000 - 0x91410fff com.apple.SystemConfiguration 1.8.3	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91423000 - 0x9142efff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x9143f000 - 0x914bafff com.apple.audio.CoreAudio 3.0.4	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x94b0f000 - 0x94b80fff libstdc++.6.dylib 	/usr/lib/libstdc++.6.dylib
0x94f7b000 - 0x94f98fff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib

**********

Host Name:      white
Date/Time:      2007-03-10 11:28:25.691 -0800
OS Version:     10.4.8 (Build 8L127)
Report Version: 4

Command: python
Path:    /opt/local/bin/python
Parent:  bash [485]

Version: ??? (???)

PID:    496
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
0   libpython2.4.dylib 	0x03b8ee90 PyDict_GetItemString + 48 (dictobject.c:504)
1   _gnome.so          	0x02f6a17c init_gnome + 92
2   org.python.python  	0x002bb1e4 _PyImport_LoadDynamicModule + 196 (importdl.c:54)
3   org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
4   org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
5   org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
6   org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
7   org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
8   org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
9   org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
10  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
11  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
12  org.python.python  	0x002b8070 PyImport_ExecCodeModuleEx + 304 (import.c:632)
13  org.python.python  	0x002b8570 load_source_module + 1008 (import.c:910)
14  org.python.python  	0x002b9008 load_package + 360 (import.c:965)
15  org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
16  org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
17  org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
18  org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
19  org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
20  org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
21  org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
22  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
23  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
24  org.python.python  	0x002c3928 PyRun_InteractiveOneFlags + 584 (pythonrun.c:1266)
25  org.python.python  	0x002c3b20 PyRun_InteractiveLoopFlags + 288 (pythonrun.c:699)
26  org.python.python  	0x002c4910 PyRun_AnyFileExFlags + 176 (pythonrun.c:659)
27  org.python.python  	0x002cfb38 Py_Main + 2744 (main.c:493)
28  python             	0x000028ec _start + 760
29  python             	0x000025f0 start + 48

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x0000000003b8ee90 srr1: 0x000000000000f030                        vrsave: 0x0000000000000000
    cr: 0x44244224          xer: 0x0000000000000004   lr: 0x0000000003b8ee88  ctr: 0x0000000090130fc0
    r0: 0x0000000003b8ee88   r1: 0x00000000bfffd640   r2: 0x0000000000000000   r3: 0x0000000002ecc480
    r4: 0x0000000002f70386   r5: 0x000000000000000f   r6: 0x0000000000000000   r7: 0x000000004f626a65
    r8: 0x0000000002ecc4a8   r9: 0x0000000000308e58  r10: 0x0000000002ecc480  r11: 0x00000000003269cc
   r12: 0x0000000002ecc4a2  r13: 0x00000000ffffffff  r14: 0x0000000000000000  r15: 0x00000000ffffffff
   r16: 0x0000000000016bd4  r17: 0x0000000002eada78  r18: 0x000000000004d260  r19: 0x0000000000000000
   r20: 0x0000000000000000  r21: 0x0000000000308d48  r22: 0x0000000000056d70  r23: 0x00000000003294ac
   r24: 0x00000000bfffd7a0  r25: 0x00000000bfffdc90  r26: 0x0000000002f6a120  r27: 0x00000000bfffd7a0
   r28: 0x0000000000000000  r29: 0x0000000000000000  r30: 0x0000000002ecc480  r31: 0x0000000003b8ee70

Binary Images Description:
    0x1000 -     0x3fff python 	/opt/local/bin/python
   0x46000 -    0x48fff libgthread-2.0.0.dylib 	/opt/local/lib/libgthread-2.0.0.dylib
   0x8e000 -    0x90fff pangocairo.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pangocairo.so
   0xc4000 -    0xccfff libintl.8.dylib 	/opt/local/lib/libintl.8.dylib
   0xe7000 -    0xecfff libSM.6.dylib 	/usr/X11R6/lib/libSM.6.dylib
   0xf0000 -    0xf1fff libgmodule-2.0.0.dylib 	/opt/local/lib/libgmodule-2.0.0.dylib
   0xf4000 -    0xf5fff libXrandr.2.dylib 	/usr/X11R6/lib/libXrandr.2.dylib
   0xfb000 -    0xfcfff libXinerama.1.dylib 	/usr/X11R6/lib/libXinerama.1.dylib
  0x205000 -   0x302fff org.python.python 2.4a0 (2.2)	/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Python
  0x573000 -   0x591fff _gobject.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gobject/_gobject.so
  0x5ee000 -   0x5fafff libXext.6.dylib 	/usr/X11R6/lib/libXext.6.dylib
  0x705000 -   0x745fff libgobject-2.0.0.dylib 	/opt/local/lib/libgobject-2.0.0.dylib
  0x756000 -   0x771fff libatk-1.0.0.dylib 	/opt/local/lib/libatk-1.0.0.dylib
  0x77e000 -   0x799fff libgdk_pixbuf-2.0.0.dylib 	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib
  0x7a1000 -   0x7b3fff libz.1.dylib 	/opt/local/lib/libz.1.dylib
  0x7b7000 -   0x7d5fff libjpeg.62.dylib 	/opt/local/lib/libjpeg.62.dylib
  0x7dc000 -   0x7e1fff libpangocairo-1.0.0.dylib 	/opt/local/lib/libpangocairo-1.0.0.dylib
 0x1008000 -  0x10bbfff libglib-2.0.0.dylib 	/opt/local/lib/libglib-2.0.0.dylib
 0x10d6000 -  0x11cffff libiconv.2.dylib 	/opt/local/lib/libiconv.2.dylib
 0x1220000 -  0x13bafff _gtk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
 0x16cd000 -  0x1770fff libgdk-x11-2.0.0.dylib 	/opt/local/lib/libgdk-x11-2.0.0.dylib
 0x1794000 -  0x17a3fff libICE.6.dylib 	/usr/X11R6/lib/libICE.6.dylib
 0x17ab000 -  0x17c9fff libexpat.1.dylib 	/opt/local/lib/libexpat.1.dylib
 0x2008000 -  0x2456fff libgtk-x11-2.0.0.dylib 	/opt/local/lib/libgtk-x11-2.0.0.dylib
 0x2529000 -  0x2575fff libtiff.3.dylib 	/opt/local/lib/libtiff.3.dylib
 0x260d000 -  0x26d6fff libX11.6.dylib 	/usr/X11R6/lib/libX11.6.dylib
 0x26ff000 -  0x2725fff libpangoft2-1.0.0.dylib 	/opt/local/lib/libpangoft2-1.0.0.dylib
 0x27af000 -  0x27e3fff libpango-1.0.0.dylib 	/opt/local/lib/libpango-1.0.0.dylib
 0x2851000 -  0x28a3fff libcairo.2.dylib 	/opt/local/lib/libcairo.2.dylib
 0x29dd000 -  0x2a39fff libfreetype.6.dylib 	/opt/local/lib/libfreetype.6.dylib
 0x2bb6000 -  0x2bd8fff libfontconfig.1.dylib 	/opt/local/lib/libfontconfig.1.dylib
 0x2c3e000 -  0x2c71fff libpng12.0.dylib 	/opt/local/lib/libpng12.0.dylib
 0x2c79000 -  0x2c7ffff libXrender.1.dylib 	/opt/local/lib/libXrender.1.dylib
 0x2cd7000 -  0x2cddfff libXrender.1.dylib 	/usr/X11R6/lib/libXrender.1.dylib
 0x2ce1000 -  0x2cedfff _cairo.so 	/opt/local/lib/python2.4/site-packages/cairo/_cairo.so
 0x2d15000 -  0x2d2bfff pango.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pango.so
 0x2d62000 -  0x2d95fff atk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/atk.so
 0x2f69000 -  0x2f70fff _gnome.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gnome/_gnome.so
 0x2f76000 -  0x2f85fff libgnome-2.0.dylib 	/opt/local/lib/libgnome-2.0.dylib
 0x2fac000 -  0x30bdfff libxml2.2.dylib 	/opt/local/lib/libxml2.2.dylib
 0x32f6000 -  0x3315fff libdbus-glib-1.2.dylib 	/opt/local/lib/libdbus-glib-1.2.dylib
 0x3322000 -  0x3378fff libdbus-1.3.dylib 	/opt/local/lib/libdbus-1.3.dylib
 0x338f000 -  0x33c9fff libssl.0.9.8.dylib 	/opt/local/lib/libssl.0.9.8.dylib
 0x33df000 -  0x34e1fff libcrypto.0.9.8.dylib 	/opt/local/lib/libcrypto.0.9.8.dylib
 0x354e000 -  0x355afff libhowl.0.dylib 	/opt/local/lib/libhowl.0.dylib
 0x369d000 -  0x369efff libORBitCosNaming-2.0.dylib 	/opt/local/lib/libORBitCosNaming-2.0.dylib
 0x36b2000 -  0x36b7fff libesd.0.dylib 	/opt/local/lib/libesd.0.dylib
 0x36ce000 -  0x36f4fff libaudiofile.0.dylib 	/opt/local/lib/libaudiofile.0.dylib
 0x3775000 -  0x377efff libpopt.0.dylib 	/opt/local/lib/libpopt.0.dylib
 0x3782000 -  0x37d2fff libbonobo-2.0.dylib 	/opt/local/lib/libbonobo-2.0.dylib
 0x3800000 -  0x384efff libgnomevfs-2.0.dylib 	/opt/local/lib/libgnomevfs-2.0.dylib
 0x3957000 -  0x3967fff libbonobo-activation.4.dylib 	/opt/local/lib/libbonobo-activation.4.dylib
 0x3974000 -  0x399dfff libgconf-2.4.dylib 	/opt/local/lib/libgconf-2.4.dylib
 0x3a09000 -  0x3a3ffff libORBit-2.0.dylib 	/opt/local/lib/libORBit-2.0.dylib
 0x3b4c000 -  0x3c48fff libpython2.4.dylib 	/opt/local/lib/libpython2.4.dylib
0x8fe00000 - 0x8fe51fff dyld 45.3	/usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x907ba000 - 0x90893fff com.apple.CoreFoundation 6.4.6 (368.27)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908de000 - 0x909e0fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x90a3a000 - 0x90abefff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6e000 - 0x90b80fff libauto.dylib 	/usr/lib/libauto.dylib
0x9110d000 - 0x9111bfff libz.1.dylib 	/usr/lib/libz.1.dylib
0x913e8000 - 0x91410fff com.apple.SystemConfiguration 1.8.3	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91423000 - 0x9142efff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x9143f000 - 0x914bafff com.apple.audio.CoreAudio 3.0.4	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x94b0f000 - 0x94b80fff libstdc++.6.dylib 	/usr/lib/libstdc++.6.dylib
0x94f7b000 - 0x94f98fff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib

**********

Host Name:      white
Date/Time:      2007-03-10 11:38:42.397 -0800
OS Version:     10.4.8 (Build 8L127)
Report Version: 4

Command: python
Path:    /opt/local/bin/python
Parent:  bash [485]

Version: ??? (???)

PID:    3405
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
0   libpython2.4.dylib 	0x03b8ee90 PyDict_GetItemString + 48 (dictobject.c:504)
1   _gnome.so          	0x02f6a17c init_gnome + 92
2   org.python.python  	0x002bb1e4 _PyImport_LoadDynamicModule + 196 (importdl.c:54)
3   org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
4   org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
5   org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
6   org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
7   org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
8   org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
9   org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
10  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
11  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
12  org.python.python  	0x002b8070 PyImport_ExecCodeModuleEx + 304 (import.c:632)
13  org.python.python  	0x002b8570 load_source_module + 1008 (import.c:910)
14  org.python.python  	0x002b9008 load_package + 360 (import.c:965)
15  org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
16  org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
17  org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
18  org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
19  org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
20  org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
21  org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
22  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
23  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
24  org.python.python  	0x002c3928 PyRun_InteractiveOneFlags + 584 (pythonrun.c:1266)
25  org.python.python  	0x002c3b20 PyRun_InteractiveLoopFlags + 288 (pythonrun.c:699)
26  org.python.python  	0x002c4910 PyRun_AnyFileExFlags + 176 (pythonrun.c:659)
27  org.python.python  	0x002cfb38 Py_Main + 2744 (main.c:493)
28  python             	0x000028ec _start + 760
29  python             	0x000025f0 start + 48

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x0000000003b8ee90 srr1: 0x000000000000d030                        vrsave: 0x0000000000000000
    cr: 0x44244224          xer: 0x0000000000000004   lr: 0x0000000003b8ee88  ctr: 0x0000000090130fc0
    r0: 0x0000000003b8ee88   r1: 0x00000000bfffd640   r2: 0x0000000000000000   r3: 0x0000000002ecb548
    r4: 0x0000000002f70386   r5: 0x000000000000000f   r6: 0x0000000000000000   r7: 0x000000004f626a65
    r8: 0x0000000002ecb570   r9: 0x0000000000308e58  r10: 0x0000000002ecb548  r11: 0x00000000003269cc
   r12: 0x0000000002ecb56a  r13: 0x00000000ffffffff  r14: 0x0000000000000000  r15: 0x00000000ffffffff
   r16: 0x0000000000016bd4  r17: 0x0000000002eada78  r18: 0x000000000004d260  r19: 0x0000000000000000
   r20: 0x0000000000000000  r21: 0x0000000000308d48  r22: 0x0000000000056db0  r23: 0x00000000003294ac
   r24: 0x00000000bfffd7a0  r25: 0x00000000bfffdc90  r26: 0x0000000002f6a120  r27: 0x00000000bfffd7a0
   r28: 0x0000000000000000  r29: 0x0000000000000000  r30: 0x0000000002ecb548  r31: 0x0000000003b8ee70

Binary Images Description:
    0x1000 -     0x3fff python 	/opt/local/bin/python
   0x46000 -    0x48fff libgthread-2.0.0.dylib 	/opt/local/lib/libgthread-2.0.0.dylib
   0x8e000 -    0x90fff pangocairo.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pangocairo.so
   0xc4000 -    0xccfff libintl.8.dylib 	/opt/local/lib/libintl.8.dylib
   0xe7000 -    0xecfff libSM.6.dylib 	/usr/X11R6/lib/libSM.6.dylib
   0xf0000 -    0xf1fff libgmodule-2.0.0.dylib 	/opt/local/lib/libgmodule-2.0.0.dylib
   0xf4000 -    0xf5fff libXrandr.2.dylib 	/usr/X11R6/lib/libXrandr.2.dylib
   0xfb000 -    0xfcfff libXinerama.1.dylib 	/usr/X11R6/lib/libXinerama.1.dylib
  0x205000 -   0x302fff org.python.python 2.4a0 (2.2)	/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Python
  0x573000 -   0x591fff _gobject.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gobject/_gobject.so
  0x5ee000 -   0x5fafff libXext.6.dylib 	/usr/X11R6/lib/libXext.6.dylib
  0x705000 -   0x745fff libgobject-2.0.0.dylib 	/opt/local/lib/libgobject-2.0.0.dylib
  0x756000 -   0x771fff libatk-1.0.0.dylib 	/opt/local/lib/libatk-1.0.0.dylib
  0x77e000 -   0x799fff libgdk_pixbuf-2.0.0.dylib 	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib
  0x7a1000 -   0x7b3fff libz.1.dylib 	/opt/local/lib/libz.1.dylib
  0x7b7000 -   0x7d5fff libjpeg.62.dylib 	/opt/local/lib/libjpeg.62.dylib
  0x7dc000 -   0x7e1fff libpangocairo-1.0.0.dylib 	/opt/local/lib/libpangocairo-1.0.0.dylib
 0x1008000 -  0x10bbfff libglib-2.0.0.dylib 	/opt/local/lib/libglib-2.0.0.dylib
 0x10d6000 -  0x11cffff libiconv.2.dylib 	/opt/local/lib/libiconv.2.dylib
 0x1220000 -  0x13bafff _gtk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
 0x16cd000 -  0x1770fff libgdk-x11-2.0.0.dylib 	/opt/local/lib/libgdk-x11-2.0.0.dylib
 0x1794000 -  0x17a3fff libICE.6.dylib 	/usr/X11R6/lib/libICE.6.dylib
 0x17ab000 -  0x17c9fff libexpat.1.dylib 	/opt/local/lib/libexpat.1.dylib
 0x2008000 -  0x2456fff libgtk-x11-2.0.0.dylib 	/opt/local/lib/libgtk-x11-2.0.0.dylib
 0x2529000 -  0x2575fff libtiff.3.dylib 	/opt/local/lib/libtiff.3.dylib
 0x260d000 -  0x26d6fff libX11.6.dylib 	/usr/X11R6/lib/libX11.6.dylib
 0x26ff000 -  0x2725fff libpangoft2-1.0.0.dylib 	/opt/local/lib/libpangoft2-1.0.0.dylib
 0x27af000 -  0x27e3fff libpango-1.0.0.dylib 	/opt/local/lib/libpango-1.0.0.dylib
 0x2851000 -  0x28a3fff libcairo.2.dylib 	/opt/local/lib/libcairo.2.dylib
 0x29dd000 -  0x2a39fff libfreetype.6.dylib 	/opt/local/lib/libfreetype.6.dylib
 0x2bb6000 -  0x2bd8fff libfontconfig.1.dylib 	/opt/local/lib/libfontconfig.1.dylib
 0x2c3e000 -  0x2c71fff libpng12.0.dylib 	/opt/local/lib/libpng12.0.dylib
 0x2c79000 -  0x2c7ffff libXrender.1.dylib 	/opt/local/lib/libXrender.1.dylib
 0x2cd7000 -  0x2cddfff libXrender.1.dylib 	/usr/X11R6/lib/libXrender.1.dylib
 0x2ce1000 -  0x2cedfff _cairo.so 	/opt/local/lib/python2.4/site-packages/cairo/_cairo.so
 0x2d15000 -  0x2d2bfff pango.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pango.so
 0x2d62000 -  0x2d95fff atk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/atk.so
 0x2f69000 -  0x2f70fff _gnome.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gnome/_gnome.so
 0x2f76000 -  0x2f85fff libgnome-2.0.dylib 	/opt/local/lib/libgnome-2.0.dylib
 0x2fac000 -  0x30bdfff libxml2.2.dylib 	/opt/local/lib/libxml2.2.dylib
 0x32f6000 -  0x3315fff libdbus-glib-1.2.dylib 	/opt/local/lib/libdbus-glib-1.2.dylib
 0x3322000 -  0x3378fff libdbus-1.3.dylib 	/opt/local/lib/libdbus-1.3.dylib
 0x338f000 -  0x33c9fff libssl.0.9.8.dylib 	/opt/local/lib/libssl.0.9.8.dylib
 0x33df000 -  0x34e1fff libcrypto.0.9.8.dylib 	/opt/local/lib/libcrypto.0.9.8.dylib
 0x354e000 -  0x355afff libhowl.0.dylib 	/opt/local/lib/libhowl.0.dylib
 0x369d000 -  0x369efff libORBitCosNaming-2.0.dylib 	/opt/local/lib/libORBitCosNaming-2.0.dylib
 0x36b2000 -  0x36b7fff libesd.0.dylib 	/opt/local/lib/libesd.0.dylib
 0x36ce000 -  0x36f4fff libaudiofile.0.dylib 	/opt/local/lib/libaudiofile.0.dylib
 0x3775000 -  0x377efff libpopt.0.dylib 	/opt/local/lib/libpopt.0.dylib
 0x3782000 -  0x37d2fff libbonobo-2.0.dylib 	/opt/local/lib/libbonobo-2.0.dylib
 0x3800000 -  0x384efff libgnomevfs-2.0.dylib 	/opt/local/lib/libgnomevfs-2.0.dylib
 0x3957000 -  0x3967fff libbonobo-activation.4.dylib 	/opt/local/lib/libbonobo-activation.4.dylib
 0x3974000 -  0x399dfff libgconf-2.4.dylib 	/opt/local/lib/libgconf-2.4.dylib
 0x3a09000 -  0x3a3ffff libORBit-2.0.dylib 	/opt/local/lib/libORBit-2.0.dylib
 0x3b4c000 -  0x3c48fff libpython2.4.dylib 	/opt/local/lib/libpython2.4.dylib
0x8fe00000 - 0x8fe51fff dyld 45.3	/usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x907ba000 - 0x90893fff com.apple.CoreFoundation 6.4.6 (368.27)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908de000 - 0x909e0fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x90a3a000 - 0x90abefff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6e000 - 0x90b80fff libauto.dylib 	/usr/lib/libauto.dylib
0x9110d000 - 0x9111bfff libz.1.dylib 	/usr/lib/libz.1.dylib
0x913e8000 - 0x91410fff com.apple.SystemConfiguration 1.8.3	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91423000 - 0x9142efff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x9143f000 - 0x914bafff com.apple.audio.CoreAudio 3.0.4	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x94b0f000 - 0x94b80fff libstdc++.6.dylib 	/usr/lib/libstdc++.6.dylib
0x94f7b000 - 0x94f98fff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib

**********

Host Name:      white
Date/Time:      2007-03-10 21:20:12.550 -0800
OS Version:     10.4.8 (Build 8L127)
Report Version: 4

Command: python
Path:    /opt/local/bin/python
Parent:  bash [707]

Version: ??? (???)

PID:    710
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
0   libpython2.4.dylib 	0x03b8ee90 PyDict_GetItemString + 48 (dictobject.c:504)
1   _gnome.so          	0x02f6a17c init_gnome + 92
2   org.python.python  	0x002bb1e4 _PyImport_LoadDynamicModule + 196 (importdl.c:54)
3   org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
4   org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
5   org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
6   org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
7   org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
8   org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
9   org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
10  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
11  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
12  org.python.python  	0x002b8070 PyImport_ExecCodeModuleEx + 304 (import.c:632)
13  org.python.python  	0x002b8570 load_source_module + 1008 (import.c:910)
14  org.python.python  	0x002b9008 load_package + 360 (import.c:965)
15  org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
16  org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
17  org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
18  org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
19  org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
20  org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
21  org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
22  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
23  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
24  org.python.python  	0x002c3928 PyRun_InteractiveOneFlags + 584 (pythonrun.c:1266)
25  org.python.python  	0x002c3b20 PyRun_InteractiveLoopFlags + 288 (pythonrun.c:699)
26  org.python.python  	0x002c4910 PyRun_AnyFileExFlags + 176 (pythonrun.c:659)
27  org.python.python  	0x002cfb38 Py_Main + 2744 (main.c:493)
28  python             	0x000028ec _start + 760
29  python             	0x000025f0 start + 48

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x0000000003b8ee90 srr1: 0x000000000000f030                        vrsave: 0x0000000000000000
    cr: 0x44244224          xer: 0x0000000000000004   lr: 0x0000000003b8ee88  ctr: 0x0000000090130fc0
    r0: 0x0000000003b8ee88   r1: 0x00000000bfffd640   r2: 0x0000000000000000   r3: 0x0000000002ecc458
    r4: 0x0000000002f70386   r5: 0x000000000000000f   r6: 0x0000000000000000   r7: 0x000000004f626a65
    r8: 0x0000000002ecc480   r9: 0x0000000000308e58  r10: 0x0000000002ecc458  r11: 0x00000000003269cc
   r12: 0x0000000002ecc47a  r13: 0x00000000ffffffff  r14: 0x0000000000000000  r15: 0x00000000ffffffff
   r16: 0x0000000000016bd4  r17: 0x0000000002eada78  r18: 0x000000000004d238  r19: 0x0000000000000000
   r20: 0x0000000000000000  r21: 0x0000000000308d48  r22: 0x0000000000056d70  r23: 0x00000000003294ac
   r24: 0x00000000bfffd7a0  r25: 0x00000000bfffdc90  r26: 0x0000000002f6a120  r27: 0x00000000bfffd7a0
   r28: 0x0000000000000000  r29: 0x0000000000000000  r30: 0x0000000002ecc458  r31: 0x0000000003b8ee70

Binary Images Description:
    0x1000 -     0x3fff python 	/opt/local/bin/python
   0x46000 -    0x48fff libgthread-2.0.0.dylib 	/opt/local/lib/libgthread-2.0.0.dylib
   0x8e000 -    0x90fff pangocairo.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pangocairo.so
   0xc4000 -    0xccfff libintl.8.dylib 	/opt/local/lib/libintl.8.dylib
   0xe7000 -    0xecfff libSM.6.dylib 	/usr/X11R6/lib/libSM.6.dylib
   0xf0000 -    0xf1fff libgmodule-2.0.0.dylib 	/opt/local/lib/libgmodule-2.0.0.dylib
   0xf4000 -    0xf5fff libXrandr.2.dylib 	/usr/X11R6/lib/libXrandr.2.dylib
   0xfb000 -    0xfcfff libXinerama.1.dylib 	/usr/X11R6/lib/libXinerama.1.dylib
  0x205000 -   0x302fff org.python.python 2.4a0 (2.2)	/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Python
  0x573000 -   0x591fff _gobject.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gobject/_gobject.so
  0x5ee000 -   0x5fafff libXext.6.dylib 	/usr/X11R6/lib/libXext.6.dylib
  0x705000 -   0x745fff libgobject-2.0.0.dylib 	/opt/local/lib/libgobject-2.0.0.dylib
  0x756000 -   0x771fff libatk-1.0.0.dylib 	/opt/local/lib/libatk-1.0.0.dylib
  0x77e000 -   0x799fff libgdk_pixbuf-2.0.0.dylib 	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib
  0x7a1000 -   0x7b3fff libz.1.dylib 	/opt/local/lib/libz.1.dylib
  0x7b7000 -   0x7d5fff libjpeg.62.dylib 	/opt/local/lib/libjpeg.62.dylib
  0x7dc000 -   0x7e1fff libpangocairo-1.0.0.dylib 	/opt/local/lib/libpangocairo-1.0.0.dylib
 0x1008000 -  0x10bbfff libglib-2.0.0.dylib 	/opt/local/lib/libglib-2.0.0.dylib
 0x10d6000 -  0x11cffff libiconv.2.dylib 	/opt/local/lib/libiconv.2.dylib
 0x1220000 -  0x13bafff _gtk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
 0x16cd000 -  0x1770fff libgdk-x11-2.0.0.dylib 	/opt/local/lib/libgdk-x11-2.0.0.dylib
 0x1794000 -  0x17a3fff libICE.6.dylib 	/usr/X11R6/lib/libICE.6.dylib
 0x17ab000 -  0x17c9fff libexpat.1.dylib 	/opt/local/lib/libexpat.1.dylib
 0x2008000 -  0x2456fff libgtk-x11-2.0.0.dylib 	/opt/local/lib/libgtk-x11-2.0.0.dylib
 0x2529000 -  0x2575fff libtiff.3.dylib 	/opt/local/lib/libtiff.3.dylib
 0x260d000 -  0x26d6fff libX11.6.dylib 	/usr/X11R6/lib/libX11.6.dylib
 0x26ff000 -  0x2725fff libpangoft2-1.0.0.dylib 	/opt/local/lib/libpangoft2-1.0.0.dylib
 0x27af000 -  0x27e3fff libpango-1.0.0.dylib 	/opt/local/lib/libpango-1.0.0.dylib
 0x2851000 -  0x28a3fff libcairo.2.dylib 	/opt/local/lib/libcairo.2.dylib
 0x29dd000 -  0x2a39fff libfreetype.6.dylib 	/opt/local/lib/libfreetype.6.dylib
 0x2bb6000 -  0x2bd8fff libfontconfig.1.dylib 	/opt/local/lib/libfontconfig.1.dylib
 0x2c3e000 -  0x2c71fff libpng12.0.dylib 	/opt/local/lib/libpng12.0.dylib
 0x2c79000 -  0x2c7ffff libXrender.1.dylib 	/opt/local/lib/libXrender.1.dylib
 0x2cd7000 -  0x2cddfff libXrender.1.dylib 	/usr/X11R6/lib/libXrender.1.dylib
 0x2ce1000 -  0x2cedfff _cairo.so 	/opt/local/lib/python2.4/site-packages/cairo/_cairo.so
 0x2d15000 -  0x2d2bfff pango.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pango.so
 0x2d62000 -  0x2d95fff atk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/atk.so
 0x2f69000 -  0x2f70fff _gnome.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gnome/_gnome.so
 0x2f76000 -  0x2f85fff libgnome-2.0.dylib 	/opt/local/lib/libgnome-2.0.dylib
 0x2fac000 -  0x30bdfff libxml2.2.dylib 	/opt/local/lib/libxml2.2.dylib
 0x32f6000 -  0x3315fff libdbus-glib-1.2.dylib 	/opt/local/lib/libdbus-glib-1.2.dylib
 0x3322000 -  0x3378fff libdbus-1.3.dylib 	/opt/local/lib/libdbus-1.3.dylib
 0x338f000 -  0x33c9fff libssl.0.9.8.dylib 	/opt/local/lib/libssl.0.9.8.dylib
 0x33df000 -  0x34e1fff libcrypto.0.9.8.dylib 	/opt/local/lib/libcrypto.0.9.8.dylib
 0x354e000 -  0x355afff libhowl.0.dylib 	/opt/local/lib/libhowl.0.dylib
 0x369d000 -  0x369efff libORBitCosNaming-2.0.dylib 	/opt/local/lib/libORBitCosNaming-2.0.dylib
 0x36b2000 -  0x36b7fff libesd.0.dylib 	/opt/local/lib/libesd.0.dylib
 0x36ce000 -  0x36f4fff libaudiofile.0.dylib 	/opt/local/lib/libaudiofile.0.dylib
 0x3775000 -  0x377efff libpopt.0.dylib 	/opt/local/lib/libpopt.0.dylib
 0x3782000 -  0x37d2fff libbonobo-2.0.dylib 	/opt/local/lib/libbonobo-2.0.dylib
 0x3800000 -  0x384efff libgnomevfs-2.0.dylib 	/opt/local/lib/libgnomevfs-2.0.dylib
 0x3957000 -  0x3967fff libbonobo-activation.4.dylib 	/opt/local/lib/libbonobo-activation.4.dylib
 0x3974000 -  0x399dfff libgconf-2.4.dylib 	/opt/local/lib/libgconf-2.4.dylib
 0x3a09000 -  0x3a3ffff libORBit-2.0.dylib 	/opt/local/lib/libORBit-2.0.dylib
 0x3b4c000 -  0x3c48fff libpython2.4.dylib 	/opt/local/lib/libpython2.4.dylib
0x8fe00000 - 0x8fe51fff dyld 45.3	/usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x907ba000 - 0x90893fff com.apple.CoreFoundation 6.4.6 (368.27)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908de000 - 0x909e0fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x90a3a000 - 0x90abefff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6e000 - 0x90b80fff libauto.dylib 	/usr/lib/libauto.dylib
0x9110d000 - 0x9111bfff libz.1.dylib 	/usr/lib/libz.1.dylib
0x913e8000 - 0x91410fff com.apple.SystemConfiguration 1.8.3	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91423000 - 0x9142efff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x9143f000 - 0x914bafff com.apple.audio.CoreAudio 3.0.4	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x94b0f000 - 0x94b80fff libstdc++.6.dylib 	/usr/lib/libstdc++.6.dylib
0x94f7b000 - 0x94f98fff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib

**********

Host Name:      white
Date/Time:      2007-03-10 21:40:25.317 -0800
OS Version:     10.4.8 (Build 8L127)
Report Version: 4

Command: python
Path:    /opt/local/bin/python
Parent:  bash [14041]

Version: ??? (???)

PID:    14115
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_PROTECTION_FAILURE (0x0002) at 0x00000004

Thread 0 Crashed:
0   libpython2.4.dylib 	0x03b8ee90 PyDict_GetItemString + 48 (dictobject.c:504)
1   _gnome.so          	0x02f6a17c init_gnome + 92
2   org.python.python  	0x002bb1e4 _PyImport_LoadDynamicModule + 196 (importdl.c:54)
3   org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
4   org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
5   org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
6   org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
7   org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
8   org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
9   org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
10  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
11  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
12  org.python.python  	0x002b8070 PyImport_ExecCodeModuleEx + 304 (import.c:632)
13  org.python.python  	0x002b8570 load_source_module + 1008 (import.c:910)
14  org.python.python  	0x002b9008 load_package + 360 (import.c:965)
15  org.python.python  	0x002b9638 import_submodule + 424 (import.c:2267)
16  org.python.python  	0x002b98b0 load_next + 288 (import.c:2087)
17  org.python.python  	0x002b9f54 PyImport_ImportModuleEx + 532 (import.c:1922)
18  org.python.python  	0x00287ec8 builtin___import__ + 104 (bltinmodule.c:45)
19  org.python.python  	0x0020e0c4 PyObject_Call + 52 (abstract.c:1796)
20  org.python.python  	0x00291970 PyEval_CallObjectWithKeywords + 272 (ceval.c:3431)
21  org.python.python  	0x0029637c PyEval_EvalFrame + 14060 (ceval.c:2020)
22  org.python.python  	0x002992d4 PyEval_EvalCodeEx + 2196 (ceval.c:2736)
23  org.python.python  	0x00299480 PyEval_EvalCode + 48 (ceval.c:490)
24  org.python.python  	0x002c3928 PyRun_InteractiveOneFlags + 584 (pythonrun.c:1266)
25  org.python.python  	0x002c3b20 PyRun_InteractiveLoopFlags + 288 (pythonrun.c:699)
26  org.python.python  	0x002c4910 PyRun_AnyFileExFlags + 176 (pythonrun.c:659)
27  org.python.python  	0x002cfb38 Py_Main + 2744 (main.c:493)
28  python             	0x000028ec _start + 760
29  python             	0x000025f0 start + 48

Thread 0 crashed with PPC Thread State 64:
  srr0: 0x0000000003b8ee90 srr1: 0x000000000000f030                        vrsave: 0x0000000000000000
    cr: 0x44244224          xer: 0x0000000000000004   lr: 0x0000000003b8ee88  ctr: 0x0000000090130fc0
    r0: 0x0000000003b8ee88   r1: 0x00000000bfffd640   r2: 0x0000000000000000   r3: 0x0000000002ecc458
    r4: 0x0000000002f70386   r5: 0x000000000000000f   r6: 0x0000000000000000   r7: 0x000000004f626a65
    r8: 0x0000000002ecc480   r9: 0x0000000000308e58  r10: 0x0000000002ecc458  r11: 0x00000000003269cc
   r12: 0x0000000002ecc47a  r13: 0x00000000ffffffff  r14: 0x0000000000000000  r15: 0x00000000ffffffff
   r16: 0x0000000000016bd4  r17: 0x0000000002eada78  r18: 0x000000000004d238  r19: 0x0000000000000000
   r20: 0x0000000000000000  r21: 0x0000000000308d48  r22: 0x0000000000056d70  r23: 0x00000000003294ac
   r24: 0x00000000bfffd7a0  r25: 0x00000000bfffdc90  r26: 0x0000000002f6a120  r27: 0x00000000bfffd7a0
   r28: 0x0000000000000000  r29: 0x0000000000000000  r30: 0x0000000002ecc458  r31: 0x0000000003b8ee70

Binary Images Description:
    0x1000 -     0x3fff python 	/opt/local/bin/python
   0x46000 -    0x48fff libgthread-2.0.0.dylib 	/opt/local/lib/libgthread-2.0.0.dylib
   0x8e000 -    0x90fff pangocairo.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pangocairo.so
   0xc4000 -    0xccfff libintl.8.dylib 	/opt/local/lib/libintl.8.dylib
   0xe7000 -    0xecfff libSM.6.dylib 	/usr/X11R6/lib/libSM.6.dylib
   0xf0000 -    0xf1fff libgmodule-2.0.0.dylib 	/opt/local/lib/libgmodule-2.0.0.dylib
   0xf4000 -    0xf5fff libXrandr.2.dylib 	/usr/X11R6/lib/libXrandr.2.dylib
   0xfb000 -    0xfcfff libXinerama.1.dylib 	/usr/X11R6/lib/libXinerama.1.dylib
  0x205000 -   0x302fff org.python.python 2.4a0 (2.2)	/opt/local/Library/Frameworks/Python.framework/Versions/2.4/Python
  0x573000 -   0x591fff _gobject.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gobject/_gobject.so
  0x5ee000 -   0x5fafff libXext.6.dylib 	/usr/X11R6/lib/libXext.6.dylib
  0x705000 -   0x745fff libgobject-2.0.0.dylib 	/opt/local/lib/libgobject-2.0.0.dylib
  0x756000 -   0x771fff libatk-1.0.0.dylib 	/opt/local/lib/libatk-1.0.0.dylib
  0x77e000 -   0x799fff libgdk_pixbuf-2.0.0.dylib 	/opt/local/lib/libgdk_pixbuf-2.0.0.dylib
  0x7a1000 -   0x7b3fff libz.1.dylib 	/opt/local/lib/libz.1.dylib
  0x7b7000 -   0x7d5fff libjpeg.62.dylib 	/opt/local/lib/libjpeg.62.dylib
  0x7dc000 -   0x7e1fff libpangocairo-1.0.0.dylib 	/opt/local/lib/libpangocairo-1.0.0.dylib
 0x1008000 -  0x10bbfff libglib-2.0.0.dylib 	/opt/local/lib/libglib-2.0.0.dylib
 0x10d6000 -  0x11cffff libiconv.2.dylib 	/opt/local/lib/libiconv.2.dylib
 0x1220000 -  0x13bafff _gtk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gtk/_gtk.so
 0x16cd000 -  0x1770fff libgdk-x11-2.0.0.dylib 	/opt/local/lib/libgdk-x11-2.0.0.dylib
 0x1794000 -  0x17a3fff libICE.6.dylib 	/usr/X11R6/lib/libICE.6.dylib
 0x17ab000 -  0x17c9fff libexpat.1.dylib 	/opt/local/lib/libexpat.1.dylib
 0x2008000 -  0x2456fff libgtk-x11-2.0.0.dylib 	/opt/local/lib/libgtk-x11-2.0.0.dylib
 0x2529000 -  0x2575fff libtiff.3.dylib 	/opt/local/lib/libtiff.3.dylib
 0x260d000 -  0x26d6fff libX11.6.dylib 	/usr/X11R6/lib/libX11.6.dylib
 0x26ff000 -  0x2725fff libpangoft2-1.0.0.dylib 	/opt/local/lib/libpangoft2-1.0.0.dylib
 0x27af000 -  0x27e3fff libpango-1.0.0.dylib 	/opt/local/lib/libpango-1.0.0.dylib
 0x2851000 -  0x28a3fff libcairo.2.dylib 	/opt/local/lib/libcairo.2.dylib
 0x29dd000 -  0x2a39fff libfreetype.6.dylib 	/opt/local/lib/libfreetype.6.dylib
 0x2bb6000 -  0x2bd8fff libfontconfig.1.dylib 	/opt/local/lib/libfontconfig.1.dylib
 0x2c3e000 -  0x2c71fff libpng12.0.dylib 	/opt/local/lib/libpng12.0.dylib
 0x2c79000 -  0x2c7ffff libXrender.1.dylib 	/opt/local/lib/libXrender.1.dylib
 0x2cd7000 -  0x2cddfff libXrender.1.dylib 	/usr/X11R6/lib/libXrender.1.dylib
 0x2ce1000 -  0x2cedfff _cairo.so 	/opt/local/lib/python2.4/site-packages/cairo/_cairo.so
 0x2d15000 -  0x2d2bfff pango.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/pango.so
 0x2d62000 -  0x2d95fff atk.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/atk.so
 0x2f69000 -  0x2f70fff _gnome.so 	/opt/local/lib/python2.4/site-packages/gtk-2.0/gnome/_gnome.so
 0x2f76000 -  0x2f85fff libgnome-2.0.dylib 	/opt/local/lib/libgnome-2.0.dylib
 0x2fac000 -  0x30bdfff libxml2.2.dylib 	/opt/local/lib/libxml2.2.dylib
 0x32f6000 -  0x3315fff libdbus-glib-1.2.dylib 	/opt/local/lib/libdbus-glib-1.2.dylib
 0x3322000 -  0x3378fff libdbus-1.3.dylib 	/opt/local/lib/libdbus-1.3.dylib
 0x338f000 -  0x33c9fff libssl.0.9.8.dylib 	/opt/local/lib/libssl.0.9.8.dylib
 0x33df000 -  0x34e1fff libcrypto.0.9.8.dylib 	/opt/local/lib/libcrypto.0.9.8.dylib
 0x354e000 -  0x355afff libhowl.0.dylib 	/opt/local/lib/libhowl.0.dylib
 0x369d000 -  0x369efff libORBitCosNaming-2.0.dylib 	/opt/local/lib/libORBitCosNaming-2.0.dylib
 0x36b2000 -  0x36b7fff libesd.0.dylib 	/opt/local/lib/libesd.0.dylib
 0x36ce000 -  0x36f4fff libaudiofile.0.dylib 	/opt/local/lib/libaudiofile.0.dylib
 0x3775000 -  0x377efff libpopt.0.dylib 	/opt/local/lib/libpopt.0.dylib
 0x3782000 -  0x37d2fff libbonobo-2.0.dylib 	/opt/local/lib/libbonobo-2.0.dylib
 0x3800000 -  0x384efff libgnomevfs-2.0.dylib 	/opt/local/lib/libgnomevfs-2.0.dylib
 0x3957000 -  0x3967fff libbonobo-activation.4.dylib 	/opt/local/lib/libbonobo-activation.4.dylib
 0x3974000 -  0x399dfff libgconf-2.4.dylib 	/opt/local/lib/libgconf-2.4.dylib
 0x3a09000 -  0x3a3ffff libORBit-2.0.dylib 	/opt/local/lib/libORBit-2.0.dylib
 0x3b4c000 -  0x3c48fff libpython2.4.dylib 	/opt/local/lib/libpython2.4.dylib
0x8fe00000 - 0x8fe51fff dyld 45.3	/usr/lib/dyld
0x90000000 - 0x901bcfff libSystem.B.dylib 	/usr/lib/libSystem.B.dylib
0x90214000 - 0x90219fff libmathCommon.A.dylib 	/usr/lib/system/libmathCommon.A.dylib
0x907ba000 - 0x90893fff com.apple.CoreFoundation 6.4.6 (368.27)	/System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x908de000 - 0x909e0fff libicucore.A.dylib 	/usr/lib/libicucore.A.dylib
0x90a3a000 - 0x90abefff libobjc.A.dylib 	/usr/lib/libobjc.A.dylib
0x90ae8000 - 0x90b58fff com.apple.framework.IOKit 1.4 (???)	/System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x90b6e000 - 0x90b80fff libauto.dylib 	/usr/lib/libauto.dylib
0x9110d000 - 0x9111bfff libz.1.dylib 	/usr/lib/libz.1.dylib
0x913e8000 - 0x91410fff com.apple.SystemConfiguration 1.8.3	/System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x91423000 - 0x9142efff libgcc_s.1.dylib 	/usr/lib/libgcc_s.1.dylib
0x9143f000 - 0x914bafff com.apple.audio.CoreAudio 3.0.4	/System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
0x94b0f000 - 0x94b80fff libstdc++.6.dylib 	/usr/lib/libstdc++.6.dylib
0x94f7b000 - 0x94f98fff libresolv.9.dylib 	/usr/lib/libresolv.9.dylib



Other information:
Comment 1 Gustavo Carneiro 2007-03-11 11:59:41 UTC
(In reply to comment #0)
[...]
> Thread 0 Crashed:
> 0   libpython2.4.dylib  0x03e24e90 PyDict_GetItemString + 48 (dictobject.c:504)
> 1   _gnome.so           0x0354a17c init_gnome + 92
[...]

This stack trace does not have debugging information in the _gnome.so python module, therefore I am unable to find the bug.  Please recompile gnome-python with debugging enabled (I recommend CFLAGS="-O0 -g- Wall" ./configure ...).
See also http://live.gnome.org/GettingTraces
Comment 2 paul beard 2007-03-11 16:51:01 UTC
I re-compiled with those argument but I don't see any additional information. if it was supposed to leave a core, I don't see it. 

this is how it's building now: 

CFLAGS="-O0 -g -Wall -no-cpp-precomp -flat_namespace \
                -I${prefix}/include" \
                LDFLAGS="-L${prefix}/lib"

Should I build py-gtk2 with the same arguments? 
Comment 3 paul beard 2007-03-11 17:04:27 UTC
I ran the offending instructions in gdb: does this help at all? 

>>> import gnome
Reading symbols for shared libraries ....................... done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
PyDict_GetItemString (v=0x0, key=0x2f9e386 "") at Objects/dictobject.c:504
504     Objects/dictobject.c: No such file or directory.
        in Objects/dictobject.c
(gdb) bt
  • #0 PyDict_GetItemString
    at Objects/dictobject.c line 504
  • #1 init_gnome
    at gnomemodule.c line 86
  • #2 _PyImport_LoadDynamicModule
    at ./Python/importdl.c line 53
  • #3 import_submodule
    at Python/import.c line 2266
  • #4 load_next
    at Python/import.c line 2086
  • #5 PyImport_ImportModuleEx
    at Python/import.c line 1921
  • #6 builtin___import__
    at Python/bltinmodule.c line 45
  • #7 PyObject_Call
    at Objects/abstract.c line 1795
  • #8 PyEval_CallObjectWithKeywords
    at Python/ceval.c line 3430
  • #9 PyEval_EvalFrame
    at Python/ceval.c line 2020
  • #10 PyEval_EvalCodeEx
    at Python/ceval.c line 2736
  • #11 PyEval_EvalCode
    at Python/ceval.c line 484
  • #12 PyImport_ExecCodeModuleEx
    at Python/import.c line 631
  • #13 load_source_module
    at Python/import.c line 909
  • #14 load_package
    at Python/import.c line 965
  • #15 import_submodule
    at Python/import.c line 2266
  • #16 load_next
    at Python/import.c line 2086
  • #17 PyImport_ImportModuleEx
    at Python/import.c line 1921
  • #18 builtin___import__
    at Python/bltinmodule.c line 45
  • #19 PyObject_Call
    at Objects/abstract.c line 1795
  • #20 PyEval_CallObjectWithKeywords
    at Python/ceval.c line 3430
  • #21 PyEval_EvalFrame
    at Python/ceval.c line 2020
  • #22 PyEval_EvalCodeEx
    at Python/ceval.c line 2736
  • #23 PyEval_EvalCode
    at Python/ceval.c line 484
  • #24 PyRun_InteractiveOneFlags
    at Python/pythonrun.c line 1265
  • #25 PyRun_InteractiveLoopFlags
    at Python/pythonrun.c line 695
  • #26 PyRun_AnyFileExFlags
    at Python/pythonrun.c line 658
  • #27 Py_Main
    at Modules/main.c line 493
  • #28 _start
  • #29 start

Comment 4 Gustavo Carneiro 2007-03-11 17:16:46 UTC
yes, it helps, I see now crashes in:
    init_pygobject();

Can you 'import gobject' on your system at all?
Comment 5 Gustavo Carneiro 2007-03-11 17:18:09 UTC
And could you tell me what pygobject version (or pygtk, if you don't have pygobject) do you have?
Comment 6 paul beard 2007-03-11 17:25:27 UTC
To think I have been wrestling with this for more than a week. I should have gone upstream sooner. 

gobject loads without incident. I have py-gtk2 2.10.4_0 loaded. 

What else can I provide? 
Comment 7 Gustavo Carneiro 2007-03-11 18:45:34 UTC
Thanks.  I have no idea what's wrong yet.  All I know so far is that the bug belongs to pygobject.

What _is_ the pygobject version?  If you have pygtk 2.10.x then you must have a separate pygobject package installed.
Comment 8 paul beard 2007-03-11 18:50:07 UTC
2.12.3 is the latest version in the MacPorts collection. 

  py-gobject @2.12.3_0 (active)

Please advise if you need anything else. 

Thanks for your efforts so far. 
Comment 9 Gustavo Carneiro 2007-03-11 19:19:01 UTC
So it crashes here:
  • #0 PyDict_GetItemString
    at Objects/dictobject.c line 504

This means that the dict object (v) is NULL.  And the only place PyDict_GetItemString gets called is here:

#define init_pygobject() G_STMT_START { \
    PyObject *gobject = PyImport_ImportModule("gobject"); \
    if (gobject != NULL) { \
        PyObject *mdict = PyModule_GetDict(gobject); \
        PyObject *cobject = PyDict_GetItemString(mdict, "_PyGObject_API"); \
                            ^^^^^^^^^^^^^^^^^^^^

What this means is that PyModule_GetDict returned NULL, even though the documentation says "This function never fails.".  I am unable to explain this crash :(
Comment 10 paul beard 2007-03-11 19:58:12 UTC
[quote]What this means is that PyModule_GetDict returned NULL, even though the
documentation says "This function never fails.".  I am unable to explain this
crash :(
[/quote]

hah. sounds like we need to find out who made that claim ;-) 

My programming chops are nil, so I can't advance this any further. Thanks again for getting to the bottom of it. 
Comment 11 John Ehresman 2007-03-11 21:32:58 UTC
I'm pretty sure NULL will be returned if the input object isn't a PyModule instance.  Is gobject something else?  Can you try importing gobject and then print gobject; print type(gobject) ?
Comment 12 paul beard 2007-03-12 00:47:35 UTC
Hope this helps. 

>>> import gobject
Reading symbols for shared libraries .......... done
>>> print gobject
<module 'gobject' from '/opt/local/lib/python2.4/site-packages/gtk-2.0/gobject/__init__.pyc'>
>>> print type(gobject)
<type 'module'>
Comment 13 Johan (not receiving bugmail) Dahlin 2007-03-13 19:46:51 UTC
(In reply to comment #12)
> Hope this helps. 
> 
> >>> import gobject
> Reading symbols for shared libraries .......... done
> >>> print gobject
> <module 'gobject' from
> '/opt/local/lib/python2.4/site-packages/gtk-2.0/gobject/__init__.pyc'>
> >>> print type(gobject)
> <type 'module'>
> 

Are you sure that this is exactly what is done when you import gnome?

Try to;
import gobject
import gnome

to verify that sys.modules['gobject'] really contains a module when importing gnome.

We should SEGV there, if it fails, we should raise an exception which includes a repr or sys.modules['gobject'].
Comment 14 paul beard 2007-03-13 20:05:04 UTC
I don't know what I can do differently. Should python have debugging enabled, ie built with -O0 -g -Wall? 



(gdb) run
Starting program: /opt/local/bin/python 
Reading symbols for shared libraries .+ done
Python 2.4.3 (#1, Mar  8 2007, 13:41:24) 
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gobject
Reading symbols for shared libraries .......... done
>>> print gobject
<module 'gobject' from '/opt/local/lib/python2.4/site-packages/gtk-2.0/gobject/__init__.pyc'>
>>> print type(gobject)
<type 'module'>
>>> import gnome
Reading symbols for shared libraries ......................... done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
PyDict_GetItemString (v=0x0, key=0x77d386 "") at Objects/dictobject.c:504
504     Objects/dictobject.c: No such file or directory.
        in Objects/dictobject.c
(gdb) bt
  • #0 PyDict_GetItemString
    at Objects/dictobject.c line 504
  • #1 init_gnome
    at gnomemodule.c line 86
  • #2 _PyImport_LoadDynamicModule
    at ./Python/importdl.c line 53
  • #3 import_submodule
    at Python/import.c line 2266
  • #4 load_next
    at Python/import.c line 2086
  • #5 PyImport_ImportModuleEx
    at Python/import.c line 1921
  • #6 builtin___import__
    at Python/bltinmodule.c line 45
  • #7 PyObject_Call
    at Objects/abstract.c line 1795
  • #8 PyEval_CallObjectWithKeywords
    at Python/ceval.c line 3430
  • #9 PyEval_EvalFrame
    at Python/ceval.c line 2020
  • #10 PyEval_EvalCodeEx
    at Python/ceval.c line 2736
  • #11 PyEval_EvalCode
    at Python/ceval.c line 484
  • #12 PyImport_ExecCodeModuleEx
    at Python/import.c line 631
  • #13 load_source_module
    at Python/import.c line 909
  • #14 load_package
    at Python/import.c line 965
  • #15 import_submodule
    at Python/import.c line 2266
  • #16 load_next
    at Python/import.c line 2086
  • #17 PyImport_ImportModuleEx
    at Python/import.c line 1921
  • #18 builtin___import__
    at Python/bltinmodule.c line 45
  • #19 PyObject_Call
    at Objects/abstract.c line 1795
  • #20 PyEval_CallObjectWithKeywords
    at Python/ceval.c line 3430
  • #21 PyEval_EvalFrame
    at Python/ceval.c line 2020
  • #22 PyEval_EvalCodeEx
    at Python/ceval.c line 2736
  • #23 PyEval_EvalCode
    at Python/ceval.c line 484
  • #24 PyRun_InteractiveOneFlags
    at Python/pythonrun.c line 1265
  • #25 PyRun_InteractiveLoopFlags
    at Python/pythonrun.c line 695
  • #26 PyRun_AnyFileExFlags
    at Python/pythonrun.c line 658
  • #27 Py_Main
    at Modules/main.c line 493
  • #28 _start
  • #29 start

Comment 15 paul beard 2007-03-17 04:11:05 UTC
So how does this bug get to CONFIRMED status? Do I need to get some other users to corroborate my results? 
Comment 16 Gustavo Carneiro 2007-03-17 12:28:23 UTC
It's hard to tell whether this is a bug in pygobject or in your environment; more likely it's the latter, although pygobject is not being very tolerant to failure. (should give an error message, not segfault).

If you want to help, attaching the following traces might help:
  1. valgrind python -c "import gnome"
  2. strace python -c "import gnome"

Though I have no idea whether valgrind runs on darwin at all...
Comment 17 paul beard 2007-03-17 14:02:32 UTC
valgrind does not run on Darwin/OS X. Some suggest using gdb with this: 

set env DYLD_INSERT_LIBRARIES /usr/lib/libgmalloc.dylib

yields useful results. 

Starting program: /opt/local/bin/python 
Allocations will be placed on word (4 byte) boundaries.
 - Small buffer overruns may not be noticed.
 - Applications using AltiVec instructions may fail.
GuardMalloc-11
Reading symbols for shared libraries .+ done
Reading symbols for shared libraries . done
Allocations will be placed on word (4 byte) boundaries.
 - Small buffer overruns may not be noticed.
 - Applications using AltiVec instructions may fail.
GuardMalloc-11
Python 2.4.3 (#1, Mar 13 2007, 14:06:17) 
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Reading symbols for shared libraries .... done
>>> import gnome
Reading symbols for shared libraries .......... done
Reading symbols for shared libraries ............................ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
PyDict_GetItemString (v=0x0, key=0x7d1386 "") at Objects/dictobject.c:504
504     Objects/dictobject.c: No such file or directory.
        in Objects/dictobject.c
(gdb) 


Likewise strace: does ktrace offer the same facility? 
Comment 18 Gustavo Carneiro 2007-03-17 15:13:38 UTC
Alas, it gives no new information :(

An interesting thing you could try, should you have the time and skill, is to apply the patch in bug 419379 to pygobject, then build/install pygobject and gnome-python, then check again what happens when you import gnome.
Comment 19 paul beard 2007-03-17 17:47:29 UTC
Installed the patch, rebuilt py-gobject (as it's named under this port system), but I don't think it reveals anything. 

Starting program: /opt/local/bin/python 
Reading symbols for shared libraries .+ done
Python 2.4.3 (#1, Mar 13 2007, 14:06:17) 
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Reading symbols for shared libraries .... done
>>> import gobject
Reading symbols for shared libraries .......... done
>>> import gnome
Reading symbols for shared libraries ............................ done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
PyDict_GetItemString (v=0x0, key=0x5ed386 "") at Objects/dictobject.c:504
504     Objects/dictobject.c: No such file or directory.
        in Objects/dictobject.c
(gdb) 

valgrind is not an option for me, as it's unsupported and will not be forthcoming. What, specifically, would valgrind deliver? Perhaps there is another tool that can be used to do whatever it is? Darwin/OS X comes with a pretty complete development environment. 
Comment 20 Gustavo Carneiro 2007-03-17 19:27:50 UTC
Try the second patch in bug 419379, as it doesn't use PyDict_GetItemString at all.  Also remember that you have to rebuild gnome-python too, not just pygobject.
Comment 21 paul beard 2007-03-17 22:26:26 UTC
I:

o applied the new patch
o added debug/symbols options to py-gnome
o built and installed new versions of py-gobject and py-gnome
o ran the whole mess through gdb

My guess is that this is just as inconclusive as anything else I have tried. 

(gdb) run
Starting program: /opt/local/bin/python 
Reading symbols for shared libraries .+ done
Python 2.4.3 (#1, Mar 13 2007, 14:06:17) 
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Reading symbols for shared libraries .... done
>>> import gobject
Reading symbols for shared libraries .......... done
>>> print gobject
<module 'gobject' from '/opt/local/lib/python2.4/site-packages/gtk-2.0/gobject/__init__.pyc'>
>>> print type(gobject)
<type 'module'>
>>> import gnome
Reading symbols for shared libraries ........................... done

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000004
PyDict_GetItemString (v=0x0, key=0x5ed386 "") at Objects/dictobject.c:504
504     Objects/dictobject.c: No such file or directory.
        in Objects/dictobject.c
(gdb) 
Comment 22 paul beard 2007-03-17 22:55:38 UTC
(In reply to comment #21)
> I:
> 
> o applied the new patch
> o added debug/symbols options to py-gnome
> o built and installed new versions of py-gobject and py-gnome
> o ran the whole mess through gdb
> 

Well, upon further review that patch wasn't applied. I am re-doing the whole process now. 

Comment 23 paul beard 2007-03-17 23:23:32 UTC
No difference in the outcome. 

Does any of this information look useful? 

http://developer.apple.com/releasenotes/DeveloperTools/RN-MallocOptions/index.html

Comment 24 paul beard 2007-03-17 23:35:47 UTC
Running with some of the libmalloc debugging options toggled on: 

Reading symbols for shared libraries . done
libMallocDebug[python-25133]: initializing libMallocDebug on thread 80b
Python 2.4.3 (#1, Mar 13 2007, 14:06:17) 
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Reading symbols for shared libraries .... done
>>> import gnome 
Reading symbols for shared libraries .......... done
Reading symbols for shared libraries ........................... done
libMallocDebug[python-25133]: Target application (pid 25133) attempted to access memory at 0x00000004 with insufficient permissions.
libMallocDebug[python-25133]: MallocDebug can't do anything about this, so the app's just going to have to be terminated.
libMallocDebug[python-25133]: *************************************************
libMallocDebug[python-25133]: THIS IS A BUG IN THE PROGRAM BEING RUN UNDER MALLOC DEBUG,
libMallocDebug[python-25133]: NOT A BUG IN MALLOC DEBUG!
libMallocDebug[python-25133]: *************************************************

Program received signal SIGBUS, Bus error.
PyDict_GetItemString (v=0x0, key=0x13c9386 "") at Objects/dictobject.c:504
504     Objects/dictobject.c: No such file or directory.
        in Objects/dictobject.c

It seems like there a lot of tools I could use in lieu of valgrind, if I knew how. 
Comment 25 Gustavo Carneiro 2007-03-17 23:43:55 UTC
(In reply to comment #24)
> Program received signal SIGBUS, Bus error.
> PyDict_GetItemString (v=0x0, key=0x13c9386 "") at Objects/dictobject.c:504
> 504     Objects/dictobject.c: No such file or directory.
>         in Objects/dictobject.c

I don't understand why PyDict_GetItemString is still being called.  With the patch applied it should not be called anymore.  When you build gnome-python could it be picking up header files of some other pygobject version you have installed?
Comment 26 paul beard 2007-03-18 00:19:50 UTC
Gah, the port process is overwriting the patched file each time. 

I need to see how I work around that. Sorry about the mess. 

Comment 27 paul beard 2007-03-18 01:23:06 UTC
Is this closer to what you expect? 

(gdb) run
Starting program: /opt/local/bin/python 
(29101) malloc: recording stacks using standard recorder
(29101) malloc: stack logging compaction turned off; VM can increase rapidly
libMallocDebug[bash-29101]: initializing libMallocDebug on thread d03
python(29101) malloc: recording stacks using standard recorder
python(29101) malloc: stack logging compaction turned off; VM can increase rapidly
libMallocDebug[python-29101]: initializing libMallocDebug on thread 80b
Python 2.4.3 (#1, Mar 13 2007, 14:06:17) 
[GCC 4.0.1 (Apple Computer, Inc. build 5367)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import gtk
Reading symbols for shared libraries + done
Reading symbols for shared libraries ++++++++++++++++ done
Reading symbols for shared libraries + done
/opt/local/lib/python2.4/site-packages/gtk-2.0/gtk/__init__.py:69: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
>>> import gobject
>>> import gnome 
Reading symbols for shared libraries . done
Traceback (most recent call last):
  • File "<stdin>", line 1 in ?
  • File "/opt/local/lib/python2.4/site-packages/gtk-2.0/gnome/__init__.py", line 13 in ?
    from _gnome import *
SystemError: dynamic module not initialized properly
>>> 
Comment 28 Gustavo Carneiro 2007-03-18 13:29:16 UTC
I did not even expect SystemError; at most, I expected ImportError. "dynamic module not initialized properly" should only happen if init_gnome returns before calling Py_InitModule, and init_pygobject always raises ImportError on every error return path.  So, while at least now Python doesn't crash anymore, the theory of what should happen is still not matching what is effectively happening. :|

Sorry, I still have no idea what's wrong, and I'm out of ideas to proceed :(
Comment 29 paul beard 2007-03-18 16:05:30 UTC
Assuming I ever wrote anything as complex as this, this would be where I would be thrashing around with printfs every other line ;-) 

I don't have any other systems to test this on, so I am out of options as well. I guess I'll just do without the software I need until the maintainers (I can't tell if py-gobject, py-gnome, or py-gtk2 are at fault) get around to identifying this. It doesn't seem to be an issue upstream, with GNOME. 

This is the first clue I get that there is a problem, when I configure a package that has dependencies on py-gnome:

checking for sh... /bin/sh
checking Python bindings for gtk2.4 (pygtk2>=2.3.4)... ok
checking Python bindings for gnome... Traceback (most recent call last):
  • File "conftest.py", line 14 in ?
    import gnome
  • File "/opt/local/lib/python2.4/site-packages/gtk-2.0/gnome/__init__.py", line 13 in ?
    from _gnome import *
SystemError: dynamic module not initialized properly
cat: conftest.out: No such file or directory
configure: error:
**** The python bindings for gnome 2.0 (gnome-python2) could not be found.


Thanks for your help. 

Comment 30 John Ehresman 2007-03-18 16:49:11 UTC
Does it have something to do with the unable to open display warning in comment 27?  I wouldn't be all that surprised if the ImportError was converted to a SystemError because the dynamic module failed to initialize.  

One thing to do is use a debugger such as pdb, Wing IDE, Komodo, or other and break at the import statement.  (My intent isn't to promote any particular software here; it's only that a debugger would be useful.)  Examine gobject and verify that gobject._PyGObject_API exists.  I still think that this is the immediate cause of the problem.
Comment 31 paul beard 2007-03-18 18:22:33 UTC
the display error is because I am not running in an xterm: copying and pasting between environments is a hassle (ie, I forget how to do it). 

If you can tell me how to step through the debugging you mention (I have gdb) I'll do it. I don't know how to use pdb, but I seem to have it. 

I just ran it in an xterm, no difference in the outcome. 

Comment 32 Yves de Champlain 2007-03-28 15:41:50 UTC
I tried to build py-gnome without linking to libpython as suggested in 

http://bugzilla.gnome.org/show_bug.cgi?id=422624

and "import gnome" now works

Comment 33 Gustavo Carneiro 2007-03-28 16:19:58 UTC
I've disabled linking with libpython on Darwin; should fix this bug.