Bug 449224

Summary: Rhythmbox crashes.... related to pulseaudio?
Product: [Fedora] Fedora Reporter: Tom London <selinux>
Component: rhythmboxAssignee: Bastien Nocera <bnocera>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2008-05-31 16:51:38 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Tom London 2008-05-31 16:23:45 UTC
Description of problem:
[This is a copy of https://bugzilla.redhat.com/show_bug.cgi?id=447543
Filing here in case this is rhythmbox, not pulseaudio.]

With latest Rawhide rhythmbox and pulseaudio, I'm seeing frequent crashes of
rhythmbox, typically at the end of an mp3.

Besides the bug-buddy report to gnome on rhythmbox, I see this in
~/.xsession-errors:

E: time-smoother.c: Assertion 'x >= s->pause_time' failed at
pulsecore/time-smoother.c:423, function pa_smoother_resume(). Aborting.

Could this be a pulseaudio issue?

I see this in /var/log/messages at about the "right time":
May 20 06:32:34 localhost pulseaudio[3588]: pcm_hw.c: SNDRV_PCM_IOCTL_DRAIN failed

[Sorry if this is just noise, just want to get this in front of the right eyes....]

Here is output of a gdb run:

[tbl@localhost ~]$ gdb rhythmbox
GNU gdb Fedora (6.8-9.fc10)
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...
(gdb) 
(gdb) run
Starting program: /usr/bin/rhythmbox 
[Thread debugging using libthread_db enabled]
[New Thread 0xb80a19a0 (LWP 4475)]
Detaching after fork from child process 4486.

(rhythmbox:4475): GnomeUI-WARNING **: While connecting to session manager:
Could not open network socket.
[New Thread 0xb6dc3b90 (LWP 4487)]
[Thread 0xb6dc3b90 (LWP 4487) exited]
[New Thread 0xb6dc3b90 (LWP 4492)]
[Thread 0xb6dc3b90 (LWP 4492) exited]
[New Thread 0xb6dc3b90 (LWP 4493)]
[Thread 0xb6dc3b90 (LWP 4493) exited]
[New Thread 0xb6dc3b90 (LWP 4494)]
[New Thread 0xb5cffb90 (LWP 4495)]
[New Thread 0xb52feb90 (LWP 4496)]
[Thread 0xb6dc3b90 (LWP 4494) exited]
[Thread 0xb52feb90 (LWP 4496) exited]
Missing separate debuginfo for /home/tbl/.gstreamer-0.10/plugins/libgstflump3dec.so
[New Thread 0xb52feb90 (LWP 4502)]
[New Thread 0xb6dc3b90 (LWP 4503)]
[New Thread 0x31cab90 (LWP 4504)]
[New Thread 0x8045b90 (LWP 4505)]
[New Thread 0xb08fcb90 (LWP 4506)]
[New Thread 0xafefbb90 (LWP 4507)]
[Thread 0xafefbb90 (LWP 4507) exited]
[New Thread 0xafefbb90 (LWP 4512)]
[Thread 0xafefbb90 (LWP 4512) exited]
[New Thread 0xafefbb90 (LWP 4546)]
[New Thread 0xaf4fab90 (LWP 4547)]
[Thread 0xaf4fab90 (LWP 4547) exited]
[Thread 0xafefbb90 (LWP 4546) exited]
[New Thread 0xafefbb90 (LWP 4594)]
[New Thread 0xaf4fab90 (LWP 4595)]
[Thread 0xafefbb90 (LWP 4594) exited]
[Thread 0xaf4fab90 (LWP 4595) exited]
[New Thread 0xaf4fab90 (LWP 4637)]
[New Thread 0xafefbb90 (LWP 4638)]
[Thread 0xaf4fab90 (LWP 4637) exited]
[Thread 0xafefbb90 (LWP 4638) exited]
[Thread 0xb08fcb90 (LWP 4506) exited]
[New Thread 0xb08fcb90 (LWP 4667)]
[New Thread 0xafefbb90 (LWP 4668)]
[New Thread 0xaf4fab90 (LWP 4669)]
[Thread 0xb52feb90 (LWP 4502) exited]
[Thread 0xaf4fab90 (LWP 4669) exited]
[New Thread 0xaf4fab90 (LWP 4682)]
[Thread 0xaf4fab90 (LWP 4682) exited]
[New Thread 0xaf4fab90 (LWP 4724)]
[New Thread 0xb52feb90 (LWP 4725)]
[New Thread 0xaeaf9b90 (LWP 4726)]
[Thread 0xaf4fab90 (LWP 4724) exited]
[Thread 0xb52feb90 (LWP 4725) exited]
[Thread 0xaeaf9b90 (LWP 4726) exited]
[New Thread 0xaeaf9b90 (LWP 4767)]
[New Thread 0xb52feb90 (LWP 4768)]
[Thread 0xaeaf9b90 (LWP 4767) exited]
[Thread 0xb52feb90 (LWP 4768) exited]
[New Thread 0xb52feb90 (LWP 4814)]
[New Thread 0xaeaf9b90 (LWP 4815)]
[Thread 0xb52feb90 (LWP 4814) exited]
[Thread 0xaeaf9b90 (LWP 4815) exited]
E: time-smoother.c: Assertion 'x >= s->pause_time' failed at
pulsecore/time-smoother.c:423, function pa_smoother_resume(). Aborting.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb08fcb90 (LWP 4667)]
0x00110416 in __kernel_vsyscall ()
Missing separate debuginfos, use: debuginfo-install ORBit2.i386 acl.i386
alsa-lib.i386 attr.i386 audiofile.i386 avahi.i386 cyrus-sasl.i386 dbus-glib.i386
dbus.i386 e2fsprogs.i386 esound.i386 evolution-data-server.i386 expat.i386
fontconfig.i386 freetype.i386 gamin.i386 gdbm.i386 gnome-keyring.i386
gnome-media.i386 gnome-python2.i386 gnutls.i386 gstreamer-python.i386
keyutils.i386 krb5.i386 libICE.i386 libSM.i386 libX11.i386 libXau.i386
libXcomposite.i386 libXcursor.i386 libXdmcp.i386 libXext.i386 libXfixes.i386
libXi.i386 libXrandr.i386 libXrender.i386 libart_lgpl.i386 libbonobo.i386
libbonoboui.i386 libcap.i386 libgcrypt.i386 libglade2.i386 libgnome.i386
libgnomecanvas.i386 libgnomeui.i386 libgpg-error.i386 libgpod.i386 libjpeg.i386
libmusicbrainz.i386 libnotify.i386 libselinux.i386 libsoup.i386 libtasn1.i386
libxcb.i386 libxml2.i386 nautilus-cd-burner.i386 openssl.i686 pixman.i386
popt.i386 pycairo.i386 pygobject2.i386 pygtk2.i386 python.i386
totem-pl-parser.i386 zlib.i386
(gdb) where
#0  0x00110416 in __kernel_vsyscall ()
#1  0x00a81610 in raise (sig=<value optimized out>)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x00a82fd8 in abort () at abort.c:88
#3  0x016a7911 in pa_smoother_resume (s=<value optimized out>, 
    x=<value optimized out>) at pulsecore/time-smoother.c:423
