Last Comment Bug 667296 - firefox throws "pure virtual method called" on session restore
: firefox throws "pure virtual method called" on session restore
Status: NEW
: crash
Product: Core
Classification: Components
Component: XPConnect (show other bugs)
: 2.0 Branch
: x86 Linux
: -- normal (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
:
: Andrew Overholt [:overholt]
Mentors:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-06-26 08:23 PDT by Rafał Mużyło
Modified: 2011-07-16 14:19 PDT (History)
4 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments

Description Rafał Mużyło 2011-06-26 08:23:30 PDT
User-Agent:       Opera/9.80 (X11; Linux i686; U; pl) Presto/2.8.131 Version/11.11
Build Identifier: Mozilla/5.0 (X11; Linux i686; rv:5.0) Gecko/20100101 Firefox/5.0

While restoring a large session (from 4.0.1) firefox 5.0 crashes with:
pure virtual method called
terminate called without an active exception

The session is two windows, 200+ tabs, so even if it's a specific site (which I doubt), I'm unlikely to find out.
Crash happens even in safe mode, so it's not an extension problem.

gdb prints following:
#0  0xb7fe1424 in __kernel_vsyscall ()
#1  0xb66e5ce1 in raise () from /lib/libc.so.6
#2  0xb66e752c in abort () from /lib/libc.so.6
#3  0xb5797f95 in __gnu_cxx::__verbose_terminate_handler() () from /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libstdc++.so.6
#4  0xb5795ea5 in ?? () from /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libstdc++.so.6
#5  0xb5795ee2 in std::terminate() () from /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libstdc++.so.6
#6  0xb5796af5 in __cxa_pure_virtual () from /usr/lib/gcc/i686-pc-linux-gnu/4.5.2/libstdc++.so.6
#7  0xb7a83f49 in js::JSProxyHandler::get(JSContext*, JSObject*, JSObject*, int, js::Value*) () from /usr/lib/firefox/libxul.so
#8  0xb7a88eb3 in ?? () from /usr/lib/firefox/libxul.so
#9  0xb7a88f1d in ?? () from /usr/lib/firefox/libxul.so
#10 0xb7c07492 in ?? () from /usr/lib/firefox/libxul.so
#11 0xb7a31f78 in ?? () from /usr/lib/firefox/libxul.so
#12 0xb7a328d5 in ?? () from /usr/lib/firefox/libxul.so
#13 0xb79cb21c in ?? () from /usr/lib/firefox/libxul.so
#14 0xb79cb6bc in JS_EvaluateUCScriptForPrincipalsVersion () from /usr/lib/firefox/libxul.so
#15 0xb7050408 in ?? () from /usr/lib/firefox/libxul.so
#16 0xb6e9a6d0 in ?? () from /usr/lib/firefox/libxul.so
#17 0xb6e9a980 in ?? () from /usr/lib/firefox/libxul.so
#18 0xb6e9b89e in ?? () from /usr/lib/firefox/libxul.so
#19 0xb6e9bf1b in ?? () from /usr/lib/firefox/libxul.so
#20 0xb6aedbda in ?? () from /usr/lib/firefox/libxul.so
#21 0xb6b5f289 in ?? () from /usr/lib/firefox/libxul.so
#22 0xb78718cf in NS_InvokeByIndex_P () from /usr/lib/firefox/libxul.so
#23 0xb7390b57 in ?? () from /usr/lib/firefox/libxul.so
#24 0xb7397bb6 in ?? () from /usr/lib/firefox/libxul.so
#25 0xb7bfeddb in ?? () from /usr/lib/firefox/libxul.so
#26 0xb7a31f78 in ?? () from /usr/lib/firefox/libxul.so
#27 0xb7a33d6c in ?? () from /usr/lib/firefox/libxul.so
#28 0xb7a3423c in ?? () from /usr/lib/firefox/libxul.so
#29 0xb79cb085 in JS_CallFunctionValue () from /usr/lib/firefox/libxul.so
#30 0xb7387cc5 in ?? () from /usr/lib/firefox/libxul.so
#31 0xb7381c5c in ?? () from /usr/lib/firefox/libxul.so
#32 0xb7872422 in ?? () from /usr/lib/firefox/libxul.so
#33 0xb6b03339 in ?? () from /usr/lib/firefox/libxul.so
#34 0xb6aed761 in ?? () from /usr/lib/firefox/libxul.so
#35 0xb6b5be59 in ?? () from /usr/lib/firefox/libxul.so
#36 0xb6ad0820 in ?? () from /usr/lib/firefox/libxul.so
#37 0xb6ad0910 in ?? () from /usr/lib/firefox/libxul.so
#38 0xb7846934 in ?? () from /usr/lib/firefox/libxul.so
#39 0xb785f71b in ?? () from /usr/lib/firefox/libxul.so
#40 0xb781c893 in ?? () from /usr/lib/firefox/libxul.so
#41 0xb773b563 in ?? () from /usr/lib/firefox/libxul.so
#42 0xb788eaf1 in ?? () from /usr/lib/firefox/libxul.so
#43 0xb788eba4 in ?? () from /usr/lib/firefox/libxul.so
#44 0xb7678d5d in ?? () from /usr/lib/firefox/libxul.so
#45 0xb74cc29f in ?? () from /usr/lib/firefox/libxul.so
#46 0xb6aa3e9a in XRE_main () from /usr/lib/firefox/libxul.so
#47 0x08049588 in ?? ()
#48 0xb66d1cc6 in __libc_start_main () from /lib/libc.so.6
#49 0x080493a1 in ??



Reproducible: Always
Comment 1 Kyle Huey [:khuey] (Exited; not receiving bugmail, email if necessary) 2011-06-26 19:46:38 PDT
Symbols for the rest of that stack trace would really help here ... if you can't do that, download the stock Mozilla version from our website and submit a crash report?
Comment 2 Rafał Mużyło 2011-06-27 07:39:13 PDT
Well, out of curiosity, I've checked the stock firefox.
The way it's built here differs significantly, yet it crashes just the same.

The report at https://bugs.gentoo.org/show_bug.cgi?id=372825#c6
comes from amd64 arch, yet is too similar to be a coincidence.
Comment 3 Kyle Huey [:khuey] (Exited; not receiving bugmail, email if necessary) 2011-06-27 09:41:25 PDT
The stack there is similarly useless :-/
Comment 4 Rafał Mużyło 2011-06-27 13:20:53 PDT
Well, I asked the other user for a stack trace with debug symbols and he provided it: https://bugs.gentoo.org/show_bug.cgi?id=372825#c10
Comment 5 Josh Matthews [:jdm] (on vacation until Dec 5) 2011-06-27 13:27:54 PDT
Stack trace: https://bugs.gentoo.org/attachment.cgi?id=278385
Comment 6 Kyle Huey [:khuey] (Exited; not receiving bugmail, email if necessary) 2011-06-27 13:35:24 PDT
Ok, that helps.  This looks wrapper-ish.
Comment 7 Rafał Mużyło 2011-07-10 07:12:24 PDT
It seems the problem happens in a completely different place.

The crash happens if libproxy uses mozjs - that includes the set of libproxy 0.4.7 and spidermonkey 1.8.5.
Probably a symbol clash - doesn't make it suck less.

Note You need to log in before you can comment on or make changes to this bug.