Public bug reported:

The following program (compile with gcc -g -Wall test-gtk.c -o test-gtk
`pkg-config --cflags --libs gtk+-3.0`):

#include <gtk/gtk.h>

int main (int argc, char **argv)
{
    gtk_init (&argc, &argv);

    GtkWidget *w = gtk_window_new (GTK_WINDOW_TOPLEVEL);
    gtk_widget_show (w);

    GtkWidget *l = gtk_label_new ("M");
    gtk_widget_show (l);
    gtk_container_add (GTK_CONTAINER (w), l);

    gtk_main ();

    return 0;
}

Causes XMir to crash. Removing the label causes it to run fine.

** Affects: xorg-server (Ubuntu)
     Importance: High
     Assignee: Robert Ancell (robert-ancell)
         Status: Triaged

** Changed in: xorg-server (Ubuntu)
       Status: New => Triaged

** Changed in: xorg-server (Ubuntu)
   Importance: Undecided => High

** Changed in: xorg-server (Ubuntu)
     Assignee: (unassigned) => Robert Ancell (robert-ancell)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1493638

Title:
  Simple GTK+ application with single label crashes XMir

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xorg-server/+bug/1493638/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to