HI All,
I was trying to embed xulrunner in my application. For that I
downloaded Xulrunner source code and was linking against the libs in
this build. In XRE_InitEmbedding I am getting a segfault at this point
http://mxr.mozilla.org/seamonkey/source/js/src/xpconnect/src/xpcjsruntime.cpp#1400
. The stack trace upto this point is here http://pastebin.mozilla.org/451009
. At this point the value of rt->gcLock is 0x1 which is odd and also
the value of rt->gcZeal is a very large number which is also not
expected.
I am embedding my app on Linux Fedora 7.
Does anybody have any clue what is going wrong?
P.S: Before that I was getting an assertion failure in xpcprivate.h
which had something to do with threads. The exact failure is:
###!!! ASSERTION: Uh, JS context w/o a thread?: 'cx->thread', file /
home/Shivaprasad/xulrunner/mozilla/js/src/xpconnect/src/xpcprivate.h,
line 3089
[New Thread 108071824 (LWP 20874)]
This didnot stop the program.I dont know If this has anything to do
with the crash mentioned before.
Thanks
Shivaprasad
_______________________________________________
dev-embedding mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-embedding