[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elk] Re: found bug related to GC crash



On Saturday 07 August 2004 11:50, martin rumori wrote:
> hi *,
>
> attached a patch which fixes a bug leading to crash the garbage
> collector.  in the elk-3.0 code it's apparently present, too.
>
> the smallest type number assigned to the first defined type was by one
> too small: thus handing out T_Broken_Hart (with sc gc) oder freetype
> (gc-gen).
>
> my dummy-test:
>
> (define (crash)
> 	(collect)
> 	(crash))
> (crash)
>
> does not crash anymore.
>
> surprisingly, alexander lechner's bug.scm doesn't crash neither on the
> fixed nor the unfixed version.  was that bug.scm for elk-3.0 or
> elk-3.99.6?  AFAIK some GC bugs were fixed between 3.0 and -99.6.
>
Sorry, I've just re-verified this. I have elk 3.99.6, running on SuSE 8.2,
kernel 2.4.20-64GB-SMP. 'bug.scm' still crashes with 

[Garbage collecting... 15% reclaimed]
37659
37660
37661
[Garbage collecting...
Panic: Visit: object not in prev space at 0x40284fbc ('pair') 14527 14529 
(dumping core).
Abort
Exit 134

Thanks anyway,

Alex
-- 
Alexander.Lechner     @        vertigo-systems.de
Engelbertstraße 30    |    phone: +49-221-2405472
D-50674 Köln          |      fax: +49-221-34892616
-- 
This is the elk mailing-list, see http://sam.zoy.org/projects/elk/
Trouble unsubscribing? Please contact <sam@zoy.org>
List archives are at http://sam.zoy.org/projects/elk/threads.html