[Webkit-unassigned] [Bug 248049] New: Ventura Beta 16.1 - SafariForWebkitDevelopment crashes when opening settings

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Nov 17 11:02:22 PST 2022


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

            Bug ID: 248049
           Summary: Ventura Beta 16.1 - SafariForWebkitDevelopment crashes
                    when opening settings
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: tmm08a at acu.edu
                CC: kkinnunen at apple.com

Created attachment 463590

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

Safari Crash when opening Safari Settings

System details:
    * MBP w/ an intel i7 chip 
    * OS version: Ventura 13.1 beta (22c5033e)
    * Kernel version: 22.2.0
    * System firmware version: 1916.40.8.0.0

Webkit details:
    * Git head is at 8e78751b47200105b5533f13fdf31339351c1b21 (Github webkit)

After building SafariForWebkitDevelopment by doing:

./Tools/Scripts/set-webkit-configuration --release --asan
./Tools/Scripts/build-webkit -DENABLE_SANITIZERS=address

I then run Safari with:
./Tools/Scripts/run-safari --release

I get the attached crash log (crash.log.ips) when opening the settings menu, the terminal output is copy/pasted below:


tim at tims-MacBook-Pro WebKit % ./Tools/Scripts/run-safari --release                     
Starting SafariForWebKitDevelopment with DYLD_FRAMEWORK_PATH set to point to built WebKit in /Users/tim/Desktop/WebKit/WebKitBuild/Release.
SafariForWebKitDevelopment(41985,0x7ff853f3cf80) malloc: nano zone abandoned due to inability to preallocate reserved vm space.
2022-11-17 12:57:44.418 SafariForWebKitDevelopment[41985:401687] -[NSURL init] called; this results in an NSURL instance with an empty URL string. Please use one of the documented NSURL initialization methods instead (initWithString:, initFileURLWithPath:, etc.). This message shown only once.
2022-11-17 12:57:44.944 com.apple.WebKit.WebContent.Development[41989:401750] XType: Using static font registry.
2022-11-17 12:58:20.070 SafariForWebKitDevelopment[41985:401687] *** Assertion failure in -[NSMenuItem initWithTitle:action:keyEquivalent:], NSMenuItem.m:467
2022-11-17 12:58:20.072 SafariForWebKitDevelopment[41985:401687] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: aString != nil'
*** First throw call stack:
(
        0   CoreFoundation                      0x00007ff810a3543b __exceptionPreprocess + 242
        1   libobjc.A.dylib                     0x00007ff810583e25 objc_exception_throw + 48
        2   Foundation                          0x00007ff8118dafb0 -[NSCalendarDate initWithCoder:] + 0
        3   AppKit                              0x00007ff813af636c -[NSMenuItem initWithTitle:action:keyEquivalent:] + 363
        4   Safari                              0x00007ff91d7fdc21 +[NSMenuItem(BrowserExtras) safari_menuItemForFileAtPath:] + 140
        5   Safari                              0x00007ff91d6a47d0 -[GeneralPreferences _updateDownloadLocationMenu] + 158
        6   libclang_rt.asan_osx_dynamic.dylib  0x00000001047e310b __wrap_dispatch_async_block_invoke + 203
        7   libdispatch.dylib                   0x00007ff8107617fb _dispatch_call_block_and_release + 12
        8   libdispatch.dylib                   0x00007ff810762a44 _dispatch_client_callout + 8
        9   libdispatch.dylib                   0x00007ff81076f7b9 _dispatch_main_queue_drain + 952
        10  libdispatch.dylib                   0x00007ff81076f3f3 _dispatch_main_queue_callback_4CF + 31
        11  CoreFoundation                      0x00007ff8109fb640 __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__ + 9
        12  CoreFoundation                      0x00007ff8109bbbc0 __CFRunLoopRun + 2454
        13  CoreFoundation                      0x00007ff8109babb0 CFRunLoopRunSpecific + 560
        14  HIToolbox                           0x00007ff81a3b0bd6 RunCurrentEventLoopInMode + 292
        15  HIToolbox                           0x00007ff81a3b09e6 ReceiveNextEventCommon + 679
        16  HIToolbox                           0x00007ff81a3b0723 _BlockUntilNextEventMatchingListInModeWithFilter + 70
        17  AppKit                              0x00007ff813b02a13 _DPSNextEvent + 909
        18  AppKit                              0x00007ff813b01894 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1219
        19  Safari                              0x00007ff91d41c073 -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 224
        20  AppKit                              0x00007ff813af3ed3 -[NSApplication run] + 586
        21  AppKit                              0x00007ff813ac7f07 NSApplicationMain + 817
        22  Safari                              0x00007ff91d7c4797 SafariMain + 464
        23  dyld                                0x00007ff8105b0310 start + 2432
)
libc++abi: terminating with uncaught exception of type NSException

-- 
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/20221117/8bfd3fe6/attachment-0001.htm>


More information about the webkit-unassigned mailing list