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

Crashing on El Capitan with Mono 4.6 #262

Closed
JustinAiken opened this issue Oct 8, 2016 · 4 comments
Closed

Crashing on El Capitan with Mono 4.6 #262

JustinAiken opened this issue Oct 8, 2016 · 4 comments
Labels

Comments

@JustinAiken
Copy link

$ which mono
/usr/local/bin/mono

$ mono --version
Mono JIT compiler version 4.6.0 (Stable 4.6.0.245/746756c Mon Sep 19 13:57:55 BST 2016)
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:          supported, not enabled.
    GC:            sgen

$ mono /Users/jaiken/Desktop/RocksmithCustomSongToolkit.app/Contents/Resources/RocksmithCustomSongToolkit.exe                                                                                                                           
WARNING: The Carbon driver has not been ported to 64bits, and very few parts of Windows.Forms will work properly, or at all
exception inside UnhandledException handler: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception.

[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: The type initializer for 'System.Windows.Forms.WindowsFormsSynchronizationContext' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.ThemeEngine' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Windows.Forms.ThemeWin32Classic' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.KnownColors' threw an exception. ---> System.TypeInitializationException: The type initializer for 'System.Drawing.GDIPlus' threw an exception. ---> System.DllNotFoundException: libgdiplus.dylib
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x000cc] in <93576e487af246b9880ff86779ad60ff>:0
   --- End of inner exception stack trace ---
  at System.Drawing.KnownColors..cctor () [0x0001a] in <93576e487af246b9880ff86779ad60ff>:0
   --- End of inner exception stack trace ---
  at System.Drawing.Color.get_Black () [0x00000] in <93576e487af246b9880ff86779ad60ff>:0
  at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at System.Windows.Forms.ThemeEngine..cctor () [0x0002d] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
   --- End of inner exception stack trace ---
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at System.Windows.Forms.Control..ctor () [0x000ea] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
   --- End of inner exception stack trace ---
  at (wrapper managed-to-native) System.Object:__icall_wrapper_mono_generic_class_init (intptr)
  at System.Windows.Forms.WindowsFormsSynchronizationContext.get_AutoInstall () [0x00000] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at System.Windows.Forms.Control..ctor () [0x00014] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at System.Windows.Forms.ContainerControl..ctor () [0x0000e] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at System.Windows.Forms.Form..ctor () [0x00012] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon, System.Boolean displayHelpButton) [0x0000c] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at System.Windows.Forms.MessageBox+MessageBoxForm..ctor (System.Windows.Forms.IWin32Window owner, System.String text, System.String caption, System.Windows.Forms.MessageBoxButtons buttons, System.Windows.Forms.MessageBoxIcon icon) [0x00000] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.MessageBox+MessageBoxForm:.ctor (System.Windows.Forms.IWin32Window,string,string,System.Windows.Forms.MessageBoxButtons,System.Windows.Forms.MessageBoxIcon)
  at System.Windows.Forms.MessageBox.Show (System.String text, System.String caption) [0x00000] in <6d9e5c85ba134a1aa9718d7ee7f74bc5>:0
  at RocksmithToolkitGUI.Program+<>c.<Main>b__1_0 (System.Object s, System.UnhandledExceptionEventArgs e) [0x00039] in <0138c53d05b3445697c633661038b475>:0
@JustinAiken JustinAiken changed the title Crashing on El Capitan Crashing on El Capitan with Mono 4.6 Oct 8, 2016
@L0FKA
Copy link
Member

L0FKA commented Oct 10, 2016

You're missing dll file, here "System.DllNotFoundException: libgdiplus.dylib"
It's missing libgdiplus so you may help it find it, someone just copy one to toolkits folder (/resources) someone may use links or bash scripts, here http://www.mono-project.com/docs/advanced/pinvoke/dllnotfoundexception

reported it works http://customsforge.com/topic/31443-custom-song-toolkit-wont-open-mac/

may be 64 bit issues too, as you can see that warning :)

@L0FKA L0FKA added the OS X label Oct 10, 2016
@L0FKA
Copy link
Member

L0FKA commented Feb 22, 2017

@JustinAiken
Copy link
Author

Oh you can close this if you like - works fine now with mono 4.0.4

@cozy1
Copy link
Contributor

cozy1 commented Feb 22, 2017

@JustinAiken Thanks for your help with testing and confirming the latest toolkit fixes this issue.

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

No branches or pull requests

3 participants