This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/52762] Firefox 11 segfault with gcc 4.7 (-O3 -march=corei7-avx)


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52762

--- Comment #6 from DÃniel Fraga <fragabr at gmail dot com> 2012-03-29 20:13:23 UTC ---
(In reply to comment #5)
> In the future you should add: 
>   ac_add_options --disable-install-strip  --disable-strip 
> to your .mozconfig file, because otherwise the debug binaries will
> be stripped (which results in your broken Comment 2 backtrace).

Ok, I did that... now a complete and decent backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 140149652981568 (LWP 28284)]
0x00007f771e8156f9 in JSRuntime::onOwnerThread (this=0x1a0080) at
/home/fraga/src/mozilla/js/src/jsval.h:852
852         JS_ASSERT((objBits >> JSVAL_TAG_SHIFT) == 0);
(gdb) bt
#0  0x00007f771e8156f9 in JSRuntime::onOwnerThread (this=0x1a0080) at
/home/fraga/src/mozilla/js/src/jsval.h:852
#1  0x00007f771e82185e in JS_ValueToObject (cx=0x7fffad2c7630, v=
        {data = {asBits = 18445617585292306240, debugView = {payload47 =
140148977952576, tag = JSVAL_TAG_OBJECT}, s = {payload = {i32 = -99883200, u32
= 4195084096, why = 4195084096}}, asDouble = -nan(0xbff76fa0be740), asPtr =
0xfffbff76fa0be740, asWord = 18445617585292306240}}, objp=0x7fffad2c7538) at
/home/fraga/src/mozilla/js/src/jsval.h:852
#2  0x00007f771e19dd83 in nsXPCComponents_Utils::EvalInSandbox (this=Unhandled
dwarf expression opcode 0xf3
) at /home/fraga/src/mozilla/js/xpconnect/src/xpcprivate.h:4165
#3  0x00007f771e652fea in NS_InvokeByIndex_P (that=Unhandled dwarf expression
opcode 0xf3
) at
/home/fraga/src/mozilla/xpcom/reflect/xptcall/src/md/unix/xptcinvoke_x86_64_unix.cpp:195
#4  0x00007f771e1c0f78 in CallMethodHelper::Invoke (this=0x7fffad2c77e8) from
/usr/local/lib/firefox-11.0/libxul.so
#5  0x00007f771e1c60d1 in CallMethodHelper::Call (this=0x7fffad2c77e8) from
/usr/local/lib/firefox-11.0/libxul.so
#6  0x00007f771e1c6725 in XPCWrappedNative::CallMethod (ccx=@0x7fffad2c7960,
mode=Unhandled dwarf expression opcode 0xf3
) from /usr/local/lib/firefox-11.0/libxul.so
#7  0x00007f771e1caaa2 in XPC_WN_CallMethod (cx=0x7f77212aea30, argc=2,
vp=Unhandled dwarf expression opcode 0x9f
) at /home/fraga/src/mozilla/js/xpconnect/src/xpcprivate.h:4165
#8  0x00007f771e93555a in js::CallJSNative (cx=0x7f77212aea30,
native=0x7f771e1ca956 <XPC_WN_CallMethod(JSContext*, unsigned int,
JS::Value*)>, args=@0x7fffad2c7c00)
    at ./../../dist/include/js/HashTable.h:129
#9  0x00007f771e9335c9 in js::InvokeKernel (cx=0x7f77212aea30,
args={<js::CallReceiver> = {usedRval_ = false, argv_ = 0x7f7710dd9208}, argc_ =
2}, construct=js::NO_CONSTRUCT)
    at /home/fraga/src/mozilla/js/src/jsval.h:771
#10 0x00007f771e91fe59 in js::Interpret (cx=0x7f77212aea30,
entryFrame=0x7f7710dd9038, interpMode=<value optimized out>) at
/home/fraga/src/mozilla/js/src/jsval.h:771
#11 0x00007f771e933773 in js::InvokeKernel (cx=0x7f77212aea30,
args={<js::CallReceiver> = {usedRval_ = false, argv_ = 0x7f7710dd9030}, argc_ =
1}, construct=Unhandled dwarf expression opcode 0xf3
)
    at /home/fraga/src/mozilla/js/src/jsval.h:771
#12 0x0000000000000000 in ?? ()


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]