"James .": > if ((src = (unsigned char*) mmap (0, filelength, PROT_READ, > MAP_SHARED, fd, 0)) > == (unsigned char*) (caddr_t) -1) > qDebug() << "mmap error for input"; > > where fd is a file on an aufs filesystem. The crash characteristic is > a segfault after using src without warning, despite the mmap call > never fails.
Thank you for the report and investigation. That is interesting and I guess this is an aufs bug. Won't you test this patch? This is against the latest aufs2, so you may need to revert your changes. J. R. Okajima
a.patch.bz2
Description: BZip2 compressed data
------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev