[Webkit-unassigned] [Bug 118655] New: Web Inspector: WebKitDeveloperExtras crash with latest nightly embedded in a Cocoa App

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 14 05:20:49 PDT 2013


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

           Summary: Web Inspector: WebKitDeveloperExtras crash with latest
                    nightly embedded in a Cocoa App
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh Intel
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Major
          Priority: P2
         Component: Web Inspector
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: mc at stuffmc.com
                CC: timothy at apple.com, joepeck at webkit.org,
                    webkit-bug-importer at group.apple.com, graouts at apple.com


following this nice tutorial (with the only difference that I needed to add @rpath as well to "Dynamic Library Install Name" — and that I didn't need WebCore in WebKit*), I have a built-in/frozen version of WebKit in my Cocoa App. Before anyone asks "WHHHYYY?" :) It's the life a contractor — the customers wants it, for various reasons.

All works fine, up until I use again the nice -WebKitDeveloperExtras YES Argument to have "Inspect Element" in my WebView. This works nicely with the "OS" Version of WebKit, but now it crashes on me with 

 *** -[NSURL initFileURLWithPath:]: nil string parameter

2013-07-14 13:30:42.157 MyApp [88000:303] (

    0   CoreFoundation                      0x00007fff8ad00b06 __exceptionPreprocess + 198

    1   libobjc.A.dylib                     0x00007fff8fcfe3f0 objc_exception_throw + 43

    2   CoreFoundation                      0x00007fff8ad008dc +[NSException raise:format:] + 204

    3   Foundation                          0x00007fff855dfe07 -[NSURL(NSURL) initFileURLWithPath:] + 81

    4   Foundation                          0x00007fff855dfd07 +[NSURL(NSURL) fileURLWithPath:] + 43

    5   WebKit                              0x0000000100604479 -[WebInspectorWindowController init] + 553

    6   WebKit                              0x000000010060450b -[WebInspectorWindowController initWithInspectedWebView:] + 27

    7   WebKit                              0x0000000100602ff1 _ZN18WebInspectorClient21openInspectorFrontendEPN7WebCore19InspectorControllerE + 65

    8   WebCore                             0x00000001013e896b _ZN7WebCore19InspectorController7inspectEPNS_4NodeE + 75

    9   WebCore                             0x0000000101002c66 _ZN7WebCore21ContextMenuController23contextMenuItemSelectedEPNS_15ContextMenuItemE + 2278

    10  WebKit                              0x00000001005edbc9 -[WebMenuTarget forwardContextMenuAction:] + 137

    11  AppKit                              0x00007fff89564959 -[NSApplication sendAction:to:from:] + 342

    12  AppKit                              0x00007fff8969a36c -[NSMenuItem _corePerformAction] + 406

    13  AppKit                              0x00007fff8969a05a -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 133

    14  AppKit                              0x00007fff8938720f -[NSMenu _internalPerformActionForItemAtIndex:] + 36

    15  AppKit                              0x00007fff89387097 -[NSCarbonMenuImpl _carbonCommandProcessEvent:handlerCallRef:] + 135

    16  AppKit                              0x00007fff89693165 NSSLMMenuEventHandler + 342

    17  HIToolbox                           0x00007fff8b326d1a _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1206

    18  HIToolbox                           0x00007fff8b3261e9 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 410

    19  HIToolbox                           0x00007fff8b33bfc9 SendEventToEventTarget + 40

    20  HIToolbox                           0x00007fff8b372ca9 _ZL18SendHICommandEventjPK9HICommandjjhPKvP20OpaqueEventTargetRefS5_PP14OpaqueEventRef + 443

    21  HIToolbox                           0x00007fff8b317a21 SendMenuCommandWithContextAndModifiers + 59

    22  HIToolbox                           0x00007fff8b3179d3 SendMenuItemSelectedEvent + 254

    23  HIToolbox                           0x00007fff8b31785f _ZL19FinishMenuSelectionP13SelectionDataP10MenuResultS2_ + 94

    24  HIToolbox                           0x00007fff8b48de79 _ZL19PopUpMenuSelectCoreP8MenuData5PointdS1_tjPK4RecttjS4_S4_PK10__CFStringPP13OpaqueMenuRefPt + 1673

    25  HIToolbox                           0x00007fff8b48d794 _HandlePopUpMenuSelection7 + 629

    26  AppKit                              0x00007fff8971656b _NSSLMPopUpCarbonMenu3 + 3916

    27  AppKit                              0x00007fff897155f8 -[NSCarbonMenuImpl _popUpContextMenu:withEvent:forView:withFont:] + 189

    28  AppKit                              0x00007fff8986fff3 -[NSMenu _popUpContextMenu:withEvent:forView:withFont:] + 200

    29  AppKit                              0x00007fff89a35937 -[NSView rightMouseDown:] + 130

    30  AppKit                              0x00007fff89764cfb -[NSControl _rightMouseUpOrDown:] + 534

    31  AppKit                              0x00007fff89559b81 -[NSWindow sendEvent:] + 8504

    32  AppKit                              0x00007fff89555644 -[NSApplication sendEvent:] + 5761

    33  AppKit                              0x00007fff8946b21a -[NSApplication run] + 636

    34  AppKit                              0x00007fff8940fbd6 NSApplicationMain + 869

-- 
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