Debian Bug report logs -
#601120
libasound2: snd_pcm_status() hangs
Reported by: Dominic Hargreaves <dom@earth.li>
Date: Sat, 23 Oct 2010 15:30:05 UTC
Severity: important
Done: Elimar Riesebieter <riesebie@lxtec.de>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#601120; Package audacious.
(Sat, 23 Oct 2010 15:30:07 GMT) (full text, mbox, link).
Acknowledgement sent
to Dominic Hargreaves <dom@earth.li>:
New Bug report received and forwarded. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>.
(Sat, 23 Oct 2010 15:30:07 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Package: audacious
Version: 2.3-2
Severity: important
Hi,
After upgrading from lenny to squeeze I've found that audacious
hangs anywhere between 10 seconds and 5 minutes after I start playing
a playlist.
When hung strace reports a tight loop of:
sched_yield() = 0
I haven't been able to find any common factors which would help explain
the hang, sorry. If you have any more suggestions for things to try to
debug, let me know.
Cheers,
Dominic.
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (500, 'testing')
Architecture: i386 (i686)
Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Versions of packages audacious depends on:
ii audacious-plugins 2.3-2+b1 Base plugins for audacious
ii dbus 1.2.24-3 simple interprocess messaging syst
ii dbus-x11 1.2.24-3 simple interprocess messaging syst
ii gtk2-engines-pixbuf 2.20.1-1+b1 Pixbuf-based theme for GTK+ 2.x
ii libatk1.0-0 1.30.0-1 The ATK accessibility toolkit
ii libaudclient2 2.3-2 audacious dbus remote control libr
ii libaudcore1 2.3-2 audacious core engine library
ii libaudid3tag2 2.3-2 audacious id3 tag manipulation lib
ii libc6 2.11.2-6+squeeze1 Embedded GNU C Library: Shared lib
ii libcairo2 1.8.10-6 The Cairo 2D vector graphics libra
ii libdbus-1-3 1.2.24-3 simple interprocess messaging syst
ii libdbus-glib-1-2 0.88-2 simple interprocess messaging syst
ii libfontconfig1 2.8.0-2.1 generic font configuration library
ii libfreetype6 2.4.2-1 FreeType 2 font engine, shared lib
ii libglib2.0-0 2.24.2-1 The GLib library of C routines
ii libgtk2.0-0 2.20.1-1+b1 The GTK+ graphical user interface
ii libice6 2:1.0.6-1 X11 Inter-Client Exchange library
ii libmcs1 0.7.1-1 Abstraction library to store confi
ii libmowgli1 0.6.1-1 a high performance development fra
ii libpango1.0-0 1.28.1-1 Layout and rendering of internatio
ii libsm6 2:1.1.1-1 X11 Session Management library
Versions of packages audacious recommends:
ii unzip 6.0-4 De-archiver for .zip files
audacious suggests no packages.
-- no debconf information
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#601120; Package audacious.
(Fri, 29 Oct 2010 17:15:11 GMT) (full text, mbox, link).
Acknowledgement sent
to John Lindgren <john.lindgren@tds.net>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>.
(Fri, 29 Oct 2010 17:15:11 GMT) (full text, mbox, link).
Message #10 received at 601120@bugs.debian.org (full text, mbox, reply):
Hi Dominic, thanks for your report.
Can you tell us:
- What sort of file (MP3, AAC, Vorbis, etc.) you are trying to play, and
on what medium (hard disk, CD, network)?
- What type of audio output you are using (ALSA, PulseAudio, OSS, etc.)?
Then, can you run Audacious from within GDB, stop the process when it is
hung, and take a backtrace?
-- John
Dominic Hargreaves <dom@earth.li> wrote:
> Hi,
>
> After upgrading from lenny to squeeze I've found that audacious
> hangs anywhere between 10 seconds and 5 minutes after I start playing
> a playlist.
>
> When hung strace reports a tight loop of:
>
> sched_yield() = 0
>
> I haven't been able to find any common factors which would help explain
> the hang, sorry. If you have any more suggestions for things to try to
> debug, let me know.
>
> Cheers,
> Dominic.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#601120; Package audacious.
(Tue, 02 Nov 2010 22:03:03 GMT) (full text, mbox, link).
Acknowledgement sent
to Dominic Hargreaves <dom@earth.li>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>.
(Tue, 02 Nov 2010 22:03:03 GMT) (full text, mbox, link).
Message #15 received at 601120@bugs.debian.org (full text, mbox, reply):
On Fri, Oct 29, 2010 at 01:00:21PM -0400, John Lindgren wrote:
> Can you tell us:
> - What sort of file (MP3, AAC, Vorbis, etc.) you are trying to play, and
mp3 and vorbis, at leat.
> on what medium (hard disk, CD, network)?
local hard disk
> - What type of audio output you are using (ALSA, PulseAudio, OSS, etc.)?
ALSA
> Then, can you run Audacious from within GDB, stop the process when it is
> hung, and take a backtrace?
Sure. From 2.3-2 with -dbg packages installed:
#0 0xb7fe2424 in __kernel_vsyscall ()
#1 0xb7735876 in nanosleep () from /lib/i686/cmov/libpthread.so.0
#2 0xb5db5393 in snd_atomic_read_wait () from /usr/lib/libasound.so.2
#3 0xb5dda762 in ?? () from /usr/lib/libasound.so.2
#4 0xb5dbae15 in snd_pcm_status () from /usr/lib/libasound.so.2
#5 0xb5dce40b in ?? () from /usr/lib/libasound.so.2
#6 0xb5dbae15 in snd_pcm_status () from /usr/lib/libasound.so.2
#7 0xb58c8003 in real_output_time () at alsa.c:127
#8 0xb58c8235 in alsa_output_time () at alsa.c:387
#9 0x0806ff7a in send_audio (unused=0x0) at vis_runner.c:51
#10 0xb7f1ba7c in ?? () from /lib/libglib-2.0.so.0
#11 0xb7f1b305 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#12 0xb7f1efe8 in ?? () from /lib/libglib-2.0.so.0
#13 0xb7f1f527 in g_main_loop_run () from /lib/libglib-2.0.so.0
#14 0xb7c32e19 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#15 0xb5fa798e in skins_init (cbs=0x80bd560) at plugin.c:142
#16 0x08059879 in main (argc=1, argv=0xbffff504) at main.c:554
Note that running under gdb seems to reliably cause a crash after
less than a second of playback, whereas the time until crash is
more variable without.
Also, sounds appears generally well-functioning on this system; it's
not a crash that appears with other programs.
Dominic.
--
Dominic Hargreaves | http://www.larted.org.uk/~dom/
PGP key 5178E2A5 from the.earth.li (keyserver,web,email)
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>:
Bug#601120; Package audacious.
(Thu, 04 Nov 2010 14:45:06 GMT) (full text, mbox, link).
Acknowledgement sent
to John Lindgren <john.lindgren@tds.net>:
Extra info received and forwarded to list. Copy sent to Debian Audacious Packagers <pkg-audacious-maintainers@lists.alioth.debian.org>.
(Thu, 04 Nov 2010 14:45:06 GMT) (full text, mbox, link).
Message #20 received at 601120@bugs.debian.org (full text, mbox, reply):
reassign 601120 libasound2
retitle 601120 libasound2: snd_pcm_status() hangs
thanks
snd_pcm_status should be an instantaneous call. Reassign to ALSA package.
-- John
On 11/02/2010 06:01 PM, Dominic Hargreaves wrote:
> On Fri, Oct 29, 2010 at 01:00:21PM -0400, John Lindgren wrote:
>> Can you tell us:
>> - What sort of file (MP3, AAC, Vorbis, etc.) you are trying to play, and
> mp3 and vorbis, at leat.
>> on what medium (hard disk, CD, network)?
> local hard disk
>> - What type of audio output you are using (ALSA, PulseAudio, OSS, etc.)?
> ALSA
>> Then, can you run Audacious from within GDB, stop the process when it is
>> hung, and take a backtrace?
> Sure. From 2.3-2 with -dbg packages installed:
>
> #0 0xb7fe2424 in __kernel_vsyscall ()
> #1 0xb7735876 in nanosleep () from /lib/i686/cmov/libpthread.so.0
> #2 0xb5db5393 in snd_atomic_read_wait () from /usr/lib/libasound.so.2
> #3 0xb5dda762 in ?? () from /usr/lib/libasound.so.2
> #4 0xb5dbae15 in snd_pcm_status () from /usr/lib/libasound.so.2
> #5 0xb5dce40b in ?? () from /usr/lib/libasound.so.2
> #6 0xb5dbae15 in snd_pcm_status () from /usr/lib/libasound.so.2
> #7 0xb58c8003 in real_output_time () at alsa.c:127
> #8 0xb58c8235 in alsa_output_time () at alsa.c:387
> #9 0x0806ff7a in send_audio (unused=0x0) at vis_runner.c:51
> #10 0xb7f1ba7c in ?? () from /lib/libglib-2.0.so.0
> #11 0xb7f1b305 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
> #12 0xb7f1efe8 in ?? () from /lib/libglib-2.0.so.0
> #13 0xb7f1f527 in g_main_loop_run () from /lib/libglib-2.0.so.0
> #14 0xb7c32e19 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
> #15 0xb5fa798e in skins_init (cbs=0x80bd560) at plugin.c:142
> #16 0x08059879 in main (argc=1, argv=0xbffff504) at main.c:554
>
> Note that running under gdb seems to reliably cause a crash after
> less than a second of playback, whereas the time until crash is
> more variable without.
>
> Also, sounds appears generally well-functioning on this system; it's
> not a crash that appears with other programs.
>
> Dominic
Bug reassigned from package 'audacious' to 'libasound2'.
Request was from John Lindgren <john.lindgren@tds.net>
to control@bugs.debian.org.
(Thu, 04 Nov 2010 14:45:08 GMT) (full text, mbox, link).
Bug No longer marked as found in versions audacious/2.3-2.
Request was from John Lindgren <john.lindgren@tds.net>
to control@bugs.debian.org.
(Thu, 04 Nov 2010 14:45:08 GMT) (full text, mbox, link).
Changed Bug title to 'libasound2: snd_pcm_status() hangs' from 'audacious: Hangs after a random amount of time playing music'
Request was from John Lindgren <john.lindgren@tds.net>
to control@bugs.debian.org.
(Thu, 04 Nov 2010 14:45:09 GMT) (full text, mbox, link).
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>:
Bug#601120; Package libasound2.
(Tue, 10 Mar 2015 09:30:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Elimar Riesebieter <riesebie@lxtec.de>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>.
(Tue, 10 Mar 2015 09:30:04 GMT) (full text, mbox, link).
Message #31 received at 601120@bugs.debian.org (full text, mbox, reply):
On Sat, 23 Oct 2010 16:26:52 +0100 Dominic Hargreaves <dom@earth.li> wrote:
> Package: audacious
> Version: 2.3-2
> Severity: important
>
> Hi,
>
> After upgrading from lenny to squeeze I've found that audacious
> hangs anywhere between 10 seconds and 5 minutes after I start playing
> a playlist.
>
> When hung strace reports a tight loop of:
>
> sched_yield() = 0
>
> I haven't been able to find any common factors which would help explain
> the hang, sorry. If you have any more suggestions for things to try to
> debug, let me know.
As we are still waiting the release of Jessie:
We have a big improvement in libasound and alsa-utils. The drivers
from the actual kernels should be tested as well, but anyway:
Ist this bug still valid for you?
Elimar
--
"Talking much about oneself can also
be a means to conceal oneself."
-Friedrich Nietzsche
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>:
Bug#601120; Package libasound2.
(Mon, 16 Mar 2015 00:12:14 GMT) (full text, mbox, link).
Acknowledgement sent
to Dominic Hargreaves <dom@earth.li>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>.
(Mon, 16 Mar 2015 00:12:15 GMT) (full text, mbox, link).
Message #36 received at 601120@bugs.debian.org (full text, mbox, reply):
On Tue, Mar 10, 2015 at 10:26:32AM +0100, Elimar Riesebieter wrote:
> On Sat, 23 Oct 2010 16:26:52 +0100 Dominic Hargreaves <dom@earth.li> wrote:
> > Package: audacious
> > Version: 2.3-2
> > Severity: important
> >
> > Hi,
> >
> > After upgrading from lenny to squeeze I've found that audacious
> > hangs anywhere between 10 seconds and 5 minutes after I start playing
> > a playlist.
> >
> > When hung strace reports a tight loop of:
> >
> > sched_yield() = 0
> >
> > I haven't been able to find any common factors which would help explain
> > the hang, sorry. If you have any more suggestions for things to try to
> > debug, let me know.
>
> As we are still waiting the release of Jessie:
>
> We have a big improvement in libasound and alsa-utils. The drivers
> from the actual kernels should be tested as well, but anyway:
>
> Ist this bug still valid for you?
I don't seem to have this problem with audacious on jessie.
Cheers,
Dominic.
Information forwarded
to debian-bugs-dist@lists.debian.org, Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>:
Bug#601120; Package libasound2.
(Mon, 16 Mar 2015 07:48:14 GMT) (full text, mbox, link).
Acknowledgement sent
to Elimar Riesebieter <riesebie@lxtec.de>:
Extra info received and forwarded to list. Copy sent to Debian ALSA Maintainers <pkg-alsa-devel@lists.alioth.debian.org>.
(Mon, 16 Mar 2015 07:48:15 GMT) (full text, mbox, link).
Message #41 received at 601120@bugs.debian.org (full text, mbox, reply):
* Dominic Hargreaves <dom@earth.li> [2015-03-16 00:08 +0000]:
> On Tue, Mar 10, 2015 at 10:26:32AM +0100, Elimar Riesebieter wrote:
[...]
> > As we are still waiting the release of Jessie:
> >
> > We have a big improvement in libasound and alsa-utils. The drivers
> > from the actual kernels should be tested as well, but anyway:
> >
> > Ist this bug still valid for you?
>
> I don't seem to have this problem with audacious on jessie.
So bug closed herewith.
Thanks for cooperation
Elimar
--
The path to source is always uphill!
-unknown-
Reply sent
to Elimar Riesebieter <riesebie@lxtec.de>:
You have taken responsibility.
(Mon, 16 Mar 2015 07:48:18 GMT) (full text, mbox, link).
Notification sent
to Dominic Hargreaves <dom@earth.li>:
Bug acknowledged by developer.
(Mon, 16 Mar 2015 07:48:18 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Tue, 14 Apr 2015 07:27:49 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Sun Jul 2 00:11:15 2023;
Machine Name:
buxtehude
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.