https://bugzilla.novell.com/show_bug.cgi?id=363948
Summary: Segmentation fault when exiting from applications using
Gnome.Program
Product: gtk#
Version: 2.x
Platform: x86
OS/Version: Linux
Status: NEW
Severity: Normal
Priority: P5 - None
Component: gnome-sharp
AssignedTo: [email protected]
ReportedBy: [EMAIL PROTECTED]
QAContact: [email protected]
Found By: Customer
Hello,
I am using Archlinux (kernel 2.6.24.1 + 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 :
http://bugzilla.gnome.org/show_bug.cgi?id=517601
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 !
Cheers,
Chicha.
--
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.
_______________________________________________
mono-bugs maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-bugs