Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Detox 7.3.3 crashes when using bundle url #673

Closed
Gongreg opened this issue Apr 16, 2018 · 9 comments
Closed

Detox 7.3.3 crashes when using bundle url #673

Gongreg opened this issue Apr 16, 2018 · 9 comments

Comments

@Gongreg
Copy link

Gongreg commented Apr 16, 2018

Description

Detox crashes when running tests in debug mode (using bundle url instead of local bundle in the app).

This bug does not reproduce if simulator is freshly opened on packager is restarted. Only happens when running 2nd-3rd time and so on.

Error: the string "Signal 11 was raised
(
	0   Detox                               0x000000010f2284bf _ZL16__DTXHandleCrashP11NSExceptionP8NSNumberP8NSString + 469
	1   Detox                               0x000000010f22826b _ZL17__DTXHandleSignali + 54
	2   libsystem_platform.dylib            0x00000001153bbf5a _sigtramp + 26
	3   ???                                 0x00007000039eff10 0x0 + 123145363062544
	4   appName                       0x000000010ec51899 _ZN8facebook5react8Instance20loadScriptFromStringENSt3__110unique_ptrIKNS0_11JSBigStringENS2_14default_deleteIS5_EEEENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEb + 2809
	5   appName                       0x000000010ea7b066 __51-[RCTCxxBridge executeApplicationScript:url:async:]_block_invoke + 11462
	6   appName                       0x000000010ea85fac _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRU8__strongU13block_pointerFvvEEEEvDpOT_ + 60
	7   appName                       0x000000010ea85de9 _ZNSt3__110__function6__funcIU8__strongU13block_pointerFvvENS_9allocatorIS4_EES2_EclEv + 41
	8   appName                       0x000000010ead93fb _ZNKSt3__18functionIFvvEEclEv + 123
	9   appName                       0x000000010ead90e8 _ZN8facebook5react17tryAndReturnErrorERKNSt3__18functionIFvvEEE + 24
	10  appName                       0x000000010ea66e20 -[RCTCxxBridge _tryAndHandleError:] + 80
	11  appName                       0x000000010ea782ce -[RCTCxxBridge executeApplicationScript:url:async:] + 270
	12  appName                       0x000000010ea77c45 -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 437
	13  appName                       0x000000010ea7170c -[RCTCxxBridge executeSourceCode:sync:] + 540
	14  appName                       0x000000010ea69ee4 __21-[RCTCxxBridge start]_block_invoke.218 + 164
	15  libdispatch.dylib                   0x0000000114f09177 _dispatch_call_block_and_release + 12
	16  libdispatch.dylib                   0x0000000114f0a1ba _dispatch_client_callout + 8
	17  libdispatch.dylib                   0x0000000114f14b29 _dispatch_root_queue_drain + 993
	18  libdispatch.dylib                   0x0000000114f146ea _dispatch_worker_thread3 + 119
	19  libsystem_pthread.dylib             0x00000001153cd1ca _pthread_wqthread + 1387
	20  libsystem_pthread.dylib             0x00000001153ccc4d start_wqthread + 13
)" was thrown, throw an Error :)

Steps to Reproduce

Start the packager.
Run detox tests.
Run detox tests again.

Detox, Node, Device, Xcode and macOS Versions

  • Detox: 7.3.3
  • React Native: 0.51
  • Node: 8.7.0
  • Device: Iphone 7
  • Xcode: 9.2
  • macOS: 10.13.3

Device and verbose Detox logs

