Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 420353 - dev-libs/libgamin runs into a mutex dead lock
Summary: dev-libs/libgamin runs into a mutex dead lock
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Unspecified (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-09 06:48 UTC by Michael Boone
Modified: 2012-07-08 11:47 UTC (History)
1 user (show)

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


Attachments
patch supplied by user on gnome bug report (libgamin-0.1.10-fix-server-deadlock-in-ih_sub_cancel.patch,2.04 KB, patch)
2012-06-09 07:13 UTC, Michael Boone
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Boone 2012-06-09 06:48:13 UTC
https://bugzilla.gnome.org/show_bug.cgi?id=667230

pretty much experiencing the exact same issue described there, possible work arounds are either that patch or setting fs.inotify.max_user_watches to a ridiculously high number. It is easiest to see the lock issue with amarok however it also affects, plasmoid apps, as well as anything that interacts with kde/qt.
Comment 1 Michael Boone 2012-06-09 07:13:42 UTC
Created attachment 314755 [details, diff]
patch supplied by user on gnome bug report

This resolves the probably mutex deadlock, I have confirmed that this fixes the issue of kde application / qt hangs.
Comment 2 Michael Weber (RETIRED) gentoo-dev 2012-06-11 10:42:38 UTC
Please provide the output of `emerge -pv dev-libs/libgamin` and `emerge --info`
Comment 3 Michael Boone 2012-06-11 11:02:20 UTC
[ebuild   R    ] dev-libs/libgamin-0.1.10-r2::local_overlay  USE="python -debug -static-libs" 850 kB



emerge --info
Portage 2.1.10.49 (default/linux/amd64/10.0, gcc-4.5.3, glibc-2.14.1-r3, 3.2.12-gentoo x86_64)
=================================================================
System uname: Linux-3.2.12-gentoo-x86_64-Intel-R-_Core-TM-2_Quad_CPU_Q9550_@_2.83GHz-with-gentoo-2.1
Timestamp of tree: Sat, 09 Jun 2012 06:30:01 +0000
app-shells/bash:          4.2_p20
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r1, 3.2.3
dev-util/cmake:           2.8.7-r5
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.10.2
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.68
sys-devel/automake:       1.11.1
sys-devel/binutils:       2.21.1-r1
sys-devel/gcc:            4.2.4-r1, 4.5.3-r2
sys-devel/gcc-config:     1.6
sys-devel/libtool:        2.4-r1                                                                                                                                                             
sys-devel/make:           3.82-r1                                                                                                                                                            
sys-kernel/linux-headers: 3.1 (virtual/os-headers)                                                                                                                                           
sys-libs/glibc:           2.14.1-r3
Repositories: gentoo java-overlay gentoo-haskell local_overlay
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O3 -pipe -fomit-frame-pointer -march=nocona"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt /var/bind /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/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O3 -pipe -fomit-frame-pointer -march=nocona"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask-write"
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://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ "
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/java-overlay /var/lib/layman/haskell /usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac aalib acl acpi aim alsa amd64 apache2 atm avahi berkdb bzip2 cairo cddb cdinstall cdr cli cracklib crypt css cups custom-cxxflags cxx dbus dga dri dv dvb dvd dvdr encode enscript examples exif expat fam fbcon ffmpeg fftw firefox flac foomatic fortran ftp gd gdbm geoip gif gimp ginac glut gmp gpm gstreamer iconv icq imagemagick imap ipod ipv6 java javascript jpeg jpeg2k kde latex libcaca libnotify mad maildir mailwrapper matrox mbox mikmod milter mmap mmx modules mp3 mpeg mplayer msn mudflap multilib musicbrainz mysql mysqli ncurses networkmanager nls nntp nocd nptl nsplugin ocamlopt offensive ogg openal openexr opengl openmp pam pcntl pcre pdf php plasma png posix pppd python qmail-spp qt3support qt4 quicktime raw readline rss ruby samba sasl scanner sdl semantic-desktop session smp snmp speex spell sqlite sqlite3 sse sse2 ssl startup-notification svg symlink tcpd theora threads tiff udev unicode usb v4l v4l2 vcd videos vorbis wavpack wifi wmf x264 xcomposite xine xinerama xorg xpm xprint xscreensaver xv xvid yaz zeroconf 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 sheets 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" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" PHP_TARGETS="php5-3" PYTHON_TARGETS="python3_2 python2_7" RUBY_TARGETS="ruby18 ruby19" USERLAND="GNU" VIDEO_CARDS="nvidia" 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, LINGUAS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 4 Pacho Ramos gentoo-dev 2012-07-08 11:47:20 UTC
+*libgamin-0.1.10-r3 (08 Jul 2012)
+
+  08 Jul 2012; Pacho Ramos <pacho@gentoo.org>
+  +files/libgamin-0.1.10-deadlock.patch, +libgamin-0.1.10-r3.ebuild:
+  Fix deadlock, bug #420353 by Michael Boone.
+