Python randomly exits with Linux OS error -9 or -15

Adam Skutt askutt at gmail.com
Mon Apr 9 09:26:31 EDT 2012


On Apr 9, 6:47 am, Alain Ketterlin <al... at dpt-info.u-strasbg.fr>
wrote:
> Janis <janis.vik... at gmail.com> writes:
> > I have this problem with my script exiting randomly with Linux OS
> > status code -9 (most often) or -15 (also sometimes, but much more
> > rarely). As far as I understand -9 corresponds to Bad file descriptor
> > and -15 Block device required.
>
> How do you get -9 and -15? Exit status is supposed to be between 0 and
> 127.

0-255 are perfectly legal in UNIX.  Chances are that something is
interpreting the unsigned integer as a signed integer accidentally.
Of course, without any output, there's no way to know for sure.

Adam



More information about the Python-list mailing list