detox verb ws onOpen [object Object]
detox verb ws send: {"type":"login","params":{"sessionId":"c0c6626e-65ed-9951-cb3b-6824af91d092","role":"tester"},"messageId":0}
detox verb ws onMessage: {"type":"loginSuccess","params":{"sessionId":"c0c6626e-65ed-9951-cb3b-6824af91d092","role":"tester"},"messageId":0}
detox verb ws
detox verb 1: applesimutils --list "iPhone 7" --maxResults=1
detox info 1: Searching for device matching iPhone 7...
detox verb 1: stdout: [
detox verb 1: stdout:   {
detox verb 1: stdout:     "deviceType" : {
detox verb 1: stdout:       "name" : "iPhone 7",
detox verb 1: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7"
detox verb 1: stdout:     },
detox verb 1: stdout:     "state" : "Booted",
detox verb 1: stdout:     "availability" : "(available)",
detox verb 1: stdout:     "name" : "iPhone 7",
detox verb 1: stdout:     "udid" : "B1DEA2B0-0070-44B4-B5E0-5B5B6E86B013",
detox verb 1: stdout:     "os" : {
detox verb 1: stdout:       "version" : "11.2",
detox verb 1: stdout:       "availability" : "(available)",
detox verb 1: stdout:       "name" : "iOS 11.2",
detox verb 1: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 1: stdout:       "buildversion" : "15C107"
detox verb 1: stdout:     }
detox verb 1: stdout:   }
detox verb 1: stdout: ]
detox verb 1: stdout:
detox verb 2: applesimutils --list
detox verb 2: stdout: [
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "Apple TV",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-1080p"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "Apple TV",
detox verb 2: stdout:     "udid" : "44A2A966-A1DC-4E53-90B3-879EBE388296",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "tvOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.tvOS-11-2",
detox verb 2: stdout:       "buildversion" : "15K104"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "Apple TV 4K",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-4K"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "Apple TV 4K",
detox verb 2: stdout:     "udid" : "5E8150FE-25ED-4205-AC6C-97B9EF33BFA4",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "tvOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.tvOS-11-2",
detox verb 2: stdout:       "buildversion" : "15K104"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "Apple TV 4K (at 1080p)",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-TV-4K-1080p"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "Apple TV 4K (at 1080p)",
detox verb 2: stdout:     "udid" : "176B0AF6-D7AB-43E1-AB23-5C1FC34529EE",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "tvOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.tvOS-11-2",
detox verb 2: stdout:       "buildversion" : "15K104"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPad (5th generation)",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad--5th-generation-"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPad (5th generation)",
detox verb 2: stdout:     "udid" : "9E1273BE-85A0-4813-9B08-F278A088E5A2",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPad Air",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPad Air",
detox verb 2: stdout:     "udid" : "55461833-C609-42C4-8B88-C75E7E455A39",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPad Air 2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Air-2"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPad Air 2",
detox verb 2: stdout:     "udid" : "898BF8F9-960E-4216-A556-6FA6948EE5DB",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPad Pro (10.5-inch)",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--10-5-inch-"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPad Pro (10.5-inch)",
detox verb 2: stdout:     "udid" : "B087D018-6AEA-4ACD-A13F-558CCC576E11",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPad Pro (12.9-inch)",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPad Pro (12.9-inch)",
detox verb 2: stdout:     "udid" : "8EF40A13-E19C-48C2-8517-728606EEA7FF",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPad Pro (12.9-inch) (2nd generation)",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--12-9-inch---2nd-generation-"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPad Pro (12.9-inch) (2nd generation)",
detox verb 2: stdout:     "udid" : "2CF2FC74-8F0C-45C3-B451-E480F2C5E572",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPad Pro (9.7-inch)",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPad-Pro--9-7-inch-"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPad Pro (9.7-inch)",
detox verb 2: stdout:     "udid" : "62B320BB-5B14-488C-8839-23D9F2E3C8AA",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone 5s",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-5s"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone 5s",
detox verb 2: stdout:     "udid" : "5B7803FC-1FC8-403B-86DD-25CEAF00886F",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone 6",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Booted",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone 6",
detox verb 2: stdout:     "udid" : "79C392EF-7E3E-4DD0-8424-6D2D23F3AC84",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone 6 Plus",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6-Plus"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone 6 Plus",
detox verb 2: stdout:     "udid" : "8163E28E-45E5-4AD4-8E6B-A5BE175A54B8",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone 6s",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone 6s",
detox verb 2: stdout:     "udid" : "C3A931B0-D072-4E87-A1ED-E514AE140606",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone 6s Plus",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-6s-Plus"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone 6s Plus",
detox verb 2: stdout:     "udid" : "67DE27BB-B01E-4B4B-B285-74916713762C",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone 7",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Booted",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone 7",
detox verb 2: stdout:     "udid" : "B1DEA2B0-0070-44B4-B5E0-5B5B6E86B013",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone 7 Plus",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-7-Plus"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone 7 Plus",
detox verb 2: stdout:     "udid" : "3D2F798B-8EB4-4FBE-B7E6-3F1BF1D3B365",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone 8",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone 8",
detox verb 2: stdout:     "udid" : "DE319A3B-31B9-4DCE-AC24-368DCD452794",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone 8 Plus",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-8-Plus"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone 8 Plus",
detox verb 2: stdout:     "udid" : "915A9481-AF8F-46DD-BB63-40DD86A474F5",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone SE",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-SE"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone SE",
detox verb 2: stdout:     "udid" : "8568FA03-B25E-4A61-9F54-5C14A6E4E6F3",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "iPhone X",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.iPhone-X"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "iPhone X",
detox verb 2: stdout:     "udid" : "181CF71E-7697-4CB8-98AA-1743C11EDFD6",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "11.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "iOS 11.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.iOS-11-2",
detox verb 2: stdout:       "buildversion" : "15C107"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "Apple Watch - 38mm",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-38mm"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "Apple Watch - 38mm",
detox verb 2: stdout:     "udid" : "95EBA6B5-BF22-4D10-BE5B-8C41F5105B8B",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "4.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "watchOS 4.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.watchOS-4-2",
detox verb 2: stdout:       "buildversion" : "15S100"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "Apple Watch - 42mm",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-42mm"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "Apple Watch - 42mm",
detox verb 2: stdout:     "udid" : "B1F4CCE6-4154-4E2E-989C-60F15B9CB074",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "4.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "watchOS 4.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.watchOS-4-2",
detox verb 2: stdout:       "buildversion" : "15S100"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "Apple Watch Series 2 - 38mm",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-38mm"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "Apple Watch Series 2 - 38mm",
detox verb 2: stdout:     "udid" : "593FC14E-45C6-4723-8D44-06F59D0EBF33",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "4.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "watchOS 4.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.watchOS-4-2",
detox verb 2: stdout:       "buildversion" : "15S100"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "Apple Watch Series 2 - 42mm",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-2-42mm"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "Apple Watch Series 2 - 42mm",
detox verb 2: stdout:     "udid" : "56719A97-FB4A-4FD7-A7C1-9AD99C0B0D6F",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "4.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "watchOS 4.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.watchOS-4-2",
detox verb 2: stdout:       "buildversion" : "15S100"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "Apple Watch Series 3 - 38mm",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-38mm"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "Apple Watch Series 3 - 38mm",
detox verb 2: stdout:     "udid" : "9461A817-5509-4311-A75B-8833A9998CB3",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "4.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "watchOS 4.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.watchOS-4-2",
detox verb 2: stdout:       "buildversion" : "15S100"
detox verb 2: stdout:     }
detox verb 2: stdout:   },
detox verb 2: stdout:   {
detox verb 2: stdout:     "deviceType" : {
detox verb 2: stdout:       "name" : "Apple Watch Series 3 - 42mm",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimDeviceType.Apple-Watch-Series-3-42mm"
detox verb 2: stdout:     },
detox verb 2: stdout:     "state" : "Shutdown",
detox verb 2: stdout:     "availability" : "(available)",
detox verb 2: stdout:     "name" : "Apple Watch Series 3 - 42mm",
detox verb 2: stdout:     "udid" : "0DC32157-CB2C-4FA2-BC12-3736949367A1",
detox verb 2: stdout:     "os" : {
detox verb 2: stdout:       "version" : "4.2",
detox verb 2: stdout:       "availability" : "(available)",
detox verb 2: stdout:       "name" : "watchOS 4.2",
detox verb 2: stdout:       "identifier" : "com.apple.CoreSimulator.SimRuntime.watchOS-4-2",
detox verb 2: stdout:       "buildversion" : "15S100"
detox verb 2: stdout:     }
detox verb 2: stdout:   }
detox verb 2: stdout: ]
detox verb 2: stdout:
detox verb 3: /usr/bin/xcrun simctl uninstall B1DEA2B0-0070-44B4-B5E0-5B5B6E86B013 ent.wix.ios.dev
detox info 3: Uninstalling ent.wix.ios.dev...
detox info 3: ent.wix.ios.dev uninstalled
detox verb 4: /usr/bin/xcrun simctl install B1DEA2B0-0070-44B4-B5E0-5B5B6E86B013 "/Users/.../ios/build/Build/Products/Debug-iphonesimulator/app.app"
detox info 4: Installing /Users/.../ios/build/Build/Products/Debug-iphonesimulator/app.app...
detox info 4: /Users/.../ios/build/Build/Products/Debug-iphonesimulator/app.app installed
detox verb 5: /usr/bin/xcrun simctl terminate B1DEA2B0-0070-44B4-B5E0-5B5B6E86B013 ent.wix.ios.dev
detox info 5: Terminating ent.wix.ios.dev...
detox info 5: ent.wix.ios.dev terminated
detox verb 6: /bin/cat /dev/null >$HOME/Library/Developer/CoreSimulator/Devices/B1DEA2B0-0070-44B4-B5E0-5B5B6E86B013/data/tmp/detox.last_launch_app_log.out 2>$HOME/Library/Developer/CoreSimulator/Devices/B1DEA2B0-0070-44B4-B5E0-5B5B6E86B013/data/tmp/detox.last_launch_app_log.err && SIMCTL_CHILD_DYLD_INSERT_LIBRARIES="/Users/.../Library/Detox/ios/936f901f62c0bea62a8538a36fea6cbbd718896d/Detox.framework/Detox" /usr/bin/xcrun simctl launch --stdout=/tmp/detox.last_launch_app_log.out --stderr=/tmp/detox.last_launch_app_log.err B1DEA2B0-0070-44B4-B5E0-5B5B6E86B013 ent.wix.ios.dev --args -detoxServer ws://localhost:61658 -detoxSessionId c0c6626e-65ed-9951-cb3b-6824af91d092
detox info 6: Launching ent.wix.ios.dev...
detox verb 6: stdout: ent.wix.ios.dev: 44066
detox verb 6: stdout:
detox info 6: ent.wix.ios.dev launched. The stdout and stderr logs were recreated, you can watch them with:
        tail -F $HOME/Library/Developer/CoreSimulator/Devices/B1DEA2B0-0070-44B4-B5E0-5B5B6E86B013/data/tmp/detox.last_launch_app_log.{out,err}
