[Webkit-unassigned] [Bug 135345] New: JSContext Inspector: crash when using step-into

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jul 28 12:04:16 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=135345

           Summary: JSContext Inspector: crash when using step-into
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Keywords: InRadar
          Severity: Normal
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org
                CC: timothy at apple.com, joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com,
                    graouts at webkit.org


* STEPS TO REPRODUCE
1. JSContext with "function a() { debugger; b() } function b() { console.log("b"); }"
2. Inspect JSContext
3. run a()
4. Step Into
 => CRASH

* DETAILS
Thread 0 name:  Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0   JavaScriptCore                    0x003db692 Inspector::InspectorDebuggerAgent::stepInto(WTF::String*) + 90
1   JavaScriptCore                    0x003db6b8 non-virtual thunk to Inspector::InspectorDebuggerAgent::stepInto(WTF::String*) + 24
2   JavaScriptCore                    0x003e60ce Inspector::InspectorDebuggerBackendDispatcher::stepInto(long, Inspector::InspectorObject const&) + 70
3   JavaScriptCore                    0x003e5136 Inspector::InspectorDebuggerBackendDispatcher::dispatch(long, WTF::String const&, WTF::PassRefPtr<Inspector::InspectorObject>) + 634
4   JavaScriptCore                    0x003cdf6c Inspector::InspectorBackendDispatcher::dispatch(WTF::String const&) + 1060
5   JavaScriptCore                    0x0048d3d4 Inspector::JSGlobalObjectInspectorController::dispatchMessageFromFrontend(WTF::String const&) + 40

Looks like we forgot to null check m_listener in this one place.

<rdar://problem/17364180>

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list