This is a migrated thread and some comments may be shown as answers.

Fiddler wont load

2 Answers 104 Views
MacOS
This is a migrated thread and some comments may be shown as answers.
c
Top achievements
Rank 1
c asked on 16 Aug 2017, 10:18 AM

We have installed mono and fiddler as per the instructions here, but it just wont start. Any help much appreciated.

 

Errors are:

=================================================================
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 4827 detached
(lldb) quit
Abort trap: 6

 

In full below:

 

WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all
Stacktrace:


  at <unknown> <0xffffffff>
  at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon.CGDisplayBounds (intptr) [0x00002] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.XplatUICarbon.get_WorkingArea () [0x00005] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.XplatUICarbon.get_VirtualScreen () [0x00000] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.XplatUI.get_VirtualScreen () [0x00000] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.Screen..cctor () [0x00034] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <c9f8153c41de4f8cbafd0e32f9bf6b28>:0
  at <unknown> <0xffffffff>
  at System.Windows.Forms.Form.get_CreateParams () [0x00157] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.Control.CreateHandle () [0x0002a] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.Form.CreateHandle () [0x00000] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.Control.CreateControl () [0x00039] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.Control.SetVisibleCore (bool) [0x0003a] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.Form.SetVisibleCore (bool) [0x00065] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.Control.set_Visible (bool) [0x00009] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at System.Windows.Forms.Control.Show () [0x00000] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.Show () [0x00031] in <37dfd86a0d3248c0b8cd4af52ec71426>:0
  at Fiddler.frmViewer.‹• (string[]) [0x00081] in <09623c708fdb40a483cea147bbea7a7f>:0
  at Fiddler.frmViewer.‡• (string[]) [0x00016] in <09623c708fdb40a483cea147bbea7a7f>:0
  at (wrapper runtime-invoke) <Module>.runtime_invoke_void_object (object,intptr,intptr,intptr) [0x0004e] in <09623c708fdb40a483cea147bbea7a7f>:0


Native stacktrace:


0   mono                                0x0000000101a72061 mono_handle_native_crash + 257
1   mono                                0x0000000101ad7ec6 altstack_handle_and_restore + 70
2   SkyLight                            0x00007fffba686fc2 SLDisplayBounds + 50
3   ???                                 0x0000000109ad476e 0x0 + 4457318254
4   ???                                 0x0000000101ee141f 0x0 + 4327347231
5   mono                                0x00000001019c8505 mono_jit_runtime_invoke + 2245
6   mono                                0x0000000101bc9d48 do_runtime_invoke + 88
7   mono                                0x0000000101bc5cdd mono_runtime_class_init_full + 1021
8   mono                                0x00000001019c1efa mono_jit_compile_method_inner + 2442
9   mono                                0x00000001019c484a mono_jit_compile_method_with_opt + 714
10  mono                                0x0000000101a7466f common_call_trampoline + 1199
11  mono                                0x0000000101a74189 mono_magic_trampoline + 73
12  ???                                 0x0000000101e2939e 0x0 + 4326593438
13  ???                                 0x0000000109782fd5 0x0 + 4453838805
14  ???                                 0x0000000105a6c7b7 0x0 + 4389783479
15  ???                                 0x0000000105a6c480 0x0 + 4389782656
16  ???                                 0x0000000101ee100c 0x0 + 4327346188
17  mono                                0x00000001019c8505 mono_jit_runtime_invoke + 2245
18  mono                                0x0000000101bc9d48 do_runtime_invoke + 88
19  mono                                0x0000000101bcd1bc do_exec_main_checked + 140
20  mono                                0x0000000101a3734e mono_jit_exec + 302
21  mono                                0x0000000101a39757 mono_main + 8167
22  mono                                0x00000001019b959a main + 1690
23  mono                                0x00000001019b8ef4 start + 52


Debug info from gdb:


(lldb) command source -s 0 '/tmp/mono-gdb-commands.B7sYsu'
Executing commands in '/tmp/mono-gdb-commands.B7sYsu'.
(lldb) process attach --pid 4827
warning: (x86_64) /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/mono/4.5/mscorlib.dll.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
warning: (x86_64) /Library/Frameworks/Mono.framework/Versions/5.2.0/lib/libglib-2.0.0.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
Process 4827 stopped
* thread #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
    frame #0: 0x00007fffbe4653ee libsystem_kernel.dylib`__wait4 + 10
