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

Anyone tried running this on MacOS? #39

Open
Napoleon-BlownApart opened this issue Nov 15, 2024 · 0 comments
Open

Anyone tried running this on MacOS? #39

Napoleon-BlownApart opened this issue Nov 15, 2024 · 0 comments

Comments

@Napoleon-BlownApart
Copy link

I downloaded and installed Mono for Macos from the official website: https://www.mono-project.com/docs/getting-started/install/mac/
I then cloned this repo and built the application per the instructions xbuild. The build succeeded, so I ran the application using mono BK7231Flasher/bin/debug/BK7231Flasher.exe.
Unfortunately, this resulted in an error, see below.
I haven't used Mono before, so I am unable to offer any other useful information. However, I am able to answer any questions.
Hopefully I'll be able to run this in the end.

(I've been working with ESP32s and ATTinys using the Arduino IDE to date, so this is a new adventure for me.)

 mono BK7231Flasher/bin/Debug/BK7231Flasher.exe
WARNING: The runtime version supported by this application is unavailable.
Using default runtime: v4.0.30319
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:
=================================================================
	0x101621679 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_dump_native_crash_info
	0x1015b940e - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_handle_native_crash
	0x10161b7f6 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : altstack_handle_and_restore
	0x7ff80f16c2c3 - /System/Library/PrivateFrameworks/SkyLight.framework/Versions/A/SkyLight : SLDisplayBounds
	0x104f3cba8 - Unknown
	0x101eaa6d6 - Unknown
	0x101516352 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_runtime_invoke
	0x1017277e2 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_try_invoke
	0x101726408 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_runtime_class_init_full
	0x10150dd5c - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_inner
	0x1015118aa - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_jit_compile_method_with_opt
	0x1015bbf2e - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : common_call_trampoline
	0x1015bb970 - /Library/Frameworks/Mono.framework/Versions/6.12.0/bin/mono-sgen64 : mono_magic_trampoline
	0x1019c1393 - Unknown
	0x104f3c11b - Unknown

=================================================================
	Telemetry Dumper:
=================================================================
Pkilling 0x123145369903104x from 0x140704418835328x
Entering thread summarizer pause from 0x140704418835328x
Finished thread summarizer pause from 0x140704418835328x.
Failed to create breadcrumb file (null)/crash_hash_0x860837baf

Waiting for dumping threads to resume

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

=================================================================
	Basic Fault Address Reporting
=================================================================
Memory around native instruction pointer (0x7ff80f16c2c3):0x7ff80f16c2b3  89 fb 48 8b 05 34 fa ef 3b 0f 10 00 0f 10 48 10  ..H..4..;.....H.
0x7ff80f16c2c3  0f 11 4f 10 0f 11 07 89 f7 48 89 de e8 f9 d4 f9  ..O......H......
0x7ff80f16c2d3  ff 48 89 d8 48 83 c4 08 5b 5d c3 55 48 89 e5 53  .H..H...[].UH..S
0x7ff80f16c2e3  48 83 ec 28 48 8b 05 32 11 ef 3b 48 8b 00 48 89  H..(H..2..;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:CreateControl <0x000c6>
	  at System.Windows.Forms.Control:SetVisibleCore <0x00112>
	  at System.Windows.Forms.Form:SetVisibleCore <0x00252>
	  at System.Windows.Forms.Control:set_Visible <0x00052>
	  at System.Windows.Forms.Control:set_Visible <0x000aa>
	  at System.Windows.Forms.Application:RunLoop <0x00422>
	  at System.Windows.Forms.Application:Run <0x00092>
	  at System.Windows.Forms.Application:Run <0x0007a>
	  at BK7231Flasher.Program:Main <0x0008a>
	  at System.Object:runtime_invoke_void <0x000a5>
=================================================================
Abort trap: 6
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

1 participant