While using pidgin and communicating with users, pidgin crashes unexpectedly. Reproducible: Sometimes Steps to Reproduce: 1. Start pidgin. 2. Wait, sometimes it just crashes, no special applications running. Actual Results: Crashing unexpectedly in segmentation faults. Expected Results: Running without segfaults. Assertion '!in_worker(m)' failed at pulse/thread-mainloop.c:162, function pa_threaded_mainloop_stop(). Aborting. pidgin: xcb_io.c:221: poll_for_event: Zusicherung »(((long) (event_sequence) - (long) (dpy->request)) <= 0)« nicht erfüllt. Multiple segmentation faults occurred; can't display error dialog ================================================================= $ emerge --info pidgin Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r0, 2.6.34-gentoo i686) ================================================================= System Settings ================================================================= System uname: Linux-2.6.34-gentoo-i686-Intel-R-_Core-TM-2_Duo_CPU_T5450_@_1.66GHz-with-gentoo-2.0.1 Timestamp of tree: Thu, 29 Jul 2010 07:05:02 +0000 app-shells/bash: 4.1_p7 dev-java/java-config: 2.1.11 dev-lang/python: 2.6.5-r3, 3.1.2-r4 dev-util/cmake: 2.8.1-r2 sys-apps/baselayout: 2.0.1 sys-apps/openrc: 0.6.1-r1 sys-apps/sandbox: 2.2 sys-devel/autoconf: 2.13, 2.65-r1 sys-devel/automake: 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1 sys-devel/binutils: 2.20.1-r1 sys-devel/gcc: 4.4.4-r1 sys-devel/gcc-config: 1.4.1 sys-devel/libtool: 2.2.10 virtual/os-headers: 2.6.34 ACCEPT_KEYWORDS="x86 ~x86" ACCEPT_LICENSE="* -@EULA PUEL Nero-EULA-US dlj-1.1 sun-bcla-java-vm skype-eula googleearth AdobeFlash-10.1" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/X11/xkb /var/lib/hsqldb" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=core2 -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="de_DE.UTF-8" LC_ALL="de_DE.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j3" 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="/var/lib/layman/x11 /var/lib/layman/gnome /var/lib/layman/tsw-overlay" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="16bit X a52 aac aalib acl acpi alsa ansi anthy ao apache2 applet artworkextra audacious audio avahi bash-completion bluetooth branding bzip2 cairo cdda cddax cddb cdparanoia cdr cli consolekit cpudetection cracklib crypt cups curl cxx dbus dga directfb djvu doc dri dts dv dvb dvd dvdr dvdread dvi dxr3-audio-denoise eds emacs emf encode esd exif fame fat ffmpeg fftw firefox firefox3 flac flash flv fortran ftp fuse gcj gdbm gedit ggi gif gnome gnome-keyring gnome-print gnomecanvas gnomecd gnutls gocr gpac gpg gpm gs gsl gstreamer gtk hal hdri httpd iconv id3tag ieee1394 imagemagick imlib ipv6 jack jadetex java java6 javascript jbig jce john jpeg jpgraph kpathsea ladspa lame latex lcms libcaca libnotify libsamplerate libvisual libwww live lm_sensors lzo mad matroska md5sum mdnsresponder-compat mikmod mmx mmxext modules mp2 mp3 mp4 mp4live mpeg mpeg2 mplayer mudflap musepack nautilus ncurses nemesi networking nls nptl nptlonly nsplugin objc objc++ objc-gc odbc ogg openal opengl openmp pam pcmcia pcre pdf perl php plotutils png pnm policykit ppds pppd print pstoedit pstricks pulseaudio python qt3support qt4 quicktime rar readline reflection rtc samba sdl sensord session sndfile sox speex spell spl sqlite3 srt sse sse2 sse3 sse4a sse5 ssh ssl ssse3 subtitles subversion svg sysfs t1lib tcpd tga theora threads tiff truetype unicode usb v4l v4l2 vorbis webdav win32codecs wireshark wmf x264 x86 xine xinerama xinetd xml xmlrpc xorg xulrunner xv xvid xvmc zeroconf zlib" ALSA_CARDS="hda-intel" 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" ELIBC="glibc" INPUT_DEVICES="evdev synaptics mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" NETBEANS_MODULES="apisupport harness ide java nb websvccommon cnd dlight enterprise ergonomics groovy identity mobility php profiler ruby" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="intel" 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, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS ================================================================= Package Settings ================================================================= net-im/pidgin-2.7.2 was built with the following: USE="dbus doc gnutls gstreamer gtk ncurses nls perl python spell startup-notification xscreensaver zeroconf -debug -eds -gadu -groupwise -idn -krb4 -meanwhile -networkmanager -prediction -qq -sasl -silc -tcl -tk -zephyr" CFLAGS="-march=core2 -O2 -pipe" CXXFLAGS="-march=core2 -O2 -pipe" LDFLAGS="-Wl,-O1"
Thank you for report. Relevant links. Upstream bug report: http://developer.pidgin.im/ticket/11103 Ubuntu bug report: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/458071 Novel bug report: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/458071 https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/458071 And according to gstreamer upstream this should be fixed in gst-plugins-good-0.10.23. Could you confirm this, please?
As of daily updates, gst-plugins-good (0.10.23) were installed. Pidging is running for about one hour without crash. I will write down the results in 2 hours and 45 minutes, then I leave work and close pidgin.
@gstreamer,gnome: guys is it possible to stabilize media-libs/gst-plugins-good-0.10.23 to avoid this crash in stable?
While testing for about four hours, pidgin did not crash. Thus I mark this bug as fixed.
No, this requires stabilization of gst-plugins-good-0.10.23 and gst-plugins-bad-0.10.19 and 20 other packages as well, and they have been in the tree only for 3 days, and some that are required to be stabilized in tandem even aren't there yet (will finish that today). I raised awareness of this bug in the stabilization bug and gave the option to arch teams to skip gst-plugins-pulse-0.10.22 stabilization, but they stabilized it nevertheless. Options are: * If it's a regression in 0.10.22, and 0.10.21 works fine, we can see about reverting stable keywords from 0.10.22, and have 0.10.21 in stable until 0.10.23 time comes * We do a big patchset to gst-plugins-pulse that includes all changes of 0.10.23 in a 0.10.22-r1 version, test that, and quick stabilize it * We ignore common guidelines about stabilization, and basically zero-day stabilize gst-plugins-good-0.10.23, gst-plugins-pulse-0.10.23, gst-plugins-bad-0.10.19 and all the media-plugins/gst-plugins-* that inherit gst-plugins-good or gst-plugins-bad eclasses (a total of about 32 packages). This bug was initially discussed in bug 329361
> * If it's a regression in 0.10.22, and 0.10.21 works fine, we can see about reverting stable keywords from 0.10.22, and have 0.10.21 in stable until 0.10.23 time comes ^^ To avoid confusion, I'm talking about gst-plugins-pulse-0.10.22 stable keywords here, not gst-plugins-good. In Gentoo the pulse plugins are in gst-plugins-pulse package, built out of gst-plugins-good tarball. gst-plugins-good package doesn't install the pulse plugins.
(In reply to comment #5) > Options are: > > * If it's a regression in 0.10.22, and 0.10.21 works fine bug 329361 states that this is regression. > * We do a big patchset to gst-plugins-pulse that includes all changes of > 0.10.23 in a 0.10.22-r1 version, test that, and quick stabilize it Heh, then what will be the difference between 0.10.23 and 0.10.22-r1? Better one patch to address this issue... Relevant information from upstream bug report: http://pulseaudio.org/ticket/838#comment:4 According to Sebastian Droge (a GST guy), this should be fixed in the latest gst-plugins-good. He said: 0.10.23 should have this fixed... relevant commits are e69ba0f94f475975cfa33d651a56fc1567c0238b 4a492f2c8a4dc3b00773ac222146344aea311a5a a8103facc59b9dde07ee95d026c3fd2323e278bb > * We ignore common guidelines about stabilization, and basically zero-day > stabilize This may cause even more problems... Probably if taking above commits will not fix the problem it's better to go with 0.10.21.
(In reply to comment #7) > (In reply to comment #5) > > Options are: > > > > * If it's a regression in 0.10.22, and 0.10.21 works fine > > bug 329361 states that this is regression. It states likelyhood, not close to completely sure. But yes, likely a regression then. > > * We do a big patchset to gst-plugins-pulse that includes all changes of > > 0.10.23 in a 0.10.22-r1 version, test that, and quick stabilize it > > Heh, then what will be the difference between 0.10.23 and 0.10.22-r1? Its configure wouldn't require gst-plugins-good-0.10.23, and in tandem stabilization of that, gst-plugins-bad-0.10.19 (plugin moves), and all their respective split plugins (we can inspect that a specific plugin code is fine with older gstreamer core/base as well, but can't do that for all of the splits). > Better > one patch to address this issue... Relevant information from upstream bug > report: http://pulseaudio.org/ticket/838#comment:4 > > According to Sebastian Droge (a GST guy), this should be fixed in the latest > gst-plugins-good. > > He said: 0.10.23 should have this fixed... relevant commits are > e69ba0f94f475975cfa33d651a56fc1567c0238b > 4a492f2c8a4dc3b00773ac222146344aea311a5a > a8103facc59b9dde07ee95d026c3fd2323e278bb > > > * We ignore common guidelines about stabilization, and basically zero-day > > stabilize > > This may cause even more problems... Probably if taking above commits will not > fix the problem it's better to go with 0.10.21. So other commits aren't necessary? commit 5332287e2d8f9dc7b32da0f6618a0730bd98513a deals directly with PA mainloop handling as well, for example, I doubt the other ones apply without this. I guess best is to just grab all the 6 patches in 0.10.23, roll a 0.10.22-r1 and fast stabilize that. Are you able to test the result? I don't actually have a pulse setup...
Bumped .22 to -r1 with the following patches (the last is from post-.23). 5332287 pulsesink: Create and free the PA mainloop in NULL->READY/READY->NULL e69ba0f pulsesink: Allocate and free the custom clock in NULL<->READY 4a492f2 pulsesrc: Allocate/free PA mainloop during state changes a8103fa pulse: Don't lock the mainloop in NULL f5057a9 pulsesink: Post provide-clock message on the bus if the clock appears/disappears If this fixes the issue with Pidgin as well, we can fast-stabilise this.
Tom-Steve, could you test pidgin with media-plugins/gst-plugins-pulse-0.10.22-r1? If it works for you we'll be able to fast stabilize it and finally fix pidgin in stable tree. Thank you.
media-plugins/gst-plugins-pulse-0.10.22-r1 are stable. This bug should be fixed.
Sorry for the late answer ... lots to do (mathematics studies) As of daily using and testing pidgin in combination with media-plugins/gst-plugins-pulse-0.10.23 I can verify that it works.