libsystem_kernel.dylib`__wait4:
->  0x7fffbe4653ee <+10>: jae    0x7fffbe4653f8            ; <+20>
    0x7fffbe4653f0 <+12>: movq   %rax, %rdi
    0x7fffbe4653f3 <+15>: jmp    0x7fffbe45dcd4            ; cerror
    0x7fffbe4653f8 <+20>: retq   


Executable module set to "/Library/Frameworks/Mono.framework/Versions/5.2.0/bin/mono".
Architecture set to: x86_64h-apple-macosx.
(lldb) thread list
Process 4827 stopped
* thread #1: tid = 0x1489ba, 0x00007fffbe4653ee libsystem_kernel.dylib`__wait4 + 10, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  thread #2: tid = 0x1489be, 0x00007fffbe464bf2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'SGen worker'
  thread #3: tid = 0x1489bf, 0x00007fffbe45d386 libsystem_kernel.dylib`semaphore_wait_trap + 10, name = 'Finalizer'
  thread #4: tid = 0x1489c0, 0x00007fffbe46544e libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #5: tid = 0x1489c1, 0x00007fffbe46544e libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #6: tid = 0x1489c2, 0x00007fffbe46544e libsystem_kernel.dylib`__workq_kernreturn + 10
  thread #7: tid = 0x148a30, 0x00007fffbe464bf2 libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Timer-Scheduler'
