I've managed to mess up my Xcode Server, and am trying to run commands with xcscontrol to fix them. Unfortunately I'm running into issues.
Running xcscontrol commands always ends with the following termination:
xcscontrol[6416:126720] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'
My end goal is for my Mac to not have an Xcode Server running on it, so I can start clean again.
Here are some examples:
sudo xcrun xcscontrol --restart
*** (1/12) [START] Stopping builder
(1/12) [END - 0.13s] Stopping builder
*** (2/12) [START] Stopping control daemon
(2/12) [END - 0.00s] Stopping control daemon
*** (3/12) [START] Stopping API server
(3/12) [END - 0.00s] Stopping API server
*** (4/12) [START] Restarting Apache
*** (5/12) [START] Stopping CouchDB
*** (6/12) [START] Stopping Redis
(5/12) [END - 0.00s] Stopping CouchDB
(6/12) [END - 0.00s] Stopping Redis
(4/12) [END - 0.01s] Restarting Apache
*** (7/12) [START] Starting Redis
*** (8/12) [START] Starting CouchDB
(7/12) [END - 0.14s] Starting Redis
(8/12) [END - 1.11s] Starting CouchDB
*** (9/12) [START] Starting API server
(9/12) [END - 3.22s] Starting API server
*** (10/12) [START] Starting control daemon
*** (11/12) [START] Starting Apache
(10/12) [END - 0.07s] Starting control daemon
*** (12/12) [START] Starting builder
(12/12) [END - 0.07s] Starting builder
2019-02-06 10:40:54.347 xcscontrol[6416:126720] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff2fa96ecd __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff5bb52720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2fa96cff +[NSException raise:format:] + 201
3 Foundation 0x00007fff31d8bdf7 -[NSConcreteTask launchWithDictionary:error:] + 1306
4 XCSAdministration 0x000000010fdab0ab $S17XCSAdministration21DefaultProcessServiceC7executeyAA0C15ExecutionResultCAA0C11DescriptionCKFTf4nd_n + 891
5 XCSAdministration 0x000000010fda9ddf $S17XCSAdministration21DefaultProcessServiceC7executeyAA0C15ExecutionResultCAA0C11DescriptionCKFTo + 47
6 XCSAdministration 0x000000010fd44034 -[XCSStartApacheOperation run] + 1320
7 XCSAdministration 0x000000010fd66539 -[XCSInitializationOperation main] + 245
8 Foundation 0x00007fff31d54e4a -[__NSOperationInternal _start:] + 686
9 Foundation 0x00007fff31d7f54f __NSOQSchedule_f + 227
10 libdispatch.dylib 0x00007fff5cbd1d53 _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x00007fff5cbd2dcf _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff5cbd55dc _dispatch_continuation_pop + 427
13 libdispatch.dylib 0x00007fff5cbd4c7e _dispatch_async_redirect_invoke + 718
14 libdispatch.dylib 0x00007fff5cbe0d26 _dispatch_root_queue_drain + 325
15 libdispatch.dylib 0x00007fff5cbe14bd _dispatch_worker_thread2 + 90
16 libsystem_pthread.dylib 0x00007fff5ce136dd _pthread_wqthread + 619
17 libsystem_pthread.dylib 0x00007fff5ce13405 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
sudo xcrun xcscontrol --reset
*** (1/14) [START] Verifying that Xcode is accessible
(1/14) [END - 0.01s] Verifying that Xcode is accessible
*** (2/14) [START] Stopping builder
(2/14) [END - 0.07s] Stopping builder
*** (3/14) [START] Stopping control daemon
(3/14) [END - 0.07s] Stopping control daemon
*** (4/14) [START] Stopping API server
(4/14) [END - 0.14s] Stopping API server
*** (5/14) [START] Stopping CouchDB
*** (6/14) [START] Stopping Redis
*** (7/14) [START] Restarting Apache
(5/14) [END - 0.07s] Stopping CouchDB
(6/14) [END - 0.07s] Stopping Redis
2019-02-06 10:53:49.957 xcscontrol[7014:162414] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'launch path not accessible'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff2fa96ecd __exceptionPreprocess + 256
1 libobjc.A.dylib 0x00007fff5bb52720 objc_exception_throw + 48
2 CoreFoundation 0x00007fff2fa96cff +[NSException raise:format:] + 201
3 Foundation 0x00007fff31d8bdf7 -[NSConcreteTask launchWithDictionary:error:] + 1306
4 XCSAdministration 0x00000001075580ab $S17XCSAdministration21DefaultProcessServiceC7executeyAA0C15ExecutionResultCAA0C11DescriptionCKFTf4nd_n + 891
5 XCSAdministration 0x0000000107556ddf $S17XCSAdministration21DefaultProcessServiceC7executeyAA0C15ExecutionResultCAA0C11DescriptionCKFTo + 47
6 XCSAdministration 0x00000001074f153c -[XCSStartApacheOperation undo] + 489
7 XCSAdministration 0x0000000107513539 -[XCSInitializationOperation main] + 245
8 Foundation 0x00007fff31d54e4a -[__NSOperationInternal _start:] + 686
9 Foundation 0x00007fff31d7f54f __NSOQSchedule_f + 227
10 libdispatch.dylib 0x00007fff5cbd1d53 _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x00007fff5cbd2dcf _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff5cbd55dc _dispatch_continuation_pop + 427
13 libdispatch.dylib 0x00007fff5cbd4c7e _dispatch_async_redirect_invoke + 718
14 libdispatch.dylib 0x00007fff5cbe0d26 _dispatch_root_queue_drain + 325
15 libdispatch.dylib 0x00007fff5cbe14bd _dispatch_worker_thread2 + 90
16 libsystem_pthread.dylib 0x00007fff5ce136dd _pthread_wqthread + 619
17 libsystem_pthread.dylib 0x00007fff5ce13405 start_wqthread + 13
)
libc++abi.dylib: terminating with uncaught exception of type NSException
Abort trap: 6
Related
I'm using SinchRTC 3.11.1 in my IOS App. When I enter a video chat the following warnings are being produced because of the Sinch library. A few UI API calls are being done from a background thread instead of the main UI thread. Can these be fixed within the library?
Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 96751, TID: 7066961, Thread name: Sinch Worker Thread, Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 XXXXXX 0x0000000105d7eb41 -[SINClientImpl onPubSubSubscriptionConnectionEvent] + 66
5 XXXXXX 0x0000000105d7ec84 -[SINClientImpl onPubSubSubscriptionSuccess:] + 197
6 CoreFoundation 0x0000000108740a3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
7 CoreFoundation 0x000000010874093a _CFXRegistrationPost + 442
8 CoreFoundation 0x0000000108740682 ___CFXNotificationPost_block_invoke + 50
9 CoreFoundation 0x0000000108702a02 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1826
10 CoreFoundation 0x0000000108701b7c _CFXNotificationPost + 652
11 Foundation 0x0000000109ec0172 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
12 XXXXXX 0x0000000105d9b8c7 -[SINPubSubscriber notify:userInfo:] + 336
13 XXXXXX 0x0000000105d9ba46 -[SINPubSubscriber subscribeDidSucceedOnChannel:sequence:withRequestedTimetoken:] + 220
14 XXXXXX 0x0000000105d92515 -[PubnubSubscriber request:withInitialTimeToken:didSucceedWithResponse:] + 435
15 XXXXXX 0x0000000105d920d5 __43-[PubnubSubscriber subscribeWithTimeToken:]_block_invoke + 111
16 XXXXXX 0x0000000105d909ce __52-[PubnubService performRequest:onSuccess:onFailure:]_block_invoke.42 + 143
17 XXXXXX 0x0000000105d8ffc9 -[PubnubRequestOperation operationWillFinish] + 284
18 XXXXXX 0x0000000105d6902d -[SINQRunLoopOperation finishWithError:] + 70
19 XXXXXX 0x0000000105d68536 -[SINQHTTPOperation finishWithError:] + 41
20 CFNetwork 0x0000000107f7e0e5 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 53
21 CFNetwork 0x0000000107f7e00a -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 198
22 CFNetwork 0x0000000107f7df32 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48
23 CFNetwork 0x0000000107f823b3 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 100
24 CFNetwork 0x00000001081283cb ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 100
25 libdispatch.dylib 0x0000000110e8a658 _dispatch_client_callout + 8
26 libdispatch.dylib 0x0000000110e8fe6b _dispatch_block_invoke_direct + 589
27 CFNetwork 0x0000000107f7de04 _ZN19RunloopBlockContext13_invoke_blockEPKvPv + 24
28 CoreFoundation 0x00000001086f35d8 CFArrayApplyFunction + 72
29 CFNetwork 0x0000000107f7dcda _ZN19RunloopBlockContext7performEv + 132
30 CFNetwork 0x0000000107f7db78 _ZN17MultiplexerSource7performEv + 282
31 CFNetwork 0x0000000107f7d9ab _ZN17MultiplexerSource8_performEPv + 65
32 CoreFoundation 0x0000000108747e71 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
33 CoreFoundation 0x000000010872c56f __CFRunLoopDoSources0 + 271
34 CoreFoundation 0x000000010872bb1f __CFRunLoopRun + 1039
35 CoreFoundation 0x000000010872b499 CFRunLoopRunSpecific + 409
36 Foundation 0x0000000109eda22e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
37 XXXXXX 0x0000000105cf8bd8 _ZN4base20MessagePumpNSRunLoop2017-07-12 12:20:51.360149-0700 XXXXXX[96751:7066961] [reports] Main Thread Checker: UI API called on a background thread: -[UIApplication applicationState]
PID: 96751, TID: 7066961, Thread name: Sinch Worker Thread, Queue name: com.apple.root.default-qos.overcommit, QoS: 21
Backtrace:
4 XXXXXX 0x0000000105d7eb41 -[SINClientImpl onPubSubSubscriptionConnectionEvent] + 66
5 XXXXXX 0x0000000105d7ec84 -[SINClientImpl onPubSubSubscriptionSuccess:] + 197
6 CoreFoundation 0x0000000108740a3c __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 12
7 CoreFoundation 0x000000010874093a _CFXRegistrationPost + 442
8 CoreFoundation 0x0000000108740682 ___CFXNotificationPost_block_invoke + 50
9 CoreFoundation 0x0000000108702a02 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 1826
10 CoreFoundation 0x0000000108701b7c _CFXNotificationPost + 652
11 Foundation 0x0000000109ec0172 -[NSNotificationCenter postNotificationName:object:userInfo:] + 66
12 XXXXXX 0x0000000105d9b8c7 -[SINPubSubscriber notify:userInfo:] + 336
13 XXXXXX 0x0000000105d9ba46 -[SINPubSubscriber subscribeDidSucceedOnChannel:sequence:withRequestedTimetoken:] + 220
14 XXXXXX 0x0000000105d92515 -[PubnubSubscriber request:withInitialTimeToken:didSucceedWithResponse:] + 435
15 XXXXXX 0x0000000105d920d5 __43-[PubnubSubscriber subscribeWithTimeToken:]_block_invoke + 111
16 XXXXXX 0x0000000105d909ce __52-[PubnubService performRequest:onSuccess:onFailure:]_block_invoke.42 + 143
17 XXXXXX 0x0000000105d8ffc9 -[PubnubRequestOperation operationWillFinish] + 284
18 XXXXXX 0x0000000105d6902d -[SINQRunLoopOperation finishWithError:] + 70
19 XXXXXX 0x0000000105d68536 -[SINQHTTPOperation finishWithError:] + 41
20 CFNetwork 0x0000000107f7e0e5 __65-[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:]_block_invoke + 53
21 CFNetwork 0x0000000107f7e00a -[NSURLConnectionInternal _withConnectionAndDelegate:onlyActive:] + 198
22 CFNetwork 0x0000000107f7df32 -[NSURLConnectionInternal _withActiveConnectionAndDelegate:] + 48
23 CFNetwork 0x0000000107f823b3 ___ZN27URLConnectionClient_Classic26_delegate_didFinishLoadingEU13block_pointerFvvE_block_invoke + 100
24 CFNetwork 0x00000001081283cb ___ZN27URLConnectionClient_Classic18_withDelegateAsyncEPKcU13block_pointerFvP16_CFURLConnectionPK33CFURLConnectionClientCurrent_VMaxE_block_invoke_2 + 100
25 libdispatch.dylib 0x0000000110e8a658 _dispatch_client_callout + 8
26 libdispatch.dylib 0x0000000110e8fe6b _dispatch_block_invoke_direct + 589
27 CFNetwork 0x0000000107f7de04 _ZN19RunloopBlockContext13_invoke_blockEPKvPv + 24
28 CoreFoundation 0x00000001086f35d8 CFArrayApplyFunction + 72
29 CFNetwork 0x0000000107f7dcda _ZN19RunloopBlockContext7performEv + 132
30 CFNetwork 0x0000000107f7db78 _ZN17MultiplexerSource7performEv + 282
31 CFNetwork 0x0000000107f7d9ab _ZN17MultiplexerSource8_performEPv + 65
32 CoreFoundation 0x0000000108747e71 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
33 CoreFoundation 0x000000010872c56f __CFRunLoopDoSources0 + 271
34 CoreFoundation 0x000000010872bb1f __CFRunLoopRun + 1039
35 CoreFoundation 0x000000010872b499 CFRunLoopRunSpecific + 409
36 Foundation 0x0000000109eda22e -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 274
37 XXXXXX 0x0000000105cf8bd8 _ZN4base20MessagePumpNSRunLoop
=================================================================
Main Thread Checker: UI API called on a background thread: -[UIView layer]
PID: 96751, TID: 7066464, Thread name: (none), Queue name: com.sinch.SINVideoCapturer.session, QoS: 25
Backtrace:
4 XXXXXX 0x0000000105d66f4f -[SINVideoCapturer startWithPreset_sq:frameRate:] + 505
5 libdispatch.dylib 0x0000000110e8966d _dispatch_call_block_and_release + 12
6 libdispatch.dylib 0x0000000110e8a658 _dispatch_client_callout + 8
7 libdispatch.dylib 0x0000000110e9308c _dispatch_queue_serial_drain + 1173
8 libdispatch.dylib 0x0000000110e93aa5 _dispatch_queue_invoke + 342
9 libdispatch.dylib 0x0000000110e96d3b _dispatch_root_queue_drain + 785
10 libdispatch.dylib 0x0000000110e969c7 _dispatch_worker_thread4 + 54
11 libsystem_pthread.dylib 0x00000001112ed616 _pthread_wqthread + 1299
12 libsystem_pthread.dylib 0x00000001112ed0f1 start_wqthread + 13
2017-07-12 12:20:52.112965-0700 XXXXXX[96751:7066464] [reports] Main Thread Checker: UI API called on a background thread: -[UIView layer]
PID: 96751, TID: 7066464, Thread name: (none), Queue name: com.sinch.SINVideoCapturer.session, QoS: 25
Backtrace:
4 XXXXXX 0x0000000105d66f4f -[SINVideoCapturer startWithPreset_sq:frameRate:] + 505
5 libdispatch.dylib 0x0000000110e8966d _dispatch_call_block_and_release + 12
6 libdispatch.dylib 0x0000000110e8a658 _dispatch_client_callout + 8
7 libdispatch.dylib 0x0000000110e9308c _dispatch_queue_serial_drain + 1173
8 libdispatch.dylib 0x0000000110e93aa5 _dispatch_queue_invoke + 342
9 libdispatch.dylib 0x0000000110e96d3b _dispatch_root_queue_drain + 785
10 libdispatch.dylib 0x0000000110e969c7 _dispatch_worker_thread4 + 54
11 libsystem_pthread.dylib 0x00000001112ed616 _pthread_wqthread + 1299
12 libsystem_pthread.dylib 0x00000001112ed0f1 start_wqthread + 13
That is because Xcode 9 features a new main thread checker that checks whether UI API's are executed in Main thread. UI operations are bound to cause problems in a non-main thread. You have to update your SinchRTC to fix this runtime issue. The developers of SinchRTC should patch this and release an update. Hope this helps. For more info., refer this link.
The library should fix theses errors but if you want to disable it you can do it in the scheme, in the Diagnostics option.
We have over 20K crashes with the same error from the Xamarin AdMob bindings. Since they all mention MP4 I am wondering if it could be related to video ads but we only use AdMob for banner ads in our app.
Anyone have any tips to what can cause this? Since we can have 5000 crashes in a single day I feel it can't be "only" memory issues.
Fatal Exception: NSInvalidArgumentException
-[FNFLocalMp4Asset _absoluteURL]: unrecognized selector sent to instance 0x110df8ac0
Fatal Exception: NSInvalidArgumentException
0 CoreFoundation 0x1939501c0 __exceptionPreprocess
1 libobjc.A.dylib 0x19238855c objc_exception_throw
2 CoreFoundation 0x193957278 __methodDescriptionForSelector
3 CoreFoundation 0x193954278 ___forwarding___
4 CoreFoundation 0x19384e59c _CF_forwarding_prep_0
5 AVFoundation 0x19aff57cc -[AVPlayerItem initWithAsset:automaticallyLoadedAssetKeys:]
6 NDC2010 0x100199c74 GADAdSizeFromNSValue
7 NDC2010 0x1001c6eec GADAdSizeFromNSValue
8 libdispatch.dylib 0x1927d9200 _dispatch_call_block_and_release
9 libdispatch.dylib 0x1927d91c0 _dispatch_client_callout
10 libdispatch.dylib 0x1927ddd6c _dispatch_main_queue_callback_4CF
11 CoreFoundation 0x1938fdf2c __CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE__
12 CoreFoundation 0x1938fbb18 __CFRunLoopRun
13 CoreFoundation 0x19382a048 CFRunLoopRunSpecific
14 GraphicsServices 0x1952ad198 GSEventRunModal
15 UIKit 0x199804628 (Missing)
16 UIKit 0x1997ff360 (Missing)
17 NDC2010 0x100861614 WriteZStream
18 NDC2010 0x1007cf7dc WriteZStream
19 NDC2010 0x1003faee4 WriteZStream
20 NDC2010 0x100764664 WriteZStream
21 Mono 0x101469c08 (Missing)
22 Mono 0x1014daa6c (Missing)
23 Mono 0x1014dd050 (Missing)
24 Mono 0x1014dcc6c (Missing)
25 Mono 0x10144e224 (Missing)
26 NDC2010 0x1003f3f8c xamarin_GetFolderPath
27 NDC2010 0x100efa800 WriteZStream
28 libdispatch.dylib 0x19280c5b8 (Missing)
I build my Unity3d application for OSX.
But after sometime application crash when memory usage over 700 mb.
It exist limit memory usage for OSX applications? Can I receive memory warnings for OSX applications?
Crash log:
Crashed Thread: 20
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
*** error for object 0x11667b00: double free
Thread 0:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x961329e6 semaphore_signal_trap + 10
1 com.apple.CoreServices.CarbonCore 0x91a2d072 MPSignalSemaphore + 118
2 com.iphonesoft3g.texaspokermumac 0x00670303 PlatformSemaphore::Signal() + 19
....
Thread 20 crashed with X86 Thread State (32-bit):
eax: 0x00000000 ebx: 0x01341208 ecx: 0xb09c1e8c edx: 0x00000000
edi: 0xb09c3000 esi: 0x00000006 ebp: 0xb09c1ea8 esp: 0xb09c1e8c
ss: 0x00000023 efl: 0x00000206 eip: 0x9613869a cs: 0x0000000b
ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f
cr2: 0xa0fb51b4
UPDATED:
Thread 19:
0 libcrypto.0.9.7.dylib 0x97449118 bn_sqr_comba8 + 271
1 libcrypto.0.9.7.dylib 0x974565e1 bn_sqr_recursive + 257
2 libcrypto.0.9.7.dylib 0x97456600 bn_sqr_recursive + 288
3 libcrypto.0.9.7.dylib 0x97456358 BN_sqr + 388
4 libcrypto.0.9.7.dylib 0x974b3348 BN_mod_mul_montgomery + 84
5 libcrypto.0.9.7.dylib 0x974abb50 BN_mod_exp_mont_consttime + 1082
6 libcrypto.0.9.7.dylib 0x974aac75 BN_mod_exp_mont + 87
7 libcrypto.0.9.7.dylib 0x9748fb33 dh_bn_mod_exp + 126
8 libcrypto.0.9.7.dylib 0x9748fa2f compute_key + 254
9 libssl.0.9.7.dylib 0x94a33531 ssl3_connect + 7530
10 com.iphonesoft3g.texaspokermumac 0x000d640b ossl_connect_common + 155
11 com.iphonesoft3g.texaspokermumac 0x000d693d Curl_ossl_connect + 29
12 com.iphonesoft3g.texaspokermumac 0x000e81a5 Curl_ssl_connect + 53
13 com.iphonesoft3g.texaspokermumac 0x000c2c7a Curl_http_connect + 90
14 com.iphonesoft3g.texaspokermumac 0x000cca4e Curl_protocol_connect + 174
15 com.iphonesoft3g.texaspokermumac 0x000cd367 setup_conn + 535
16 com.iphonesoft3g.texaspokermumac 0x000cdbd0 Curl_async_resolved + 48
17 com.iphonesoft3g.texaspokermumac 0x000dc339 Curl_do_perform + 1801
18 com.iphonesoft3g.texaspokermumac 0x0018115c WWWCurl::GetURL(char const*) + 668
19 com.iphonesoft3g.texaspokermumac 0x0018127c WWWCurl::WWW_ThreadEntryPoint(void*) + 28
20 com.iphonesoft3g.texaspokermumac 0x003b6aa1 Thread::RunThreadWrapper(void*) + 65
21 libsystem_pthread.dylib 0x9b68de13 _pthread_body + 138
22 libsystem_pthread.dylib 0x9b68dd89 _pthread_start + 162
23 libsystem_pthread.dylib 0x9b68be52 thread_start + 34
Thread 20 Crashed:
0 libsystem_kernel.dylib 0x9613869a __pthread_kill + 10
1 libsystem_pthread.dylib 0x9b68ff19 pthread_kill + 101
2 libsystem_c.dylib 0x90ba9eee abort + 156
3 libmono.0.dylib 0x01341562 mono_handle_native_sigsegv + 881
4 libmono.0.dylib 0x0137ac7e sigabrt_signal_handler + 99
5 libsystem_platform.dylib 0x949d603b _sigtramp + 43
6 ??? 0xffffffff 0 + 4294967295
7 libmono.0.dylib 0x0137ac1b sigusr1_signal_handler + 159
8 libsystem_c.dylib 0x90ba9eee abort + 156
9 libsystem_malloc.dylib 0x96611561 szone_error + 450
10 libsystem_malloc.dylib 0x96611ea8 free_tiny_botch + 94
11 libsystem_malloc.dylib 0x966083f0 szone_free_definite_size + 1561
12 libsystem_malloc.dylib 0x96606e3a free + 301
13 libcrypto.0.9.7.dylib 0x9745f924 CRYPTO_free + 49
14 libcrypto.0.9.7.dylib 0x9745d163 lh_delete + 62
15 libcrypto.0.9.7.dylib 0x97480df6 int_thread_del_item + 102
16 libcrypto.0.9.7.dylib 0x97480689 ERR_remove_state + 60
17 com.iphonesoft3g.texaspokermumac 0x000d4d96 Curl_ossl_close_all + 22
18 com.iphonesoft3g.texaspokermumac 0x000d1f33 Curl_close + 211
19 com.iphonesoft3g.texaspokermumac 0x00181166 WWWCurl::GetURL(char const*) + 678
20 com.iphonesoft3g.texaspokermumac 0x0018127c WWWCurl::WWW_ThreadEntryPoint(void*) + 28
21 com.iphonesoft3g.texaspokermumac 0x003b6aa1 Thread::RunThreadWrapper(void*) + 65
22 libsystem_pthread.dylib 0x9b68de13 _pthread_body + 138
23 libsystem_pthread.dylib 0x9b68dd89 _pthread_start + 162
24 libsystem_pthread.dylib 0x9b68be52 thread_start + 34
Application crashed when WWWCurl GetURL.
This is crash reproduced on devices:
MacBookAir 6,2
OSX 10.10.2
curl version (7.37.1)
MacBook Pro(Retina, Mid 2012)
OSX 10.10.2
curl version (7.37.1)
After update curlib to version 7.41 I cannot reproduce this crash.
This one is quite weird. I recently upgraded to Mountain Lion on my dev machine and now every time I bring up the main project window of my app it crashes. The strange thing is that it only happens on 10.8.3 and it only happen if I sandbox the app. I have another test machine running 10.8.2 (also Mountain Lion) and the crash does not happen. Also, if I recreate the app without sandboxing it does not crash. This app is actually created with an implementation of common lisp the uses a cocoa bridge called CCL.
Here are some of the reports I get in the console when my app crashes:
4/19/13 11:30:15.605 AM AgentCubes[56676]: kCGErrorIllegalArgument: _getWindowRegion: Invalid window
4/19/13 11:30:15.606 AM AgentCubes[56676]: CGSSetWindowLevel: Invalid window 0x137c
4/19/13 11:30:15.607 AM AgentCubes[56676]: PSsetwindowlevel, error setting window level (1000)
4/19/13 11:30:15.607 AM AgentCubes[56676]: CGSClearWindowTags: Invalid window 0x137c
4/19/13 11:30:15.607 AM AgentCubes[56676]: CGSSetIgnoresCycle: error 1000 setting or clearing window tags
4/19/13 11:30:15.623 AM AgentCubes[56676]: *** Assertion failure in -[NativeScrollView scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:], /SourceCache/AppKit/AppKit-1187.37/AppKit.subproj/NSScrollView.m:5402
4/19/13 11:30:15.623 AM AgentCubes[56676]: An uncaught exception was raised
4/19/13 11:30:15.624 AM AgentCubes[56676]: Invalid parameter not satisfying: scrollerImpPair == SCROLLER_IMP_PAIR
and the big trace:
4/19/13 11:30:15.626 AM AgentCubes[56676]: (
0 CoreFoundation 0x99cbee9b __raiseError + 219
1 libobjc.A.dylib 0x90a6552e objc_exception_throw + 230
2 CoreFoundation 0x99c1e6a8 +[NSException raise:format:arguments:] + 136
3 Foundation 0x93dfb814 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
4 AppKit 0x977cd7ab -[NSScrollView(NSPrivate) scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:] + 150
5 AppKit 0x977cd6a5 +[NSScrollerImpPair _updateAllScrollerImpPairsForNewRecommendedScrollerStyle:] + 406
6 AppKit 0x977cd4ff +[NSScrollerImpPair _scrollerStyleRecommendationChanged:] + 159
7 Foundation 0x93e52152 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_0 + 49
8 CoreFoundation 0x99c80861 ___CFXNotificationPost_block_invoke_0 + 257
9 CoreFoundation 0x99bcbe9a _CFXNotificationPost + 2794
10 Foundation 0x93e3ac88 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
11 AppKit 0x977cd3f5 -[_NSScrollerStyleRecommender setRecommendedScrollerStyleAndNotify:] + 248
12 AppKit 0x977cd2e3 __75-[_NSScrollerStyleRecommender scrollerStyleRecommendationUpdateTimerFired:]_block_invoke_0 + 43
13 AppKit 0x97eff42f __block_global_0 + 32
14 libdispatch.dylib 0x98f10f8f _dispatch_call_block_and_release + 15
15 libdispatch.dylib 0x98f0cc82 _dispatch_client_callout + 46
16 libdispatch.dylib 0x98f122e3 _dispatch_main_queue_callback_4CF + 223
17 CoreFoundation 0x99bbac39 __CFRunLoopRun + 1961
18 CoreFoundation 0x99bba02a CFRunLoopRunSpecific + 378
19 CoreFoundation 0x99bb9e9b CFRunLoopRunInMode + 123
20 HIToolbox 0x91e16f5a RunCurrentEventLoopInMode + 242
21 HIToolbox 0x91e16cc9 ReceiveNextEventCommon + 374
22 HIToolbox 0x91e16b44 BlockUntilNextEventMatchingListInMode + 88
23 AppKit 0x976e99aa _DPSNextEvent + 724
24 AppKit 0x976e91dc -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
25 AppKit 0x976df63c -[NSApplication run] + 855
26 AgentCubes 0x0001991d ffcall_return + 0
27 ??? 0x003cbf9c 0x0 + 3981212
28 ??? 0x003cbf9c 0x0 + 3981212
29 AgentCubes 0x00019f79 func_start + 94
30 AgentCubes 0x0001c52e main + 1310
31 AgentCubes 0x00033fb4 _start + 207
32 AgentCubes 0x00033ee4 start + 40
)
and finally:
4/19/13 11:30:15.627 AM AgentCubes[56676]: *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Invalid parameter not satisfying: scrollerImpPair == SCROLLER_IMP_PAIR'
*** Call stack at first throw:
(
0 CoreFoundation 0x99cbee9b __raiseError + 219
1 libobjc.A.dylib 0x90a6552e objc_exception_throw + 230
2 CoreFoundation 0x99c1e6a8 +[NSException raise:format:arguments:] + 136
3 Foundation 0x93dfb814 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 116
4 AppKit 0x977cd7ab -[NSScrollView(NSPrivate) scrollerImpPair:updateScrollerStyleForNewRecommendedScrollerStyle:] + 150
5 AppKit 0x977cd6a5 +[NSScrollerImpPair _updateAllScrollerImpPairsForNewRecommendedScrollerStyle:] + 406
6 AppKit 0x977cd4ff +[NSScrollerImpPair _scrollerStyleRecommendationChanged:] + 159
7 Foundation 0x93e52152 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_0 + 49
8 CoreFoundation 0x99c80861 ___CFXNotificationPost_block_invoke_0 + 257
9 CoreFoundation 0x99bcbe9a _CFXNotificationPost + 2794
10 Foundation 0x93e3ac88 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92
11 AppKit 0x977cd3f5 -[_NSScrollerStyleRecommender setRecommendedScrollerStyleAndNotify:] + 248
12 AppKit 0x977cd2e3 __75-[_NSScrollerStyleRecommender scrollerStyleRecommendationUpdateTimerFired:]_block_invoke_0 + 43
13 AppKit 0x97eff42f __block_global_0 + 32
14 libdispatch.dylib 0x98f10f8f _dispatch_call_block_and_release + 15
15 libdispatch.dylib 0x98f0cc82 _dispatch_client_callout + 46
16 libdispatch.dylib 0x98f122e3 _dispatch_main_queue_callback_4CF + 223
17 CoreFoundation 0x99bbac39 __CFRunLoopRun + 1961
18 CoreFoundation 0x99bba02a CFRunLoopRunSpecific + 378
19 CoreFoundation 0x99bb9e9b CFRunLoopRunInMode + 123
20 HIToolbox 0x91e16f5a RunCurrentEventLoopInMode + 242
21 HIToolbox 0x91e16cc9 ReceiveNextEventCommon + 374
22 HIToolbox 0x91e16b44 BlockUntilNextEventMatchingListInMode + 88
23 AppKit 0x976e99aa _DPSNextEvent + 724
24 AppKit 0x976e91dc -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 119
25 AppKit 0x976df63c -[NSApplication run] + 855
26 AgentCubes 0x0001991d ffcall_return + 0
27 ??? 0x003cbf9c 0x0 + 3981212
28 ??? 0x003cbf9c 0x0 + 3981212
29 AgentCubes 0x00019f79 func_start + 94
30 AgentCubes 0x0001c52e main + 1310
31 AgentCubes 0x00033fb4 _start + 207
32 AgentCubes 0x00033ee4 start + 40
)
I am very confused by all this and I am wondering what could have changed in 10.8.3 that interacts badly with the sandboxing?
I am trying to build my app locally and get the following error:
**Unable to load realm mapping info from SCDynamicStore**
2012-12-03 18:13:23.910 java[1172:707] *** Terminating app due to uncaught exception 'JavaNativeException', reason: 'KrbException: Could not load configuration from SCDynamicStore'
*** First throw call stack:
(
0 CoreFoundation 0x00007fff919c30a6 __exceptionPreprocess + 198
1 libobjc.A.dylib 0x00007fff894ea3f0 objc_exception_throw + 43
2 CoreFoundation 0x00007fff91a57229 -[NSException raise] + 9
3 JavaNativeFoundation 0x0000000104260c3f JNFCallStaticVoidMethod + 213
4 libjava.jnilib 0x00000001042b0169 Java_sun_security_krb5_SCDynamicStoreConfig_installNotificationCallback + 450
5 JavaNativeFoundation 0x0000000104263182 JNFPerformEnvBlock + 86
6 SystemConfiguration 0x00007fff9327f12d rlsPerform + 116
7 CoreFoundation 0x00007fff91942101 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
8 CoreFoundation 0x00007fff91941a25 __CFRunLoopDoSources0 + 245
9 CoreFoundation 0x00007fff91964dc5 __CFRunLoopRun + 789
10 CoreFoundation 0x00007fff919646b2 CFRunLoopRunSpecific + 290
11 java 0x000000010394c843 java + 18499
12 java 0x000000010394c29a java + 17050
13 java 0x0000000103949a98 java + 6808
14 ??? 0x0000000000000008 0x0 + 8
)
libc++abi.dylib: terminate called throwing an exception
/bin/sh: line 1: 1172 Abort trap: 6 /System/Library/Java/JavaVirtualMachines/1.6.0.jdk/Contents/Home/bin/java -XX:+HeapDumpOnOutOfMemoryError -Xmx512M -XX:MaxPermSize=128M -jar /opt/pose/core/target/surefire/surefirebooter7934174390972693745.jar /opt/pose/core/target/surefire/surefire5395873653031509674tmp /opt/pose/core/target/surefire/surefire_01183106063530311982tmp
Results :
Tests run: 305, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
[INFO] ------------------------------------------------------------------------
[INFO] Trace
java.lang.RuntimeException: The forked VM terminated without saying properly goodbye. VM crash or System.exit called ?
at org.apache.maven.plugin.surefire.booterclient.output.ForkClient.close(ForkClient.java:245)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.fork(ForkStarter.java:282)
at org.apache.maven.plugin.surefire.booterclient.ForkStarter.run(ForkStarter.java:116)
at org.apache.maven.plugin.surefire.AbstractSurefireMojo.executeProvider(AbstractSurefireMojo.java:695)
at.........
This started happening after I upgraded my system to OS X 10.8.2. I also changed my hadoop-env.sh to have this value:
export HADOOP_OPTS="-Djava.security.krb5.realm=OX.AC.UK -Djava.security.krb5.kdc=kdc0.ox.ac.uk:kdc1.ox.ac.uk"
and also updated the hbase-env.sh to have:
export HBASE_OPTS="-ea -XX:+UseConcMarkSweepGC -XX:+CMSIncrementalMode -Djava.security.krb5.realm= -Djava.security.krb5.kdc="
I also installed the latest Xcode and all of no use.
export MAVEN_OPTS="-Djava.security.krb5.realm=OX.AC.UK -Djava.security.krb5.kdc=kdc0.ox.ac.uk:kdc1.ox.ac.uk"