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

mono on macOS doesn't support the Carbon driver used in this app #139

Open
WoodpeckerBaby opened this issue Dec 22, 2021 · 2 comments
Open

Comments

@WoodpeckerBaby
Copy link

I installed mono 6.12 VScode edition on macOS Big Sur. Then, ran it with mono TraktRater_v2.3.10.2.exe on desktop, but it crashed at launch with the following error msg.

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

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

=================================================================
	Native stacktrace:
=================================================================
	0x1046b07c9 - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_dump_native_crash_info
	0x10464869e - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_handle_native_crash
	0x1046aa946 - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : altstack_handle_and_restore
	0x7fff24eace3c - /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight : SLDisplayBounds
	0x111494858 - Unknown
	0x104b066a6 - Unknown
	0x1045a5962 - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_jit_runtime_invoke
	0x1047b6972 - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_runtime_try_invoke
	0x1047b5598 - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_runtime_class_init_full
	0x10459d43c - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_jit_compile_method_inner
	0x1045a0eba - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_jit_compile_method_with_opt
	0x10464b1ae - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : common_call_trampoline
	0x10464ac00 - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_magic_trampoline
	0x104a89393 - Unknown
	0x10eaa5b9b - Unknown
	0x10ede4ea3 - Unknown
	0x10ede0f0b - Unknown
	0x107a60e6b - Unknown
	0x1045a5962 - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_jit_runtime_invoke
	0x1047b4f97 - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_runtime_invoke_checked
	0x1047bd45e - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : do_exec_main_checked
	0x104605e1e - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_jit_exec
	0x104609085 - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : mono_main
	0x104595178 - /Library/Frameworks/Mono.framework/Versions/Current/Commands/mono : main
	0x7fff203fcf3d - /usr/lib/system/libdyld.dylib : start
	0x2 - Unknown

=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x123145564643328x from 0x4546539008x
Entering thread summarizer pause from 0x4546539008x
Finished thread summarizer pause from 0x4546539008x.
Failed to create breadcrumb file (null)/crash_hash_0x9ab7c1c0e

Waiting for dumping threads to resume

=================================================================
	External Debugger Dump:
=================================================================

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7fff24eace3c):0x7fff24eace2c  53 50 48 89 fb 48 8b 05 90 ae 73 62 48 8b 48 18  SPH..H....sbH.H.
0x7fff24eace3c  48 89 4f 18 48 8b 48 10 48 89 4f 10 48 8b 08 48  H.O.H.H.H.O.H..H
0x7fff24eace4c  8b 40 08 48 89 47 08 48 89 0f 89 f7 48 89 de e8  [email protected]...
0x7fff24eace5c  58 34 fb ff 48 89 d8 48 83 c4 08 5b 5d c3 55 48  X4..H..H...[].UH

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at System.Windows.Forms.XplatUICarbon:CGDisplayBounds <0x000b7>
	  at System.Windows.Forms.XplatUICarbon:get_WorkingArea <0x00072>
	  at System.Windows.Forms.XplatUICarbon:get_VirtualScreen <0x00043>
	  at System.Windows.Forms.XplatUI:get_VirtualScreen <0x00048>
	  at System.Windows.Forms.Screen:.cctor <0x0017a>
	  at System.Object:runtime_invoke_void <0x000a5>
	  at <unknown> <0xffffffff>
	  at System.Windows.Forms.Form:get_CreateParams <0x0062a>
	  at DialogForm:get_CreateParams <0x00042>
	  at System.Windows.Forms.Form:SetClientSizeCore <0x001c7>
	  at System.Windows.Forms.Control:set_ClientSize <0x00048>
	  at System.Windows.Forms.Form:set_ClientSize <0x00052>
	  at System.Windows.Forms.Form:set_ClientSize <0x000d2>
	  at System.Windows.Forms.FileDialog:.ctor <0x02662>
	  at System.Windows.Forms.OpenFileDialog:.ctor <0x0003a>
	  at System.Windows.Forms.OpenFileDialog:.ctor <0x0006a>
	  at TraktRater.TraktRater:InitializeComponent <0x01412>
	  at TraktRater.TraktRater:.ctor <0x0012a>
	  at TraktRater.TraktRater:.ctor <0x0006a>
	  at TraktRater.Program:Main <0x00072>
	  at System.Object:runtime_invoke_void <0x000a5>
