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

Version 1.2.0 Not working with Mono for Mac #111

Open
rcross opened this issue Feb 5, 2023 · 2 comments
Open

Version 1.2.0 Not working with Mono for Mac #111

rcross opened this issue Feb 5, 2023 · 2 comments

Comments

@rcross
Copy link

rcross commented Feb 5, 2023

I understand there is not a strong expectation for this, but I had hopes.

I'm on Intel MacBook, running Ventura 13.2 and installed Mono 6.12.0 and tried running CardMaker v.1.2.0 from the gui and terminal, both the CardMaker.exe and CardMaker_Mono.exe, none of them worked.

Looks like something with reference to Carbon driver is the problem, but that may just be a general/unrelated warning.

Error Dumps:

ryan@MBP Downloads % mono CardMaker_v1.2.0.0/CardMaker.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:
=================================================================
	0x100d47639 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_dump_native_crash_info
	0x100cdf3ee - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_handle_native_crash
	0x100d417b6 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : altstack_handle_and_restore
	0x7ff80fa077f5 - /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight : SLDisplayBounds
	0x103abe188 - Unknown
	0x10111d5d6 - Unknown
	0x100c3c332 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_runtime_invoke
	0x100e4d7b2 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_try_invoke
	0x100e4c3d8 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_class_init_full
	0x100c33d3c - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_inner
	0x100c3788a - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_with_opt
	0x100ce1f0e - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : common_call_trampoline
	0x100ce1950 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_magic_trampoline
	0x101100393 - Unknown
	0x103abd6fb - Unknown

=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x123145406443520x from 0x140704441132608x
Entering thread summarizer pause from 0x140704441132608x
Finished thread summarizer pause from 0x140704441132608x.
Failed to create breadcrumb file (null)/crash_hash_0x7554ef733

Waiting for dumping threads to resume

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

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7ff80fa077f5):0x7ff80fa077e5  89 fb 48 8b 05 4a e5 d7 3c 0f 10 00 0f 10 48 10  ..H..J..<.....H.
0x7ff80fa077f5  0f 11 4f 10 0f 11 07 89 f7 48 89 de e8 58 3b fa  ..O......H...X;.
0x7ff80fa07805  ff 48 89 d8 48 83 c4 08 5b 5d c3 55 48 89 e5 53  .H..H...[].UH..S
0x7ff80fa07815  48 83 ec 28 48 8b 05 80 e7 d6 3c 48 8b 00 48 89  H..(H.....<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.Hwnd:GetNextStackedFormLocation <0x001aa>
	  at System.Windows.Forms.XplatUICarbon:CreateWindow <0x0046a>
	  at System.Windows.Forms.XplatUI:CreateWindow <0x00047>
	  at System.Windows.Forms.NativeWindow:CreateHandle <0x0006a>
	  at System.Windows.Forms.Control:CreateHandle <0x000b8>
	  at System.Windows.Forms.Form:CreateHandle <0x00052>
	  at System.Windows.Forms.Control:CreateGraphics <0x0004e>
	  at System.Windows.Forms.Control:CreateGraphics <0x000a2>
	  at CardMaker.Program:Initialize <0x000c2>
	  at CardMaker.Program:.cctor <0x00052>
	  at System.Object:runtime_invoke_void <0x000a5>
=================================================================
zsh: abort      mono CardMaker_v1.2.0.0/CardMaker.exe
ryan@MBP Downloads % mono CardMaker_v1.2.0.0/CardMaker_Mono.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:
=================================================================
	0x10a8b0639 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_dump_native_crash_info
	0x10a8483ee - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_handle_native_crash
	0x10a8aa7b6 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : altstack_handle_and_restore
	0x7ff80fa077f5 - /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight : SLDisplayBounds
	0x10cf6c188 - Unknown
	0x10ac865d6 - Unknown
	0x10a7a5332 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_runtime_invoke
	0x10a9b67b2 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_try_invoke
	0x10a9b53d8 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_class_init_full
	0x10a79cd3c - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_inner
	0x10a7a088a - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_with_opt
	0x10a84af0e - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : common_call_trampoline
	0x10a84a950 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_magic_trampoline
	0x10ac69393 - Unknown
	0x10cf6b6fb - Unknown

=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x123145319174144x from 0x140704441132608x
Entering thread summarizer pause from 0x140704441132608x
Finished thread summarizer pause from 0x140704441132608x.
Failed to create breadcrumb file (null)/crash_hash_0x81fb2dc09

Waiting for dumping threads to resume

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

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7ff80fa077f5):0x7ff80fa077e5  89 fb 48 8b 05 4a e5 d7 3c 0f 10 00 0f 10 48 10  ..H..J..<.....H.
0x7ff80fa077f5  0f 11 4f 10 0f 11 07 89 f7 48 89 de e8 58 3b fa  ..O......H...X;.
0x7ff80fa07805  ff 48 89 d8 48 83 c4 08 5b 5d c3 55 48 89 e5 53  .H..H...[].UH..S
0x7ff80fa07815  48 83 ec 28 48 8b 05 80 e7 d6 3c 48 8b 00 48 89  H..(H.....<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.Hwnd:GetNextStackedFormLocation <0x001aa>
	  at System.Windows.Forms.XplatUICarbon:CreateWindow <0x0046a>
	  at System.Windows.Forms.XplatUI:CreateWindow <0x00047>
	  at System.Windows.Forms.NativeWindow:CreateHandle <0x0006a>
	  at System.Windows.Forms.Control:CreateHandle <0x000b8>
	  at System.Windows.Forms.Form:CreateHandle <0x00052>
	  at System.Windows.Forms.Control:CreateGraphics <0x0004e>
	  at System.Windows.Forms.Control:CreateGraphics <0x000a2>
	  at CardMaker.Program:Initialize <0x000c2>
	  at CardMaker.Program:.cctor <0x00052>
	  at System.Object:runtime_invoke_void <0x000a5>
=================================================================
zsh: abort      mono CardMaker_v1.2.0.0/CardMaker_Mono.exe
@nhmkdev
Copy link
Owner

nhmkdev commented Feb 6, 2023

The carbon driver issue appears to be accurate and windows forms may never be supported. I test the mono based functionality "lightly" by using VirtualBox to run Ubuntu.

CardMaker used to run on the Mac but as things have changed over the years mono + .NET forms functionality just rotted away. :(

@rcross
Copy link
Author

rcross commented Feb 6, 2023 via email

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

2 participants