i think your problem is that you have libmozjs-dev or something
installed which is the old xulrunner ... remove that (and remove
libmozjs* too to be safe).
** Changed in: xulrunner-1.9 (Ubuntu)
Status: Incomplete => Invalid
--
JS_DefineFunctions Does Not Work in 32bit Build (SegFaults)
ht
Originally, I simply used:
gcc -I/usr/include/mozjs -g -DXP_UNIX test.c -lmozjs -o test
Using your more detailed command yields the same segfault, however.
It's worth noting that I am using 8.04 as 8.10 doesn't work on my
laptop. If it's of interest the md5 of of libmozjs.so is
2898019a2c9ac8c6d3
i used:
gcc $(pkg-config --cflags --libs mozilla-js)
-I/usr/include/xulrunner-1.9.0.7/unstable test.c
--
JS_DefineFunctions Does Not Work in 32bit Build (SegFaults)
https://bugs.launchpad.net/bugs/339331
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscri
how do you build it. for me it doesnt crash
--
JS_DefineFunctions Does Not Work in 32bit Build (SegFaults)
https://bugs.launchpad.net/bugs/339331
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@li
I may be incorrect about this, but I believe xulrunner contains the
libmozjs library that comes with Ubuntu. The libmozjs library contains
the bug. When I recompiled spidermonkey from code I found on the mozilla
website, into a library called libjs, the the segfault in my code
resulting from JS_Def
How is this xulrunner related? you built spidermonkey and it worked?
this sounds more like a spidermonkey bug.
** Changed in: xulrunner-1.9 (Ubuntu)
Status: New => Incomplete
--
JS_DefineFunctions Does Not Work in 32bit Build (SegFaults)
https://bugs.launchpad.net/bugs/339331
You received
Note: I have compiled SpiderMonkey from source and installed it as a
separate library. This fixed the problem, so something is definitely
wrong with the binary being distributed with thsi package.
--
JS_DefineFunctions Does Not Work in 32bit Build (SegFaults)
https://bugs.launchpad.net/bugs/33933
** Attachment added: "Small Program Demonstrating SegFault from
JS_DefinFunctions in libmozjs"
http://launchpadlibrarian.net/23589605/test.c
--
JS_DefineFunctions Does Not Work in 32bit Build (SegFaults)
https://bugs.launchpad.net/bugs/339331
You received this bug notification because you ar