[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#195846: python2.2: Core-dumps when files get large



[I'm away for two weeks, so please could somebody help?]

John Goerzen writes:
> Package: python2.2
> Version: 2.2.3-1
> Severity: serious
> 
> Hello,
> 
> I have a program that writes a logfile.  It is opened with a standard
> open(filename, "wt") call.
> 
> Whenever this file approaches about 1.8GB (hmm, that's 2^31, isn't it?),

no, it's 2GB.

> Python segfaults.  I assume it does this at the time of a write, as the
> program has never gotten around to a close and does nothing else to that
> file whatsoever.  (That is, nothing other than fh.write()).
> 
> The file was left as:
> 
> -rw-r--r--    1 jgoerzen jgoerzen 18609162 Jun  2 15:00 log

That are 18MB, not 1,8GB.

Without a stack trace, there is not much to do ...



Reply to: