Bus error when using mmap

Andrew Dalke dalke at dalkescientific.com
Tue Sep 25 13:13:51 EDT 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

http://sourceforge.net/tracker/?group_id=5470&atid=105470&func=detail&aid=46
2783

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.

                    Andrew
                    dalke at dalkescientific.com






More information about the Python-list mailing list