detox verb ws send: {"type":"isReady","params":{},"messageId":-1000}
detox verb ws onMessage: {"type":"ready","messageId":-1000,"params":{}}
detox verb ws
  Sanity
detox verb ws send: {"type":"reactNativeReload","params":{},"messageId":-1000}
detox verb ws onMessage: {"type":"AppWillTerminateWithError","messageId":-10000,"params":{"threadNumber":10,"errorDetails":"Signal 11 was raised\n(\n\t0   Detox                               0x00000001020d74bf _ZL16__DTXHandleCrashP11NSExceptionP8NSNumberP8NSString + 469\n\t1   Detox                               0x00000001020d726b _ZL17__DTXHandleSignali + 54\n\t2   libsystem_platform.dylib            0x000000010a435f5a _sigtramp + 26\n\t3   ???                                 0x00007000037a2f10 0x0 + 123145360650000\n\t4   app                       0x0000000101b00899 _ZN8facebook5react8Instance20loadScriptFromStringENSt3__110unique_ptrIKNS0_11JSBigStringENS2_14default_deleteIS5_EEEENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEb + 2809\n\t5   app                       0x000000010192a066 __51-[RCTCxxBridge executeApplicationScript:url:async:]_block_invoke + 11462\n\t6   app                       0x0000000101934fac _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRU8__strongU13block_pointerFvvEEEEvDpOT_ + 60\n\t7   app                       0x0000000101934de9 _ZNSt3__110__function6__funcIU8__strongU13block_pointerFvvENS_9allocatorIS4_EES2_EclEv + 41\n\t8   app                       0x00000001019883fb _ZNKSt3__18functionIFvvEEclEv + 123\n\t9   app                       0x00000001019880e8 _ZN8facebook5react17tryAndReturnErrorERKNSt3__18functionIFvvEEE + 24\n\t10  app                       0x0000000101915e20 -[RCTCxxBridge _tryAndHandleError:] + 80\n\t11  app                       0x00000001019272ce -[RCTCxxBridge executeApplicationScript:url:async:] + 270\n\t12  app                       0x0000000101926c45 -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 437\n\t13  app                       0x000000010192070c -[RCTCxxBridge executeSourceCode:sync:] + 540\n\t14  app                       0x0000000101918ee4 __21-[RCTCxxBridge start]_block_invoke.218 + 164\n\t15  libdispatch.dylib                   0x0000000109f83177 _dispatch_call_block_and_release + 12\n\t16  libdispatch.dylib                   0x0000000109f841ba _dispatch_client_callout + 8\n\t17  libdispatch.dylib                   0x0000000109f8eb29 _dispatch_root_queue_drain + 993\n\t18  libdispatch.dylib                   0x0000000109f8e6ea _dispatch_worker_thread3 + 119\n\t19  libsystem_pthread.dylib             0x000000010a4471ca _pthread_wqthread + 1387\n\t20  libsystem_pthread.dylib             0x000000010a446c4d start_wqthread + 13\n)","queueName":"com.apple.root.user-interactive-qos"}}
detox verb ws
    1) "before all" hook

  Services
    Owner flow
