Welcome, Guest! Log In | Create Account

Ticket #139 (accepted defect)

Opened 2 months ago

Last modified 2 months ago

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>

Change History

Changed 2 months ago by miksuu

  • version set to 0.8.0.0 (crickhollow)

Changed 2 months ago by borrillis

  • status changed from new to accepted

This is actually a bug in mono that has been logged in mono's bugzilla here : https://bugzilla.novell.com/show_bug.cgi?id=553191

Note: See TracTickets for help on using tickets.