Bug#331651: More info

2005-10-04 Thread David Purdy
The issue appears to be caused by mmap no longer supporting 0-length file mapping in linux kernel 2.6.12. See this webpage: http://www.linuxhq.com/kernel/v2.6/12-rc1-bk6/mm/mmap.c diff -Nru a/mm/mmap.c b/mm/mmap.c --- a/mm/mmap.c 2005-03-10 00:38:22 -08:00 +++ b/mm/mmap.c 2005-03-28

Bug#331651: More info

2005-10-04 Thread David Purdy
Here are the details from the kernel changelog: http://www.kernel.org/pub/linux/kernel/v2.6/ChangeLog-2.6.12 commit d11cf326bd5e785cc5a3f5a3d3f4e3a5522f4fb7 Author: Zhang Yanmin <[EMAIL PROTECTED]> Date: Sun May 22 17:47:00 2005 -0700 [IA64] sys_mmap doesn't follow posix.1

Bug#331651: More info

2005-10-04 Thread David Purdy
I'm debugging the quelcom source code, have tracked the issue down to this section: FILE: libs/qfile.cc FUNCTION: qfile::qfile(string filename, u_int32_t f) LOGIC: if ((map=(caddr_t)mmap((caddr_t) 0,size,mapflags,MAP_SHARED,fd,0))==MAP_FAILED) { close(fd); throw qexceptio