12. Debugging jsc.exe - WebKit porting to Mona OS


jsc.exe is killed on GlobalObject* globalObject = GlobalObject::create(*globalData, GlobalObject::createStructure(*globalData, jsNull()), options.arguments) at jscmain.
After some printf debug, I found m_structure member of m_functionPrototype becomes NULL, after propery initialized.
Yes, I'm sure this is a GC related issue. The GC reuses m_functionPrototype instance although it is alive.


So the next thing, I do is to debug GC. The only one thing, I did when porting is telling the GC where our stack is. It may be wrong.