← Back to team overview

desktop-packages team mailing list archive

[Bug 1493638] [NEW] Simple GTK+ application with single label crashes XMir

 

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 Desktop
Packages, which is subscribed to xorg-server in Ubuntu.
https://bugs.launchpad.net/bugs/1493638

Title:
  Simple GTK+ application with single label crashes XMir

Status in xorg-server package in Ubuntu:
  Triaged

Bug description:
  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.

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


Follow ups