Jump to content

Always crash when launch X11 Client on Mac Yosemite


natsumesou

Recommended Posts

hello.

I'm trying to launch X11 client(not macplastic).

but when I try launch client, always crash.

 

env.

OSX 10.10.3(Yosemite)

Plastic SCM Client binaries 5.4.16.682

Mono 4.0.2

X11 2.7.8_rc1

 

I've already read this link

http://www.plasticscm.net/index.php?/topic/2390-crash-on-osx-1010-yosemite/

 

 

so i execute as below

mono plastic.exe

and this is the output

Unhandled Exception:
System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.12/lib/libgdiplus.dylib
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Drawing.KnownColors..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Drawing.Color.get_Black () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0
  at Codice.I3.BaseThemedForm..ctor () [0x00000] in <filename unknown>:0
  at Codice.I3.BaseDialogForm..ctor () [0x00000] in <filename unknown>:0
  at w9..ctor (Boolean A_0) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) w9:.ctor (bool)
  at hr.a () [0x00000] in <filename unknown>:0
  at hs.a (gn A_0) [0x00000] in <filename unknown>:0
  at hx.a () [0x00000] in <filename unknown>:0
  at hs.a (gn A_0) [0x00000] in <filename unknown>:0
  at ho.a () [0x00000] in <filename unknown>:0
    at hs.a (gn A_0) [0x00000] in <filename unknown>:0
  at hm.a () [0x00000] in <filename unknown>:0
  at hs.a (gn A_0) [0x00000] in <filename unknown>:0
  at hs.c () [0x00000] in <filename unknown>:0
[ERROR] FATAL UNHANDLED EXCEPTION: System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.WindowsFormsSynchronizationContext ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeEngine ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Windows.Forms.ThemeWin32Classic ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.KnownColors ---> System.TypeInitializationException: An exception was thrown by the type initializer for System.Drawing.GDIPlus ---> System.DllNotFoundException: /Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.12/lib/libgdiplus.dylib
  at (wrapper managed-to-native) System.Drawing.GDIPlus:GdiplusStartup (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartupOutput&)
  at System.Drawing.GDIPlus..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Drawing.KnownColors..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Drawing.Color.get_Black () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ThemeWin32Classic..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.ThemeVisualStyles..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ThemeEngine..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.SystemInformation.get_MenuAccessKeysUnderlined () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
    at (wrapper remoting-invoke-with-check) System.Windows.Forms.Control:.ctor ()
  at System.Windows.Forms.WindowsFormsSynchronizationContext..cctor () [0x00000] in <filename unknown>:0
  --- End of inner exception stack trace ---
  at System.Windows.Forms.Control..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ScrollableControl..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.ContainerControl..ctor () [0x00000] in <filename unknown>:0
  at System.Windows.Forms.Form..ctor () [0x00000] in <filename unknown>:0
  at Codice.I3.BaseThemedForm..ctor () [0x00000] in <filename unknown>:0
  at Codice.I3.BaseDialogForm..ctor () [0x00000] in <filename unknown>:0
  at w9..ctor (Boolean A_0) [0x00000] in <filename unknown>:0
  at (wrapper remoting-invoke-with-check) w9:.ctor (bool)
  at hr.a () [0x00000] in <filename unknown>:0
  at hs.a (gn A_0) [0x00000] in <filename unknown>:0
  at hx.a () [0x00000] in <filename unknown>:0
  at hs.a (gn A_0) [0x00000] in <filename unknown>:0
  at ho.a () [0x00000] in <filename unknown>:0
  at hs.a (gn A_0) [0x00000] in <filename unknown>:0
  at hm.a () [0x00000] in <filename unknown>:0
  at hs.a (gn A_0) [0x00000] in <filename unknown>:0
  at hs.c () [0x00000] in <filename unknown>:0
and I paste debug log link when I set MONO_LOG_LEVEL=debug env as below.
 
 

If I could use code review view and history view(I want to remove changeset) on macplastic GUI, I'd like to use it.

 

thank you.

Link to comment
Share on other sites

I fixed ~/.mono/config from

<configuration>
        <dllmap dll="gdiplus.dll" target="/Applications/Unity/MonoDevelop.app/Contents/Frameworks/Mono.framework/Versions/2.10.12/lib/libgdiplus.dylib"/>
</configuration>

to

<configuration>
        <dllmap dll="gdiplus.dll" target="/Library/Frameworks/Mono.framework/Versions/4.0.2/lib/libgdiplus.dylib"/>
</configuration>

then I could launch plastic.exe X11 window, but another error occured as below.

Could not load file or assembly 'PresentationFramework. Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. Plastic client can't continue and will be closed.

and this is debug link of debug log

 

https://gist.github.com/natsumesou/066968a7205e1e94507e

 

35769e94-3947-11e5-9a3a-2e95ab982150.png

 

p.s.

I tried download and launch Server binaries(5.4.16.682) as below.

mono configureserver.exe

I could launch Configuration window and well behaved.

Link to comment
Share on other sites

  • 2 weeks later...

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...