[Mono-bugs] [Bug 363948] New: Segmentation fault when exiting from applications using Gnome.Program

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Fri Feb 22 04:50:18 EST 2008


           Summary: Segmentation fault when exiting from applications using
           Product: gtk#
           Version: 2.x
          Platform: x86
        OS/Version: Linux
            Status: NEW
          Severity: Normal
          Priority: P5 - None
         Component: gnome-sharp
        AssignedTo: mono-bugs at lists.ximian.com
        ReportedBy: cdadhemar at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: Customer


I am using Archlinux (kernel + patch for recent security hole) and
mono 1.2.6.

I have noticed a "Segmentation fault" at exit time for applications using
Gnome.Program class. I reproduced the problem with F-Spot and Tomboy.
A bug as been reported at F-Spot's bug tracker :

This is reproducible with the very basic program below :

// demo.cs

using System;
using Gtk;
using Gnome;

public class MainClass
    static void Main (string[] args)
        new MyProgram (args);

class MyProgram

    public MyProgram(string[] args)
        Program program = new Program ("Demo", "0.1", Modules.UI, args);
        App app = new App ("gnome-demo", "Main demo Window");
        app.DeleteEvent += Window_Delete;

        app.ShowAll ();
        program.Run ();

    private void Window_Delete (object o, DeleteEventArgs args)
        Application.Quit ();


// End demo.cs

Compile with the following command :
gmcs demo.cs -pkg:gtk-sharp-2.0,gnome-sharp-2.0

Run the program in a console :
mono demo.exe

Close the Gnome.App window (Click the cross at top right with a standard
clearlook theme) : mono exits with "Segmentation fault" message and the
corresponding kernel log message :

mono[10237]: segfault at b78f7848 eip b78f7848 esp
bf92884c error 4

This bug does not occure if I use pure GTK# application (no Gnome stuffs).

Thank you very much for your help !


Configure bugmail: https://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