question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Exception on starting test in os x 10.11.1 (15B42)

See original GitHub issue

Checkouted canopyStarterKit, it works fine on windows, but when I am running sh .\build.sh or sh .\build.sh All in os x I am getting exception (chrome window got opened with data:, in the url):

  mono  bin/canopyStarterKit/canopyStarterKit.exe --browser Chrome --tag All --testtype UnderDevelopment
  Starting ChromeDriver 2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4) on port 50756 
  Only local connections are allowed.
  Stacktrace:

  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon.CGDisplayBounds (intptr) <0xffffffff>
  at System.Windows.Forms.XplatUICarbon.get_WorkingArea () <0x00035>
  at System.Windows.Forms.XplatUICarbon.get_VirtualScreen () <0x00020>
  at System.Windows.Forms.XplatUI.get_VirtualScreen () <0x00025>
  at System.Windows.Forms.Screen..cctor () <0x0011f>
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at <unknown> <0xffffffff>
  at canopy.core.pin (canopy.types/direction) <0x00028>
  at canopy.core.start (canopy.types/BrowserStartMode) <0x01466>
  at Program.main (string[]) <0x00061>
  at (wrapper runtime-invoke) <Module>.runtime_invoke_int_object (object,intptr,intptr,intptr) <0xffffffff>


  Native stacktrace:


  Debug info from gdb:

  (lldb) command source -s 0 '/tmp/mono-gdb-commands.j7So8I'
  Executing commands in '/tmp/mono-gdb-commands.j7So8I'.
  (lldb) process attach --pid 97446
  Process 97446 stopped
  * thread #1: tid = 0xe86850, 0x00007fff9655072a libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
      frame #0: 0x00007fff9655072a libsystem_kernel.dylib`__wait4 + 10
  libsystem_kernel.dylib`__wait4:
  ->  0x7fff9655072a <+10>: jae    0x7fff96550734            ; <+20>
      0x7fff9655072c <+12>: movq   %rax, %rdi
      0x7fff9655072f <+15>: jmp    0x7fff9654b414            ; cerror
      0x7fff96550734 <+20>: retq   

  Executable module set to "/usr/local/bin/mono".
  Architecture set to: x86_64h-apple-macosx.
  (lldb) thread list
  Process 97446 stopped
  * thread #1: tid = 0xe86850, 0x00007fff9655072a libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    thread #2: tid = 0xe86851, 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
    thread #3: tid = 0xe86852, 0x00007fff9654acd2 libsystem_kernel.dylib`semaphore_wait_trap + 10
    thread #4: tid = 0xe86853, 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
    thread #5: tid = 0xe86854, 0x00007fff965510a2 libsystem_kernel.dylib`kevent_qos + 10, queue = 'com.apple.libdispatch-manager'
    thread #6: tid = 0xe86855, 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
    thread #7: tid = 0xe86856, 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
    thread #8: tid = 0xe8685d, 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
    thread #9: tid = 0xe8685e, 0x00007fff965502b2 libsystem_kernel.dylib`__semwait_signal + 10
    thread #10: tid = 0xe8685f, 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
    thread #11: tid = 0xe86860, 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
    thread #12: tid = 0xe86861, 0x00007fff96550222 libsystem_kernel.dylib`__select + 10
    thread #13: tid = 0xe86862, 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
    thread #14: tid = 0xe86937, 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
  (lldb) thread backtrace all
  * thread #1: tid = 0xe86850, 0x00007fff9655072a libsystem_kernel.dylib`__wait4 + 10, queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    * frame #0: 0x00007fff9655072a libsystem_kernel.dylib`__wait4 + 10
      frame #1: 0x000000010fb39a0b mono`mono_handle_native_sigsegv + 421
      frame #2: 0x000000010fb8815c mono`mono_arch_handle_altstack_exception + 90
      frame #3: 0x000000010faaa373 mono`mono_sigsegv_signal_handler + 430
      frame #4: 0x00007fff9b01252a libsystem_platform.dylib`_sigtramp + 26
      frame #5: 0x00007fff8c3f7e69 CoreGraphics`CGDisplayBounds + 48
      frame #6: 0x000000011435697f
      frame #7: 0x000000011011c30f
      frame #8: 0x000000010faac8ca mono`mono_jit_runtime_invoke + 1463
      frame #9: 0x000000010fc29c97 mono`mono_runtime_invoke + 110
      frame #10: 0x000000010fc2a159 mono`mono_runtime_class_init_full + 775
      frame #11: 0x000000010faa78ba mono`mono_jit_compile_method_inner + 2004
      frame #12: 0x000000010faa9dbd mono`mono_jit_compile_method_with_opt + 504
      frame #13: 0x000000010faa9b84 mono`mono_jit_compile_method + 42
      frame #14: 0x000000010fb3b238 mono`common_call_trampoline + 1180
      frame #15: 0x000000011005b189
      frame #16: 0x0000000113fc7969
      frame #17: 0x000000010faac8ca mono`mono_jit_runtime_invoke + 1463
      frame #18: 0x000000010fc29c97 mono`mono_runtime_invoke + 110
      frame #19: 0x000000010fc2e915 mono`mono_runtime_exec_main + 379
      frame #20: 0x000000010fb0f800 mono`mono_main + 6785
      frame #21: 0x00007fff9a64a5ad libdyld.dylib`start + 1

    thread #2: tid = 0xe86851, 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
      frame #0: 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
      frame #1: 0x00007fff9b8d873d libsystem_pthread.dylib`_pthread_cond_wait + 767
      frame #2: 0x000000010fc74811 mono`thread_func + 273
      frame #3: 0x00007fff9b8d79b1 libsystem_pthread.dylib`_pthread_body + 131
      frame #4: 0x00007fff9b8d792e libsystem_pthread.dylib`_pthread_start + 168
      frame #5: 0x00007fff9b8d5385 libsystem_pthread.dylib`thread_start + 13

    thread #3: tid = 0xe86852, 0x00007fff9654acd2 libsystem_kernel.dylib`semaphore_wait_trap + 10
      frame #0: 0x00007fff9654acd2 libsystem_kernel.dylib`semaphore_wait_trap + 10
      frame #1: 0x000000010fc913dc mono`mono_sem_wait + 29
      frame #2: 0x000000010fc27fa4 mono`finalizer_thread + 124
      frame #3: 0x000000010fc09ed1 mono`start_wrapper + 410
      frame #4: 0x000000010fc97bf9 mono`inner_start_thread + 197
      frame #5: 0x00007fff9b8d79b1 libsystem_pthread.dylib`_pthread_body + 131
      frame #6: 0x00007fff9b8d792e libsystem_pthread.dylib`_pthread_start + 168
      frame #7: 0x00007fff9b8d5385 libsystem_pthread.dylib`thread_start + 13

    thread #4: tid = 0xe86853, 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
      frame #0: 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
      frame #1: 0x00007fff9b8d758c libsystem_pthread.dylib`_pthread_wqthread + 1283
      frame #2: 0x00007fff9b8d5375 libsystem_pthread.dylib`start_wqthread + 13

    thread #5: tid = 0xe86854, 0x00007fff965510a2 libsystem_kernel.dylib`kevent_qos + 10, queue = 'com.apple.libdispatch-manager'
      frame #0: 0x00007fff965510a2 libsystem_kernel.dylib`kevent_qos + 10
      frame #1: 0x00007fff89ac211d libdispatch.dylib`_dispatch_mgr_invoke + 216
      frame #2: 0x00007fff89ac1d85 libdispatch.dylib`_dispatch_mgr_thread + 52

    thread #6: tid = 0xe86855, 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
      frame #0: 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
      frame #1: 0x00007fff9b8d758c libsystem_pthread.dylib`_pthread_wqthread + 1283
      frame #2: 0x00007fff9b8d5375 libsystem_pthread.dylib`start_wqthread + 13

    thread #7: tid = 0xe86856, 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
      frame #0: 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
      frame #1: 0x00007fff9b8d758c libsystem_pthread.dylib`_pthread_wqthread + 1283
      frame #2: 0x00007fff9b8d5375 libsystem_pthread.dylib`start_wqthread + 13

    thread #8: tid = 0xe8685d, 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
      frame #0: 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
      frame #1: 0x00007fff9b8d873d libsystem_pthread.dylib`_pthread_cond_wait + 767
      frame #2: 0x000000010fc792e4 mono`_wapi_handle_timedwait_signal_handle + 486
      frame #3: 0x000000010fc867ff mono`wapi_WaitForSingleObjectEx + 502
      frame #4: 0x000000010fc06b71 mono`mono_wait_uninterrupted + 112
      frame #5: 0x000000010fc06d48 mono`ves_icall_System_Threading_WaitHandle_WaitOne_internal + 78
      frame #6: 0x0000000113c21654
      frame #7: 0x0000000111ec447c mscorlib.dll.dylib`System_Threading_WaitHandle_WaitOne_int + 28
      frame #8: 0x0000000111ec3813 mscorlib.dll.dylib`System_Threading_Timer_Scheduler_SchedulerThread + 2467
      frame #9: 0x0000000111d1f48b mscorlib.dll.dylib`System_Threading_ThreadHelper_ThreadStart_Context_object + 155
      frame #10: 0x0000000111d1dbc1 mscorlib.dll.dylib`System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 33
      frame #11: 0x0000000111d1db4a mscorlib.dll.dylib`System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object + 90
      frame #12: 0x0000000111d1f5df mscorlib.dll.dylib`System_Threading_ThreadHelper_ThreadStart + 47
      frame #13: 0x000000011011dfb1
      frame #14: 0x000000010faac8ca mono`mono_jit_runtime_invoke + 1463
      frame #15: 0x000000010fc29c97 mono`mono_runtime_invoke + 110
      frame #16: 0x000000010fc09f0c mono`start_wrapper + 469
      frame #17: 0x000000010fc97bf9 mono`inner_start_thread + 197
      frame #18: 0x00007fff9b8d79b1 libsystem_pthread.dylib`_pthread_body + 131
      frame #19: 0x00007fff9b8d792e libsystem_pthread.dylib`_pthread_start + 168
      frame #20: 0x00007fff9b8d5385 libsystem_pthread.dylib`thread_start + 13

    thread #9: tid = 0xe8685e, 0x00007fff965502b2 libsystem_kernel.dylib`__semwait_signal + 10
      frame #0: 0x00007fff965502b2 libsystem_kernel.dylib`__semwait_signal + 10
      frame #1: 0x00007fff8c39ca75 libsystem_c.dylib`nanosleep + 199
      frame #2: 0x000000010fc88089 mono`wapi_SleepEx + 149
      frame #3: 0x000000010fc0c5d3 mono`monitor_thread + 142
      frame #4: 0x000000010fc09ed1 mono`start_wrapper + 410
      frame #5: 0x000000010fc97bf9 mono`inner_start_thread + 197
      frame #6: 0x00007fff9b8d79b1 libsystem_pthread.dylib`_pthread_body + 131
      frame #7: 0x00007fff9b8d792e libsystem_pthread.dylib`_pthread_start + 168
      frame #8: 0x00007fff9b8d5385 libsystem_pthread.dylib`thread_start + 13

    thread #10: tid = 0xe8685f, 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
      frame #0: 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
      frame #1: 0x00007fff9b8d873d libsystem_pthread.dylib`_pthread_cond_wait + 767
      frame #2: 0x000000010fc8ef20 mono`mono_cond_timedwait_ms + 141
      frame #3: 0x000000010fc0ccdb mono`worker_thread + 776
      frame #4: 0x000000010fc09ed1 mono`start_wrapper + 410
      frame #5: 0x000000010fc97bf9 mono`inner_start_thread + 197
      frame #6: 0x00007fff9b8d79b1 libsystem_pthread.dylib`_pthread_body + 131
      frame #7: 0x00007fff9b8d792e libsystem_pthread.dylib`_pthread_start + 168
      frame #8: 0x00007fff9b8d5385 libsystem_pthread.dylib`thread_start + 13

    thread #11: tid = 0xe86860, 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
      frame #0: 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
      frame #1: 0x00007fff9b8d873d libsystem_pthread.dylib`_pthread_cond_wait + 767
      frame #2: 0x000000010fc8ef20 mono`mono_cond_timedwait_ms + 141
      frame #3: 0x000000010fc0ccdb mono`worker_thread + 776
      frame #4: 0x000000010fc09ed1 mono`start_wrapper + 410
      frame #5: 0x000000010fc97bf9 mono`inner_start_thread + 197
      frame #6: 0x00007fff9b8d79b1 libsystem_pthread.dylib`_pthread_body + 131
      frame #7: 0x00007fff9b8d792e libsystem_pthread.dylib`_pthread_start + 168
      frame #8: 0x00007fff9b8d5385 libsystem_pthread.dylib`thread_start + 13

    thread #12: tid = 0xe86861, 0x00007fff96550222 libsystem_kernel.dylib`__select + 10
      frame #0: 0x00007fff96550222 libsystem_kernel.dylib`__select + 10
      frame #1: 0x000000010fc90e17 mono`mono_poll + 387
      frame #2: 0x000000010fc0e344 mono`poll_event_wait + 88
      frame #3: 0x000000010fc0dee1 mono`selector_thread + 933
      frame #4: 0x000000010fc09ed1 mono`start_wrapper + 410
      frame #5: 0x000000010fc97bf9 mono`inner_start_thread + 197
      frame #6: 0x00007fff9b8d79b1 libsystem_pthread.dylib`_pthread_body + 131
      frame #7: 0x00007fff9b8d792e libsystem_pthread.dylib`_pthread_start + 168
      frame #8: 0x00007fff9b8d5385 libsystem_pthread.dylib`thread_start + 13

    thread #13: tid = 0xe86862, 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
      frame #0: 0x00007fff9654ff5e libsystem_kernel.dylib`__psynch_cvwait + 10
      frame #1: 0x00007fff9b8d873d libsystem_pthread.dylib`_pthread_cond_wait + 767
      frame #2: 0x000000010fc8ef20 mono`mono_cond_timedwait_ms + 141
      frame #3: 0x000000010fc0ccdb mono`worker_thread + 776
      frame #4: 0x000000010fc09ed1 mono`start_wrapper + 410
      frame #5: 0x000000010fc97bf9 mono`inner_start_thread + 197
      frame #6: 0x00007fff9b8d79b1 libsystem_pthread.dylib`_pthread_body + 131
      frame #7: 0x00007fff9b8d792e libsystem_pthread.dylib`_pthread_start + 168
      frame #8: 0x00007fff9b8d5385 libsystem_pthread.dylib`thread_start + 13

    thread #14: tid = 0xe86937, 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
      frame #0: 0x00007fff9655078a libsystem_kernel.dylib`__workq_kernreturn + 10
      frame #1: 0x00007fff9b8d758c libsystem_pthread.dylib`_pthread_wqthread + 1283
      frame #2: 0x00007fff9b8d5375 libsystem_pthread.dylib`start_wqthread + 13
  (lldb) detach

  =================================================================
  Got a SIGSEGV while executing native code. This usually indicates
  a fatal error in the mono runtime or one of the native libraries 
  used by your application.
  =================================================================

  Process 97446 detached
  Running build failed.
  Error:
  System.Exception: Failed result from unit tests
    at FSI_0005.Build.run (System.String args) <0x10f640720 + 0x00117> in <filename unknown>:0 
    at FSI_0005.Build+clo@124-9.Invoke (Microsoft.FSharp.Core.Unit _arg1) <0x10f6406f0 + 0x0001a> in <filename unknown>:0 
    at Fake.TargetHelper+targetFromTemplate@195[a].Invoke (Microsoft.FSharp.Core.Unit unitVar0) <0x10f624aa0 + 0x00023> in <filename unknown>:0 
    at Fake.TargetHelper.runSingleTarget (Fake.TargetTemplate`1 target) <0x10f619150 + 0x000fd> in <filename unknown>:0 
  Status:        Failure
    1) System.Exception: Failed result from unit tests
    at FSI_0005.Build.run (System.String args) <0x10f640720 + 0x00117> in <filename unknown>:0 
    at FSI_0005.Build+clo@124-9.Invoke (Microsoft.FSharp.Core.Unit _arg1) <0x10f6406f0 + 0x0001a> in <filename unknown>:0 
    at Fake.TargetHelper+targetFromTemplate@195[a].Invoke (Microsoft.FSharp.Core.Unit unitVar0) <0x10f624aa0 + 0x00023> in <filename unknown>:0 
    at Fake.TargetHelper.runSingleTarget (Fake.TargetTemplate`1 target) <0x10f619150 + 0x000fd> in <filename unknown>:0 

  (lldb) quit

