Fiddler Ideas

The free web debugging proxy for any browser, system or platform.

[Bug] Fiddler doesn't work on macOS High Sierra

OS: macOS High Sierra 10.13.3

Mono: 5.8.0.108

 

Steps:

Start Fiddler: mono /PATH_TO_FIDDLER/fiddler.exe

 

Got:

Mono JIT compiler version 5.8.0.108 (2017-10/9aa78573ee2 Wed Jan 10 04:30:03 EST 2018)
Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com
TLS: normal
SIGSEGV: altstack
Notification: kqueue
Architecture: amd64
Disabled: none
Misc: softdebug
LLVM: yes(3.6.0svn-mono-master/8b1520c8aae)
GC: sgen (concurrent by default)
dsedchenko@HAL9000 ~ $ mono /Users/dsedchenko/Downloads/fiddler-mac/Fiddler.exe
WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all
Fontconfig warning: ignoring UTF-8: not a valid region tag
Fontconfig warning: ignoring UTF-8: not a valid region tag
Fontconfig warning: ignoring UTF-8: not a valid region tag
Fontconfig warning: ignoring UTF-8: not a valid region tag
Fontconfig warning: ignoring UTF-8: not a valid region tag
Fontconfig warning: ignoring UTF-8: not a valid region tag
Fontconfig warning: ignoring UTF-8: not a valid region tag
Stacktrace:
at <unknown> <0xffffffff>
at (wrapper managed-to-native) System.Windows.Forms.XplatUICarbon.CGDisplayBounds (intptr) [0x00002] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.XplatUICarbon.get_WorkingArea () [0x00005] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.XplatUICarbon.get_VirtualScreen () [0x00000] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.XplatUI.get_VirtualScreen () [0x00000] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Screen..cctor () [0x00034] in <1141838629e74c21a3b96d0a06337bad>:0
at (wrapper runtime-invoke) object.runtime_invoke_void (object,intptr,intptr,intptr) [0x0001e] in <ede5cf6930dc4b9a8366f15f6c89bbd0>:0
at <unknown> <0xffffffff>
at System.Windows.Forms.Form.get_CreateParams () [0x00157] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Control.CreateHandle () [0x0002a] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Form.CreateHandle () [0x00000] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Control.CreateControl () [0x00039] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Control.SetVisibleCore (bool) [0x0003a] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Form.SetVisibleCore (bool) [0x00065] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Control.set_Visible (bool) [0x00009] in <1141838629e74c21a3b96d0a06337bad>:0
at System.Windows.Forms.Control.Show () [0x00000] in <1141838629e74c21a3b96d0a06337bad>:0
at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control.Show () [0x00031] in <1141838629e74c21a3b96d0a06337bad>: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 0x000000010048cc01 mono_handle_native_crash + 257
1 mono 0x00000001004f7236 altstack_handle_and_restore + 70
2 SkyLight 0x00007fff55043fa8 SLDisplayBounds + 83
3 ??? 0x00000001078b469e 0x0 + 4421535390
4 ??? 0x0000000100a9f486 0x0 + 4306105478
5 mono 0x00000001003e34c7 mono_jit_runtime_invoke + 1383
6 mono 0x00000001005a3ed4 do_runtime_invoke + 84
7 mono 0x00000001005a0024 mono_runtime_class_init_full + 996
8 mono 0x00000001003dc7ce mono_jit_compile_method_inner + 2478
9 mono 0x00000001003df683 mono_jit_compile_method_with_opt + 1363
10 mono 0x000000010048f0c1 common_call_trampoline + 1217
11 mono 0x000000010048ebbc mono_magic_trampoline + 60
12 ??? 0x00000001008a639e 0x0 + 4304036766
13 ??? 0x000000010759ab4b 0x0 + 4418284363
14 ??? 0x00000001035f10cf 0x0 + 4351529167
15 ??? 0x00000001035f0d47 0x0 + 4351528263
16 ??? 0x0000000100a9f043 0x0 + 4306104387
17 mono 0x00000001003e34c7 mono_jit_runtime_invoke + 1383
18 mono 0x00000001005a3ed4 do_runtime_invoke + 84
19 mono 0x00000001005a74f9 do_exec_main_checked + 137
20 mono 0x00000001004504bf mono_jit_exec + 287
21 mono 0x0000000100452cb4 mono_main + 9140
22 mono 0x00000001003d2e8d main + 253
23 mono 0x00000001003d2d84 start + 52
24 ??? 0x0000000000000002 0x0 + 2
Debug info from gdb:
(lldb) command source -s 0 '/tmp/mono-gdb-commands.7WlBQc'
Executing commands in '/tmp/mono-gdb-commands.7WlBQc'.
(lldb) process attach --pid 63891
warning: (x86_64) /Library/Frameworks/Mono.framework/Versions/5.8.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.8.0/lib/libglib-2.0.0.dylib empty dSYM file detected, dSYM was created with an executable with no debug info.
Process 63891 stopped
* thread #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
frame #0: 0x00007fff5b063502 libsystem_kernel.dylib`__wait4 + 10
libsystem_kernel.dylib`__wait4:
-> 0x7fff5b063502 <+10>: jae 0x7fff5b06350c ; <+20>
0x7fff5b063504 <+12>: movq %rax, %rdi
0x7fff5b063507 <+15>: jmp 0x7fff5b05a0dd ; cerror
0x7fff5b06350c <+20>: retq
Target 0: (mono) stopped.
Executable module set to "/Library/Frameworks/Mono.framework/Versions/Current/Commands/mono".
Architecture set to: x86_64-apple-macosx.
(lldb) thread list
Process 63891 stopped
* thread #1: tid = 0xdb25f, 0x00007fff5b063502 libsystem_kernel.dylib`__wait4 + 10, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
thread #2: tid = 0xdb261, 0x00007fff5b062cee libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'SGen worker'
thread #3: tid = 0xdb264, 0x00007fff5b0597fe libsystem_kernel.dylib`semaphore_wait_trap + 10, name = 'Finalizer'
thread #4: tid = 0xdb27a, 0x00007fff5b063562 libsystem_kernel.dylib`__workq_kernreturn + 10
thread #5: tid = 0xdb27b, 0x00007fff5b063562 libsystem_kernel.dylib`__workq_kernreturn + 10
thread #6: tid = 0xdb283, 0x00007fff5b063562 libsystem_kernel.dylib`__workq_kernreturn + 10
thread #7: tid = 0xdb293, 0x00007fff5b062cee libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Timer-Scheduler'
thread #8: tid = 0xdb29a, 0x00007fff5b062cee libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'tid_a503'
thread #9: tid = 0xdb29b, 0x00007fff5b062cee libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Threadpool worker'
thread #10: tid = 0xdb29c, 0x00007fff5b062cee libsystem_kernel.dylib`__psynch_cvwait + 10, name = 'Threadpool worker'
(lldb) thread backtrace all
* thread #1, name = 'tid_307', queue = 'com.apple.main-thread', stop reason = signal SIGSTOP
* frame #0: 0x00007fff5b063502 libsystem_kernel.dylib`__wait4 + 10
frame #1: 0x000000010048cc8e mono`mono_handle_native_crash + 398
frame #2: 0x00000001004f7236 mono`altstack_handle_and_restore + 70
frame #3: 0x00007fff55043fa8 SkyLight`SLDisplayBounds + 83
frame #4: 0x00000001078b469e
frame #5: 0x0000000100a9f486
frame #6: 0x00000001003e34c7 mono`mono_jit_runtime_invoke + 1383
frame #7: 0x00000001005a3ed4 mono`do_runtime_invoke + 84
frame #8: 0x00000001005a0024 mono`mono_runtime_class_init_full + 996
frame #9: 0x00000001003dc7ce mono`mono_jit_compile_method_inner + 2478
frame #10: 0x00000001003df683 mono`mono_jit_compile_method_with_opt + 1363
frame #11: 0x000000010048f0c1 mono`common_call_trampoline + 1217
frame #12: 0x000000010048ebbc mono`mono_magic_trampoline + 60
frame #13: 0x00000001008a639e
frame #14: 0x000000010759ab4b
frame #15: 0x00000001035f10cf
frame #16: 0x00000001035f0d47
frame #17: 0x0000000100a9f043
frame #18: 0x00000001003e34c7 mono`mono_jit_runtime_invoke + 1383
frame #19: 0x00000001005a3ed4 mono`do_runtime_invoke + 84
frame #20: 0x00000001005a74f9 mono`do_exec_main_checked + 137
frame #21: 0x00000001004504bf mono`mono_jit_exec + 287
frame #22: 0x0000000100452cb4 mono`mono_main + 9140
frame #23: 0x00000001003d2e8d mono`main + 253
frame #24: 0x00000001003d2d84 mono`start + 52
thread #2, name = 'SGen worker'
frame #0: 0x00007fff5b062cee libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff5b19f662 libsystem_pthread.dylib`_pthread_cond_wait + 732
frame #2: 0x000000010065cc9e mono`thread_func + 542
frame #3: 0x00007fff5b19e6c1 libsystem_pthread.dylib`_pthread_body + 340
frame #4: 0x00007fff5b19e56d libsystem_pthread.dylib`_pthread_start + 377
frame #5: 0x00007fff5b19dc5d libsystem_pthread.dylib`thread_start + 13
thread #3, name = 'Finalizer'
frame #0: 0x00007fff5b0597fe libsystem_kernel.dylib`semaphore_wait_trap + 10
frame #1: 0x000000010060941c mono`finalizer_thread + 556
frame #2: 0x00000001005c56d0 mono`start_wrapper + 704
frame #3: 0x00007fff5b19e6c1 libsystem_pthread.dylib`_pthread_body + 340
frame #4: 0x00007fff5b19e56d libsystem_pthread.dylib`_pthread_start + 377
frame #5: 0x00007fff5b19dc5d libsystem_pthread.dylib`thread_start + 13
thread #4
frame #0: 0x00007fff5b063562 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff5b19e06a libsystem_pthread.dylib`_pthread_wqthread + 1035
frame #2: 0x00007fff5b19dc4d libsystem_pthread.dylib`start_wqthread + 13
thread #5
frame #0: 0x00007fff5b063562 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff5b19e06a libsystem_pthread.dylib`_pthread_wqthread + 1035
frame #2: 0x00007fff5b19dc4d libsystem_pthread.dylib`start_wqthread + 13
thread #6
frame #0: 0x00007fff5b063562 libsystem_kernel.dylib`__workq_kernreturn + 10
frame #1: 0x00007fff5b19e26f libsystem_pthread.dylib`_pthread_wqthread + 1552
frame #2: 0x00007fff5b19dc4d libsystem_pthread.dylib`start_wqthread + 13
thread #7, name = 'Timer-Scheduler'
frame #0: 0x00007fff5b062cee libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff5b19f69b libsystem_pthread.dylib`_pthread_cond_wait + 789
frame #2: 0x00000001006685d4 mono`mono_os_cond_timedwait + 84
frame #3: 0x00000001005e6884 mono`mono_w32handle_timedwait_signal_handle + 292
frame #4: 0x00000001005e66a0 mono`mono_w32handle_wait_one + 864
frame #5: 0x00000001005e69b6 mono`mono_w32handle_wait_multiple + 182
frame #6: 0x00000001005c0c64 mono`ves_icall_System_Threading_WaitHandle_Wait_internal + 196
frame #7: 0x00000001078af49d
frame #8: 0x00000001025e5dd0 mscorlib.dll.dylib`System_Threading_WaitHandle_InternalWaitOne_System_Runtime_InteropServices_SafeHandle_long_bool_bool + 64
frame #9: 0x00000001025e5d7c mscorlib.dll.dylib`System_Threading_WaitHandle_WaitOne_long_bool + 44
frame #10: 0x00000001025e5be3 mscorlib.dll.dylib`System_Threading_WaitHandle_WaitOne_int_bool + 51
frame #11: 0x00000001025e5d0c mscorlib.dll.dylib`System_Threading_WaitHandle_WaitOne_int + 28
frame #12: 0x00000001025eccef mscorlib.dll.dylib`System_Threading_Timer_Scheduler_SchedulerThread + 2495
frame #13: 0x00000001025deb77 mscorlib.dll.dylib`System_Threading_ThreadHelper_ThreadStart_Context_object + 151
frame #14: 0x00000001025dc7b1 mscorlib.dll.dylib`System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object_bool + 33
frame #15: 0x00000001025dc740 mscorlib.dll.dylib`System_Threading_ExecutionContext_Run_System_Threading_ExecutionContext_System_Threading_ContextCallback_object + 80
frame #16: 0x00000001025decbf mscorlib.dll.dylib`System_Threading_ThreadHelper_ThreadStart + 47
frame #17: 0x0000000100aaace9
frame #18: 0x00000001003e34c7 mono`mono_jit_runtime_invoke + 1383
frame #19: 0x00000001005a3ed4 mono`do_runtime_invoke + 84
frame #20: 0x00000001005c56fb mono`start_wrapper + 747
frame #21: 0x00007fff5b19e6c1 libsystem_pthread.dylib`_pthread_body + 340
frame #22: 0x00007fff5b19e56d libsystem_pthread.dylib`_pthread_start + 377
frame #23: 0x00007fff5b19dc5d libsystem_pthread.dylib`thread_start + 13
thread #8, name = 'tid_a503'
frame #0: 0x00007fff5b062cee libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff5b19f69b libsystem_pthread.dylib`_pthread_cond_wait + 789
frame #2: 0x00000001006685d4 mono`mono_os_cond_timedwait + 84
frame #3: 0x0000000100672ff9 mono`mono_thread_info_sleep + 681
frame #4: 0x00000001005ca3da mono`monitor_thread + 922
frame #5: 0x00000001005c56d0 mono`start_wrapper + 704
frame #6: 0x00007fff5b19e6c1 libsystem_pthread.dylib`_pthread_body + 340
frame #7: 0x00007fff5b19e56d libsystem_pthread.dylib`_pthread_start + 377
frame #8: 0x00007fff5b19dc5d libsystem_pthread.dylib`thread_start + 13
thread #9, name = 'Threadpool worker'
frame #0: 0x00007fff5b062cee libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff5b19f69b libsystem_pthread.dylib`_pthread_cond_wait + 789
frame #2: 0x00000001006685d4 mono`mono_os_cond_timedwait + 84
frame #3: 0x00000001005ca94f mono`worker_thread + 687
frame #4: 0x00000001005c56d0 mono`start_wrapper + 704
frame #5: 0x00007fff5b19e6c1 libsystem_pthread.dylib`_pthread_body + 340
frame #6: 0x00007fff5b19e56d libsystem_pthread.dylib`_pthread_start + 377
frame #7: 0x00007fff5b19dc5d libsystem_pthread.dylib`thread_start + 13
thread #10, name = 'Threadpool worker'
frame #0: 0x00007fff5b062cee libsystem_kernel.dylib`__psynch_cvwait + 10
frame #1: 0x00007fff5b19f69b libsystem_pthread.dylib`_pthread_cond_wait + 789
frame #2: 0x00000001006685d4 mono`mono_os_cond_timedwait + 84
frame #3: 0x00000001005ca94f mono`worker_thread + 687
frame #4: 0x00000001005c56d0 mono`start_wrapper + 704
frame #5: 0x00007fff5b19e6c1 libsystem_pthread.dylib`_pthread_body + 340
frame #6: 0x00007fff5b19e56d libsystem_pthread.dylib`_pthread_start + 377
frame #7: 0x00007fff5b19dc5d 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 63891 detached
(lldb) quit
Abort trap: 6
  • Guest
  • Feb 19 2018
  • Under review
Bug
  • Attach files
  • K Palani commented
    November 17, 2018 21:46

    I am currently getting the same error.

  • Guest commented
    April 05, 2018 22:44

    try --arch=32

  • Guest commented
    March 05, 2018 20:11

    I am currently getting the same error.