[Mono-bugs] [Bug 554678] New: Exception in native code at application startup (GTK#, Ubuntu Jaunty 9.04 and above)

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Nov 11 15:40:07 EST 2009


http://bugzilla.novell.com/show_bug.cgi?id=554678


           Summary: Exception in native code at application startup (GTK#,
                    Ubuntu Jaunty 9.04 and above)
    Classification: Mono
           Product: Mono: Runtime
           Version: 2.0.x
          Platform: All
        OS/Version: Ubuntu
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: interop
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: mail.gery at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---


Created an attachment (id=326944)
 --> (http://bugzilla.novell.com/attachment.cgi?id=326944)
Stack trace

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.8)
Gecko/2009033100 Ubuntu/9.04 (jaunty) Firefox/3.0.8

Mono throws an exception at application startup during the drawing of the
top-level application window. The problem seems to be related to the GTK
libraries and/or the GTK# assembly bundled with Mono as this problem didn't
exist when using version 1.2.6 which was used for development. Replacing the
native GTK libraries with an older version (2.12.9) solves the issue, but two
other issues arise: the system theme doesn't get applied to widgets and one of
the widgets completely freezes the application (no exceptions are thrown, it
just stops handling events).
The application runs perfectly on Ubuntu 8.04 (which was used for development),
but later versions fails to run the code.

Reproducible: Always

Steps to Reproduce:
1. Build the application using gmcs.
2. Start the application from MonoDevelop, a console or by using a desktop
launcher.
Actual Results:  
An exception is thrown just before the main window would draw completely (an
empty window can be seen for a second then it fades away).

Expected Results:  
The software should run correctly, as it used to using former versions of Mono
and GTK, for example Mono 1.2.6 and GTK 2.12.9.

Component versions:

Mono 2.0.1
gtk-sharp 2.12.0.0
GTK+ 2.16.1
libx11 1.1.99.2
pango 1.24.1
cairo 1.8.6

-- 
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