Tweaked build.fsx to start Safari instead of Chrome and getting this:

  mono  bin/canopyStarterKit/canopyStarterKit.exe --browser Safari --tag All --testtype All
  2016-04-25 03:34:20.004 Safari[97836:15239408] Connection error while checking Apple Internalness. Error: Error Domain=NSCocoaErrorDomain Code=4097 "connection to service named com.apple.CrashReporterSupportHelper" UserInfo={NSDebugDescription=connection to service named com.apple.CrashReporterSupportHelper}

Safari opens

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:21 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
baronfelcommented, Oct 11, 2016

that’s great! your repo works flawlessly for me, by the way. My chromedriver is newer (2.24 vs 2.21) but the one started by your repo is 2.22

0reactions
lefthandedgoatcommented, Oct 11, 2016

Also, clone your project, switched branches, and it runs for me.

iver/chromedriver.exe" to "/Users/cholt1/projects/fsharp-lang-suggestions/src/bin/Release/chromedriver.exe".
Done Building Project "/Users/cholt1/projects/fsharp-lang-suggestions/src/fslang-migration.fsproj" (default targets).
Done Building Project "/Users/cholt1/projects/fsharp-lang-suggestions/fslang-migration.sln" (default targets).

Build succeeded.
    0 Warning(s)
    0 Error(s)

