DeadlineSlave crashes on Linux CentOS 64bit

Hi,

My setup is on linux CentOS 5.6 64bit with Mono 2.6 installed from the mono yum repository. ( I also tried compiling it, and succeeded but with the same result).

Randomly, the slave crashes on without warning and I get the following crash message when the slave has been started from a shell…

any ideas ?
or any setup someone has that is working perfectly ?

Thank you very much !!!

Mathieu


at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipDeleteGraphics (intptr)
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipDeleteGraphics (intptr)
at System.Drawing.Graphics.Dispose ()
at (wrapper remoting-invoke-with-check) System.Drawing.Graphics.Dispose ()
at System.Drawing.Graphics.Finalize ()
at (wrapper runtime-invoke) object.runtime_invoke_virtual_void__this__ (object,intptr,intptr,intptr)

Native stacktrace:

mono [0x48a859]
/lib64/libpthread.so.0 [0x3a8060eb10]
/lib64/libc.so.6(gsignal+0x35) [0x3a7fa30265]
/lib64/libc.so.6(abort+0x110) [0x3a7fa31d10]
/lib64/libc.so.6 [0x3a7fa6a84b]
/lib64/libc.so.6 [0x3a7fa7230f]
/lib64/libc.so.6(cfree+0x4b) [0x3a7fa7276b]
/usr/local/lib/libgdiplus.so(mono_cairo_font_face_destroy+0x2d) [0x2aaaac1b355d]
/usr/local/lib/libgdiplus.so [0x2aaaac1b5bc6]
/usr/local/lib/libgdiplus.so(mono_cairo_destroy+0x6b) [0x2aaaac1af4bb]
/usr/local/lib/libgdiplus.so(GdipDeleteGraphics+0x88) [0x2aaaac180e28]
[0x41b359db]

Debug info from gdb:

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

Aborted

Hello,

Same problem here on my CentOS 6. Tried with diferent versions of mono but no success.

Output:

[nuke@Maquina04 ~]$ /usr/local/Thinkbox/Deadline/bin/deadlineslave
Deadline Slave 5.0: An exception was thrown by the type initializer for System.Drawing.KnownColors (System.TypeInitializationException)
at System.Drawing.SystemColors.get_Control () [0x00000] in :0
at FranticXForms.CustomControls.CustomControlOptions…ctor () [0x00000] in :0
at FranticXForms.CustomControls.CustomControlManager…ctor () [0x00000] in :0
at FranticXForms.CustomControls.CustomControlManager.GetInstance () [0x00000] in :0
at Deadline.Configuration.DeadlineConfig.InitApplication (RemoteErrorReportingPolicy reportingPolicy) [0x00000] in :0
at Deadline.Configuration.DeadlineConfig.InitApplication () [0x00000] in :0
at DeadlineSlave.DeadlineSlaveApp.Main (System.String[] args) [0x00000] in :0

Regards

We’ve received confirmation that building the libgdiplus sources (instead of installing libgdiplus from the yum repository) will workaround this problem. The sources can be found here:
go-mono.com/mono-downloads/download.html