[Mono-bugs] [Bug 561228] New: UITableViewCell.DrawString overloads crash on device, work on simulator

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Sun Dec 6 16:21:40 EST 2009



           Summary: UITableViewCell.DrawString overloads crash on device,
                    work on simulator
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: Other
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: simon at nureality.ca
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---

Description of Problem:
When writing a custom UITableViewCell and overriding the DrawContentView()
method, if you call this.DrawString() many of the overloads crash.

The following overloads are crashing for me so far, I have not tried them all

this.DrawString(string, RectangleF, UIFont);
this.DrawString(string, RectangleF, CGBlendMode, float);
this.DrawString(string, RectangleF, float, UIFont, float, float,
UILineBreakMode, UIBaselineAdjustments);

Exception Codes: KERN_INVALID_ADDRESS at 0x7761726c

This overload seems to work:
this.DrawString(string, PointF, float, UIFont, UILineBreakMode);

Some of the crashing overloads stops from being able to write a UITableViewCell
with proper word wrapping.

Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.

More information about the mono-bugs mailing list