Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 393465 - x11-misc/synergy-1.4.5-r1 (client) core dumps on interaction with Firefox
Summary: x11-misc/synergy-1.4.5-r1 (client) core dumps on interaction with Firefox
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: Normal normal with 1 vote (vote)
Assignee: Desktop Misc. Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-07 03:21 UTC by Lyall Pearce
Modified: 2013-01-17 16:26 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lyall Pearce 2011-12-07 03:21:32 UTC
Interacting with firefox on a gentoo machine which is the Synergy client is causing the synergy client process to core.
For example opening the favourites menu.

synergy-1.4.5 works fine.


Reproducible: Always

Steps to Reproduce:
1. Start Synergyc 
2. click the firefox menu
3. 
Actual Results:  
Core dump

Expected Results:  
not to crash

# emerge --info
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.12.2-r0, 3.0.6-gentoo i686)
=================================================================
System uname: Linux-3.0.6-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_E6550_@_2.33GHz-with-gentoo-2.1
Timestamp of tree: Tue, 06 Dec 2011 16:15:01 +0000
app-shells/bash:          4.1_p9
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.6.6-r2, 2.7.2-r3, 3.1.4-r3
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4-r1::pentoo
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.3.4, 4.5.3-r1
sys-devel/gcc-config:     1.4.1-r1
sys-devel/libtool:        2.4-r1
sys-devel/make:           3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.12.2
Repositories: gentoo pentoo sunrise zugaina x-local
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=core2 -march=core2 -ggdb -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /lib/udev/rules.d /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-2.2/conf /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -mtune=core2 -march=core2 -ggdb -pipe"
DISTDIR="/portage/gentoo/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks ebuild-locks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox"
FFLAGS=""
GENTOO_MIRRORS="http://linuxcoe.corp.hp.com/LinuxCOE/Gentoo ftp://mirror.internode.on.net/gentoo"
LANG="en_AU.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j6"
PKGDIR="/portage/gentoo/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/tmp/portage"
PORTDIR="/portage/gentoo"
PORTDIR_OVERLAY="/portage/layman/pentoo /portage/layman/my-sunrise /portage/layman/zugaina /portage/gentoo/local"
SYNC="rsync://mirror.internode.on.net/gentoo-portage"
USE="X a52 aac acl alsa apache2 avahi berkdb bindist bzip2 cdb cddb cdparanoia cli consolekit cracklib crypt css cups cxx daap dbus dri dts dvb dvd dvdr emacs exif ffmpeg flac fortran gdbm gpm hal iconv ipv6 java javascript joystick jpeg jpeg2k kde latin1 ldap lm_sensors mikmod mmx mmxext modules mp3 mplayer mudflap mysql ncurses nls nptl nptlonly nsplugin nvidia opengl openmp oss pam pcre pcsc-lite policykit posix pppd qt3support qt4 readline rss samba semantic-desktop server session smp sqlite sse2 sse3 ssl sysfs tcpd threads tiff transcode type1 udev unicode v4l v4l2 vcd vorbis wifi wma x86 xcomposite xine xinerama xorg xvid xvmc zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia vesa fbdev" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Lyall Pearce 2011-12-07 03:32:37 UTC
I tried to add an attachment and failed.
Here is the core stack dump, including symbols.

