Comment 11 for bug 107391

Revision history for this message
Minase (spam-encapsulated) wrote :

I just thought I'd chime in to say I am having this same issue with Feisty, which never exhibited itself in the previous two versions of Ubuntu I have used.

So far, this bug *only* affects gnome-terminal for me - though I don't type much Japanese in other applications, so who knows.
When it does affect gnome-terminal, most of the time it results in a crash after a second or two, which spits out the following to the console:

---
*** glibc detected *** gnome-terminal: munmap_chunk(): invalid pointer: 0x08865120 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(cfree+0x1bb)[0xb7533f5b]
/usr/lib/libglib-2.0.so.0(g_free+0x31)[0xb7738131]
/usr/lib/libglib-2.0.so.0[0xb774d14a]
/usr/lib/libglib-2.0.so.0(g_string_append_printf+0x17)[0xb774d167]
/usr/lib/libglib-2.0.so.0(g_log_default_handler+0x3b9)[0xb773a3d9]
/usr/lib/libglib-2.0.so.0(g_logv+0x2e5)[0xb7739525]
/usr/lib/libglib-2.0.so.0(g_log+0x29)[0xb7739749]
/usr/lib/libvte.so.9[0xb7d7b0e9]
/usr/lib/libvte.so.9[0xb7d7c9ca]
/usr/lib/libvte.so.9[0xb7d6e0ee]
/usr/lib/libvte.so.9[0xb7d5deb4]
/usr/lib/libvte.so.9[0xb7d67076]
/usr/lib/libgtk-x11-2.0.so.0(_gtk_marshal_BOOLEAN__BOXED+0x60)[0xb7b2a6b0]
/usr/lib/libgobject-2.0.so.0[0xb77a0e49]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x12b)[0xb77a262b]
/usr/lib/libgobject-2.0.so.0[0xb77b3753]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x68f)[0xb77b43ef]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x29)[0xb77b47e9]
/usr/lib/libgtk-x11-2.0.so.0[0xb7c3ee18]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x534)[0xb7b24de4]
/usr/lib/libgdk-x11-2.0.so.0[0xb799064f]
/usr/lib/libgdk-x11-2.0.so.0(gdk_window_process_all_updates+0x97)[0xb7990887]
/usr/lib/libgdk-x11-2.0.so.0[0xb7990905]
/usr/lib/libglib-2.0.so.0[0xb772f091]
/usr/lib/libglib-2.0.so.0(g_main_context_dispatch+0x182)[0xb7730df2]
/usr/lib/libglib-2.0.so.0[0xb7733dcf]
/usr/lib/libglib-2.0.so.0(g_main_loop_run+0x1a9)[0xb7734179]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main+0xb4)[0xb7b25044]
gnome-terminal(main+0x754)[0x8064374]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc)[0xb74deebc]
gnome-terminal[0x8059471]
======= Memory map: ========
08048000-0808e000 r-xp 00000000 08:02 39991 /usr/bin/gnome-terminal
0808e000-08090000 rw-p 00046000 08:02 39991 /usr/bin/gnome-terminal
08090000-08a6a000 rw-p 08090000 00:00 0 [heap]
aee78000-aff95000 r--p 00000000 08:02 69837 /usr/local/share/fonts/ukai.ttf
aff95000-b17d9000 r--p 00000000 08:02 69881 /usr/local/share/fonts/uming.ttf
b17d9000-b2e0c000 r--p 00000000 08:02 11910 /usr/local/share/fonts/ARIALUNI.TTF
b314c000-b314d000 ---p b314c000 00:00 0
b314d000-b394d000 rw-p b314d000 00:00 0
b394d000-b39ca000 r--p 00000000 08:02 809 /usr/lib/locale/ja_JP.utf8/LC_CTYPE
b39ca000-b39dc000 r-xp 00000000 08:02 19210 /usr/lib/scim-1.0/1.4.0/IMEngine/socket.so
b39dc000-b39dd000 rw-p 00011000 08:02 19210 /usr/lib/scim-1.0/1.4.0/IMEngine/socket.so
b39dd000-b3a18000 r--p 00000000 08:02 25511 /usr/lib/locale/en_US.utf8/LC_CTYPE
b3a18000-b3af7000 r-xp 00000000 08:02 39725 /usr/lib/libstdc++.so.6.0.8
b3af7000-b3afa000 r--p 000de000 08:02 39725 /usr/lib/libstdc++.so.6.0.8
b3afa000-b3afc000 rw-p 000e1000 08:02 39725 /usr/lib/libstdc++.so.6.0.8
b3afc000-b3b02000 rw-p b3afc000 00:00 0
b3b02000-b3bd6000 r-xp 00000000 08:02 103469 /usr/lib/libscim-1.0.so.8.1.0
b3bd6000-b3be4000 rw-p 000d4000 08:02 103469 /usr/lib/libscim-1.0.so.8.1.0
b3be4000-b3c05000 r-xp 00000000 08:02 19195 /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so
b3c05000-b3c06000 rw-p 00021000 08:02 19195 /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so
b3c06000-b3c66000 rw-s 00000000 00:08 23592989 /SYSV00000000 (deleted)
b4276000-b42a7000 rw-p b4276000 00:00 0
b4315000-b4351000 r--p 00000000 08:02 3843 /usr/share/fonts/truetype/freefont/FreeSerifBold.ttf
b4351000-b43bf000 rw-p b4351000 00:00 0
b43bf000-b4b29000 r--p 00000000 08:02 69842 /usr/local/share/fonts/kochi-gothic-subst.ttf
b4b35000-b4b4e000 r--p 00000000 08:02 69693 /usr/local/share/fonts/Rekha.ttf
b4b4e000-b4b54000 r-xp 00000000 08:02 19208 /usr/lib/scim-1.0/1.4.0/Config/socket.so
b4b54000-b4b55000 rw-p 00005000 08:02 19208 /usr/lib/scim-1.0/1.4.0/Config/socket.so
b4b68000-b4be8000 rw-p b4b68000 00:00 0
b4c14000-b4c26000 r--p 00000000 08:02 69880 /usr/local/share/fonts/TSCu_paranari.ttf
b4c26000-b4c31000 r-xp 00000000 08:02 19352 /lib/libgcc_s.so.1
b4c31000-b4c32000 rw-p 0000a000 08:02 19352 /lib/libgcc_s.so.1
b4c32000-b4c63000 rw-p b4c32000 0Aborted (core dumped)
---

It's especially fun when I have 10 or so terminals open, and watch them all disappear...
The pain can be lessened somewhat by passing the --disable-factory option, so only one instance of terminal crashes.

Relevant environment...

GTK_IM_MODULE=scim
LANG=en_GB.UTF-8
XMODIFIERS=@im=SCIM

Possibly related, possibly not - while I am typing in kana, gnome-terminal frequently spits out messages like the following to the console:

(gnome-terminal:14224): Vte-WARNING **: Can not find appropiate font for character U+0019.
(gnome-terminal:14224): Vte-WARNING **: Can not find appropiate font for character U+b7607158.

They don't seem to do any harm, though.

Interestingly, I am also using an NFS home... though I can't see why this could be related.