← Back to team overview

desktop-packages team mailing list archive

[Bug 1537613] [NEW] Improper memory handling reported by valgrind

 

Public bug reported:

I'm getting a lot of those. In this particular application it doesn't
cause problems, but I've got X crashes from time to time.

(cardpeek:3897): Gtk-CRITICAL **: gtk_tree_model_row_inserted: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
==3897== Invalid read of size 8
==3897==    at 0x40E1D4: dyntree_model_column_name_to_index (dyntree_model.c:142)
==3897==    by 0x40E1D4: dyntree_model_column_register (dyntree_model.c:157)
==3897==    by 0x40E724: dyntree_model_iter_attribute_set_by_name (dyntree_model.c:608)
==3897==    by 0x41373D: subr_nodes_append (lua_nodes.c:262)
==3897==    by 0x4E4392C: ??? (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
==3897==    by 0x4E4F53C: ??? (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
==3897==    by 0x4E43C6D: ??? (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
==3897==    by 0x4E432AE: ??? (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
==3897==    by 0x4E43EB0: ??? (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
==3897==    by 0x4E3FDD0: lua_pcallk (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
==3897==    by 0x415E57: run_file (lua_ext.c:115)
==3897==    by 0x41CAEB: menu_run_script_cb (gui_cardview.c:80)
==3897==    by 0x6C5C014: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==  Address 0x19750a40 is 32 bytes inside a block of size 64 free'd
==3897==    at 0x4C2CE2B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==3897==    by 0x6C7F6A9: g_type_free_instance (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==    by 0x58AF9FD: gtk_tree_view_set_model (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1600.7)
==3897==    by 0x58AFEF6: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1600.7)
==3897==    by 0x6C5BF6E: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==    by 0x6C6E57D: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==    by 0x6C76DFB: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==    by 0x6C7712E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==    by 0x58D2E87: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1600.7)
==3897==    by 0x6C627B7: g_object_run_dispose (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==    by 0x580BAF1: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1600.7)
==3897==    by 0x56DA52F: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1600.7)
==3897==  Block was alloc'd at
==3897==    at 0x4C2BBCF: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==3897==    by 0x52C4578: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.1)
==3897==    by 0x52DB762: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.1)
==3897==    by 0x52DBDFD: g_slice_alloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.1)
==3897==    by 0x6C7F371: g_type_create_instance (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==    by 0x6C6138A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==    by 0x6C62C70: g_object_newv (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==    by 0x6C635A3: g_object_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
==3897==    by 0x40E27C: dyntree_model_new (dyntree_model.c:535)
==3897==    by 0x41D7D9: gui_cardview_create_window (gui_cardview.c:816)
==3897==    by 0x41B89C: gui_create (gui_core.c:635)
==3897==    by 0x41B89C: gui_initialize (gui_core.c:697)
==3897==    by 0x417AEE: cardpeek_main (main.c:415)

ProblemType: Bug
DistroRelease: Ubuntu 15.10
Package: libglib2.0-0 2.46.1-1
ProcVersionSignature: Ubuntu 4.2.0-25.30-generic 4.2.6
Uname: Linux 4.2.0-25-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.19.1-0ubuntu5
Architecture: amd64
CurrentDesktop: Unity
Date: Mon Jan 25 05:26:59 2016
InstallationDate: Installed on 2015-05-08 (261 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
SourcePackage: glib2.0
UpgradeStatus: Upgraded to wily on 2015-11-15 (70 days ago)

** Affects: glib2.0 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug wily

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

Title:
  Improper memory handling reported by valgrind

Status in glib2.0 package in Ubuntu:
  New

Bug description:
  I'm getting a lot of those. In this particular application it doesn't
  cause problems, but I've got X crashes from time to time.

  (cardpeek:3897): Gtk-CRITICAL **: gtk_tree_model_row_inserted: assertion 'GTK_IS_TREE_MODEL (tree_model)' failed
  ==3897== Invalid read of size 8
  ==3897==    at 0x40E1D4: dyntree_model_column_name_to_index (dyntree_model.c:142)
  ==3897==    by 0x40E1D4: dyntree_model_column_register (dyntree_model.c:157)
  ==3897==    by 0x40E724: dyntree_model_iter_attribute_set_by_name (dyntree_model.c:608)
  ==3897==    by 0x41373D: subr_nodes_append (lua_nodes.c:262)
  ==3897==    by 0x4E4392C: ??? (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
  ==3897==    by 0x4E4F53C: ??? (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
  ==3897==    by 0x4E43C6D: ??? (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
  ==3897==    by 0x4E432AE: ??? (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
  ==3897==    by 0x4E43EB0: ??? (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
  ==3897==    by 0x4E3FDD0: lua_pcallk (in /usr/lib/x86_64-linux-gnu/liblua5.2.so.0.0.0)
  ==3897==    by 0x415E57: run_file (lua_ext.c:115)
  ==3897==    by 0x41CAEB: menu_run_script_cb (gui_cardview.c:80)
  ==3897==    by 0x6C5C014: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==  Address 0x19750a40 is 32 bytes inside a block of size 64 free'd
  ==3897==    at 0x4C2CE2B: free (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  ==3897==    by 0x6C7F6A9: g_type_free_instance (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==    by 0x58AF9FD: gtk_tree_view_set_model (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1600.7)
  ==3897==    by 0x58AFEF6: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1600.7)
  ==3897==    by 0x6C5BF6E: g_closure_invoke (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==    by 0x6C6E57D: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==    by 0x6C76DFB: g_signal_emit_valist (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==    by 0x6C7712E: g_signal_emit (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==    by 0x58D2E87: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1600.7)
  ==3897==    by 0x6C627B7: g_object_run_dispose (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==    by 0x580BAF1: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1600.7)
  ==3897==    by 0x56DA52F: ??? (in /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.1600.7)
  ==3897==  Block was alloc'd at
  ==3897==    at 0x4C2BBCF: malloc (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
  ==3897==    by 0x52C4578: g_malloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.1)
  ==3897==    by 0x52DB762: g_slice_alloc (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.1)
  ==3897==    by 0x52DBDFD: g_slice_alloc0 (in /lib/x86_64-linux-gnu/libglib-2.0.so.0.4600.1)
  ==3897==    by 0x6C7F371: g_type_create_instance (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==    by 0x6C6138A: ??? (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==    by 0x6C62C70: g_object_newv (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==    by 0x6C635A3: g_object_new (in /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.4600.1)
  ==3897==    by 0x40E27C: dyntree_model_new (dyntree_model.c:535)
  ==3897==    by 0x41D7D9: gui_cardview_create_window (gui_cardview.c:816)
  ==3897==    by 0x41B89C: gui_create (gui_core.c:635)
  ==3897==    by 0x41B89C: gui_initialize (gui_core.c:697)
  ==3897==    by 0x417AEE: cardpeek_main (main.c:415)

  ProblemType: Bug
  DistroRelease: Ubuntu 15.10
  Package: libglib2.0-0 2.46.1-1
  ProcVersionSignature: Ubuntu 4.2.0-25.30-generic 4.2.6
  Uname: Linux 4.2.0-25-generic x86_64
  NonfreeKernelModules: wl
  ApportVersion: 2.19.1-0ubuntu5
  Architecture: amd64
  CurrentDesktop: Unity
  Date: Mon Jan 25 05:26:59 2016
  InstallationDate: Installed on 2015-05-08 (261 days ago)
  InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Release amd64 (20150422)
  SourcePackage: glib2.0
  UpgradeStatus: Upgraded to wily on 2015-11-15 (70 days ago)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glib2.0/+bug/1537613/+subscriptions