Bus error when using mmap

Andrew Dalke dalke at dalkescientific.com
Tue Sep 25 19:13:51 CEST 2001

Roman Suzi wrote:
>When trying to write beyond EOF (of original file) in mapping of mmap I
>receive BUS ERROR. Interpreter just quits. While it is understandable,
>maybe some safety checks could be done in mmap methods to prevent such
>unstable behaviour?

Yeah, I noticed that too, and reported it as #462783


Although I wasn't sure at the time if it was Linux specific.

If you look in the comments at the top of the file you'll
see it says it doesn't do enough error checking.

                    dalke at dalkescientific.com

More information about the Python-list mailing list