Crash changing menu item type to Image and editing name (g_utf8_get_char)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Glade |
Expired
|
Critical
|
|||
glade-3 (Ubuntu) |
Triaged
|
Medium
|
Unassigned |
Bug Description
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_
==8631==
==8631== Invalid read of size 1
==8631== at 0x44E158B: g_utf8_get_char (in /usr/lib/
==8631== by 0x4058904: (within /usr/lib/
==8631== by 0x4058A21: glade_project_
==8631== by 0x4059518: (within /usr/lib/
==8631== by 0x4453169: g_cclosure_
==8631== by 0x4446758: g_closure_invoke (in /usr/lib/
==8631== by 0x445AD1C: (within /usr/lib/
==8631== by 0x445C915: g_signal_
==8631== by 0x445CC58: g_signal_emit (in /usr/lib/
==8631== by 0x444AC80: (within /usr/lib/
==8631== by 0x44474CE: (within /usr/lib/
==8631== by 0x444B718: g_object_notify (in /usr/lib/
==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/
==8631== by 0x4058904: (within /usr/lib/
==8631== by 0x4058A21: glade_project_
==8631== by 0x4059518: (within /usr/lib/
==8631== by 0x4453169: g_cclosure_
==8631== by 0x4446758: g_closure_invoke (in /usr/lib/
==8631== by 0x445AD1C: (within /usr/lib/
==8631== by 0x445C915: g_signal_
==8631== by 0x445CC58: g_signal_emit (in /usr/lib/
==8631== by 0x444AC80: (within /usr/lib/
==8631== by 0x44474CE: (within /usr/lib/
==8631== by 0x444B718: g_object_notify (in /usr/lib/
==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
NonfreeKernelMo
Package: glade-3 3.4.2-0ubuntu1
PackageArchitec
ProcCmdline: glade-3
ProcEnviron:
PATH=/
LANG=en_US.UTF-8
SHELL=/bin/bash
Signal: 11
SourcePackage: glade-3
Stacktrace:
#0 0xb7b0958b in g_utf8_get_char () from /usr/lib/
#1 0xb7f36905 in ?? () from /usr/lib/
#2 0x00000000 in ?? ()
StacktraceTop:
g_utf8_get_char () from /usr/lib/
?? () from /usr/lib/
?? ()
ThreadStacktrace:
.
Thread 1 (process 7844):
#0 0xb7b0958b in g_utf8_get_char () from /usr/lib/
#1 0xb7f36905 in ?? () from /usr/lib/
#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
SegvAnalysis:
Segfault happened at: 0xb7b0958b <g_utf8_
PC (0xb7b0958b) ok
source "(%eax)" (0x00000000) not located in a known VMA region (needed readable region)!
destination "%edx" ok
SegvReason: reading NULL VMA
Changed in glade: | |
status: | Unknown → New |
summary: |
- glade-3 crashed with SIGSEGV in g_utf8_get_char() + Crash changing menu item type to Image and editing name |
summary: |
Crash changing menu item type to Image and editing name + (g_utf8_get_char) |
description: | updated |
affects: | glade-3 (Ubuntu) → glade (Ubuntu) |
affects: | glade (Ubuntu) → glade-3 (Ubuntu) |
Changed in glade-2.old: | |
importance: | Unknown → Undecided |
status: | New → Invalid |
Changed in glade-3: | |
status: | Unknown → New |
Changed in glade-3: | |
importance: | Unknown → Critical |
Changed in glade-3: | |
status: | New → Expired |
StacktraceTop: IA__g_utf8_ get_char (p=0x0) at /build/ buildd/ glib2.0- 2.16.2/ glib/gutf8. c:271 release_ widget_ name (project=0x851f5c8, glade_widget= 0x89386a8, widget_name=0x0) widget_ name_changed (project=0x851f5c8, widget=0x89386a8, old_name=0x0) at glade-project. c:1133 on_widget_ notify (widget=0x89386a8, arg=0x8666b28, project=0x851f5c8) at glade-project.c:829 marshal_ VOID__PARAM (closure=0x89675c0, return_value=0x0, n_param_values=2,
glade_project_
glade_project_
glade_project_
IA__g_cclosure_