epakai / synergy-debian

Synergy packaging for Debian
Other
4 stars 2 forks source link

[513161] synergy segfaults when images are on the clipboard #45

Open epakai opened 7 years ago

epakai commented 7 years ago

BTS_msg_id: 20090126221441.6916.68112.reportbug@steel.nist.gov BTS author: bill luecke william.luecke@nist.gov

Package: synergy Version: 1.3.1-5 Severity: important

I have synergys running on my linux machine, and share the keyboard, mouse and clipboard with my windows XP machine. Frequently, synergys segfaults shortly after cutting and pasting images on the windows box.

here's a trace of synergys --no-daemon from the most recent crash

In the transcript, steel is my linux box and p623063 is my windows XP box

INFO: CServer.cpp,447: switch from "steel" to "p623063" at 0,357 INFO: CScreen.cpp,116: leaving screen DEBUG: CClientProxy1_0.cpp,436: received client "p623063" clipboard 1 seqnum=1, size=417844 INFO: CServer.cpp,1440: screen "p623063" updated clipboard 1 INFO: CServer.cpp,447: switch from "p623063" to "steel" at 3518,503 INFO: CScreen.cpp,98: entering screen DEBUG: CXWindowsClipboard.cpp,313: open clipboard 1 DEBUG: CXWindowsClipboard.cpp,266: empty clipboard 1 DEBUG: CXWindowsClipboard.cpp,289: grabbed clipboard 1 DEBUG: CXWindowsClipboard.cpp,300: add 417832 bytes to clipboard 1 format: 1 DEBUG: CXWindowsClipboard.cpp,348: close clipboard 1 INFO: CServer.cpp,447: switch from "steel" to "p623063" at 0,334 INFO: CScreen.cpp,116: leaving screen INFO: CServer.cpp,447: switch from "p623063" to "steel" at 3513,504 INFO: CScreen.cpp,98: entering screen INFO: CServer.cpp,447: switch from "steel" to "p623063" at 0,427 INFO: CScreen.cpp,116: leaving screen INFO: CServer.cpp,447: switch from "p623063" to "steel" at 3518,915 INFO: CScreen.cpp,98: entering screen Segmentation fault

Here are the relevant lines from /var/log/messages for the last six segfaults

Jan 25 23:43:04 steel kernel: nautilus[4066]: segfault at 00000004 eip b74ecbd4 esp bfc677a0 error 4 Jan 26 09:38:58 steel kernel: synergys[3777]: segfault at 0000000e eip b7d419a2 esp bfa49e64 error 4 Jan 26 13:07:00 steel kernel: synergys[5077]: segfault at 00000009 eip b7da29a2 esp bfb06434 error 4 Jan 26 16:20:38 steel kernel: synergys[5856]: segfault at 08a05e08 eip b7d6f9a2 esp bfc5ed64 error 4 Jan 26 16:30:24 steel kernel: synergys[6801]: segfault at 0820d604 eip b7d789a2 esp bfcae5f4 error 4 Jan 26 16:47:49 steel kernel: synergys[6817]: segfault at ffffff08 eip b7df09a2 esp bfe60ff4 error 4

The last one was the most recent.

The problem usually occurs when cutting and pasting images (large and otherwise) on the windows box. synergys never segfaults (to the best of my recollection) when the cursor is on the windows machine.

I can cut and paste text forever without it crashing. The segfaults are always associated with some sort of image manipulation.

It seems that returning to the linux machine with anything highlighted (or on the clipboard) causes the segfault. This most recent segfault happened while I was cutting and pasting images between windows in PowerPoint.

Data on the XP box: XP Professional Version 2002 Service Pack 2

-- System Information: Debian Release: 5.0 APT prefers testing APT policy: (500, 'testing'), (500, 'stable') Architecture: i386 (i686)

Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=ISO-8859-1) (ignored: LC_ALL set to en_US) Shell: /bin/sh linked to /bin/bash

Versions of packages synergy depends on: ii libc6 2.7-18 GNU C Library: Shared libraries ii libgcc1 1:4.3.2-1.1 GCC support library ii libice6 2:1.0.4-1 X11 Inter-Client Exchange library ii libsm6 2:1.0.3-2 X11 Session Management library ii libstdc++6 4.3.2-1.1 The GNU Standard C++ Library v3 ii libx11-6 2:1.1.5-2 X11 client-side library ii libxext6 2:1.0.4-1 X11 miscellaneous extension librar ii libxinerama1 2:1.0.3-2 X11 Xinerama extension library ii libxtst6 2:1.0.3-1 X11 Testing -- Resource extension

synergy recommends no packages.

synergy suggests no packages.

-- no debconf information

epakai commented 7 years ago

BTS_msg_id: CAOMYMwRQ2nVz_wAMyYGCTG5HV28-dSQWDaF3gr6_cUbOqvtfaw@mail.gmail.com BTS author: ilya brik ilyabr@gmail.com

See: http://synergy-foss.org/tracker/issues/3066

I've downloaded the last .deb (1.4.8) from Synergy's site and the issue does not occur anymore (2 PCs with an updated Debian wheezy installed)

epakai commented 7 years ago

BTS_msg_id: 4FF997E9.4040202@debian.org BTS author: Jeff Licquia licquia@debian.org

On 06/05/2012 06:47 AM, ilya brik wrote:

See: http://synergy-foss.org/tracker/issues/3066

I've downloaded the last .deb (1.4.8) from Synergy's site and the issue does not occur anymore (2 PCs with an updated Debian wheezy installed)

It's not 100% clear that the issue you mention is related; however, I've uploaded 1.3.8-2 just now, with that fix included. Could someone having this issue try the new synergy when it becomes available, and see if it fixes the image problem?