#4  0x0167dcd3 in stream_get_timing_info_callback (pd=<value optimized out>, 
    command=<value optimized out>, tag=<value optimized out>, 
    t=<value optimized out>, userdata=<value optimized out>)
    at pulse/stream.c:1423
#5  0x01699995 in run_action (pd=<value optimized out>, 
    r=<value optimized out>, command=<value optimized out>, 
    ts=<value optimized out>) at pulsecore/pdispatch.c:185
#6  0x0169a5b8 in pa_pdispatch_run (pd=<value optimized out>, 
    packet=<value optimized out>, creds=<value optimized out>, userdata=Could
not find the frame base for "pa_pdispatch_run".
)
    at pulsecore/pdispatch.c:236
#7  0x01666dbf in pstream_packet_callback (p=<value optimized out>, 
    packet=<value optimized out>, creds=<value optimized out>, 
    userdata=<value optimized out>) at pulse/context.c:332
#8  0x0169c8b3 in do_something (p=<value optimized out>)
    at pulsecore/pstream.c:818
#9  0x0169d599 in io_callback (io=<value optimized out>, 
    userdata=<value optimized out>) at pulsecore/pstream.c:215
---Type <return> to continue, or q <return> to quit---
#10 0x0168e318 in callback (m=<value optimized out>, e=<value optimized out>, 
    fd=<value optimized out>, f=<value optimized out>, 
    userdata=<value optimized out>) at pulsecore/iochannel.c:121
#11 0x016721c9 in pa_mainloop_dispatch (m=<value optimized out>)
    at pulse/mainloop.c:679
#12 0x01672521 in pa_mainloop_iterate (m=<value optimized out>, 
    block=<value optimized out>, retval=<value optimized out>)
    at pulse/mainloop.c:922
#13 0x016725e4 in pa_mainloop_run (m=<value optimized out>, 
    retval=<value optimized out>) at pulse/mainloop.c:937
#14 0x01681a03 in thread (userdata=Could not find the frame base for "thread".
) at pulse/thread-mainloop.c:91
#15 0x016a9777 in internal_thread_func (userdata=<value optimized out>)
    at pulsecore/thread-posix.c:73
#16 0x00c0351f in start_thread (arg=<value optimized out>)
    at pthread_create.c:297
#17 0x00b39bde in clone () from /lib/libc.so.6
(gdb) quit
The program is running.  Exit anyway? (y or n) y
[tbl@localhost ~]$ 


This happens pretty much every time I run rhythmbox, sometimes it takes longer
than other runs.


Version-Release number of selected component (if applicable):
rhythmbox-0.11.5-14.fc10.i386
pulseaudio-libs-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-esound-compat-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-utils-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-libs-zeroconf-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-module-x11-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-module-jack-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-module-bluetooth-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-module-gconf-0.9.11-0.3.svn20080529.fc10.i386
rhythmbox-lirc-0.11.5-14.fc10.i386
pulseaudio-debuginfo-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-libs-glib2-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-module-zeroconf-0.9.11-0.3.svn20080529.fc10.i386
pulseaudio-core-libs-0.9.11-0.3.svn20080529.fc10.i386
rhythmbox-debuginfo-0.11.5-14.fc10.i386
pulseaudio-module-lirc-0.9.11-0.3.svn20080529.fc10.i386


How reproducible:
Every time

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Bastien Nocera 2008-05-31 16:51:38 UTC
Don't create duplicate bugs, the bugs will be moved if the component selected is
the wrong one.

*** This bug has been marked as a duplicate of 447543 ***