Re: Problems using NS_InitXPCOM2 from xulrunner 13 and later
Mook <mook.moz+nntp.news.mozilla.org@gmail.com.please-avoid-direct-mail> Mon, 05 Nov 2012 23:16:43 -0800
| Newsgroups | gmane.comp.mozilla.devel.embedding |
|---|---|
| Message-ID | <[email protected]> |
On 11/5/2012 10:58 AM, [email protected] wrote: > I'm trying to get NS_InitXPCOM2 to work . I have linked against xulrunner SDK's 10, 12, 13, 16 and 17. We also have other programs using XRE_InitEmbedding2, but the point of failure is the same. <snip> > Program received signal SIGSEGV, Segmentation fault. > 0x0000000000000000 in ?? () > (gdb) bt > #0 0x0000000000000000 in ?? () > #1 0x00007ffff322f613 in PL_DHashTableOperate (table=0x62bcd8, > key=0x7ffff3a9ccb0, op=PL_DHASH_LOOKUP) > at /builds/slave/rel-m-beta-xr-lnx64-bld/build/obj-firefox/xpcom/build/pldhash.cpp:576 bug 763327, perhaps? The workaround I'm using is http://hg.mozilla.org/pyxpcom/file/0ba416782345/xpcom/src/module/_xpcom.cpp#l278 You can probably use simpler things, since you are not a shared library being loaded by some other process :) HTH, -- Mook