[Webkit-unassigned] [Bug 204923] New: Web Inspector: evaluating alert(1) while staying on debugger in inline script triggers assertion in debug build

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 5 14:52:45 PST 2019


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

            Bug ID: 204923
           Summary: Web Inspector: evaluating alert(1) while staying on
                    debugger in inline script triggers assertion in debug
                    build
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: All
                OS: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Inspector
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: yurys at chromium.org
                CC: inspector-bugzilla-changes at group.apple.com

Created attachment 384962

  --> https://bugs.webkit.org/attachment.cgi?id=384962&action=review

Test page

Steps to reproduce with debug build:

1. Open inspector on the attached page.
2. Reload the page, wait for pause on debugger; statement.
3. Evaluate 'alert(1)' in the console.

Result:
Inspected WebProcess crashes with the following trace

../../Source/WebCore/dom/ScriptExecutionContext.cpp(257) : virtual void WebCore::ScriptExecutionContext::suspendActiveDOMObjects(WebCore::ReasonForSuspension)
1   0x7fac696b1959 /home/yurys/WebKit/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(WTFCrash+0x9) [0x7fac696b1959]
2   0x7fac7415a75b /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0x94fb75b) [0x7fac7415a75b]
3   0x7fac76e2d189 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore22ScriptExecutionContext23suspendActiveDOMObjectsENS_19ReasonForSuspensionE+0x89) [0x7fac76e2d189]
4   0x7fac76c8e6d4 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore8Document23suspendActiveDOMObjectsENS_19ReasonForSuspensionE+0x64) [0x7fac76c8e6d4]
5   0x7fac76c8cdc9 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore8Document21suspendScheduledTasksENS_19ReasonForSuspensionE+0xa9) [0x7fac76c8cdc9]
6   0x7fac7776f0f3 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore21PageGroupLoadDeferrerC2ERNS_4PageEb+0x133) [0x7fac7776f0f3]
7   0x7fac77656ecc /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore6Chrome18runJavaScriptAlertERNS_5FrameERKN3WTF6StringE+0x3c) [0x7fac77656ecc]
8   0x7fac7766f90f /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore9DOMWindow5alertERKN3WTF6StringE+0x11f) [0x7fac7766f90f]
9   0x7fac754f71ba /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0xa8981ba) [0x7fac754f71ba]
10  0x7fac754f6fe7 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0xa897fe7) [0x7fac754f6fe7]
11  0x7fac754aa6ff /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(+0xa84b6ff) [0x7fac754aa6ff]
12  0x7fac754aa3e4 /home/yurys/WebKit/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore32jsDOMWindowInstanceFunctionAlertEPN3JSC14JSGlobalObjectEPNS0_9CallFrameE+0x24) [0x7fac754aa3e4]
13  0x7fac07fff16b [0x7fac07fff16b]

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191205/336fc366/attachment.htm>


More information about the webkit-unassigned mailing list