[oe] python-lang causing Alignment trap and Segfault

Josh Kropf josh at slashdev.ca
Wed Feb 24 18:00:40 UTC 2010


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.

On 01/23/2010 03:21 PM, Josh Kropf wrote:
> Looks like the atexit module
>
> root at 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
>
>
>
> On 01/23/2010 03:09 PM, Dr. Michael Lauer wrote:
>> 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 <josh at slashdev.ca>:
>>
>>> 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
>>> Openembedded-devel at lists.openembedded.org
>>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>>
>> _______________________________________________
>> Openembedded-devel mailing list
>> Openembedded-devel at lists.openembedded.org
>> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel




More information about the Openembedded-devel mailing list