[Buildroot] Python segmentation fault

Ryan Whelan rcwhelan at gmail.com
Fri Apr 22 21:01:46 UTC 2011


On Fri, Apr 22, 2011 at 3:36 PM, Peter Korsgaard <jacmet at uclibc.org> wrote:
>>>>>> "Ryan" == Ryan Whelan <rcwhelan at gmail.com> writes:
>
>  Ryan> Im having an issue with the python interactive prompt in the latest
>  Ryan> git revision when i try to run it, it tries to start and seg faults.
>  Ryan> If I create a file, and run it, it seems to work- its only the
>  Ryan> interactive prompt.
>
>  Ryan> / # python
>  Ryan> Python 2.7.1 (r271:86832, Apr 21 2011, 21:52:43)
>  Ryan> [GCC 4.3.5] on linux2
>  Ryan> Type "help", "copyright", "credits" or "license" for more information.
>  Ryan> Segmentation fault
>  Ryan> / #
>
>  Ryan> I've tried with 32bit and 64bit builds, with different versions of GCC
>  Ryan> and uClibc with the stack smash protection on and off.  I'm not sure
>  Ryan> what info is going to be useful but here
>  Ryan> (http://pastebin.com/usP2962n) is a strace and here
>  Ryan> (http://pastebin.com/ApfWnTgq) is my .config.  I've enabled most of
>  Ryan> the python related options as this is a platform for python app
>  Ryan> hosting.  Sorry to include so little info, like i said, im not sure
>  Ryan> what is needed- let me know if you need something else and i will
>  Ryan> provide whatever i can.
>
> From the looks of the strace log, this looks to be the ncurses problem
> we've been trying to solve lately. Could you try changing the ncurses
> version back to 5.7 and do a clean rebuild?
>

That fixed it- thank you!



More information about the buildroot mailing list