[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#276293: /usr/bin/artsd: artsd hangs 'busy' on alpha machine



Package: libarts1
Version: 1.3.0-1
Severity: important
File: /usr/bin/artsd

On apparently random occasions, artsd hangs during or immediately after
playing a sound. After a minute or so, the hanging process is terminated
and a warning message shows up in a message box ("cpu overload"). If
artsd was configured to run with highest priority, all the system hangs
for that minute.

In the following I'm trying to add as much information as I could think
of being useful in no specific order ;-)

All files I could verify the problem with where desktop sounds, i.e.
should be wav, I assume.

The machine is an 21164A.

The sound system is alsa.

artsd is running with the following command line (according to ps):
/usr/bin/artsd -F 18 -S 4096 -s 2 -m artsmessage -c drkonqi -l 3 -f

An snippet from strace output of a hanging artsd is appended at the end.

Even when artsd "sleeps" and frees the sound device, I have two artsd
processes running. Only one of them hangs, perhaps there's only one
process left, but I'm not sure about that.

Not relevant output in .xsession-errors. No relevant output in
/var/log/messages.

The previous release of artsd in Debian/testing didn't show these
problems.

-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: alpha
Kernel: Linux 2.4.26
Locale: LANG=de_DE@euro, LC_CTYPE=de_DE@euro

Versions of packages libarts1 depends on:
ii  libartsc0                1.3.0-1         aRts Sound system C support librar
ii  libasound2               1.0.6-2         Advanced Linux Sound Architecture 
ii  libaudio2                1.6d-2          The Network Audio System (NAS). (s
ii  libaudiofile0            0.2.6-4         Open-source version of SGI's audio
ii  libc6.1                  2.3.2.ds1-16    GNU C Library: Shared libraries an
ii  libesd0                  0.2.29-1        Enlightened Sound Daemon - Shared 
ii  libgcc1                  1:3.4.1-4sarge1 GCC support library
ii  libglib2.0-0             2.4.6-3         The GLib library of C routines
ii  libice6                  4.3.0.dfsg.1-8  Inter-Client Exchange library
ii  libjack0.80.0-0          0.98.1-5        JACK Audio Connection Kit (librari
ii  libmad0                  0.15.1b-1       MPEG audio decoder library
ii  libogg0                  1.1.0-1         Ogg Bitstream Library
ii  libpng12-0               1.2.5.0-7       PNG library - runtime
ii  libqt3c102-mt            3:3.3.3-4.1     Qt GUI Library (Threaded runtime v
ii  libsm6                   4.3.0.dfsg.1-8  X Window System Session Management
ii  libstdc++5               1:3.3.4-13      The GNU Standard C++ Library v3
ii  libvorbis0a              1.0.1-1         The Vorbis General Audio Compressi
ii  libvorbisenc2            1.0.1-1         The Vorbis General Audio Compressi
ii  libvorbisfile3           1.0.1-1         The Vorbis General Audio Compressi
ii  libx11-6                 4.3.0.dfsg.1-8  X Window System protocol client li
ii  libxext6                 4.3.0.dfsg.1-8  X Window System miscellaneous exte
ii  libxt6                   4.3.0.dfsg.1-8  X Toolkit Intrinsics
ii  xlibs                    4.3.0.dfsg.1-8  X Window System client libraries m
ii  zlib1g                   1:1.2.1.1-7     compression library - runtime

-- no debconf information

-- begin strace snippet
gettimeofday({1097652876, 925935}, NULL) = 0
gettimeofday({1097652876, 926028}, NULL) = 0
select(12, [3 5 8], [11], [5 8 11], {0, 29814}) = 1 (out [11], left {0,
30256})
gettimeofday({1097652876, 926453}, NULL) = 0
gettimeofday({1097652876, 926545}, NULL) = 0
select(12, [3 5 8], [11], [5 8 11], {0, 29297}) = 1 (out [11], left {0,
30256})
gettimeofday({1097652876, 926955}, NULL) = 0
gettimeofday({1097652876, 927046}, NULL) = 0
select(12, [3 5 8], [11], [5 8 11], {0, 28796}) = 1 (out [11], left {0,
29280})
gettimeofday({1097652876, 927471}, NULL) = 0
gettimeofday({1097652876, 927562}, NULL) = 0
select(12, [3 5 8], [11], [5 8 11], {0, 28280}) = 1 (out [11], left {0,
28304})
gettimeofday({1097652876, 927970}, NULL) = 0
gettimeofday({1097652876, 928060}, NULL) = 0
select(12, [3 5 8], [11], [5 8 11], {0, 27782}) = 1 (out [11], left {0,
28304})
gettimeofday({1097652876, 928497}, NULL) = 0
gettimeofday({1097652876, 928588}, NULL) = 0
select(12, [3 5 8], [11], [5 8 11], {0, 27254}) = 1 (out [11], left {0,
27328})

... (hundrets of these blocks - I assume that's the infinite loop)

read(8, "MCOP\0\0\0\30\0\0\0\4\0\0\1\36\0\0\0\32\0\0\0\37", 8192) = 24
write(8, "MCOP\0\0\0\24\0\0\0\5\0\0\0\37\0\0\0\1", 20) = 20
gettimeofday({1097652877, 111080}, NULL) = 0
gettimeofday({1097652877, 111186}, NULL) = 0
select(12, [3 5 8], [11], [5 8 11], {0, 114422}) = 2 (in [8], out [11],
left {0, 115168})
read(8, "MCOP\0\0\0\30\0\0\0\4\0\0\1\32\0\0\0\34\0\0\0\37", 8192) = 24
write(8, "MCOP\0\0\0\24\0\0\0\5\0\0\0\37\0\0\0\1", 20) = 20
gettimeofday({1097652877, 112187}, NULL) = 0
gettimeofday({1097652877, 112293}, NULL) = 0
select(12, [3 5 8], [11], [5 8 11], {0, 113315}) = 1 (out [11], left {0,
114192})

... (and so on)
-- end strace snippet



Reply to: