[Gc] Re: Re[7]: : Program broken

Hugh up2dream at gmail.com
Mon Sep 28 05:44:12 PDT 2009


Ivan Maidanski <ivmai at ...> writes:

> 
> Hi!
> 
> Hugn <up2dream at ...> wrote:
> > > > ...
> > > > GC Warning: Thread stack pointer 0005FADC out of range, pushing 
everything
> > > > ***Static roots:
> > > > Total size: 0
> > > > ...
> > The problem observed on custom WinCE6 emulator and device. The system is 
built
> > with platform builder. On standard WinCE5/WinCE6 it worked with no bug like
> > this. I have update source to latest CVS commits.
> > >
> > > 1. could you temporarily try (in dyn_load.c) replace:
> > >  define GC_wnt TRUE -> define GC_wnt FALSE
> > >
> > If I define GC_wnt FALSE, the program will crash. The invoke stack is:
> >
> > >	HostApp.exe!GC_abort(const char* msg = 0x0084981c) ?: 1238, ?????:
> > 0x4c	C
> >  	HostApp.exe!GC_push_stack_for(GC_Thread_Rep* thread = 0x0086efc8) ?:
> > 1228, ?????: 0x314	C
> > ...
> > > 2. could you also use -DDEBUG_THREADS and tell me what's printed after "GC
> > Warning: Thread stack pointer..."?
> >
> > I wrote a simplest program(only include GC_INIT() and GC_dump()) and add -
> > DDEBUG_THREADS. The log is :
> >
> > Marking thread locals for 0x95a0002
> > GC Warning: Thread stack pointer 0005FAD4 out of range, pushing everything
> > Pushing stack for 0x95a0002 from (min) 00060000 to 00061000 from 0x95a0002
> > ***Static roots:
> > Total size: 0
> 
> I've just checked in the solution (for both static roots and stack bounds). 
Hope it works for you. Fetch the
> latest CVS. Use -D_WIN32_WCE_EMULATION for your custom WinCE 6 build and WinCE 
emulation.

The static roots size is still zero.

Marking thread locals for 0x9d40012
Pushing stack for 0x9d40012 from sp 0005FABC to 00061000 from 0x9d40012
***Static roots:
Total size: 0

***Heap sections:
Total heap size: 65536
Section 0 from 00140000 to 00150000 0/16 blacklisted

***Free blocks:
Free list 16:
	00140000 size 65536 not black listed
Total of 65536 bytes on free list

***Blocks in use:
(kind(0=ptrfree,1=normal,2=unc.):size_in_bytes, #_marks_set)

blocks = 0, bytes = 0



> 
> Bye.
> 






More information about the Gc mailing list