[MacPorts] #13449: pdb crashes python24 2.4.4 on Leopard

MacPorts trac at macosforge.org
Thu Nov 29 22:21:06 PST 2007


#13449: pdb crashes python24 2.4.4 on Leopard
-----------------------------+----------------------------------------------
  Reporter:  snb at moduli.net  |       Owner:  macports-dev at lists.macosforge.org
      Type:  defect          |      Status:  new                              
  Priority:  Normal          |   Milestone:  Port Bugs                        
 Component:  ports           |     Version:  1.5.2                            
Resolution:                  |    Keywords:                                   
-----------------------------+----------------------------------------------
Changes (by jmpp at macports.org):

  * milestone:  => Port Bugs

Old description:

> I've installed python 2.4.4 form the python24 port on Mac OS X 10.5.1.
> Any time I try to set a break point with pdb (import pdb;
> pdb.set_trace()), python crashes. Here's the stack trace and other info
> provided by Apple's Problem Reporter:
>
> Process:         Python [44155]
> Path:
> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python
> Identifier:      Python
> Version:         ??? (???)
> Code Type:       X86 (Native)
> Parent Process:  zsh [43755]
>
> Date/Time:       2007-11-29 21:23:01.680 +0100
> OS Version:      Mac OS X 10.5.1 (9B18)
> Report Version:  6
>
> Exception Type:  EXC_BAD_ACCESS (SIGBUS)
> Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
> Crashed Thread:  0
>
> Thread 0 Crashed:
> 0   readline.so                         0x000bbaa3 call_readline + 691
> 1   org.python.python                   0x0016c9ae PyOS_Readline + 254
> 2   org.python.python                   0x0016df70 tok_nextc + 64
> 3   org.python.python                   0x0016e7a5 PyTokenizer_Get + 101
> 4   org.python.python                   0x00169512 parsetok + 210
> 5   org.python.python                   0x00213992
> PyRun_InteractiveOneFlags + 290
> 6   org.python.python                   0x00213bb3
> PyRun_InteractiveLoopFlags + 99
> 7   org.python.python                   0x00214a69 PyRun_AnyFileExFlags +
> 185
> 8   org.python.python                   0x0021ea8a Py_Main + 3130
> 9   org.python.python                   0x000018dc 0x1000 + 2268
> 10  org.python.python                   0x00001809 0x1000 + 2057
>
> Thread 0 crashed with X86 Thread State (32-bit):
>   eax: 0x00000000  ebx: 0x000bb7fb  ecx: 0xbfffec08  edx: 0x0030a150
>   edi: 0x0030a540  esi: 0x0030dbd0  ebp: 0xbfffed18  esp: 0xbfffec30
>    ss: 0x0000001f  efl: 0x00010246  eip: 0x000bbaa3   cs: 0x00000017
>    ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
>   cr2: 0x00000000
>
> Binary Images:
>     0x1000 -     0x1ff3 +org.python.python 2.4a0 (2.4alpha1)
> <ad47314152cced91a4b5528d272bb3d7>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python
>    0x48000 -    0x49ff5 +cStringIO.so ??? (???)
> <7a4a9662231d20a51b97fbbf8aae330b>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
> /lib-dynload/cStringIO.so
>    0xba000 -    0xbbff5 +readline.so ??? (???)
> <a7fdeac194c2a7e7534af98f8df41bca>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
> /lib-dynload/readline.so
>    0xc1000 -    0xc3ff5 +strop.so ??? (???)
> <696ecb2c0d81db6ad89a58ea38af77fa>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
> /lib-dynload/strop.so
>    0xc9000 -    0xccff5 +itertools.so ??? (???)
> <ec1b0bb0973f3f773bc3ee204573610b>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
> /lib-dynload/itertools.so
>   0x167000 -   0x247fe7 +org.python.python 2.4a0 (2.2)
> <601c3f58b086c5f16527f2bc71d14077>
> /opt/local/Library/Frameworks/Python.framework/Versions/2.4/Python
>   0x2ce000 -   0x2e4fea  libedit.2.dylib ??? (???)
> <be5a6f391887bb96bdeeafd443cf19fb> /usr/lib/libedit.2.dylib
> 0x8fe00000 - 0x8fe2d883  dyld 95.3 (???)
> <81592e798780564b5d46b988f7ee1a6a> /usr/lib/dyld
> 0x91027000 - 0x91084ffb  libstdc++.6.dylib ??? (???)
> <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
> 0x95931000 - 0x95932fef  libmathCommon.A.dylib ??? (???)
> /usr/lib/system/libmathCommon.A.dylib
> 0x95933000 - 0x95a8dfe3  libSystem.B.dylib ??? (???)
> <8ecc83dc0399be3946f7a46e88cf4bbb> /usr/lib/libSystem.B.dylib
> 0x95bdf000 - 0x95c0eff7  libncurses.5.4.dylib ??? (???)
> <3b2ac2ca8190942b6b81d2a7012ea859> /usr/lib/libncurses.5.4.dylib
> 0x95f4d000 - 0x95f54fe9  libgcc_s.1.dylib ??? (???)
> <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
> 0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???)
> /usr/lib/libSystem.B.dylib

New description:

 I've installed python 2.4.4 form the python24 port on Mac OS X 10.5.1. Any
 time I try to set a break point with pdb (import pdb; pdb.set_trace()),
 python crashes. Here's the stack trace and other info provided by Apple's
 Problem Reporter:

 {{{
 Process:         Python [44155]
 Path:
 /opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python
 Identifier:      Python
 Version:         ??? (???)
 Code Type:       X86 (Native)
 Parent Process:  zsh [43755]

 Date/Time:       2007-11-29 21:23:01.680 +0100
 OS Version:      Mac OS X 10.5.1 (9B18)
 Report Version:  6

 Exception Type:  EXC_BAD_ACCESS (SIGBUS)
 Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000000
 Crashed Thread:  0

 Thread 0 Crashed:
 0   readline.so                         0x000bbaa3 call_readline + 691
 1   org.python.python                   0x0016c9ae PyOS_Readline + 254
 2   org.python.python                   0x0016df70 tok_nextc + 64
 3   org.python.python                   0x0016e7a5 PyTokenizer_Get + 101
 4   org.python.python                   0x00169512 parsetok + 210
 5   org.python.python                   0x00213992
 PyRun_InteractiveOneFlags + 290
 6   org.python.python                   0x00213bb3
 PyRun_InteractiveLoopFlags + 99
 7   org.python.python                   0x00214a69 PyRun_AnyFileExFlags +
 185
 8   org.python.python                   0x0021ea8a Py_Main + 3130
 9   org.python.python                   0x000018dc 0x1000 + 2268
 10  org.python.python                   0x00001809 0x1000 + 2057

 Thread 0 crashed with X86 Thread State (32-bit):
   eax: 0x00000000  ebx: 0x000bb7fb  ecx: 0xbfffec08  edx: 0x0030a150
   edi: 0x0030a540  esi: 0x0030dbd0  ebp: 0xbfffed18  esp: 0xbfffec30
    ss: 0x0000001f  efl: 0x00010246  eip: 0x000bbaa3   cs: 0x00000017
    ds: 0x0000001f   es: 0x0000001f   fs: 0x00000000   gs: 0x00000037
   cr2: 0x00000000

 Binary Images:
     0x1000 -     0x1ff3 +org.python.python 2.4a0 (2.4alpha1)
 <ad47314152cced91a4b5528d272bb3d7>
 /opt/local/Library/Frameworks/Python.framework/Versions/2.4/Resources/Python.app/Contents/MacOS/Python
    0x48000 -    0x49ff5 +cStringIO.so ??? (???)
 <7a4a9662231d20a51b97fbbf8aae330b>
 /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /lib-dynload/cStringIO.so
    0xba000 -    0xbbff5 +readline.so ??? (???)
 <a7fdeac194c2a7e7534af98f8df41bca>
 /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /lib-dynload/readline.so
    0xc1000 -    0xc3ff5 +strop.so ??? (???)
 <696ecb2c0d81db6ad89a58ea38af77fa>
 /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /lib-dynload/strop.so
    0xc9000 -    0xccff5 +itertools.so ??? (???)
 <ec1b0bb0973f3f773bc3ee204573610b>
 /opt/local/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4
 /lib-dynload/itertools.so
   0x167000 -   0x247fe7 +org.python.python 2.4a0 (2.2)
 <601c3f58b086c5f16527f2bc71d14077>
 /opt/local/Library/Frameworks/Python.framework/Versions/2.4/Python
   0x2ce000 -   0x2e4fea  libedit.2.dylib ??? (???)
 <be5a6f391887bb96bdeeafd443cf19fb> /usr/lib/libedit.2.dylib
 0x8fe00000 - 0x8fe2d883  dyld 95.3 (???)
 <81592e798780564b5d46b988f7ee1a6a> /usr/lib/dyld
 0x91027000 - 0x91084ffb  libstdc++.6.dylib ??? (???)
 <04b812dcec670daa8b7d2852ab14be60> /usr/lib/libstdc++.6.dylib
 0x95931000 - 0x95932fef  libmathCommon.A.dylib ??? (???)
 /usr/lib/system/libmathCommon.A.dylib
 0x95933000 - 0x95a8dfe3  libSystem.B.dylib ??? (???)
 <8ecc83dc0399be3946f7a46e88cf4bbb> /usr/lib/libSystem.B.dylib
 0x95bdf000 - 0x95c0eff7  libncurses.5.4.dylib ??? (???)
 <3b2ac2ca8190942b6b81d2a7012ea859> /usr/lib/libncurses.5.4.dylib
 0x95f4d000 - 0x95f54fe9  libgcc_s.1.dylib ??? (???)
 <f53c808e87d1184c0f9df63aef53ce0b> /usr/lib/libgcc_s.1.dylib
 0xffff0000 - 0xffff1780  libSystem.B.dylib ??? (???)
 /usr/lib/libSystem.B.dylib
 }}}

-- 
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/13449#comment:1>
MacPorts </projects/macports>
Ports system for Mac OS


More information about the macports-tickets mailing list