[Gc] GC_gww_read_dirty unexpectedly failed

Boehm, Hans hans.boehm at hp.com
Mon May 18 16:04:59 PDT 2009


I'm using NT_STATIC_THREADS_MAKEFILE with

.c.obj:
        $(cc) $(cdebug) $(cflags) $(cvarsmt) -Iinclude -I$(AO_INCLUDE_DIR) -DALL
_INTERIOR_POINTERS -D__STDC__ -DGC_NOT_DLL -DGC_WIN32_THREADS -DTHREAD_LOCAL_ALL
OC -DGC_ASSERTIONS $*.c /Fo$*.obj

.cpp.obj:
        $(cc) $(cdebug) $(cflags) $(cvarsmt) -Iinclude -I$(AO_INCLUDE_DIR) -DALL
_INTERIOR_POINTERS -DGC_NOT_DLL $*.CPP -DGC_WIN32_THREADS -DTHREAD_LOCAL_ALLOC -
DGC_ASSERTIONS /Fo$*.obj

This should be equivaklent to what you describe.

Thanks.

Hans

> -----Original Message-----
> From: gc-bounces at napali.hpl.hp.com 
> [mailto:gc-bounces at napali.hpl.hp.com] On Behalf Of Ivan Maidanski
> Sent: Sunday, May 17, 2009 9:13 AM
> To: gc at napali.hpl.hp.com
> Subject: Re[3]: [Gc] GC_gww_read_dirty unexpectedly failed
> 
> Hi!
> 
> Hans Boehm <Hans.Boehm at hp.com> wrote:
> > I'm just running the 32 bit, static library, gctest, 
> compiled with VS 
> > 2005, on an XP 64 box.  GWW_VDB is no longer defined.  
> Otherwise, my 
> > version should be similar to the trunk.
> 
> Interesting. I recall the old time when GetWriteWatch() was 
> unused in gc. As I'm using own SEGV handler (to catch null 
> dereferences) for my sake, my threaded app always (or nearly 
> so) had crashed if GC_ENABLE_INCREMENTAL.
> So, the Q is: do You undef GWW_VDB for experiments or You 
> think GetWriteWatch() is too broken to be usable at all?
> 
> > 
> > I tried running the excutable on an XP32 box, with similar results.
> > It would be interesting to know whether you can reproduce 
> the problem 
> > under similar conditions.
> 
> I'll try on Vista32 (and, may be, on Vista64) with VC++ 2008.
> Is this config would do: -MT -DALL_INTERIOR_POINTERS 
> -DGC_NOT_DLL -DGC_THREADS -DGC_ASSERTIONS (i.e., without 
> unmapping, local-alloc and parallel markes)?
> 
> > 
> > Thanks.
> > 
> > Hans
> 
> Bye.
> _______________________________________________
> Gc mailing list
> Gc at linux.hpl.hp.com
> http://www.hpl.hp.com/hosted/linux/mail-archives/gc/
> 


More information about the Gc mailing list