[Mono-osx] Still trouble with 1.1.16

Wade Berrier wberrier at novell.com
Fri Jul 21 04:10:38 EDT 2006


Have you tried 1.1.16.1_1?  Please do so if you haven't.

Also, can you try setting the environment variable MONO_LOG_LEVEL=debug
before running your program?

Wade

On Thu, 2006-07-13 at 14:59 -0400, Ken & Deb Allen wrote:
> I just downloaded the 1.1.16.1 release of Mono and tested my  
> relatively simple WinForms application on my iMac 17" with MacOS  
> 10.4.7 and I still get the failure when the application attempts to  
> start. The excerpt from the console log is listed below.
> 
> Note that the following command in terminal returns the following  
> result:
> 
> > #> ls -al /Library/Frameworks/Mono.framework/Versions/1.1.16.1/lib/ 
> > libgdiplus.dylib
> > lrwxr-xr-x   1 root  wheel  22 Jul 13 14:50 /Library/Frameworks/ 
> > Mono.framework/Versions/1.1.16.1/lib/libgdiplus.dylib -> libgdiplus. 
> > 0.0.0.dylib
> 
> This same code loaded and executed under earlier mono versions,  
> although there were problems with the WinForms portions.
> 
> Any ideas on what may be causing this?
> 
> -ken
> 
> ===== Thursday, July 13, 2006 2:49:56 PM Canada/Eastern =====
> 
> Unhandled Exception: System.TypeInitializationException: An exception  
> was thrown by the type initializer for System.Windows.Forms.Form --->  
> System.Reflection.TargetInvocationException: Exception has been  
> thrown by the target of an invocation. --->  
> System.TypeInitializationException: An exception was thrown by the  
> type initializer for System.Drawing.GDIPlus --->  
> System.DllNotFoundException: /Library/Frameworks/Mono.framework/ 
> Versions/1.1.16.1/lib/libgdiplus.dylib
>    at (wrapper managed-to-native)  
> System.Drawing.GDIPlus:GdiplusStartup  
> (ulong&,System.Drawing.GdiplusStartupInput&,System.Drawing.GdiplusStartu 
> pOutput&)
>    at System.Drawing.GDIPlus..cctor () [0x00000] --- End of inner  
> exception stack trace ---
> 
>    at <0x00000> <unknown method>
>    at System.Drawing.Image.InitFromStream (System.IO.Stream stream)  
> [0x00000]
>    at System.Drawing.Image.InitFromStream (System.IO.Stream stream)  
> [0x00000]
>    at System.Drawing.Bitmap..ctor  
> (System.Runtime.Serialization.SerializationInfo info,  
> StreamingContext context) [0x00000]
>    at <0x00000> <unknown method>
>    at (wrapper managed-to-native)  
> System.Reflection.MonoCMethod:InternalInvoke (object,object[])
>    at System.Reflection.MonoCMethod.Invoke (System.Object obj,  
> BindingFlags invokeAttr, System.Reflection.Binder binder,  
> System.Object[] parameters, System.Globalization.CultureInfo culture)  
> [0x00000] --- End of inner exception stack trace ---
> 
>    at System.Reflection.MonoCMethod.Invoke (System.Object obj,  
> BindingFlags invokeAttr, System.Reflection.Binder binder,  
> System.Object[] parameters, System.Globalization.CultureInfo culture)  
> [0x00000]
>    at System.Reflection.MethodBase.Invoke (System.Object obj,  
> System.Object[] parameters) [0x00000]
>    at System.Runtime.Serialization.ObjectRecord.LoadData  
> (System.Runtime.Serialization.ObjectManager manager,  
> ISurrogateSelector selector, StreamingContext context) [0x00000]
>    at System.Runtime.Serialization.ObjectManager.DoFixups () [0x00000]
>    at  
> System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadNextObje 
> ct (System.IO.BinaryReader reader) [0x00000]
>    at  
> System.Runtime.Serialization.Formatters.Binary.ObjectReader.ReadObjectGr 
> aph (System.IO.BinaryReader reader, Boolean readHeaders,  
> System.Object result, System.Runtime.Remoting.Messaging.Header[]  
> headers) [0x00000]
>    at  
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.NoCheckDe 
> serialize (System.IO.Stream serializationStream,  
> System.Runtime.Remoting.Messaging.HeaderHandler handler) [0x00000]
>    at  
> System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Deseriali 
> ze (System.IO.Stream serializationStream) [0x00000]
>    at System.Resources.ResourceReader.ReadNonPredefinedValue  
> (System.Type exp_type) [0x00000]
>    at System.Resources.ResourceReader.ReadValueVer1 (System.Type  
> type) [0x00000]
>    at System.Resources.ResourceReader.ResourceValue (Int32 index)  
> [0x00000]
>    at System.Resources.ResourceReader+ResourceEnumerator.get_Value ()  
> [0x00000]
>    at System.Resources.ResourceSet.ReadResources () [0x00000]
>    at System.Resources.ResourceSet.GetObject (System.String name,  
> Boolean ignoreCase) [0x00000]
>    at System.Resources.ResourceManager.GetObject (System.String name,  
> System.Globalization.CultureInfo culture) [0x00000]
>    at System.Resources.ResourceManager.GetObject (System.String name)  
> [0x00000]
>    at System.Windows.Forms.Locale.GetResource (System.String name)  
> [0x00000]
>    at System.Windows.Forms.Form..cctor () [0x00000] --- End of inner  
> exception stack trace ---
> 
>    at <0x00000> <unknown method>
>    at EliminationTournament.ControlForm..ctor (System.Drawing.Icon  
> FormIcon) [0x00000]
>    at EliminationTournament.ControlForm..ctor (System.Drawing.Icon  
> FormIcon) [0x00000]
>    at (wrapper remoting-invoke-with-check)  
> EliminationTournament.ControlForm:.ctor (System.Drawing.Icon)
>    at EliminationTournament.ControlForm.Main () [0x00000]
> 
> _______________________________________________
> Mono-osx mailing list
> Mono-osx at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-osx
> 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/mono-osx/attachments/20060721/4b413b49/attachment.bin 


More information about the Mono-osx mailing list