https://bugzilla.novell.com/show_bug.cgi?id=701059
https://bugzilla.novell.com/show_bug.cgi?id=701059#c7
--- Comment #7 from Jon Nelson
(In reply to comment #5)
Correct! Why can't it find it?
Probably an issue from a xulrunner 2.0 update. Xul is in a versioned folder and the update might have moved it to a new folder. pacrunner_mozjs has an rapth pointing to the folder used during the build
Using config: 20kde_config_extension Using ignore: Config is: pac+http://192.168.1.2/~jnelson/proxy.pac PAC received! Using pacrunner: 25mozjs_pacrunner_extension Segmentation fault (core dumped)
Now THAT is unexpected. It should be a completely different code path. on this pacrunner.
It's not unexpected if the problem is /before/ the pacrunner stuff is used.
Can you please do: gdb proxy run http://www.google.com (wait for the segfault) bt full
#0 0x00007ffff395453d in getReservedSlot (this=<value optimized out>) at
/usr/src/debug/mozilla/js/src/jsobjinlines.h:248
#1 extractFrom (this=<value optimized out>) at
/usr/src/debug/mozilla/js/src/jsregexpinlines.h:594
#2 JSContext::regExpStatics (this=<value optimized out>) at
/usr/src/debug/mozilla/js/src/jscntxtinlines.h:115
#3 0x00007ffff399d063 in str_search (cx=0x6bd500, argc=1, vp=0x7ffff27cd120)
at /usr/src/debug/mozilla/js/src/jsstr.cpp:1910
#4 0x00007ffff38ec019 in CallJSNative (cx=<value optimized out>,
entryFrame=0x7ffff27cd058, inlineCallCount=1, interpMode=JSINTERP_NORMAL)
at /usr/src/debug/mozilla/js/src/jscntxtinlines.h:701
#5 js::Interpret (cx=<value optimized out>, entryFrame=0x7ffff27cd058,
inlineCallCount=1, interpMode=JSINTERP_NORMAL)
at /usr/src/debug/mozilla/js/src/jsinterp.cpp:4799
#6 0x00007ffff38f8965 in js::RunScript (cx=0x6bd500, script=0x72c230,
fp=0x7ffff27cd058) at /usr/src/debug/mozilla/js/src/jsinterp.cpp:653
#7 0x00007ffff38fa832 in js::Invoke (cx=0x6bd500, argsRef=<value optimized
out>, flags=<value optimized out>)
at /usr/src/debug/mozilla/js/src/jsinterp.cpp:740
#8 0x00007ffff38fad1b in js::ExternalInvoke (cx=0x6bd500, thisv=..., fval=...,
argc=2, argv=0x7ffffffe45a0, rval=0x7ffffffe45b8)
at /usr/src/debug/mozilla/js/src/jsinterp.cpp:863
#9 0x00007ffff3869904 in JS_CallFunctionName (cx=0x6bd500, obj=0x7ffff2603048,
name=<value optimized out>, argc=2, argv=0x7ffffffe45a0, rval=0x7ffffffe45b8)
at /usr/src/debug/mozilla/js/src/jsapi.cpp:5159
#10 0x00007ffff3da5438 in mozjs_pacrunner::run (this=0x62c3f0, url_=<value
optimized out>)
at /usr/src/debug/libproxy-0.4.6/libproxy/modules/pacrunner_mozjs.cpp:165
#11 0x00007ffff7bc986e in libproxy::proxy_factory::_get_proxies (this=0x603010,
realurl=0x60b770, response=...)
at /usr/src/debug/libproxy-0.4.6/libproxy/proxy.cpp:372
#12 0x00007ffff7bcad6e in libproxy::proxy_factory::get_proxies (this=0x603010,
url_=...) at /usr/src/debug/libproxy-0.4.6/libproxy/proxy.cpp:194
#13 0x00007ffff7bcaf0c in px_proxy_factory_get_proxies (self=0x603010,
url=<value optimized out>) at
/usr/src/debug/libproxy-0.4.6/libproxy/proxy.cpp:420
#14 0x0000000000400d2c in main ()
(gdb)
(gdb) frame 11
#11 0x00007ffff7bc986e in libproxy::proxy_factory::_get_proxies (this=0x603010,
realurl=0x60b770, response=...)
at /usr/src/debug/libproxy-0.4.6/libproxy/proxy.cpp:372
372 /usr/src/debug/libproxy-0.4.6/libproxy/proxy.cpp: No such file or
directory.
in /usr/src/debug/libproxy-0.4.6/libproxy/proxy.cpp
(gdb) print realurl
$1 = (libproxy::url *) 0x60b770
(gdb) print *realurl
$2 = {m_orig = {static npos = 18446744073709551615, _M_dataplus =
{