Thank you for taking the time to report this issue and helping to make
Ubuntu better. Examining the information you have given us, this does
not appear to be a bug report so we are closing it and converting it to
a question in the support tracker. We understand the difficulties you
are facing, but it is better to raise problems you are having in the
support tracker at https://answers.launchpad.net/ubuntu if you are
uncertain if they are bugs. You can also find help with your problem in
the support forum of your local Ubuntu community http://loco.ubuntu.com/
or asking at http://askubuntu.com or http://ubuntuforums.org. For help
on reporting bugs, see https://help.ubuntu.com/community/ReportingBugs.

** Changed in: gtk+2.0 (Ubuntu)
       Status: New => Invalid

** Converted to question:
   https://answers.launchpad.net/ubuntu/+source/gtk+2.0/+question/253634

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to gtk+2.0 in Ubuntu.
https://bugs.launchpad.net/bugs/1361621

Title:
  gtk_label_set_line_wrap makes hello world application crash

Status in “gtk+2.0” package in Ubuntu:
  Invalid

Bug description:
  Hi,

  I'm testing a crash so I came up with this small application:

  #include <gtk/gtk.h>

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

      GtkWidget *window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
      gtk_signal_connect (GTK_OBJECT (window), "destroy", 
GTK_SIGNAL_FUNC(gtk_main_quit), NULL);

      GtkWidget *label = gtk_label_new("Referenced table has no candidate 
columns with a compatible type for group.groupcol.\nHint: source column has 
type VARCHAR(45),\nPK of referenced table is INT(11).");
      gtk_label_set_line_wrap (GTK_LABEL(label), true);

      gtk_container_add (GTK_CONTAINER (window), label);

      gtk_widget_show (label);
      gtk_widget_show  (window);

      gtk_main ();

      return 0;
  }

  
  I'm building using the following command:

  > g++ main.cpp -o main `pkg-config --cflags --libs gtk+-2.0`

  runnuing ./main will result in a crash

  *** Error in `./main': malloc(): memory corruption: 0x0000000001b169b0 ***
  Aborted (core dumped)

  Core dump is attached.

  ProblemType: Bug
  DistroRelease: Ubuntu 14.04
  Package: libgtk2.0-0 2.24.23-0ubuntu1.1
  ProcVersionSignature: Ubuntu 3.13.0-32.57-generic 3.13.11.4
  Uname: Linux 3.13.0-32-generic x86_64
  ApportVersion: 2.14.1-0ubuntu3.3
  Architecture: amd64
  CurrentDesktop: KDE
  Date: Tue Aug 26 12:43:45 2014
  InstallationDate: Installed on 2013-06-04 (448 days ago)
  InstallationMedia: Kubuntu 13.04 "Raring Ringtail" - Release amd64 (20130424)
  SourcePackage: gtk+2.0
  UpgradeStatus: Upgraded to trusty on 2014-07-02 (55 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/1361621/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to