Re[7]: [Gc]: Program broken

Ivan Maidanski ivmai at mail.ru
Sun Sep 27 02:21:18 PDT 2009


Hi!

Hugn <up2dream at gmail.com> 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.

Bye.


More information about the Gc mailing list