assertion failures

Pascal Bourguignon pjb at imaginet.fr
Tue Jul 28 09:49:42 PDT 1998


> From: Archie Cobbs <archie at whistle.com>
> Subject: assertion failures
> To: kaffe at rufus.w3.org
> Date: Mon, 27 Jul 1998 19:09:32 -0700 (PDT)
>
> I'm getting assertion failures in kaffe-snap Mon Jul 27 08:02:00 1998.
> This is on FreeBSD.
>
> My particular application is trying to use threads, which seems to
> trigger the problem.
>
>   #0  0x200e3851 in kill ()
>   #1  0x200e2ee4 in abort ()
>   #2  0x200bcbd2 in __assert ()
>   #3  0x2001cbc7 in gc_heap_malloc (sz=20) at ./mem/gc-mem.c:267
>   #4  0x2001ba69 in gcMalloc (size=12, fidx=2) at
>                                        mem/gc-incremental.c:678
>


I've identified and corrected a bug in gc-mem.c regarding the assertion  
blk->free!=0 that was not enforced (and it could not be).

Here are my diffs from the snapshot of Thu Jul 23 23:12:09 1998.

There's also a kludge to compile with EXTRA_CFLAGS=-DDEBUG on Linux. (We  
should replace dprintf with kaffe_dprintf everywhere instead of depending on  
a
macro).


begin 666 diffs.gz
M'XL(`*L(NS4``\5767/;-A#NLW[%VIFZNF\KME2Y\:$X3N(X$Z?3AS2C at 2A0
M1$P2&@+TD>._=Q<@)5F49'O2:6$/Q0.[V-UOSW[_IU=N+%P7*A%48I"1F(B0
M^;4KYKJ\HD(VK3DR=,6D)EI[G=H7H2MT4QUS%QZQ)U>I5)[&-%D?O1A>QS[`
M/C3KW4:[V^Y`8W]_+U<JE1YS,%S&H6'01+I6M[';W6U:!B]>0*71*G>@A-?G
M\.)%#NCOF7")[&1P].=IKO1,A(X?CSELC_DHGE2][1R(4`,>,31O>DB!^T7(
M4XG-Z_QM(7W.S_;"'S">1DCNYK=_O>W^K;?+<'QQ,GA_7"BG7^`6NE`O(%?N
M*Y[[>50?A-7<VNMU4+-J.O#0AK6`KF:W#&2]TVVT5@*YCGX12*3>;79;G3F0
MS4X#,2S9'X+R!V&)!LU54I.CAR at -CL<B*+J!+D.U6BWD2N:DX>9-\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