Python runs fine interactively but 'locks up' with scripts

Ignacio Vazquez-Abrams ignacio at openservices.net
Thu Aug 30 11:39:03 EDT 2001


On Thu, 30 Aug 2001, mallum wrote:

> Hi all;
>
> I recently build Python 2.1.1 against uClibc for a low specced ( 16mg ram,
> 200mhz ) ARM cpu Linux box .
>
> Python runs fine interactively, I can import modules and run simple
> scripts ok. However when I try a launch a python script ( such as one
> of the tests in the distrubution ), Python just 'locks up', not even
> recieving a control-c . The box is still alive and appears to have
> memory still available ( ~ 5 mb ).
>
> I've tried running with -v and python is indeed importing modules etc,
> but then it just stops and not on any particular module.
>
> Any one have any ideas on why this is happening ? Or can anyone
> suggest any avenues of investigation ?
>
> Many thanks;
>
> Mallum

Have you tried compiling against glibc or dietlibc
(http://www.fefe.de/dietlibc/)?

-- 
Ignacio Vazquez-Abrams  <ignacio at openservices.net>






More information about the Python-list mailing list