Time Elapsed 00:00:05.49
Starting ChromeDriver 2.21.371459 (36d3d07f660ff2bc1bf28a75d1cdabed0983e7c4) on port 59411
Only local connections are allowed.
....
....
https://code.google.com/p/chromedriver/issues/detail?id=1249 for details and workarounds.
found 492 ideas
parsing idea 0: https://fslang.uservoice.com/forums/245727-f-language/suggestions/16529041-close-user-voice-in-favor-of-github-issues
Read more comments on GitHub >

github_iconTop Results From Across the Web

El Capitan update 10.11.1 freezes at login
I'm Unable to log into El Capitan after installing the update. Once I type my password, the cursor turns into the beachball and...
Read more >
Macbook Pro later 2011 with El Capitan Version 10.11.1 ...
I have a bootcamp installed Windows 8.1 and I was having no issue even after updating to El Capitan and now I got...
Read more >
OS X El Capitan / Sierra / High Sierra Hanging on Boot [FIXED]
Failed Update to El Capitan 10.11.​​ Once again my El Capitan upgrade didn't go very smoothly. Same as last time, my laptop failed...
Read more >
OS X El Capitan
OS X El Capitan version 10.11) is the twelfth major release of macOS Apple Inc.'s desktop and server operating system for Macintosh.
Read more >
Is there a fix for the "Too many open files in system" error ...
I need to get rid of the pesky "Too many open files in system" limit on OS X 10.7.1. Is there a way?...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found