=================================================================
Abort trap: 6

@nigelwarning
Copy link

Ever fixed this?

@zappe
Copy link

zappe commented Aug 21, 2022

This is still an issue with version 2.3.11 and Mono 6.12 stable

mono TraktRater_v2.3.11.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

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

=================================================================
	Native stacktrace:
=================================================================
	0x109885639 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_dump_native_crash_info
	0x10981d3ee - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_handle_native_crash
	0x10987f7b6 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : altstack_handle_and_restore
	0x7ff8071bbdf7 - /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight : SLDisplayBounds
	0x10ca9e048 - Unknown
	0x109f0b6a6 - Unknown
	0x10977a332 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_runtime_invoke
	0x10998b7b2 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_try_invoke
	0x10998a3d8 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_class_init_full
	0x109771d3c - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_inner
	0x10977588a - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_with_opt
	0x10981ff0e - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : common_call_trampoline
	0x10981f950 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_magic_trampoline
	0x109d5d393 - Unknown
	0x10bf6bb9b - Unknown
	0x10c8a3313 - Unknown
	0x10c89f37b - Unknown
	0x10bf3de8b - Unknown
	0x10977a332 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_runtime_invoke
	0x109989dd7 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_invoke_checked
	0x1099922ee - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : do_exec_main_checked
	0x1097daa9e - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_exec
	0x1097ddd05 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_main
	0x109769b58 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : main
	0x1187ba52e - Unknown

=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x123145341005824x from 0x4706227712x
Entering thread summarizer pause from 0x4706227712x
Finished thread summarizer pause from 0x4706227712x.
Failed to create breadcrumb file (null)/crash_hash_0x9ab7c1be2

Waiting for dumping threads to resume

=================================================================
	External Debugger Dump:
=================================================================

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7ff8071bbdf7):0x7ff8071bbde7  89 fb 48 8b 05 40 66 fe 3a 0f 10 00 0f 10 48 10  ..H..@f.:.....H.
0x7ff8071bbdf7  0f 11 4f 10 0f 11 07 89 f7 48 89 de e8 ff 00 fb  ..O......H......
0x7ff8071bbe07  ff 48 89 d8 48 83 c4 08 5b 5d c3 55 48 89 e5 53  .H..H...[].UH..S
0x7ff8071bbe17  48 83 ec 28 48 8b 05 86 78 fe 3a 48 8b 00 48 89  H..(H...x.:H..H.

=================================================================
	Managed Stacktrace:
=================================================================
	  at <unknown> <0xffffffff>
	  at System.Windows.Forms.XplatUICarbon:CGDisplayBounds <0x000b7>
	  at System.Windows.Forms.XplatUICarbon:get_WorkingArea <0x00072>
	  at System.Windows.Forms.XplatUICarbon:get_VirtualScreen <0x00043>
	  at System.Windows.Forms.XplatUI:get_VirtualScreen <0x00048>
	  at System.Windows.Forms.Screen:.cctor <0x0017a>
	  at System.Object:runtime_invoke_void <0x000a5>
	  at <unknown> <0xffffffff>
	  at System.Windows.Forms.Form:get_CreateParams <0x0062a>
	  at DialogForm:get_CreateParams <0x00042>
	  at System.Windows.Forms.Form:SetClientSizeCore <0x001c7>
	  at System.Windows.Forms.Control:set_ClientSize <0x00048>
	  at System.Windows.Forms.Form:set_ClientSize <0x00052>
	  at System.Windows.Forms.Form:set_ClientSize <0x000d2>
	  at System.Windows.Forms.FileDialog:.ctor <0x02662>
	  at System.Windows.Forms.OpenFileDialog:.ctor <0x0003a>
	  at System.Windows.Forms.OpenFileDialog:.ctor <0x0006a>
	  at TraktRater.TraktRater:InitializeComponent <0x01412>
	  at TraktRater.TraktRater:.ctor <0x0012a>
	  at TraktRater.TraktRater:.ctor <0x0006a>
	  at TraktRater.Program:Main <0x00072>
	  at System.Object:runtime_invoke_void <0x000a5>
=================================================================
zsh: abort      mono TraktRater_v2.3.11.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants