Closed Bug 667452 Opened 13 years ago Closed 13 years ago

CRASH on Windows when testing JSD2

Categories

(Core :: JavaScript Engine, defect)

Other Branch
x86
Windows Vista
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: Honza, Unassigned)

Details

Attachments

(1 file)

I am experiencing a crash on Windows Vista when testing new JSDBG2.

Firefox built from this branch:
http://hg.mozilla.org/users/dcamp_campd.org/remote-debug/

STR:

1) Download the source and built Firefox under Windows.
2) Install this extension: https://github.com/campd/sample-debug-actors/
3) Restart and wait for some time (~10 sec) -> CRASH

Here is my stack trace:

> xul.dll!XPCJSRuntime::TraceJS(JSTracer * trc=0x0024d0b0, void *
> data=0x0317bc78)  Line 375	C++
> mozjs.dll!js::MarkRuntime(JSTracer * trc=0x0024d0b0)  Line 1846 + 0x19
> bytes	C++
> mozjs.dll!MarkAndSweep(JSContext * cx=0x041b5720, JSCompartment * 
> comp=0x00000000, JSGCInvocationKind gckind=GC_NORMAL, js::GCTimer &
> gcTimer={...})  Line 2278 + 0xc bytes	C++
> mozjs.dll!GCCycle(JSContext * cx=0x041b5720, JSCompartment * 
> comp=0x00000000, JSGCInvocationKind gckind=GC_NORMAL, js::GCTimer &
> gcTimer={...})  Line 2648 + 0x15 bytes	C++
> mozjs.dll!js_GC(JSContext * cx=0x041b5720, JSCompartment * 
> comp=0x00000000, JSGCInvocationKind gckind=GC_NORMAL)  Line 2713 + 0x15
> bytes	C++
> mozjs.dll!JS_CompartmentGC(JSContext * cx=0x041b5720, JSCompartment *
> comp=0x00000000)  Line 2615 + 0xf bytes	C++
> mozjs.dll!JS_GC(JSContext * cx=0x041b5720)  Line 2622 + 0xb bytes	C++
> xul.dll!nsXPConnect::Collect()  Line 413 + 0xa bytes	C++
> xul.dll!nsXPConnect::GarbageCollect()  Line 422	C++
> xul.dll!nsJSContext::GarbageCollectNow()  Line 3254	C++
> xul.dll!GCTimerFired(nsITimer * aTimer=0x043c6990, void *
> aClosure=0x00000000)  Line 3303	C++
> xul.dll!nsTimerImpl::Fire()  Line 424 + 0xe bytes	C++
> xul.dll!nsTimerEvent::Run()  Line 522	C++
> xul.dll!nsThread::ProcessNextEvent(int mayWait=1, int * result=0x0024d490)
> Line 618 + 0x19 bytes	C++

Honza
I'm pretty sure this was fixed with a merge from jsdbg2.  Honza, please verify.
Works as expected now, thanks Dave!

I am marking as Resolved/Fixed, but perhaps you want to use different flags.
Honza
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Component: JavaScript Debugging/Profiling APIs → JavaScript Engine
You need to log in before you can comment on or make changes to this bug.