Skip to contentSkip to conversation

python-lang causing Alignment trap and Segfault

DISCUSSION Josh Kropf 2 participants 4 messages Jan 23, 2010 – Feb 24, 2010

lore
Share & tools
lore

Josh Kropf

author
#0 lore raw

I've compiled an image for my mini2440 board (armv4t) from the stable/2009 branch in git using angstrom distribution.

One of the python packages I need depends on python-lang but I'm finding that python segfaults when python-lang is installed. The kernel logs the following before the segfault:

Alignment trap: python (2303) PC=0x403f007c Instr=0x28001c05 Address=0xffffffff FSR 0x813

Removing python-lang package makes python work again.

Just wondering if anyone has run into this problem or has some pointers on debugging this.

Thanks,
- Josh

#1 lore raw

Try running python -v to find out exactly which module is triggering that.

Cheers,

:M:

Am 23.01.2010 um 20:45 schrieb Josh Kropf <[email protected]>:

Quoted 17 lines

I've compiled an image for my mini2440 board (armv4t) from the stable/2009 branch in git using angstrom distribution.

One of the python packages I need depends on python-lang but I'm finding that python segfaults when python-lang is installed. The kernel logs the following before the segfault:

Alignment trap: python (2303) PC=0x403f007c Instr=0x28001c05 Address=0xffffffff FSR 0x813

Removing python-lang package makes python work again.

Just wondering if anyone has run into this problem or has some pointers on debugging this.

Thanks,
- Josh

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

author
#2 lore raw

Looks like the atexit module

root@mini2440:~# python -v
[snip]
# /usr/lib/python2.6/atexit.pyo matches /usr/lib/python2.6/atexit.py
import atexit # precompiled from /usr/lib/python2.6/atexit.pAlignment trap: python (2329) PC=0x403f007c Instr=0x28001c05 Address=0xffffffff FSR 0x813
yo
Quoted 30 lines · Dr. Michael Lauer

Try running python -v to find out exactly which module is triggering that.

Cheers,

:M:

Am 23.01.2010 um 20:45 schrieb Josh Kropf <[email protected]>:

Quoted 10 lines

I've compiled an image for my mini2440 board (armv4t) from the stable/2009 branch in git using angstrom distribution.

One of the python packages I need depends on python-lang but I'm finding that python segfaults when python-lang is installed. The kernel logs the following before the segfault:

Alignment trap: python (2303) PC=0x403f007c Instr=0x28001c05 Address=0xffffffff FSR 0x813

Removing python-lang package makes python work again.

Just wondering if anyone has run into this problem or has some pointers on debugging this.

Quoted 7 lines

Thanks,
- Josh

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

author
#3 lore raw

Just wanted to update the list on this issue.

I have no idea why, but after removing the readline.so file (from /usr/lib/python2.6/lib-dynload/) python no longer segfaults on startup.

Quoted 46 lines · Josh Kropf

Looks like the atexit module

root@mini2440:~# python -v
[snip]
# /usr/lib/python2.6/atexit.pyo matches /usr/lib/python2.6/atexit.py
import atexit # precompiled from /usr/lib/python2.6/atexit.pAlignment trap: python (2329) PC=0x403f007c Instr=0x28001c05 Address=0xffffffff FSR 0x813
yo
Quoted 26 lines · Dr. Michael Lauer

Try running python -v to find out exactly which module is triggering that.

Cheers,

:M:

Am 23.01.2010 um 20:45 schrieb Josh Kropf <[email protected]>:

Quoted 10 lines

I've compiled an image for my mini2440 board (armv4t) from the stable/2009 branch in git using angstrom distribution.

One of the python packages I need depends on python-lang but I'm finding that python segfaults when python-lang is installed. The kernel logs the following before the segfault:

Alignment trap: python (2303) PC=0x403f007c Instr=0x28001c05 Address=0xffffffff FSR 0x813

Removing python-lang package makes python work again.

Just wondering if anyone has run into this problem or has some pointers on debugging this.

Quoted 7 lines

Thanks,
- Josh

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Quoted 4 lines

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel