Description of problem: This bug is quite hard to catch. I did it quite a few times to get it to crash. Version-Release number of selected component (if applicable): scim-1.4.4-23.fc6 How reproducible: Always Steps to Reproduce: 1.goto SCIM Setup 2.goto Global Setup 3.click on '...' to modify Trigger key 4.Add the desired combination and apply changes There is one more way... 1. right click scim icon 2. select 'Reload Configuration' Actual results: scim panel crash Expected results: should not crash Additional info: /usr/lib/scim-1.0/scim-panel-gtk Program received signal SIGPIPE, Broken pipe. [Switching to Thread -1211085920 (LWP 2491)] 0xb7f6c402 in ?? () (gdb) bt #0 0xb7f6c402 in ?? () #1 0x00d9ccab in __write_nocancel () from /lib/libpthread.so.0 #2 0x0029696d in scim::Socket::write (this=0xb7d040cc, buf=0x95ceb28, size=26) at scim_socket.cpp:376 #3 0x0029e6d5 in scim::Transaction::write_to_socket (this=0x95ce7e0, socket=@0xb7d040cc, signature=Variable "signature" is not available. ) at scim_transaction.cpp:136 #4 0x0028e589 in scim::PanelAgent::PanelAgentImpl::socket_receive_callback ( this=0x95ce7c0, server=0x95ce7d8, client=@0xb7d04344) at scim_panel_agent.cpp:575 #5 0x00283de5 in scim::MethodSlot2<scim::PanelAgent::PanelAgentImpl, void, scim::SocketServer*, scim::Socket const&>::call (this=0x95cf380, p1=0x95ce7d8, p2=@0xb7d04344) at ./scim_slot.h:420 #6 0x0029bce5 in scim::SocketServer::run (this=0x95ce7d8) at ./scim_signals.h:482 #7 0x00281737 in scim::PanelAgent::run (this=0x95ce710) at scim_panel_agent.cpp:238 #8 0x0804fd77 in panel_agent_thread_func (data=0x0) at scim_panel_gtk.cpp:2380 #9 0x06c0e64f in g_thread_create_full () from /lib/libglib-2.0.so.0 #10 0x00d973fc in start_thread () from /lib/libpthread.so.0 #11 0x00bd38ae in clone () from /lib/libc.so.6 (gdb) /usr/bin/scim-bridge-agent Program received signal SIGUSR1, User defined signal 1. [Switching to Thread -1344017504 (LWP 2710)] 0xb7fae402 in ?? () (gdb) bt #0 0xb7fae402 in ?? () #1 0x00d9c1ee in sem_wait () from /lib/libpthread.so.0 #2 0x08057645 in ScimBridgeAgentEventClient::poll_event (this=0x92e9740) at scim-bridge-agent-event-client.cpp:111 #3 0x08058a7c in ScimBridgeAgentClientListenerImpl::process_event ( this=0x92e9740) at scim-bridge-agent-client-listener.cpp:375 #4 0x08058bdb in run_socket_writer (arg=0x92e9740) at scim-bridge-agent-client-listener.cpp:153 #5 0x00d973fc in start_thread () from /lib/libpthread.so.0 #6 0x00bd38ae in clone () from /lib/libc.so.6 (gdb)
I haven't seen this. Is it still happening with latest rawhide?
There were a couple of instance where after upgrading to rawhide scim completely stop working. Not 100%, thus, a bit harder to reproduce. If you can give me a couple of days, once Test2 is ready, I will be able to confirm for you.
Perhaps it is related to upgrades of scim-bridge? Can you try testing scim-bridge-0.2.{5,6} to 0.2.7 for example.
Closing this for now since I haven't been able to reproduce it. Please reopen if you see it again.
This bug is still around. :(
Created attachment 136610 [details] new trace for the bug Step to reproduce is the same. Apply some changes in the scim-setup and click ok.
I can't reproduce on x86_64 at least.
Package Info ============= scim-1.4.4-34.fc6 scim-tables-0.5.6-7 scim-chewing-0.3.1-4.fc6 scim-bridge-gtk-0.4.5-1.fc6 scim-qtimm-0.9.4-5 scim-bridge-0.4.5-1.fc6 scim-pinyin-0.5.91-12.fc6 scim-tables-chinese-0.5.6-7 scim-libs-1.4.4-34.fc6 scim-hangul-0.2.2-7.fc6
How frenqent is this issue?
Lawrence, did you have a chance to test on x86_64? Or should I test on i386?
Ok, I have seen how to reproduce this now. But looking at the SocketImpl::write method implementation in scim_socket.cpp suggests this is probably the intended behaviour.