eliu大您好:
我在設定->外觀設定->面板狀態(tray)中,使用「GTK雙圖示」。此時按系統列的全形/半形切換會讓gcin crash。使用gdb查看問題如下:
(gdb) bt
#0 0x0000555555561c5f in toggle_half_full_char_sub () at eve.cpp:939
#1 0x00007ffff750e98a in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#2 0x00007ffff750eb00 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#3 0x00007ffff7b7b76b in () at /usr/lib/libgtk-3.so.0
#4 0x00007ffff7862f6f in () at /usr/lib/libgtk-3.so.0
#5 0x00007ffff74f2052 in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#6 0x00007ffff751a9c5 in () at /usr/lib/libgobject-2.0.so.0
#7 0x00007ffff750dbcb in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#8 0x00007ffff750eb00 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#9 0x00007ffff7b299f5 in () at /usr/lib/libgtk-3.so.0
#10 0x00007ffff79c1e15 in () at /usr/lib/libgtk-3.so.0
#11 0x00007ffff79c316d in gtk_main_do_event () at /usr/lib/libgtk-3.so.0
#12 0x00007ffff771c413 in () at /usr/lib/libgdk-3.so.0
#13 0x00007ffff776d114 in () at /usr/lib/libgdk-3.so.0
#14 0x00007ffff73fda84 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#15 0x00007ffff74519b1 in () at /usr/lib/libglib-2.0.so.0
#16 0x00007ffff73fcfd3 in g_main_loop_run () at /usr/lib/libglib-2.0.so.0
#17 0x00007ffff79c022f in gtk_main () at /usr/lib/libgtk-3.so.0
#18 0x000055555555f3a0 in main (argc=<optimized out>, argv=<optimized out>) at gcin.cpp:704
(gdb) p current_CS
$1 = (ClientState *) 0x0
似乎是因為有變數尚未被賦值?
另外,如果在面板狀態中使用「Unity indicator」,重新執行gcin後,就沒有這個問題。
我的系統為Arch Linux。gcin是從官方倉庫安裝的,版本2.9.0-3。