[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: problems with Checker-0.9.2 after adding stubs
- To: http://www.email.enst.fr/~gingold
- Subject: Re: problems with Checker-0.9.2 after adding stubs
- From: http://dummy.us.eu.org/robert (robert)
- Date: Thu, 2 Jul 1998 15:30:20 -0400
- In-Reply-To: <19980702175718.http://www.nikopol.enst.fr/~A712>
- XX-from: http://dummy.us.eu.org/robert (robert)
 > From: Tristan Gingold <http://www.email.enst.fr/~gingold>
 > Date: Thu  Jul  2,  5:57pm
 >
 > On Thu, Jul 02, 1998 at 11:46:12AM -0400, robert wrote:
 > > Hi.  Sorry to bother you.  I could not find a mailing list associated with
 > > Checker, so I must mail you directly.
 > > 
 > > I added a couple of stubs to get another program to link properly.  After
 > > doing that, I'm now getting a SEGV in a completely different part of the
 > > code.
 > Humm, I think this bug was fixed.
 > Get Checker-0.9.6.tar.gz.
 > 
 > [...]
 > > I don't think this problem is related to my added stubs.
 > > 
 > > If there is a mailing list to talk about these sorts of things or if you
 > > know someone who I could talk to about this, please tell me.  Thanks.
 > Currently, there is no mailing list.
 > 
 > > I enabled stubs-ncurses.c and got it to compile.  I also enabled wait3().
 > Thanks for your stubs.
 > 
 > Tristan.
I downloaded it, reinserted my stubs and got my prog to link, and it still
dies in the same place:
Program received signal SIGSEGV, Segmentation fault.
adjust_bm_when_stack_reduce () at ./l-malloc/maccess.c:609
609      where
#0  adjust_bm_when_stack_reduce () at ./l-malloc/maccess.c:609shing run later
#1  0xbffff20c in ?? ()
#2  0x8144e4d in SetBitMem (addr=0x818cc68, bitmem=0xbffff240)
    at ./l-malloc/maccess.c:461
#3  0x8145902 in chkr_set_right (ptr=0x818cc68, len=268, right=0 '\000')
    at ./l-malloc/maccess.c:1058
#4  0x8148736 in __mmalloc_sbrk_init () at l-malloc/macc-mmap.h:464
#5  0x8142d55 in malloc_1 (mdp=0x0, real_size=24) at ./l-malloc/malloc.c:78
#6  0x8143017 in malloc (real_size=24) at ./l-malloc/malloc.c:251
#7  0x81635a3 in __register_frame (begin=0x8178b30)
#8  0x8049fc9 in frame_ ()
#9  0x80497a5 in _init ()
(gdb) l
604     void
605     adjust_bm_when_stack_reduce (void)
606     {
607     #if CHKR_STACKBITMAP
608     #ifdef STACK_GROWS_DOWNWARD
609       mapinfo[STACKBM]->real_base = known_stack_limit;
610     #else
611       mapinfo[STACKBM]->length = known_stack_limit - (PTR) STACK_BASE;
612     #endif
613       stack_bitmapped = known_stack_limit;
(gdb) p mapinfo
$1 = (MapInfo **) 0xa80000ec
(gdb) p mapinfo[3]
$2 = (MapInfo *) 0x0
Where should I go from here?
Thanks.