[Gc] Re: GC_merge_unmapped: assertion violation

Ivan Maidanski ivmai at mail.ru
Mon May 11 14:27:27 PDT 2009


Hi!

I wrote several months ago:
> 
> I sometimes get GC_ASSERT(!IS_MAPPED(nexthdr)) violation in GC_merge_unmapped().
> 
> Could somebody tell me, please, whether this is wrong assertion (i.e. there may be two adjacent mapped free blocks at this point) or the problem's somewhere else?
> 
> My config is GC_WIN32_THREADS+USE_MUNMAP+GC_ASSERTIONS and GC_enable_incremental() is called at start-up.

I get them time-to-time (not only on Win32 and, not only the incremental mode).
If assertions are off, everything seems to be ok.

Hans, could You, please, review that code (in CVS) at a glance? (may be later, not really critical/important to me).

Bye.


More information about the Gc mailing list