GNOME Bugzilla – Bug 411586
gnome-control-center crashed with SIGSEGV in g_markup_escape_text()
Last modified: 2011-06-02 22:39:01 UTC
That bug has been opened on https://launchpad.net/bugs/86557 "7.04 Feisty Fawn Herd-4 Control Center crashes on launch when /etc/environment is set to: LANG="sv_SE.ISO-8859-15" ... but not when LANG="sv_SE.UTF-8" ... Package: gnome-control-center 1:2.17.91-0ubuntu4 ... Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". Core was generated by `gnome-control-center'. Program terminated with signal 11, Segmentation fault.
+ Trace 113521
Thread 1 (process 9036)
8859-15 does not seem to like that. Not sure if this is a GTK bug and the chars should get converted somehow. ..."
Debug valgrind from a duplicate: ==7647== Invalid read of size 1 ==7647== at 0x45A7B00: g_markup_escape_text (gmarkup.c:1903) ==7647== by 0x45A869C: g_markup_vprintf_escaped (gmarkup.c:2215) ==7647== by 0x45A876A: g_markup_printf_escaped (gmarkup.c:2272) ==7647== by 0x404CEBE: application_tile_new_full (application-tile.c:356) ==7647== by 0x4048E8E: insert_launcher_into_category (app-shell.c:1231) ==7647== by 0x40491B6: generate_launchers (app-shell.c:1032) ==7647== by 0x40494C5: generate_categories (app-shell.c:877) ==7647== by 0x8049223: main (control-center.c:156) ==7647== Address 0x77E1919 is 0 bytes after a block of size 9 alloc'd ==7647== at 0x4021380: malloc (vg_replace_malloc.c:149) ==7647== by 0x468188A: vasprintf (in /lib/tls/i686/cmov/libc-2.5.so) ==7647== by 0x45CCE86: g_vasprintf (gprintf.c:311) ==7647== by 0x45BEE65: g_strdup_vprintf (gstrfuncs.c:188) ==7647== by 0x45A85B3: g_markup_vprintf_escaped (gmarkup.c:2173) ==7647== by 0x45A876A: g_markup_printf_escaped (gmarkup.c:2272) ==7647== by 0x404CEBE: application_tile_new_full (application-tile.c:356) ==7647== by 0x4048E8E: insert_launcher_into_category (app-shell.c:1231) ==7647== by 0x40491B6: generate_launchers (app-shell.c:1032) ==7647== by 0x40494C5: generate_categories (app-shell.c:877) ==7647== by 0x8049223: main (control-center.c:156)
This should probably be moved to glib.
Created attachment 188793 [details] [review] Fixes i18n issue with libslab
Created attachment 189106 [details] [review] Updated patch Updated patch to be more in line with libslab's coding style
Review of attachment 189106 [details] [review]: looks good.
pushed commit f1d131f7e2e898b41c55b5c89dcdf920d16a56e7