[M3commit] CVS Update: cm3
Jay Krell
jkrell at elego.de
Tue Apr 28 16:08:43 CEST 2009
CVSROOT: /usr/cvs
Changes by: jkrell at birch. 09/04/28 16:08:43
Modified files:
cm3/m3-libs/m3core/src/runtime/common/: RTCollector.m3
Log message:
fix another case where PushEFrame is called before ThreadF.Init is called
That causes user threads to crash; pthreads and ntthreads work via arguably
poor on-demand initialization (which is also related to why they can't use NEW
where the used to)
see revision 14
move GetGCRatio to later; that appears to be ok, right?
(gdb) bt
#0 0x08089570 in RTHooks__PushEFrame (M3_AJWxb1_frame=0xbfbfeb90)
at ../src/thread/POSIX/ThreadPosix.m3:1599
#1 0x0807581e in RTCollector__GetGCRatio () at ../src/runtime/common/RTCollector.m3:2802
#2 0x08075650 in RTHeapRep__Init () at ../src/runtime/common/RTCollector.m3:2769
#3 0x08076a87 in RTLinker__InitRuntime (M3_AcxOUs_p_argc=1, M3_AJWxb1_p_argv=0xbfbfec84,
M3_AJWxb1_p_envp=0xbfbfec8c, M3_AJWxb1_p_instance=0x0) at ../src/runtime/common/RTLinker.m3:58
#4 0x0804af30 in main (argc=1, argv=0xbfbfec84, envp=0xbfbfec8c) at _m3main.mc:3
More information about the M3commit
mailing list