Bug #3074 - "Shift" and "Alt" keys crash Synergyc
- Related to: Feature #3042 - Add option to remap altgr modifier
- Related to: Bug #3088 - AltGr key not working on Windows XP client (Linux server) v1.4.7
Steps to reproduce:
- The server is on KDE with a keyboard map of "fr"
- The client is on Unity with a keyboard map of "fr"
- Typing "a" on the server do output an "a" on the server, but output a "q" on the client.
- Changing the keyboard map of the KDE server from "fr" to "us";
- Typing "a" on the server output a "q" on the server, but output an "a" on the client.
- Changing back the server (us->fr)
- (same as 3)
- Typing "Shift+:" (Shift plus ":" is used on a French keyboard to produce a "/") do output a "/" on the server, but crash the client with a "Segmentation Fault (core dumped)" (the server continue to work alright)
Pressing "Shift" alone or "Alt" alone also do crash the Synergy client.
Expected: An "a" should be an "a", and "Shift" should not crash the client.
Actual: An "a" is a "q", and "Shift" do crash the client.
Versions (Synergy, OS):
Server: 1.3.8-1ubuntu1 (Ubuntu 12.04 Alpha 1)
Client 1: 1.3.8-1ubuntu1 (Ubuntu 12.04 Alpha 1)
#1
I have a similar issue when using Windows 7 x64 as the Synergy server (1.4.10) and Ubuntu 12.04 LTS with synergyc (1.3.8) installed and any/all patches applied from Ubuntu default repositories.
#2
Same issue with Ubuntu 10.04 as server and Ubuntu 12.04 LTS. Shift key and Alt key both crash the client.
#3
Here is what the running with DEBUG2 set and hitting the shift key in the client:
2012-10-26T10:07:43 DEBUG2: msg from server: DKDN /build/buildd/synergy-1.3.8/src/lib/client/CServerProxy.cpp,114 2012-10-26T10:07:43 DEBUG2: readf(%%2i%%2i%%2i) /build/buildd/synergy-1.3.8/src/lib/synergy/CProtocolUtil.cpp,50 2012-10-26T10:07:43 DEBUG2: readf: read 2 byte integer: 61410 (0xefe2) /build/buildd/synergy-1.3.8/src/lib/synergy/CProtocolUtil.cpp,131 2012-10-26T10:07:43 DEBUG2: readf: read 2 byte integer: 8192 (0x2000) /build/buildd/synergy-1.3.8/src/lib/synergy/CProtocolUtil.cpp,131 2012-10-26T10:07:43 DEBUG2: readf: read 2 byte integer: 62 (0x3e) /build/buildd/synergy-1.3.8/src/lib/synergy/CProtocolUtil.cpp,131 2012-10-26T10:07:43 DEBUG1: recv key down id=0x0000efe2, mask=0x2000, button=0x003e /build/buildd/synergy-1.3.8/src/lib/client/CServerProxy.cpp,566 2012-10-26T10:07:43 DEBUG1: mapKey efe2 (61410) with mask 2000, start state: 0000 /build/buildd/synergy-1.3.8/src/lib/synergy/CKeyMap.cpp,263 2012-10-26T10:07:43 DEBUG1: find best: 0000 2000 /build/buildd/synergy-1.3.8/src/lib/synergy/CKeyMap.cpp,613 2012-10-26T10:07:43 DEBUG1: best key index 0 of 1 (exact) /build/buildd/synergy-1.3.8/src/lib/synergy/CKeyMap.cpp,694 2012-10-26T10:07:43 DEBUG1: found key in group 0 /build/buildd/synergy-1.3.8/src/lib/synergy/CKeyMap.cpp,619 2012-10-26T10:07:43 DEBUG1: state: 0000,0000,0000 /build/buildd/synergy-1.3.8/src/lib/synergy/CKeyMap.cpp,786 2012-10-26T10:07:43 DEBUG1: flip: 0000 (0000 vs 0000 in 0000 - 0000) /build/buildd/synergy-1.3.8/src/lib/synergy/CKeyMap.cpp,879 2012-10-26T10:07:43 DEBUG1: desired state: 2000 0000,0000,0000 /build/buildd/synergy-1.3.8/src/lib/synergy/CKeyMap.cpp,798 2012-10-26T10:07:43 DEBUG1: flip: 0000 (0000 vs 2000 in fffe - 6020) /build/buildd/synergy-1.3.8/src/lib/synergy/CKeyMap.cpp,879 2012-10-26T10:07:43 DEBUG1: mapped to 03e, new state 0001 /build/buildd/synergy-1.3.8/src/lib/synergy/CKeyMap.cpp,325 Segmentation fault (core dumped)
#4
I down graded my client to 1.3.6 and it's now working.
#5
Same issue with 1.3.8 Windows Server and 1.3.8 client on kubuntu 12.0.4 Upgrade to 1.4.10 on Server+Client fixed the problem!
#6
Ubuntu 12.10, synergy 1.3.8 (client and server) gives exactly the same results when pressing ctrl, alt, shift or capslock (which I have swapped with ctrl).
#7
I'm on Zentyal (Ubuntu 12.04.2), and had this issue running synergyc 1.3.8 connecting to a synergy 1.4.10 server on a Windows 7 machine.
I managed to fix it by updating the linux one to 1.4.10:
Remove 1.3.8: sudo apt-get remove synergy
Check what versions are available: sudo apt-cache showpkg synergy
Install the latest one (this might be different): sudo apt-get install synergy=1.4.10-1ubuntu1~ubuntu12.04.1
Run as normal
Write comment