Ticket #139 (accepted defect)
Font LoadResource() crashes on linux
| Reported by: | miksuu | Owned by: | borrillis |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | Core Library | Version: | 0.8.0.0 (crickhollow) |
| Keywords: | Cc: |
Description
In Font.cs file, try-catch block at line 575, crashes on Ubuntu 9.04 and 9.10 (x32).
(tested by replasing try-catch-finally block with fontFamily=FontFamily?.GenericSansSerif?; -line and then it doesnt crash).
Stacktrace:
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipGetFamilyName? (intptr,System.Text.StringBuilder?,int) <0x00004>
at (wrapper managed-to-native) System.Drawing.GDIPlus.GdipGetFamilyName? (intptr,System.Text.StringBuilder?,int) <0xffffffff>
at System.Drawing.FontFamily?.refreshName () <0x00064>
at System.Drawing.FontFamily?.get_Name () <0x00038>
at (wrapper remoting-invoke-with-check) System.Drawing.FontFamily?.get_Name () <0xffffffff>
at System.Drawing.Font.setProperties (System.Drawing.FontFamily?,single,System.Drawing.FontStyle?,System.Drawing.GraphicsUnit?,byte,bool) <0x0001c>
at System.Drawing.Font..ctor (System.Drawing.FontFamily?,single,System.Drawing.FontStyle?,System.Drawing.GraphicsUnit?,byte,bool) <0x0004b>
at System.Drawing.Font..ctor (System.Drawing.FontFamily?,single) <0x00024>
at (wrapper remoting-invoke-with-check) System.Drawing.Font..ctor (System.Drawing.FontFamily?,single) <0xffffffff>
at Axiom.Fonts.Font.LoadResource? (Axiom.Core.Resource) <0x00487>
