symless / synergy

Synergy lets you share one mouse and keyboard between multiple computers on Windows, macOS and Linux.
https://symless.com/synergy
GNU General Public License v2.0
10.31k stars 3.65k forks source link

Crash while using VMWare Workstation 8/9 #3292

Closed nbolton closed 1 week ago

nbolton commented 9 years ago

Imported issue:

Steps to reproduce:

  1. Install Ubuntu 12.04 64-bit with synergys (1.4.10)
  2. Install VMWare workstation 8 or 9
  3. Install synergyc on a Windows 7 64-bit.

Go inside a VM and try to move your mouse to the Windows 7 client. Synergys will crash, see stack trace below:

Program received signal SIGSEGV, Segmentation fault. 0x00007f18537cddb3 in ?? () from /usr/lib/x86_64-linux-gnu/libXi.so.6 (gdb) bt

0 0x00007f18537cddb3 in ?? () from /usr/lib/x86_64-linux-gnu/libXi.so.6

1 0x00007f18540318da in _XCopyEventCookie ()

from /usr/lib/x86_64-linux-gnu/libX11.so.6 Cannot access memory at address 0x7fffb6d5a788

Versions and operating systems:

Ubuntu 12.04 64-bit VMWare Workstation 8/9 Synergy 1.4.10 on both server and client

Temporary workarounds:

Not known

Additional comments:

None

nbolton commented 9 years ago

This looks like a duplicate of #3131

This has been driving me crazy, now I have clients either side of my synergy server.

nbolton commented 9 years ago

I posted a patch that fixes the segfaults http://synergy-foss.org/spit/issues/details/3131/?comment#5

Would be good if you can test it.

nbolton commented 9 years ago

I have tested this "hack" on the nightly build, but this still results to me in a segfault:

[24565.108581] synergys[12840]: segfault at 40 ip 00007f0a2c847db3 sp 00007fff7edabed0 error 4 in libXi.so.6.1.0[7f0a2c840000+e000]

nbolton commented 9 years ago

./synergys --version synergys 1.4.11, protocol version 1.4

neilcar commented 6 years ago

I'm reproing this on Ubuntu 18.04 with Synergy 1.10 and latest VMWare Player. It only seems to repro if VMWare is on the edge of the screen that's connected to a Synergy client -- when I try to move off-screen, synergys hits the sigfault.

nbolton commented 1 week ago

This issue has been inactive for a while so I'll close it for now. Please let me know if this is still an issue so that I can reopen it.