detox verb ws send: {"type":"reactNativeReload","params":{},"messageId":-1000}
detox verb ws onMessage: {"type":"AppWillTerminateWithError","messageId":-10000,"params":{"threadNumber":12,"errorDetails":"Signal 11 was raised\n(\n\t0   Detox                               0x00000001020d74bf _ZL16__DTXHandleCrashP11NSExceptionP8NSNumberP8NSString + 469\n\t1   Detox                               0x00000001020d726b _ZL17__DTXHandleSignali + 54\n\t2   libsystem_platform.dylib            0x000000010a435f5a _sigtramp + 26\n\t3   ???                                 0x00007000038a8f10 0x0 + 123145361723152\n\t4   app                       0x0000000101b00899 _ZN8facebook5react8Instance20loadScriptFromStringENSt3__110unique_ptrIKNS0_11JSBigStringENS2_14default_deleteIS5_EEEENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEb + 2809\n\t5   app                       0x000000010192a066 __51-[RCTCxxBridge executeApplicationScript:url:async:]_block_invoke + 11462\n\t6   app                       0x0000000101934fac _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRU8__strongU13block_pointerFvvEEEEvDpOT_ + 60\n\t7   app                       0x0000000101934de9 _ZNSt3__110__function6__funcIU8__strongU13block_pointerFvvENS_9allocatorIS4_EES2_EclEv + 41\n\t8   app                       0x00000001019883fb _ZNKSt3__18functionIFvvEEclEv + 123\n\t9   app                       0x00000001019880e8 _ZN8facebook5react17tryAndReturnErrorERKNSt3__18functionIFvvEEE + 24\n\t10  app                       0x0000000101915e20 -[RCTCxxBridge _tryAndHandleError:] + 80\n\t11  app                       0x00000001019272ce -[RCTCxxBridge executeApplicationScript:url:async:] + 270\n\t12  app                       0x0000000101926c45 -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 437\n\t13  app                       0x000000010192070c -[RCTCxxBridge executeSourceCode:sync:] + 540\n\t14  app                       0x0000000101918ee4 __21-[RCTCxxBridge start]_block_invoke.218 + 164\n\t15  libdispatch.dylib                   0x0000000109f83177 _dispatch_call_block_and_release + 12\n\t16  libdispatch.dylib                   0x0000000109f841ba _dispatch_client_callout + 8\n\t17  libdispatch.dylib                   0x0000000109f8eb29 _dispatch_root_queue_drain + 993\n\t18  libdispatch.dylib                   0x0000000109f8e6ea _dispatch_worker_thread3 + 119\n\t19  libsystem_pthread.dylib             0x000000010a4471ca _pthread_wqthread + 1387\n\t20  libsystem_pthread.dylib             0x000000010a446c4d start_wqthread + 13\n)","queueName":"com.apple.root.user-interactive-qos"}}
detox verb ws
      2) "before each" hook for "should display empty state screen"

  Storybook
