1. Make sure you are using scim. If you are not already, type "im-switch -s scim-pinyin" in a gnome terminal. Log out Gnome and then log back in.
2. Open a gnome-terminal.
3. Press Ctrl-Shift-T for 5 times in very short intervals, to have 6 tabs open in all.
4. If the gnome-terminal is still "alive" at this time. Type "exit" to close tabs one by one. You'll probably get a dead gnome-terminal when closing the second or third tab.
Easier steps to reproduce:
1. Make sure you are using scim. If you are not already, type "im-switch -s scim-pinyin" in a gnome terminal. Log out Gnome and then log back in.
2. Open a gnome-terminal.
3. Press Ctrl-Shift-T for 5 times in very short intervals, to have 6 tabs open in all.
4. If the gnome-terminal is still "alive" at this time. Type "exit" to close tabs one by one. You'll probably get a dead gnome-terminal when closing the second or third tab.