Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 1024 (runnable)] 0x80c2307 in _scir_load_resource (mgr=0x52525252, res=0x52525252) at resource.c:346 346 *raiser = toupper(*raiser++); /* Uppercasify */
(gdb) print raiser $1 = 0xc0000000 <Address 0xc0000000 out of bounds> (gdb) print &filename $2 = (char (*)[14]) 0xbfffcac0 i can't get this error to reproduce w/ the latest cvs. i got these errors w/ the 20011211 snapshot. building w/ libefence using gcc-3.0 Erian On Wed, 2001-12-12 at 17:31, Christoph Reichenbach wrote: > Hi, > > > > Program received signal SIGSEGV, Segmentation fault. > > [Switching to Thread 1024 (runnable)] > > 0x80c1dd7 in _scir_load_resource (mgr=0x52525252, res=0x52525252) at > > Whoah! That's seriously weird... I assume you built with libefence or > something like that? Anyway, it _should_ have segfaulted before, if these > values are correct... > > > resource.c:346 > > 346 *raiser = toupper(*raiser++); /* > > What's the value of raiser (print raiser) and what's the address of > 'filename' (print &filename)? > > > Thanks for pointing this out! I hadn't tested for this (I seem to have > introduced it while adding support for patch files)! > > > llap, > Christoph >