detox verb ws send: {"type":"reactNativeReload","params":{},"messageId":-1000}
detox verb ws onMessage: {"type":"AppWillTerminateWithError","messageId":-10000,"params":{"threadNumber":2,"errorDetails":"Signal 11 was raised\n(\n\t0   Detox                               0x00000001020d74bf _ZL16__DTXHandleCrashP11NSExceptionP8NSNumberP8NSString + 469\n\t1   Detox                               0x00000001020d726b _ZL17__DTXHandleSignali + 54\n\t2   libsystem_platform.dylib            0x000000010a435f5a _sigtramp + 26\n\t3   ???                                 0x000070000340df10 0x0 + 123145356893968\n\t4   app                       0x0000000101b00899 _ZN8facebook5react8Instance20loadScriptFromStringENSt3__110unique_ptrIKNS0_11JSBigStringENS2_14default_deleteIS5_EEEENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEb + 2809\n\t5   app                       0x000000010192a066 __51-[RCTCxxBridge executeApplicationScript:url:async:]_block_invoke + 11462\n\t6   app                       0x0000000101934fac _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRU8__strongU13block_pointerFvvEEEEvDpOT_ + 60\n\t7   app                       0x0000000101934de9 _ZNSt3__110__function6__funcIU8__strongU13block_pointerFvvENS_9allocatorIS4_EES2_EclEv + 41\n\t8   app                       0x00000001019883fb _ZNKSt3__18functionIFvvEEclEv + 123\n\t9   app                       0x00000001019880e8 _ZN8facebook5react17tryAndReturnErrorERKNSt3__18functionIFvvEEE + 24\n\t10  app                       0x0000000101915e20 -[RCTCxxBridge _tryAndHandleError:] + 80\n\t11  app                       0x00000001019272ce -[RCTCxxBridge executeApplicationScript:url:async:] + 270\n\t12  app                       0x0000000101926c45 -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 437\n\t13  app                       0x000000010192070c -[RCTCxxBridge executeSourceCode:sync:] + 540\n\t14  app                       0x0000000101918ee4 __21-[RCTCxxBridge start]_block_invoke.218 + 164\n\t15  libdispatch.dylib                   0x0000000109f83177 _dispatch_call_block_and_release + 12\n\t16  libdispatch.dylib                   0x0000000109f841ba _dispatch_client_callout + 8\n\t17  libdispatch.dylib                   0x0000000109f8eb29 _dispatch_root_queue_drain + 993\n\t18  libdispatch.dylib                   0x0000000109f8e6ea _dispatch_worker_thread3 + 119\n\t19  libsystem_pthread.dylib             0x000000010a4471ca _pthread_wqthread + 1387\n\t20  libsystem_pthread.dylib             0x000000010a446c4d start_wqthread + 13\n)","queueName":"com.apple.root.user-interactive-qos"}}
detox verb ws
    3) "before all" hook


  0 passing (8s)
  3 failing

  1) Sanity
       "before all" hook:
     Error: the string "Signal 11 was raised\n(\n\t0   Detox                               0x00000001020d74bf _ZL16__DTXHandleCrashP11NSExceptionP8NSNumberP8NSString + 469\n\t1   Detox                               0x00000001020d726b _ZL17__DTXHandleSignali + 54\n\t2   libsystem_platform.dylib            0x000000010a435f5a _sigtramp + 26\n\t3   ???                                 0x00007000037a2f10 0x0 + 123145360650000\n\t4   app                       0x0000000101b00899 _ZN8facebook5react8Instance20loadScriptFromStringENSt3__110unique_ptrIKNS0_11JSBigStringENS2_14default_deleteIS5_EEEENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEb + 2809\n\t5   app                       0x000000010192a066 __51-[RCTCxxBridge executeApplicationScript:url:async:]_block_invoke + 11462\n\t6   app                       0x0000000101934fac _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRU8__strongU13block_pointerFvvEEEEvDpOT_ + 60\n\t7   app                       0x0000000101934de9 _ZNSt3__110__function6__funcIU8__strongU13block_pointerFvvENS_9allocatorIS4_EES2_EclEv + 41\n\t8   app                       0x00000001019883fb _ZNKSt3__18functionIFvvEEclEv + 123\n\t9   app                       0x00000001019880e8 _ZN8facebook5react17tryAndReturnErrorERKNSt3__18functionIFvvEEE + 24\n\t10  app                       0x0000000101915e20 -[RCTCxxBridge _tryAndHandleError:] + 80\n\t11  app                       0x00000001019272ce -[RCTCxxBridge executeApplicationScript:url:async:] + 270\n\t12  app                       0x0000000101926c45 -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 437\n\t13  app                       0x000000010192070c -[RCTCxxBridge executeSourceCode:sync:] + 540\n\t14  app                       0x0000000101918ee4 __21-[RCTCxxBridge start]_block_invoke.218 + 164\n\t15  libdispatch.dylib                   0x0000000109f83177 _dispatch_call_block_and_release + 12\n\t16  libdispatch.dylib                   0x0000000109f841ba _dispatch_client_callout + 8\n\t17  libdispatch.dylib                   0x0000000109f8eb29 _dispatch_root_queue_drain + 993\n\t18  libdispatch.dylib                   0x0000000109f8e6ea _dispatch_worker_thread3 + 119\n\t19  libsystem_pthread.dylib             0x000000010a4471ca _pthread_wqthread + 1387\n\t20  libsystem_pthread.dylib             0x000000010a446c4d start_wqthread + 13\n)" was thrown, throw an Error :)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)

  2) Services
       "before each" hook for "should display empty state screen":
     Error: the string "Signal 11 was raised\n(\n\t0   Detox                               0x00000001020d74bf _ZL16__DTXHandleCrashP11NSExceptionP8NSNumberP8NSString + 469\n\t1   Detox                               0x00000001020d726b _ZL17__DTXHandleSignali + 54\n\t2   libsystem_platform.dylib            0x000000010a435f5a _sigtramp + 26\n\t3   ???                                 0x00007000038a8f10 0x0 + 123145361723152\n\t4   app                       0x0000000101b00899 _ZN8facebook5react8Instance20loadScriptFromStringENSt3__110unique_ptrIKNS0_11JSBigStringENS2_14default_deleteIS5_EEEENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEb + 2809\n\t5   app                       0x000000010192a066 __51-[RCTCxxBridge executeApplicationScript:url:async:]_block_invoke + 11462\n\t6   app                       0x0000000101934fac _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRU8__strongU13block_pointerFvvEEEEvDpOT_ + 60\n\t7   app                       0x0000000101934de9 _ZNSt3__110__function6__funcIU8__strongU13block_pointerFvvENS_9allocatorIS4_EES2_EclEv + 41\n\t8   app                       0x00000001019883fb _ZNKSt3__18functionIFvvEEclEv + 123\n\t9   app                       0x00000001019880e8 _ZN8facebook5react17tryAndReturnErrorERKNSt3__18functionIFvvEEE + 24\n\t10  app                       0x0000000101915e20 -[RCTCxxBridge _tryAndHandleError:] + 80\n\t11  app                       0x00000001019272ce -[RCTCxxBridge executeApplicationScript:url:async:] + 270\n\t12  app                       0x0000000101926c45 -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 437\n\t13  app                       0x000000010192070c -[RCTCxxBridge executeSourceCode:sync:] + 540\n\t14  app                       0x0000000101918ee4 __21-[RCTCxxBridge start]_block_invoke.218 + 164\n\t15  libdispatch.dylib                   0x0000000109f83177 _dispatch_call_block_and_release + 12\n\t16  libdispatch.dylib                   0x0000000109f841ba _dispatch_client_callout + 8\n\t17  libdispatch.dylib                   0x0000000109f8eb29 _dispatch_root_queue_drain + 993\n\t18  libdispatch.dylib                   0x0000000109f8e6ea _dispatch_worker_thread3 + 119\n\t19  libsystem_pthread.dylib             0x000000010a4471ca _pthread_wqthread + 1387\n\t20  libsystem_pthread.dylib             0x000000010a446c4d start_wqthread + 13\n)" was thrown, throw an Error :)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)

  3) Storybook
       "before all" hook:
     Error: the string "Signal 11 was raised\n(\n\t0   Detox                               0x00000001020d74bf _ZL16__DTXHandleCrashP11NSExceptionP8NSNumberP8NSString + 469\n\t1   Detox                               0x00000001020d726b _ZL17__DTXHandleSignali + 54\n\t2   libsystem_platform.dylib            0x000000010a435f5a _sigtramp + 26\n\t3   ???                                 0x000070000340df10 0x0 + 123145356893968\n\t4   app                       0x0000000101b00899 _ZN8facebook5react8Instance20loadScriptFromStringENSt3__110unique_ptrIKNS0_11JSBigStringENS2_14default_deleteIS5_EEEENS2_12basic_stringIcNS2_11char_traitsIcEENS2_9allocatorIcEEEEb + 2809\n\t5   app                       0x000000010192a066 __51-[RCTCxxBridge executeApplicationScript:url:async:]_block_invoke + 11462\n\t6   app                       0x0000000101934fac _ZNSt3__128__invoke_void_return_wrapperIvE6__callIJRU8__strongU13block_pointerFvvEEEEvDpOT_ + 60\n\t7   app                       0x0000000101934de9 _ZNSt3__110__function6__funcIU8__strongU13block_pointerFvvENS_9allocatorIS4_EES2_EclEv + 41\n\t8   app                       0x00000001019883fb _ZNKSt3__18functionIFvvEEclEv + 123\n\t9   app                       0x00000001019880e8 _ZN8facebook5react17tryAndReturnErrorERKNSt3__18functionIFvvEEE + 24\n\t10  app                       0x0000000101915e20 -[RCTCxxBridge _tryAndHandleError:] + 80\n\t11  app                       0x00000001019272ce -[RCTCxxBridge executeApplicationScript:url:async:] + 270\n\t12  app                       0x0000000101926c45 -[RCTCxxBridge enqueueApplicationScript:url:onComplete:] + 437\n\t13  app                       0x000000010192070c -[RCTCxxBridge executeSourceCode:sync:] + 540\n\t14  app                       0x0000000101918ee4 __21-[RCTCxxBridge start]_block_invoke.218 + 164\n\t15  libdispatch.dylib                   0x0000000109f83177 _dispatch_call_block_and_release + 12\n\t16  libdispatch.dylib                   0x0000000109f841ba _dispatch_client_callout + 8\n\t17  libdispatch.dylib                   0x0000000109f8eb29 _dispatch_root_queue_drain + 993\n\t18  libdispatch.dylib                   0x0000000109f8e6ea _dispatch_worker_thread3 + 119\n\t19  libsystem_pthread.dylib             0x000000010a4471ca _pthread_wqthread + 1387\n\t20  libsystem_pthread.dylib             0x000000010a446c4d start_wqthread + 13\n)" was thrown, throw an Error :)
      at <anonymous>
      at process._tickCallback (internal/process/next_tick.js:188:7)