Core was generated by `/usr/bin/synergyc --daemon --debug ERROR --name pearcely pearcely2.asiapacific.'.
Program terminated with signal 11, Segmentation fault.
#0  __pthread_mutex_lock (mutex=0x0) at pthread_mutex_lock.c:50
50	pthread_mutex_lock.c: No such file or directory.
	in pthread_mutex_lock.c
(gdb) where
#0  __pthread_mutex_lock (mutex=0x0) at pthread_mutex_lock.c:50
#1  0x080799e2 in CArchAppUtilUnix::run (this=0x8495148, argc=0, argv=0x84c2240)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/arch/CArchAppUtilUnix.cpp:62
#2  0x080ae4c2 in CUnicode::doUTF32ToUTF8 (data=0x84ad57c "\334\351J\b\f\222\r\b\f\222\r\b\377\377", n=0, errors=0x84ad548)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/base/CUnicode.cpp:522
#3  0x08097581 in CXWindowsClipboardUTF8Converter::~CXWindowsClipboardUTF8Converter (this=0x84ad57c, 
    __in_chrg=<value optimized out>)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/platform/CXWindowsClipboardUTF8Converter.cpp:31
#4  0x084ad57c in ?? ()
#5  0x08095b37 in __exchange_and_add_dispatch (this=0x84ad548, requestor=69212495, time=604, property=1391477702)
    at /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4/ext/atomicity.h:78
#6  _M_dispose (this=0x84ad548, requestor=69212495, time=604, property=1391477702)
    at /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4/bits/basic_string.h:235
#7  ~basic_string (this=0x84ad548, requestor=69212495, time=604, property=1391477702)
    at /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4/bits/basic_string.h:525
#8  CXWindowsClipboard::insertMultipleReply (this=0x84ad548, requestor=69212495, time=604, property=1391477702)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/platform/CXWindowsClipboard.cpp:838
#9  0x08096072 in operator-<IXWindowsClipboardConverter**, std::vector<IXWindowsClipboardConverter*> > (this=0x84ad548, 
    __position=..., __x=@0x420194f) at /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4/bits/stl_iterator.h:887
#10 std::vector<IXWindowsClipboardConverter*, std::allocator<IXWindowsClipboardConverter*> >::_M_insert_aux (this=0x84ad548, 
    __position=..., __x=@0x420194f) at /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4/bits/vector.tcc:321
#11 0x0808d131 in CXWindowsScreen::registerHotKey (this=0x8496f70, key=3213378944, mask=0)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/platform/CXWindowsScreen.cpp:549
#12 0x0808dfdf in std::vector<std::pair<int, unsigned int>, std::allocator<std::pair<int, unsigned int> > >::_M_insert_aux (
    this=0x84ae080, __position=..., __x=...) at /usr/lib/gcc/i686-pc-linux-gnu/4.5.3/include/g++-v4/bits/vector.tcc:321
#13 0x080a9fbd in CEventQueue::CTimer::reset (this=0xbf88449c)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/base/CEventQueue.cpp:483
#14 0x084ae080 in ?? ()
#15 0x08083479 in CClientApp::handleClientFailed (this=0xbf88478c, e=...)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/synergy/CClientApp.cpp:356
#16 0x08082096 in CApp::loggingFilterWarning (this=0xbf88478c)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/synergy/CApp.cpp:321
#17 0x080824a1 in CClientApp::parseArg (this=0x1, argc=@0xbf884634, argv=0x2, i=@0xbf884864)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/synergy/CClientApp.cpp:83
#18 0x00000001 in ?? ()
#19 0xbf884634 in ?? ()
#20 0x08079f3f in ~XArchEval (this=0x8495178, __in_chrg=<value optimized out>)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/arch/XArch.h:58
#21 XArchEval::~XArchEval (this=0x8495178, __in_chrg=<value optimized out>)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/arch/XArch.h:58
#22 0x08079b69 in CArchAppUtilUnix::~CArchAppUtilUnix (this=0x7, __in_chrg=<value optimized out>)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/arch/CArchAppUtilUnix.cpp:24
#23 0x0808235a in daemonMainLoopStatic (argc=-1081587828, argv=0x7)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/synergy/CClientApp.cpp:553
#24 0x08079b17 in CArchAppUtilUnix::parseArg (this=0x8495198, argc=@0x7, argv=0xbf884864, i=@0xb7515ff4)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/arch/CArchAppUtilUnix.cpp:34
#25 0x08081e67 in CApp::run (this=0xbf88478c, argc=7, argv=0xbf884864)
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/lib/synergy/CApp.cpp:281
#26 0x08077d2b in ?? ()
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/cmd/synergyc/CXWindowsClientTaskBarReceiver.cpp:47
#27 0xb73d4cd7 in __libc_start_main (main=0x8077cf0 <global constructors keyed to main()+192>, argc=7, ubp_av=0xbf884864, 
    init=0x80b52f0 <vtable for CArch+400>, fini=0x80b52e0 <vtable for CArch+384>, rtld_fini=0xb7806f80 <_dl_fini>, 
    stack_end=0xbf88485c) at libc-start.c:226
#28 0x08077c31 in global constructors keyed to main() ()
    at /tmp/portage/portage/x11-misc/synergy-1.4.5/work/synergy-1.4.5-Source/src/cmd/synergyc/synergyc.cpp:35
#29 0x00000007 in ?? ()
(gdb) quit
Comment 2 Paul Varner (RETIRED) gentoo-dev 2011-12-09 22:41:03 UTC
I'm having the same type of issue occurring (segmentation fault in libpthread) with synergy-1.4.5.  Synergy 1.4.2 does not exhibit the issue.


Portage 2.1.10.39 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.3, glibc-2.13-r4, 2.6.39-gentoo-r3 x86_64)
=================================================================
System uname: Linux-2.6.39-gentoo-r3-x86_64-Dual-Core_AMD_Opteron-tm-_Processor_2218-with-gentoo-2.1
Timestamp of tree: Fri, 09 Dec 2011 08:45:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.2-r3, 3.2.2
dev-util/cmake:           2.8.6-r4
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1
sys-apps/openrc:          0.9.4
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13::<unknown repository>, 2.68
sys-devel/automake:       1.5-r1, 1.10.3, 1.11.1-r1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.5.3-r1
sys-devel/gcc-config:     1.5-r2
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:           2.13-r4
Repositories: gentoo sunrise local
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/chroot/dns /etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=k8 -pipe"
DISTDIR="/usr/portage/distfiles"                                                                                                    
EMERGE_DEFAULT_OPTS="--with-bdeps=y --quiet-build=n"                                                                                
FEATURES="assume-digests binpkg-logs distlocks ebuild-locks fixlafiles news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"                                                                           
FFLAGS=""                                                                                                                           
GENTOO_MIRRORS="http://distfiles.gentoo.org"                                                                                        
LDFLAGS="-Wl,-O1 -Wl,--as-needed"                                                                                                   
LINGUAS="en en_US"                                                                                                                  
MAKEOPTS="-j5"                                                                                                                      
PKGDIR="/usr/portage/packages"                                                                                                      
PORTAGE_CONFIGROOT="/"                                                                                                              
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"                                                                          
PORTAGE_TMPDIR="/var/tmp"                                                                                                           
PORTDIR="/usr/portage"                                                                                                              
PORTDIR_OVERLAY="/usr/local/portage/layman/sunrise /usr/local/portage/local"                                                        
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"                                                                             
USE="X a52 aac acpi alsa amd64 berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus declarative dri dts dvd dvdr eds emboss encode exif fam flac fortran gdbm gdu gif gpm gstreamer gtk iconv java java6 jpeg kde kipi lcms libnotify mad mmx mng modules mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg opengl pam pango pcre pdf phonon plasma png policykit ppds pppd qt3support qt4 readline sdl semantic-desktop session spell sse sse2 ssl startup-notification svg sysfs tcpd tiff truetype udev unicode usb vorbis x264 xcb xcomposite xml xorg xscreensaver xulrunner xv xvid zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan stage tables krita karbon braindump" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en en_US" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia nv vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CPPFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-01-12 00:03:05 UTC
Sorry, don't know what to do with the bt. Stalled until someone proposes a fix. (I don't have this issue)
Comment 4 Jeremy Olexa (darkside) (RETIRED) archtester gentoo-dev Security 2012-03-07 16:07:44 UTC
1.4.7 is in the tree
Comment 5 Headmonkey 2012-04-21 16:46:36 UTC
Tried 1.4.5-r2 .. synergys ( server ) segfaults.
Tried 1.4.7 .. synergys ( server ) segfaults.

Occours whether or not firefix is running. Occours sporadically, just happened while typing this report, so perhaps not related to cut/paste.

*** synergyc -d DEBUG5 output ***

...
DEBUG2: mapping state: 0
DEBUG2: mapping state: 0
DEBUG2: mapping state: 1
DEBUG2: |= modifier: 0
*** glibc detected *** /usr/bin/synergys: free(): invalid pointer: 0xb611a978 ***
======= Backtrace: =========
/lib/libc.so.6(+0x6b6d1)[0xb74eb6d1]
/lib/libc.so.6(+0x6cf38)[0xb74ecf38]
/lib/libc.so.6(cfree+0x6d)[0xb74f003d]
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/libstdc++.so.6(_ZdlPv+0x21)[0xb76c3bb1]
/usr/lib/gcc/i686-pc-linux-gnu/4.4.4/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d)[0xb76a054d]
/usr/bin/synergys(_ZN21CBufferedLogOutputter5writeE6ELevelPKc+0x1ae)[0x808808e]
/usr/bin/synergys(_ZN4CLog6outputE6ELevelPc+0x5b)[0x808697b]
/usr/bin/synergysAborted
Comment 6 Pacho Ramos gentoo-dev 2013-01-17 16:26:11 UTC
Please retry with 1.4.10 and latest firefox