https://issues.apache.org/bugzilla/show_bug.cgi?id=46688
--- Comment #3 from Joe Orton <[email protected]> 2009-02-12 04:46:45 PST --- Well, shall we play component ping-pong? Here is my shocking thesis: If you mmap a file, truncate it, then try to read from a portion of the mapped memory beyond the offset to which the file was truncated, then the kernel will SIGBUS or SIGSEGV the process. This is: a) documented behaviour, see mmap(2) on any Unix, the mmap definition in POSIX, or any book on Unix e.g. Stevens, and b) observable behaviour, see comment 1. and therefore, it is expected behaviour, and should be documented. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
