From: Geoffrey B. <geo...@in...> - 2010-10-07 12:15:54
|
Here's a bit more info from strace: [pid 29510] mmap2(NULL, 67108864, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0 [pid 29510] --- SIGSEGV (Segmentation fault) @ 0 (0) --- [pid 29510] --- SIGSEGV (Segmentation fault) @ 0 (0) --- On Thu, Oct 7, 2010 at 7:43 AM, Geoffrey Brown <geo...@in...> wrote: > I agree, however, this pretty vanilla red hat 5 which is why it's > surprising. I wonder if there's > a 32 bit/ 64 bit thing going on here. > > Geoffrey > > On Wed, Oct 6, 2010 at 9:44 PM, Alexei Svitkine > <ale...@gm...> wrote: >> If its crashing in mmap() itself, that really sounds like a bug in your OS. >> >> It should either succeed or fail and return an error code. >> >> -Alexei >> >> On Wed, Oct 6, 2010 at 9:30 PM, Geoffrey Brown <geo...@in...> wrote: >>> I rebuilt with a fresh checkout of basilisk and sheepshaver. Here's >>> how I configured >>> >>> ./configure --without-gtk --with-sdl-video >>> >>> >>> This is pretty tough to debug, but the crash occurs >>> at vm_alloc.cpp line 294. >>> >>> if (mmap((caddr_t)addr, size, VM_PAGE_DEFAULT, the_map_flags, fd, 0) =\ >>> = (void *)MAP_FAILED) >>> >>> >>> causes a seg fault >>> >>> addr = 0 >>> size = 0x4000000 >>> the_map_flags = 0 >>> >>> >>> Clearly the odd diff I had prevented this being executed. >>> Geoffrey >>> >>> ------------------------------------------------------------------------------ >>> Beautiful is writing same markup. Internet Explorer 9 supports >>> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >>> Spend less time writing and rewriting code and more time creating great >>> experiences on the web. Be a part of the beta today. >>> http://p.sf.net/sfu/beautyoftheweb >>> _______________________________________________ >>> basilisk-devel mailing list >>> bas...@li... >>> https://lists.sourceforge.net/lists/listinfo/basilisk-devel >>> >> >> ------------------------------------------------------------------------------ >> Beautiful is writing same markup. Internet Explorer 9 supports >> standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3. >> Spend less time writing and rewriting code and more time creating great >> experiences on the web. Be a part of the beta today. >> http://p.sf.net/sfu/beautyoftheweb >> _______________________________________________ >> basilisk-devel mailing list >> bas...@li... >> https://lists.sourceforge.net/lists/listinfo/basilisk-devel >> > |