----- Joseph T. Bore <[email protected]> a écrit : > > > thanks to the magic of corefiles i can provide you all of it. > > (gdb) print data > $1 = (uint32 *) 0x1fb5214fffb3c10 > (gdb) print width > $2 = 140411070840960 > (gdb) print height > $3 = 128 > (gdb) print ch > $4 = 4 > (gdb) print *image > $5 = {data = 0x1bcc920 "", width = 128, height = 128, format = RRGBAFormat, > background = {red = 0 '\000', green = 0 '\000', blue = 0 '\000', > alpha = 0 '\000'}, refCount = 1} > (gdb) print image > $6 = (RImage *) 0x1b5e000 > > that width looks a little suspicious to me... 8)
Looks too... If the size was not correct at the beginning, the code would not have reached this point, and image->width is correct. Beside, in hex width = 0x00007fb400000080, which looks like the correct value partially overwritten. There's also 'data' that looks not really look right to me, maybe overwritten too? > im compiling this on a 64 bit machine, and its making a 64 bit binary. > could it be that i need to build it as a 32 bit binary? i think i tried > CC=gcc -m32 and it didnt work. this -m32 may participate, or maybe not... on my side i'm on 64bits with no problem. When you say because it did not work, is it because 'configure' complained about not knowing '-m32' option? in this case, try with d-quotes: CC="gcc -m32" > > > On Fri, 18 Oct 2013 13:02:14 -0400, Christophe <[email protected]> > wrote: > > > Hi Joseph, > > > > If you still have the possibility, may you please tell me what this > > would report in gdb: > > > > print data > > print width > > print height > > print ch > > print *image > > > > Thanks, > > Christophe > > > > > > ----- Joseph T. Bore <[email protected]> a écrit : > >> > >> > >> after a *long* time, im finally rebuilding my gnustep environment and > >> also > >> updating my windowmaker build. > >> > >> i was running 0.92. > >> > >> so downloaded and built it all and everything seems good. but when i go > >> to log in and start wmaker i get a segfault. > >> > >> i have a core file, and i have even brought it up under gdb to see whats > >> going on but im afraid i dont really know why its failing. can someone > >> possibly point me in a direction to figure it out? > >> > >> here is where its dieing: > >> > >> Program terminated with signal 11, Segmentation fault. > >> #0 0x00007fb4ff86e3d9 in RLoadTIFF ( > >> file=0x7fb4ffcf0e80 > >> "/export/home/scratch/GNUstep/System/Tools/WindowMaker/share/WINGs/Images.tiff", > >> index=0) at tiff.c:112 > >> 112 *(r) = (*data) & > >> 0xff; > >> (gdb) > >> > >> i looked and that file is there and seems fine, checksums to the same as > >> the version i got out of the tar file. > >> > >> > >> just in case it helps, here is the complete stack trace: > >> > >> > >> Program terminated with signal 11, Segmentation fault. > >> #0 0x00007fb4ff86e3d9 in RLoadTIFF ( > >> file=0x7fb4ffcf0e80 > >> "/export/home/scratch/GNUstep/System/Tools/WindowMaker/share/WINGs/Images.tiff", > >> index=0) at tiff.c:112 > >> 112 *(r) = (*data) & > >> 0xff; > >> (gdb) bt > >> #0 0x00007fb4ff86e3d9 in RLoadTIFF ( > >> file=0x7fb4ffcf0e80 > >> "/export/home/scratch/GNUstep/System/Tools/WindowMaker/share/WINGs/Images.tiff", > >> index=0) at tiff.c:112 > >> #1 0x00007fb4ff85f65b in RLoadImage (context=0x1b491a0, > >> file=0x7fb4ffcf0e80 > >> "/export/home/scratch/GNUstep/System/Tools/WindowMaker/share/WINGs/Images.tiff", > >> index=0) at load.c:171 > >> #2 0x00007fb4ffcc51bc in loadPixmaps (scr=0x1b47040) at widgets.c:385 > >> #3 0x00007fb4ffcc6525 in WMCreateScreenWithRContext (display=0x1b0b910, > >> screen=0, context=0x1b491a0) at widgets.c:785 > >> #4 0x0000000000458e4b in wScreenInit (screen_number=0) at screen.c:628 > >> #5 0x00000000004602a6 in StartUp (defaultScreenOnly=1) at startup.c:696 > >> #6 0x000000000043f272 in real_main (argc=2, argv=0x7fff69270678) at > >> main.c:833 > >> #7 0x000000000043e6ca in main (argc=2, argv=0x7fff69270678) at > >> main.c:642 > >> > >> i can and did run WPrefs and it works fine. but wmaker wont come up. > >> > >> any help greatly appreciated. > >> > >> thank in advance. > >> > >> jb > >> > >> > >> > >> -- > >> > >> > >> -- > >> To unsubscribe, send mail to > >> [email protected]. > > > > > -- > -- -- To unsubscribe, send mail to [email protected].
