RESOLVED WORKSFORME 161294
[iOS Simulator] dyld_sim crash on launch in macOS Sierra Beta using iOS SDK 9.3 (Xcode 7.3.1)
https://bugs.webkit.org/show_bug.cgi?id=161294
Summary [iOS Simulator] dyld_sim crash on launch in macOS Sierra Beta using iOS SDK 9...
Benjamin King
Reported 2016-08-27 15:56:49 PDT
Created attachment 287215 [details] MobileSafari crash report in the iOS Simulator WebKit SVN 205081 git-svn-id: http://svn.webkit.org/repository/webkit/trunk@205081 268f45cc-cd09-0410-ab3c-d52691b4dbfc iOS SDK 9.3 -- Xcode 7.3.1 macOS Sierra Beta 10.12 Beta (16A304a) Steps to reproduce: 1. Build WebKit: Tools/Scripts/build-webkit --ios-simulator using iOS SDK 9.3 in Xcode 7.3.1 (xcode-select -p => /Applications/Xcode.app/Contents/Developer) 2. Run MobileSafari with built WebKit: Tools/Scripts/run-safari --ios-simulator on macOS Sierra Beta 10.12 Beta (16A304a) Expected Result: MobileSafari should launch Actual Result: dyld_sim crashes which also crashes MobileSafari Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Signal: Trace/BPT trap: 5 Termination Reason: Namespace SIGNAL, Code 0x5 Terminating Process: exc handler [0] Application Specific Information: dyld: launch, loading dependent libraries DYLD_FRAMEWORK_PATH=/Users/king/Code/WebKit/WebKitBuild/Release-iphonesimulator DYLD_FALLBACK_LIBRARY_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib DYLD_ROOT_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk DYLD_FALLBACK_FRAMEWORK_PATH=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/System/Library/Frameworks DYLD_SHARED_REGION=avoid DYLD_LIBRARY_PATH=/Users/king/Code/WebKit/WebKitBuild/Release-iphonesimulator Thread 0 Crashed: 0 dyld_sim 0x00000001053b3001 dyld_fatal_error + 1 1 dyld_sim 0x00000001053b554a dyld::halt(char const*) + 77 2 dyld_sim 0x00000001053b6e06 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 2554 3 dyld_sim 0x00000001053b3251 start_sim + 136 4 dyld 0x0000000109da02ff dyld::useSimulatorDyld(int, macho_header const*, char const*, int, char const**, char const**, char const**, unsigned long*, unsigned long*) + 2246 5 dyld 0x0000000109d9e976 dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 238 6 dyld 0x0000000109d9a249 dyldbootstrap::start(macho_header const*, int, char const**, long, macho_header const*, unsigned long*) + 470 7 dyld 0x0000000109d9a036 _dyld_start + 54 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000109dd7000 rbx: 0x00000001053f7118 rcx: 0x00000001053f7300 rdx: 0x0000000000000000 rdi: 0x00000001053dba80 rsi: 0x0000000000000001 rbp: 0x00007fff5aa5e480 rsp: 0x00007fff5aa5e468 r8: 0x00000001053dbc68 r9: 0x00000000000001e8 r10: 0x00000001053dbc69 r11: 0x0000000000000000 r12: 0x0000000000000000 r13: 0x0000000000000002 r14: 0x00000001053dba80 r15: 0x0000000000000002 rip: 0x00000001053b3001 rfl: 0x0000000000000202 cr2: 0x00000001053d1169 Logical CPU: 0 Error Code: 0x00000000 Trap Number: 3 Binary Images: 0x10519d000 - 0x10532bfff com.apple.mobilesafari (9.0 - 601.1) <556874F8-CD7F-38C2-93F9-01EE30BACD2E> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/Applications/MobileSafari.app/MobileSafari 0x1053b2000 - 0x1053d9837 +dyld_sim (390.7) <49268249-F1CD-35FC-BFFD-B4B8F3751B0D> /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim
Attachments
MobileSafari crash report in the iOS Simulator (57.49 KB, application/octet-stream)
2016-08-27 15:56 PDT, Benjamin King
no flags
Benjamin King
Comment 1 2016-08-27 18:03:14 PDT
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@205091 268f45cc-cd09-0410-ab3c-d52691b4dbfc - 10 commits newer then previous commit iOS SDK 9.3 -- Xcode 7.3.1 macOS Sierra Beta 10.12 Beta (16A304a) run-webkit-tests --ios-simulator works. I see 2 iOS simulator running the layout tests. $ Tools/Scripts/run-webkit-tests --ios-simulator This machine could support 4 simulators, but is only configured for 2. Please see <https://trac.webkit.org/wiki/IncreasingKernelLimits>. Using port 'ios-simulator-sierra-wk2' Test configuration: <sierra, x86_64, release> Placing test results in /Users/king/Code/WebKit/WebKitBuild/Release-iphonesimulator/layout-test-results Baseline search path: platform/ios-simulator-wk2 -> platform/ios-simulator -> platform/wk2 -> generic Using Release build Pixel tests disabled Regular timeout: 30000, slow test timeout: 150000 Command line: /Users/king/Code/WebKit/WebKitBuild//Release/LayoutTestRelay -developerDir /Applications/Xcode.app/Contents/Developer -udid <dummy id> -productDir /Users/king/Code/WebKit/WebKitBuild/Release-iphonesimulator -app /Users/king/Code/WebKit/WebKitBuild/Release-iphonesimulator/WebKitTestRunnerApp.app -- - --lint-test-files warnings: LayoutTests/TestExpectations:596 Path does not exist. imported/w3c/web-platform-tests/tools Found 45627 tests; running 39261, skipping 6366. Running 39261 tests Creating app:/tmp/WebKitTestingSimulators/Simulator0.app /tmp/WebKitTestingSimulators/Simulator0.app: replacing existing signature Creating app:/tmp/WebKitTestingSimulators/Simulator1.app /tmp/WebKitTestingSimulators/Simulator1.app: replacing existing signature Waiting for all iOS Simulators to finish booting. Auto-installing package: resources Auto-installing package: webidl2 Auto-installing package: widlproc Auto-installing package: tools Auto-installing package: html5lib Auto-installing package: testdata Auto-installing package: pytest Auto-installing package: pywebsocket Auto-installing package: six Auto-installing package: webdriver Auto-installing package: wptserve Running 2 WebKitTestRunnerApp.apps in parallel. [1059/39259] animations/stop-animation-on-suspend.html failed unexpectedly (text diff) [1085/39259] animations/trigger-container-scroll-boundaries.html passed unexpectedly [1087/39259] animations/trigger-container-scroll-empty.html failed unexpectedly (text diff) [1218/39259] compositing/iframes/iframe-size-from-zero.html passed unexpectedly [1316/39259] compositing/masks/compositing-clip-path-change-no-repaint.html failed unexpectedly (text diff) compositing/overlap-blending/children-opacity-huge.html -> ref test hashes didn't match but diff passed compositing/overlap-blending/children-opacity-no-overlap.html -> ref test hashes didn't match but diff passed compositing/overlap-blending/nested-non-overlap-clipping.html -> ref test hashes didn't match but diff passed css3/filters/backdrop/backdrop-filter-with-clip-path.html is a reftest, but has an unused expectation file. Please remove /Users/king/Code/WebKit/LayoutTests/css3/filters/backdrop/backdrop-filter-with-clip-path-expected.txt. [3209/39259] css3/flexbox/image-percent-max-height.html passed unexpectedly [10785/39259] fast/css/sticky/inflow-sticky.html passed unexpectedly [10798/39259] fast/css/sticky/inline-sticky-abspos-child.html passed unexpectedly [10827/39259] fast/css/sticky/replaced-sticky.html passed unexpectedly [10830/39259] fast/css/sticky/sticky-as-positioning-container.html passed unexpectedly [10835/39259] fast/css/sticky/sticky-both-sides.html passed unexpectedly [10845/39259] fast/css/sticky/sticky-left.html passed unexpectedly [10851/39259] fast/css/sticky/sticky-margins.html passed unexpectedly [10880/39259] fast/css/sticky/sticky-side-margins.html passed unexpectedly [10896/39259] fast/css/sticky/sticky-table-row-top.html passed unexpectedly [10898/39259] fast/css/sticky/sticky-table-thead-top.html passed unexpectedly [10903/39259] fast/css/sticky/sticky-top-margins.html passed unexpectedly [10910/39259] fast/css/sticky/sticky-top-zoomed.html passed unexpectedly [10912/39259] fast/css/sticky/sticky-top.html passed unexpectedly [10918/39259] fast/css/sticky/sticky-writing-mode-horizontal-bt.html passed unexpectedly
Alexey Proskuryakov
Comment 2 2016-08-27 18:50:33 PDT
Does this work for you with the version of Xcode that ships with Sierra? I'm somewhat surprised that 7.3.1 works at all. Is there anything in console log that explains the crash?
Benjamin King
Comment 3 2016-08-27 20:29:10 PDT
macOS Sierra 10.12 Beta supports Xcode 7.3.1 and 8.0 Beta. When I try to build for the iOS Simulator using Xcode 8 Beta I get a build failure, see: https://bugs.webkit.org/show_bug.cgi?id=161296
Benjamin King
Comment 4 2016-09-09 11:23:55 PDT
Cannot reproduce using macOS Sierra GM and Xcode 8.0 GM. $ xcode-select -p /Applications/Xcode-8GM.app/Contents/Developer $ xcodebuild -version Xcode 8.0 Build version 8A218a $ sw_vers ProductName: Mac OS X ProductVersion: 10.12 BuildVersion: 16A319
Note You need to log in before you can comment on or make changes to this bug.