@LeoNatan
Copy link
Contributor

Do restart the app or reload react native?

@Gongreg
Copy link
Author

Gongreg commented Apr 16, 2018

As I said, restarting the app does help. But not always. Seems flaky

@LeoNatan
Copy link
Contributor

The crash is in React Native, not in Detox.

@Gongreg
Copy link
Author

Gongreg commented Apr 16, 2018

It only crashes when running detox with packager.

@LeoNatan
Copy link
Contributor

Can't reproduce your issue. I wasn't able to last time we talked about it either.
Please create a demo project and see if you can reproduce there.

@rotemmiz
Copy link
Member

Seems like reloading react native was only tested manually in React Native.
The crash happens when Detox puts pressure on the reload mechanism. Seems like it does happen from time to time on debug builds, when Detox triggers reloadReactNative(), and the app is in the process of fetching data from the packager (maybe it manifests more frequently with bigger bundles, when it takes more time to download, parse and execute it).

@rotemmiz
Copy link
Member

I have a hunch its a react native bug, there's not a lot we can do here.

@yogeshthanvi
Copy link

@rotemmiz Any idea how we can resolve this

@LeoNatan
Copy link
Contributor

@yogeshthanvi Open an issue with React Native. In the mean time, use the launchApp() API instead of reloadReactNative().

@wix wix locked as resolved and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants