[MacPorts] #20286: BUG: python26 bus error

MacPorts noreply at macports.org
Wed Aug 19 21:32:01 PDT 2009


#20286: BUG: python26 bus error
---------------------------------+------------------------------------------
 Reporter:  jabronson@…          |       Owner:  blb@…           
     Type:  defect               |      Status:  new             
 Priority:  Normal               |   Milestone:                  
Component:  ports                |     Version:  1.7.1           
 Keywords:                       |        Port:  python26        
---------------------------------+------------------------------------------

Comment(by santagada@…):

 Replying to [comment:4 blb@…]:
 > Replying to [comment:2 santagada@…]:
 > > I found that if I use
 /opt/local/Library/Frameworks/Python.framework/Versions/2.6/bin/python2.6
 instead it works. The binaries are different but I don't know why or how
 would it affect the execution, but maybe it is a library link problem. Try
 to run it with python2.6 and see if it fix this.
 >
 > Odd, tracd crashes for me whether I use the python in bin/ or in
 Resources/Python.app/Contents/MacOS.

 So you can reproduce it, great :). Any idea what is going on here? I tried
 to run gdb on the core dump, but apparently it can't find the debug
 symbols for most stuff so I can't really do much. Apparently the bus
 errors occur on lookdict_string which is a function of the dict object in
 python. Is there any way to get the object files and/or debug symbols? GDB
 seems to be looking at the macports temp build diretory for them like
 this:

 warning: Could not find object file
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2/build/temp.macosx-10.5-i386-2.6/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2/Modules/_sqlite/prepare_protocol.o"
 - no debug information available for
 "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_python26/work/Python-2.6.2/Modules/_sqlite/prepare_protocol.c".

-- 
Ticket URL: <http://trac.macports.org/ticket/20286#comment:6>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list