Crash in Calling XRE_InitEmbedding( ) after shutdown ( XRE_TermEmbedding)

SHASHANKA DASARI <[email protected]> Mon, 30 Jan 2012 21:44:38 -0800 (PST)
Newsgroups gmane.comp.mozilla.devel.embedding
Organization http://groups.google.com
Message-ID <17cd96c5-3858-4f13-86d4-5d1370d93f87@nu6g2000pbb.googlegroups.com>
Dear all,

We have ported gecko in our application on an RTOS. It works fine. We
cannot end the application explicitly.
So we shutdown gecko using  XRE_TermEmbedding().
To reinit we call XRE_InitEmbedding( ) again. This crashes.
Is there any other way to shutdown & restart gecko without actully
terminating the application ?

Regards
Shashanka