(lldb) thread backtrace all
* thread #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
  * frame #0: 0x00007fffbe4653ee libsystem_kernel.dylib`__wait4 + 10
    frame #1: 0x0000000101a720ed mono`mono_handle_native_crash(signal="SIGSEGV", ctx=<unavailable>, info=<unavailable>) at mini-exceptions.c:2555 [opt]
    frame #2: 0x0000000101ad7ec6 mono`altstack_handle_and_restore(ctx=0x00007fff5e247010, obj=0x0000000000000000, stack_ovf=0) at exceptions-amd64.c:795 [opt]
    frame #3: 0x00007fffba686fc2 SkyLight`SLDisplayBounds + 50
    frame #4: 0x0000000109ad476e
    frame #5: 0x0000000101ee141f
    frame #6: 0x00000001019c8505 mono`mono_jit_runtime_invoke(method=<unavailable>, obj=0x0000000000000000, params=<unavailable>, error=<unavailable>) at mini-runtime.c:2549 [opt]
    frame #7: 0x0000000101bc9d48 mono`do_runtime_invoke(method=0x00007ffc7b0941e8, obj=0x0000000000000000, params=0x0000000000000000, exc=0x00007fff5e2478e8, error=0x00007fff5e247ae8) at object.c:2829 [opt]
    frame #8: 0x0000000101bc5cdd mono`mono_runtime_class_init_full [inlined] mono_runtime_try_invoke(method=<unavailable>, obj=<unavailable>, params=<unavailable>, error=0x00007fff5e247ae8) at object.c:2937 [opt]
    frame #9: 0x0000000101bc5c9c mono`mono_runtime_class_init_full(vtable=0x00007ffc7b0b6330, error=0x00007fff5e247ae8) at object.c:471 [opt]
    frame #10: 0x00000001019c1efa mono`mono_jit_compile_method_inner(method=<unavailable>, target_domain=<unavailable>, opt=<unavailable>, error=0x00007fff5e247ae8) at mini.c:4365 [opt]
    frame #11: 0x00000001019c484a mono`mono_jit_compile_method_with_opt(method=<unavailable>, opt=<unavailable>, jit_only=0, error=<unavailable>) at mini-runtime.c:1889 [opt]
    frame #12: 0x0000000101a7466f mono`common_call_trampoline(regs=0x00007fff5e247bc8, code="H\x8b?H??\xa8H\x8b??8, m=<unavailable>, vt=0x0000000000000000, vtable_slot=0x0000000000000000, error=0x00007fff5e247ae8) at mini-trampolines.c:704 [opt]
    frame #13: 0x0000000101a74189 mono`mono_magic_trampoline(regs=<unavailable>, code=<unavailable>, arg=<unavailable>, tramp=<unavailable>) at mini-trampolines.c:834 [opt]
    frame #14: 0x0000000101e2939e
    frame #15: 0x0000000109782fd5
    frame #16: 0x0000000105a6c7b7
    frame #17: 0x0000000105a6c480
    frame #18: 0x0000000101ee100c
    frame #19: 0x00000001019c8505 mono`mono_jit_runtime_invoke(method=<unavailable>, obj=0x0000000000000000, params=<unavailable>, error=<unavailable>) at mini-runtime.c:2549 [opt]
    frame #20: 0x0000000101bc9d48 mono`do_runtime_invoke(method=0x00007ffc78c0bb98, obj=0x0000000000000000, params=0x00007fff5e248630, exc=0x0000000000000000, error=0x00007fff5e248680) at object.c:2829 [opt]
    frame #21: 0x0000000101bcd1bc mono`do_exec_main_checked [inlined] mono_runtime_invoke_checked(method=0x00007ffc78c0bb98, obj=<unavailable>, params=0x00000001020003e8, error=0x00007fff5e248680) at object.c:2983 [opt]
    frame #22: 0x0000000101bcd17b mono`do_exec_main_checked(method=0x00007ffc78c0bb98, args=<unavailable>, error=0x00007fff5e248680) at object.c:4623 [opt]
    frame #23: 0x0000000101a3734e mono`mono_jit_exec(domain=<unavailable>, assembly=<unavailable>, argc=1, argv=0x00007fff5e248ac0) at driver.g.c:1040 [opt]
    frame #24: 0x0000000101a39757 mono`mono_main [inlined] main_thread_handler at driver.g.c:1109 [opt]
    frame #25: 0x0000000101a39720 mono`mono_main(argc=<unavailable>, argv=<unavailable>) at driver.g.c:2247 [opt]
    frame #26: 0x00000001019b959a mono`main [inlined] mono_main_with_options(argc=2, argc=2, argc=2, argv=0x00007fff5e248ab8, argv=0x00007fff5e248ab8, argv=0x00007fff5e248ab8) at main.c:46 [opt]
    frame #27: 0x00000001019b9589 mono`main(argc=2, argv=0x00007fff5e248ab8) at main.c:339 [opt]
    frame #28: 0x00000001019b8ef4 mono`start + 52


  thread #2, name = 'SGen worker'
    frame #0: 0x00007fffbe464bf2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fffbe5507fa libsystem_pthread.dylib`_pthread_cond_wait + 712
    frame #2: 0x0000000101c40b55 mono`thread_func [inlined] mono_os_cond_wait(mutex=0x0000000101d96848) at mono-os-mutex.h:173 [opt]
    frame #3: 0x0000000101c40b46 mono`thread_func(thread_data=0x0000000101ed6108) at sgen-thread-pool.c:130 [opt]
    frame #4: 0x00007fffbe54f93b libsystem_pthread.dylib`_pthread_body + 180
    frame #5: 0x00007fffbe54f887 libsystem_pthread.dylib`_pthread_start + 286
    frame #6: 0x00007fffbe54f08d libsystem_pthread.dylib`thread_start + 13


  thread #3, name = 'Finalizer'
    frame #0: 0x00007fffbe45d386 libsystem_kernel.dylib`semaphore_wait_trap + 10
    frame #1: 0x0000000101bc2693 mono`finalizer_thread [inlined] mono_os_sem_wait(flags=MONO_SEM_FLAGS_ALERTABLE) at mono-os-semaphore.h:91 [opt]
    frame #2: 0x0000000101bc2688 mono`finalizer_thread [inlined] mono_coop_sem_wait(flags=MONO_SEM_FLAGS_ALERTABLE) at mono-coop-semaphore.h:43 [opt]
    frame #3: 0x0000000101bc2680 mono`finalizer_thread(unused=<unavailable>) at gc.c:866 [opt]
    frame #4: 0x0000000101b95a6b mono`start_wrapper [inlined] start_wrapper_internal at threads.c:829 [opt]
    frame #5: 0x0000000101b959d1 mono`start_wrapper(data=<unavailable>) at threads.c:891 [opt]
    frame #6: 0x00007fffbe54f93b libsystem_pthread.dylib`_pthread_body + 180
    frame #7: 0x00007fffbe54f887 libsystem_pthread.dylib`_pthread_start + 286
    frame #8: 0x00007fffbe54f08d libsystem_pthread.dylib`thread_start + 13


  thread #4
    frame #0: 0x00007fffbe46544e libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fffbe54f621 libsystem_pthread.dylib`_pthread_wqthread + 1426
    frame #2: 0x00007fffbe54f07d libsystem_pthread.dylib`start_wqthread + 13


  thread #5
    frame #0: 0x00007fffbe46544e libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fffbe54f48e libsystem_pthread.dylib`_pthread_wqthread + 1023
    frame #2: 0x00007fffbe54f07d libsystem_pthread.dylib`start_wqthread + 13


  thread #6
    frame #0: 0x00007fffbe46544e libsystem_kernel.dylib`__workq_kernreturn + 10
    frame #1: 0x00007fffbe54f621 libsystem_pthread.dylib`_pthread_wqthread + 1426
    frame #2: 0x00007fffbe54f07d libsystem_pthread.dylib`start_wqthread + 13


  thread #7, name = 'Timer-Scheduler'
    frame #0: 0x00007fffbe464bf2 libsystem_kernel.dylib`__psynch_cvwait + 10
    frame #1: 0x00007fffbe5507fa libsystem_pthread.dylib`_pthread_cond_wait + 712
    frame #2: 0x0000000101bb8197 mono`mono_os_cond_timedwait(cond=0x00007ffc790032d8, mutex=0x00007ffc79003298, timeout_ms=499) at mono-os-mutex.h:216 [opt]
    frame #3: 0x0000000101bb6d1d mono`mono_w32handle_timedwait_signal_handle [inlined] mono_w32handle_timedwait_signal_naked(cond=<unavailable>, mutex=<unavailable>, timeout=499, poll=0, alerted=<unavailable>) at w32handle.c:976 [opt]
    frame #4: 0x0000000101bb6d15 mono`mono_w32handle_timedwait_signal_handle(poll=0, handle=<unavailable>, timeout=<unavailable>, alerted=<unavailable>) at w32handle.c:1091 [opt]
    frame #5: 0x0000000101bb6bbb mono`mono_w32handle_wait_one(handle=0x0000000000000401, timeout=499, alertable=<unavailable>) at w32handle.c:1210 [opt]
    frame #6: 0x0000000101bb6e9e mono`mono_w32handle_wait_multiple(handles=<unavailable>, nhandles=<unavailable>, waitall=<unavailable>, timeout=<unavailable>, alertable=<unavailable>) at w32handle.c:1244 [opt]
    frame #7: 0x0000000101b905b3 mono`mono_wait_uninterrupted(thread=<unavailable>, numhandles=<unavailable>, handles=<unavailable>, waitall=<unavailable>, ms=<unavailable>, error=<unavailable>) at threads.c:1892 [opt]
    frame #8: 0x0000000101b908d0 mono`ves_icall_System_Threading_WaitHandle_WaitOne_internal(handle=0x0000000000000401, ms=-1) at threads.c:2017 [opt]
    frame #9: 0x0000000109acface
    frame #10: 0x0000000103b14fe0 mscorlib.dll.dylib`System_Threading_WaitHandle_InternalWaitOne_System_Runtime_InteropServices_SafeHandle_long_bool_bool + 64
    frame #11: 0x0000000103b14f8c mscorlib.dll.dylib`System_Threading_WaitHandle_WaitOne_long_bool + 44
    frame #12: 0x0000000103b14df3 mscorlib.dll.dylib`System_Threading_WaitHandle_WaitOne_int_bool + 51
    frame #13: 0x0000000103b14f1c mscorlib.dll.dylib`System_Threading_WaitHandle_WaitOne_int + 28
    frame #14: 0x0000000103b1b7f7 mscorlib.dll.dylib`System_Threading_Timer_Scheduler_SchedulerThread + 2423
    frame #15: 0x0000000103b0e177 mscorlib.dll.dylib`System_Threading_ThreadHelper_ThreadStart_Context_object + 151
    frame #16: 0x0000000103b0be11 mscorlib.dll.dylib`System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 33
    frame #17: 0x0000000103b0bda0 mscorlib.dll.dylib`System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object + 80
    frame #18: 0x0000000103b0e2bf mscorlib.dll.dylib`System_Threading_ThreadHelper_ThreadStart + 47
    frame #19: 0x0000000101eebb81
    frame #20: 0x00000001019c8505 mono`mono_jit_runtime_invoke(method=<unavailable>, obj=0x00000001020524d8, params=<unavailable>, error=<unavailable>) at mini-runtime.c:2549 [opt]
    frame #21: 0x0000000101bc9d48 mono`do_runtime_invoke(method=0x00007ffc791057b8, obj=0x00000001020524d8, params=0x000070000f0c7e58, exc=0x0000000000000000, error=0x000070000f0c7e60) at object.c:2829 [opt]
    frame #22: 0x0000000101b95a9e mono`start_wrapper [inlined] start_wrapper_internal at threads.c:837 [opt]
    frame #23: 0x0000000101b959d1 mono`start_wrapper(data=<unavailable>) at threads.c:891 [opt]
    frame #24: 0x00007fffbe54f93b libsystem_pthread.dylib`_pthread_body + 180
    frame #25: 0x00007fffbe54f887 libsystem_pthread.dylib`_pthread_start + 286
    frame #26: 0x00007fffbe54f08d libsystem_pthread.dylib`thread_start + 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 4827 detached
(lldb) quit
Abort trap: 6

2 Answers, 1 is accepted

Sort by
0
Xiaosong
Top achievements
Rank 1
answered on 16 Aug 2017, 09:43 PM
I had the same problem with mono 5.2. After I installed mono 5.0, it started, but didn't capture anything.
0
c
Top achievements
Rank 1
answered on 17 Aug 2017, 09:30 AM
Thank you, I'll give that a try
Tags
MacOS
Asked by
c
Top achievements
Rank 1
Answers by
Xiaosong
Top achievements
Rank 1
c
Top achievements
Rank 1
Share this question
or