Comment 0 for bug 214225

Revision history for this message
Juan C. Villa (juanqui) wrote : glade-3 crashed with SIGSEGV in g_utf8_get_char()

Binary package hint: glade-3

I have been through similar bug reports but they don't seem to match what I am experiencing. Step to reproduce:

- Create new window
- Add vertical box
- Add menu bar
- Open the "edit" menu bar dialog
- Delete all sub menus under edit
- Add a new submenu under edit
- Change the type of the submene to "Image"
- Change the name to "menuPreferences"
- Press TAB and it crashes

I am not very experienced a debugging precompiled applications. I would love to learn and would appreciate all the help.

Here's a valgrind dump of the application when it's crashing:

(glade-3:8631): GladeUI-CRITICAL **: glade_base_editor_treeview_cursor_changed: assertion `GTK_IS_TREE_VIEW (treeview)' failed
==8631==
==8631== Invalid read of size 1
==8631== at 0x44E158B: g_utf8_get_char (in /usr/lib/libglib-2.0.so.0.1600.3)
==8631== by 0x4058904: (within /usr/lib/libgladeui-1.so.7.0.2)
==8631== by 0x4058A21: glade_project_widget_name_changed (in /usr/lib/libgladeui-1.so.7.0.2)
==8631== by 0x4059518: (within /usr/lib/libgladeui-1.so.7.0.2)
==8631== by 0x4453169: g_cclosure_marshal_VOID__PARAM (in /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x4446758: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x445AD1C: (within /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x445C915: g_signal_emit_valist (in /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x445CC58: g_signal_emit (in /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x444AC80: (within /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x44474CE: (within /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x444B718: g_object_notify (in /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== Address 0x0 is not stack'd, malloc'd or (recently) free'd
==8631==
==8631== Process terminating with default action of signal 11 (SIGSEGV)
==8631== Access not within mapped region at address 0x0
==8631== at 0x44E158B: g_utf8_get_char (in /usr/lib/libglib-2.0.so.0.1600.3)
==8631== by 0x4058904: (within /usr/lib/libgladeui-1.so.7.0.2)
==8631== by 0x4058A21: glade_project_widget_name_changed (in /usr/lib/libgladeui-1.so.7.0.2)
==8631== by 0x4059518: (within /usr/lib/libgladeui-1.so.7.0.2)
==8631== by 0x4453169: g_cclosure_marshal_VOID__PARAM (in /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x4446758: g_closure_invoke (in /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x445AD1C: (within /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x445C915: g_signal_emit_valist (in /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x445CC58: g_signal_emit (in /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x444AC80: (within /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x44474CE: (within /usr/lib/libgobject-2.0.so.0.1600.3)
==8631== by 0x444B718: g_object_notify (in /usr/lib/libgobject-2.0.so.0.1600.3)
==8631==
==8631== ERROR SUMMARY: 79 errors from 25 contexts (suppressed: 215 from 2)
==8631== malloc/free: in use at exit: 11,745,381 bytes in 146,063 blocks.
==8631== malloc/free: 797,972 allocs, 651,909 frees, 134,787,313 bytes allocated.
==8631== For counts of detected errors, rerun with: -v
==8631== searching for pointers to 146,063 not-freed blocks.
==8631== checked 11,820,156 bytes.
==8631==
==8631== LEAK SUMMARY:
==8631== definitely lost: 120,253 bytes in 4,153 blocks.
==8631== possibly lost: 913,273 bytes in 972 blocks.
==8631== still reachable: 10,711,855 bytes in 140,938 blocks.
==8631== suppressed: 0 bytes in 0 blocks.
==8631== Rerun with --leak-check=full to see details of leaked memory.

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Tue Apr 8 17:09:17 2008
DistroRelease: Ubuntu 8.04
ExecutablePath: /usr/bin/glade-3
NonfreeKernelModules: nvidia
Package: glade-3 3.4.2-0ubuntu1
PackageArchitecture: i386
ProcCmdline: glade-3
ProcEnviron:
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: glade-3
Stacktrace:
 #0 0xb7b0958b in g_utf8_get_char () from /usr/lib/libglib-2.0.so.0
 #1 0xb7f36905 in ?? () from /usr/lib/libgladeui-1.so.7
 #2 0x00000000 in ?? ()
StacktraceTop:
 g_utf8_get_char () from /usr/lib/libglib-2.0.so.0
 ?? () from /usr/lib/libgladeui-1.so.7
 ?? ()
ThreadStacktrace:
 .
 Thread 1 (process 7844):
 #0 0xb7b0958b in g_utf8_get_char () from /usr/lib/libglib-2.0.so.0
 #1 0xb7f36905 in ?? () from /usr/lib/libgladeui-1.so.7
 #2 0x00000000 in ?? ()
Title: glade-3 crashed with SIGSEGV in g_utf8_get_char()
Uname: Linux 2.6.24-12-generic i686
UserGroups: adm admin audio cdrom dialout dip floppy fuse lpadmin mythtv plugdev video