"open playlist" and "save playlist" commands will freeze audacious when gtk+-2.10 is installed. select a playlist, and click "save" or "open", and the modal FileChooserDialog will freeze with the selected button inset. i've isolated the problem to the function "playlist_file_selection" on ui_playlist.c:954. playlist_file_selection will properly return the chosen playlist filename, but doesn't return from "gtk_widget_destroy", freeing the dialog. please check out the attached gdb session. I don't think this is related to CFLAGS. I've tried compiling pango, atk, glib, gtk+, audacious, and audacious-plugins with CFLAGS="-ggdb -pipe" with the same results. please check out attached emerge --info. Because it's probably a gtk+-2.10 bug, audacious versions previous to 1.1.2 are likely effected.
squirrel ~ # emerge --info Portage 2.1.2_pre1-r3 (default-linux/x86/2006.1/desktop, gcc-4.1.1, glibc-2.4-r3, 2.6.18-gentoo i686) ================================================================= System uname: 2.6.18-gentoo i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.12.5 Last Sync: Wed, 27 Sep 2006 13:20:01 +0000 ccache version 2.3 [disabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: 1.2.11-r1 dev-lang/python: 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.3 dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.59-r7 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r3 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r1 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-ggdb -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/" CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo" CXXFLAGS="-ggdb -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms splitdebug strict" GENTOO_MIRRORS="http://gentoo.osuosl.org/ ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ ftp://mirror.usu.edu/mirrors/gentoo/ " LC_ALL="en_US.UTF-8" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage /usr/portage/local/overlays/xfce4-svn" SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" USE="x86 3dnow 3dnowext X aalib alsa apache2 audiofile avahi berkdb bitmap-fonts bzip2 cairo cdr cli crypt cscope cups curl dbus debug directfb djvu dlloader doc dri dvd dvdr dvdread dvi eds elibc_glibc emacs emboss encode expat fam fbcon firefox fontconfig fortran gd gdbm ggi gif glitz gnome gnutls gpm graphviz gstreamer gtk guile hal imlib input_devices_evdev input_devices_keyboard input_devices_mouse isdnlog java jbig jpeg kernel_linux lcd lcms ldap libg++ mikmod mmx mono mp3 mpeg mysql ncurses nls nptl nptlonly nsplugin ogg opengl oss pam pango pcre pdf perl php png ppds pppd python qt3 qt4 quicktime readline reflection ruby samba sdl session spell spl sqlite sqlite3 sse ssl startup-notification svg svga symlink tcpd threads tiff truetype truetype-fonts type1-fonts udev unicode userland_GNU video_cards_fbdev video_cards_nv video_cards_nvidia video_cards_vesa vorbis win32codecs wmf xcomposite xinerama xml xorg xprint xscreensaver xv zlib" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS
Created attachment 98255 [details] gdb with audacious-1.2.0-rc1 and gtk+-2.10.3 here i did "open playlist", selected an .m3u, break at gtk_widget_destroy, get a nice backtrace, see there's a filename, and then it goes into the void!
Does gtk+-2.10.5 (instead of 2.10.{3,4}), that I just added to the tree, fix the problem?
yeah! it doesn't freeze opening/saving playlists with 2.10.5. i reported the bug on gnome's bugzilla and the dudes said the gnome-vfs and unix file system backends had deadlock issues. http://bugzilla.gnome.org/show_bug.cgi?id=358017 perhaps the ebuild should restrict 2.10.4
An explicit dependency on gtk+ 2.10.6 has been added to the ebuild. This forces a GTK+ version with deadlock fixes and will resolve the bug you are seeing. Thank you for your report.
I would fix it this way if GTK+ 2.10 wasn't masked. That means that you shouldn't be using it in the first place...
Don't report bugs for libraries that are masked.