Closed Bug 821483 Opened 12 years ago Closed 11 years ago

Intermittent browser_dbg_chrome-debugging.js | application crashed [@ JSRuntime::assertValidThread() const]

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
critical

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: ehsan.akhgari, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

Crash Data

https://tbpl.mozilla.org/php/getParsedLog.php?id=17916706&tree=Firefox&full=1#error0

TEST-UNEXPECTED-FAIL | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_chrome-debugging.js | application timed out after 330 seconds with no output
INFO | automation.py | Application ran for: 0:36:55.131983
INFO | automation.py | Reading PID log: /tmp/tmpu49xXApidlog
==> process 2353 launched child process 2435
==> process 2353 launched child process 2446
INFO | automation.py | Checking for orphan process with PID: 2435
INFO | automation.py | Checking for orphan process with PID: 2446
Downloading symbols from: http://ftp-scl3.mozilla.com/pub/mozilla.org/firefox/tinderbox-builds/mozilla-central-linux-debug/1355427560/firefox-20.0a1.en-US.linux-i686.crashreporter-symbols.zip
PROCESS-CRASH | chrome://mochitests/content/browser/browser/devtools/debugger/test/browser_dbg_chrome-debugging.js | application crashed [@ JSRuntime::assertValidThread() const]
Crash dump filename: /tmp/tmphNwRNy/minidumps/6c688be9-17e9-adb2-22d775e3-34f50582.dmp
Operating system: Linux
                  0.0.0 Linux 2.6.31.5-127.fc12.i686.PAE #1 SMP Sat Nov 7 21:25:57 EST 2009 i686
CPU: x86
     GenuineInte family 6 model 23 stepping 10
     2 CPUs

Crash reason:  SIGABRT
Crash address: 0x91d

