[Python-3000] Bus error after updating this morning

skip at pobox.com skip at pobox.com
Sat Aug 18 14:07:30 CEST 2007


After reading Travis's email about the py3k-buffer merge this morning I
updated my sandbox on my Mac and rebuilt.  I got a bus error when trying to
run the tests.

    (gdb) run -E -tt ./Lib/test/regrtest.py -l 
    Starting program: /Users/skip/src/python-svn/py3k/python.exe -E -tt ./Lib/test/regrtest.py -l
    Reading symbols for shared libraries . done
    Reading symbols for shared libraries . done
    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: 0x00000021
    0x006d0ec8 in binascii_hexlify (self=0x0, args=0x1012e70) at /Users/skip/src/python-svn/py3k/Modules/binascii.c:953
    953                     retbuf[j++] = c;
    (gdb) bt
    #0  0x006d0ec8 in binascii_hexlify (self=0x0, args=0x1012e70) at /Users/skip/src/python-svn/py3k/Modules/binascii.c:953
    #1  0x0011b020 in PyCFunction_Call (func=0x1011c78, arg=0x1012e70, kw=0x0) at Objects/methodobject.c:73
    ...

The build was configured like so:

    ./configure --prefix=/Users/skip/local LDFLAGS=-L/opt/local/lib \
    CPPFLAGS=-I/opt/local/include --with-pydebug 

Thinking maybe something didn't get rebuilt that should have I am rebuilding
from scratch after a make distclean.  I'll report back when I have more info
if someone with a faster computer doesn't beat me to it.

Skip



More information about the Python-3000 mailing list