Thread 0 (crashed)
 0  libxul.so!JSRuntime::assertValidThread() const [jsapi.cpp : 1075 + 0x6]
    eip = 0x029252e6   esp = 0xbfd1fd10   ebp = 0xbfd1fd38   ebx = 0x033b403c
    esi = 0x00000000   edi = 0xbfd1fdf4   eax = 0x08bbd8a8   ecx = 0xb0fc6130
    edx = 0x03152975   efl = 0x00000282
    Found by: given as instruction pointer in context
 1  libxul.so!MarkInternal<js::Shape> [Marking.cpp : 114 + 0x7]
    eip = 0x02bb87bc   esp = 0xbfd1fd40   ebp = 0xbfd1fd78   ebx = 0x033b403c
    esi = 0x00000000   edi = 0xbfd1fdf4
    Found by: call frame info
 2  libxul.so!IncrementalCollectSlice [jsgc.cpp : 2520 + 0xb]
    eip = 0x029b9c5c   esp = 0xbfd1fd80   ebp = 0xbfd1fea8   ebx = 0x033b403c
    esi = 0x00000005   edi = 0xbfd1fdf4
    Found by: call frame info
 3  libxul.so!GCCycle [jsgc.cpp : 4146 + 0x21]
    eip = 0x029bbd43   esp = 0xbfd1feb0   ebp = 0xbfd1ff08   ebx = 0x033b403c
    esi = 0x08bbd8a8   edi = 0x08bbdb30
    Found by: call frame info
 4  libxul.so!Collect [jsgc.cpp : 4264 + 0x1e]
    eip = 0x029bc226   esp = 0xbfd1ff10   ebp = 0xbfd1ff58   ebx = 0x033b403c
    esi = 0x08bbd8a8   edi = 0x08bbdb30
    Found by: call frame info
 5  libxul.so!js::GC [jsgc.cpp : 4287 + 0x26]
    eip = 0x029bc8b2   esp = 0xbfd1ff60   ebp = 0xbfd1ff78   ebx = 0x033b403c
    esi = 0x1136f590   edi = 0x00000001
    Found by: call frame info
 6  libxul.so!JSCompartment::addDebuggee(JSContext*, js::GlobalObject*) [jscompartment.h : 545 + 0x17]
    eip = 0x0297704d   esp = 0xbfd1ff80   ebp = 0xbfd1ffc8   ebx = 0x033b403c
    esi = 0x1136f590   edi = 0x00000001
    Found by: call frame info
 7  libxul.so!js::Debugger::addDebuggeeGlobal(JSContext*, JS::Handle<js::GlobalObject*>) [Debugger.cpp : 2083 + 0x1a]
    eip = 0x02b134fb   esp = 0xbfd1ffd0   ebp = 0xbfd20058   ebx = 0x033b403c
    esi = 0x00000001   edi = 0x098458f0
    Found by: call frame info
 8  libxul.so!js::Debugger::addDebuggee(JSContext*, unsigned int, JS::Value*) [Debugger.cpp : 1872 + 0xf]
    eip = 0x02b1de21   esp = 0xbfd20060   ebp = 0xbfd200c8   ebx = 0x033b403c
    esi = 0xbfd201f4   edi = 0x08c38528
    Found by: call frame info
 9  libxul.so!js::CallJSNative(JSContext*, int (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) [jscntxtinlines.h : 372 + 0xd]
    eip = 0x029e25b3   esp = 0xbfd200d0   ebp = 0xbfd20128   ebx = 0x033b403c
    esi = 0xbfd201f4   edi = 0xb31fe200
    Found by: call frame info
10  libxul.so!js::InvokeKernel(JSContext*, JS::CallArgs, js::MaybeConstruct) [jsinterp.cpp : 389 + 0x15]
    eip = 0x029f6ca9   esp = 0xbfd20130   ebp = 0xbfd201e8   ebx = 0x033b403c
    esi = 0x90231f88   edi = 0x90283e40
    Found by: call frame info
11  libxul.so!js::Interpret(JSContext*, js::StackFrame*, js::InterpMode) [jsinterp.cpp : 2348 + 0x23]
    eip = 0x029ec102   esp = 0xbfd201f0   ebp = 0xbfd20678   ebx = 0x033b403c
    esi = 0xbfd20448   edi = 0x08c38528
    Found by: call frame info
12  libxul.so!js::RunScript(JSContext*, JS::Handle<JSScript*>, js::StackFrame*) [jsinterp.cpp : 346 + 0x13]
    eip = 0x029f664b   esp = 0xbfd20680   ebp = 0xbfd206f8   ebx = 0x033b403c
    esi = 0x08c38528   edi = 0xb31fe158
    Found by: call frame info
13  libxul.so!js::InvokeKernel(JSContext*, JS::CallArgs, js::MaybeConstruct) [jsinterp.cpp : 404 + 0xf]
    eip = 0x029f6dd3   esp = 0xbfd20700   ebp = 0xbfd207b8   ebx = 0x033b403c
    esi = 0x00000000   edi = 0xbfd207c4
    Found by: call frame info
14  libxul.so!js::CallOrConstructBoundFunction(JSContext*, unsigned int, JS::Value*) [jsinterp.h : 112 + 0x1d]
    eip = 0x0299cd90   esp = 0xbfd207c0   ebp = 0xbfd20848   ebx = 0x033b403c
    esi = 0x09e51848   edi = 0x00000000
    Found by: call frame info
15  libxul.so!js::CallJSNative(JSContext*, int (*)(JSContext*, unsigned int, JS::Value*), JS::CallArgs const&) [jscntxtinlines.h : 372 + 0xd]
    eip = 0x029e25b3   esp = 0xbfd20850   ebp = 0xbfd208a8   ebx = 0x033b403c
    esi = 0xbfd20974   edi = 0xb31fe138
    Found by: call frame info
16  libxul.so!js::InvokeKernel(JSContext*, JS::CallArgs, js::MaybeConstruct) [jsinterp.cpp : 389 + 0x15]
    eip = 0x029f6ca9   esp = 0xbfd208b0   ebp = 0xbfd20968   ebx = 0x033b403c
    esi = 0x874c90a0   edi = 0x9a377a20
    Found by: call frame info
17  libxul.so!js::Interpret(JSContext*, js::StackFrame*, js::InterpMode) [jsinterp.cpp : 2348 + 0x23]
    eip = 0x029ec102   esp = 0xbfd20970   ebp = 0xbfd20df8   ebx = 0x033b403c
    esi = 0xbfd20bc8   edi = 0x08c38528
    Found by: call frame info
18  libxul.so!js::RunScript(JSContext*, JS::Handle<JSScript*>, js::StackFrame*) [jsinterp.cpp : 346 + 0x13]
    eip = 0x029f664b   esp = 0xbfd20e00   ebp = 0xbfd20e78   ebx = 0x033b403c
    esi = 0x08c38528   edi = 0xb31fe0f8
    Found by: call frame info
19  libxul.so!js::InvokeKernel(JSContext*, JS::CallArgs, js::MaybeConstruct) [jsinterp.cpp : 404 + 0xf]
    eip = 0x029f6dd3   esp = 0xbfd20e80   ebp = 0xbfd20f38   ebx = 0x033b403c
    esi = 0x00000000   edi = 0xbfd20f44
    Found by: call frame info
20  libxul.so!js::CallOrConstructBoundFunction(JSContext*, unsigned int, JS::Value*) [jsinterp.h : 112 + 0x1d]
    eip = 0x0299cd90   esp = 0xbfd20f40   ebp = 0xbfd20fc8   ebx = 0x033b403c
    esi = 0x093dc1c0   edi = 0x00000000
    Found by: call frame info

...
Assignee: nobody → general
Severity: normal → critical
Crash Signature: [@ JSRuntime::assertValidThread() const]
Component: Developer Tools: Debugger → JavaScript Engine
Keywords: crash
Product: Firefox → Core
Summary: Intermittent timeout in browser/devtools/debugger/test/browser_dbg_chrome-debugging.js | application timed out after 330 seconds with no output → Intermittent browser_dbg_chrome-debugging.js | application crashed [@ JSRuntime::assertValidThread() const]
(In reply to Ehsan Akhgari [:ehsan] from comment #1)
> https://tbpl.mozilla.org/php/getParsedLog.php?id=17914544&tree=Birch

This has a different stack.
I think we should group all the crashes in the chrome-debugging test that hit this assertion after GC activity that follows addDebuggee.
Resolving WFM keyword:intermittent-failure bugs last modified >3 months ago, whose whiteboard contains none of:
{random,disabled,marked,fuzzy,todo,fails,failing,annotated,time-bomb,leave open}

There will inevitably be some false positives; for that (and the bugspam) I apologise. Filter on orangewfm.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.