Bug 127397 - arts, sound server aborts, cpu overload
Summary: arts, sound server aborts, cpu overload
Status: CLOSED UNMAINTAINED
Alias: None
Product: arts
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Gentoo Packages Linux
: NOR crash
Target Milestone: ---
Assignee: Stefan Westerfeld
URL:
Keywords:
: 129171 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-05-15 22:30 UTC by david
Modified: 2008-11-19 23:39 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description david 2006-05-15 22:30:03 UTC
Version:            (using KDE KDE 3.5.2)
Installed from:    Gentoo Packages
Compiler:          gcc version 3.4.5 (Gentoo Hardened 3.4.5, HTB-3.4.4-1.00, ssp-3.4.5-1.0, pie-8.7.9) Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/specs
Reading specs from /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/vanilla.specs
Configured with: /var/tmp/portage/gcc-3.4.5/work/gcc-3.4.5/configure --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/gcc-bin/3.4.5 --includedir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include --datadir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.5 --mandir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.5/man --infodir=/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4.5/info --with-gxx-include-dir=/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/include/g++-v3 --host=x86_64-pc-linux-gnu --build=x86_64-pc-linux-gnu --disable-altivec --disable-nls --with-system-zlib --disable-checking --disable-werror --disable-libunwind-exceptions --enable-multilib --disable-libgcj --enable-languages=c,c++,objc --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu
Thread model: posix
OS:                Linux

any time arts is started, kde freezes for 15 seconds (be nice if it didn't stall kde), then knotify pops up with a cpu overload abort message.

david@Scott ~ $ artsd -l 0
artsd version is 1.5.2
gsl: using Unix98 pthreads directly for mutexes and conditions
[artsd: 29370] SoundServerStartup --> got lock
autodetecting driver:
 - oss: 10
 - alsa: 15
 - null: -1
 - toss: 4
... which means we'll default to alsa
ALSA driver: default
buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms)
Closing ALSA-driver
virtualize StereoVolumeControl
ALSA driver: default
buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms)
audio format is 44100 Hz, 16 bits, 2 channels
addDirectory(/usr/kde/3.5/lib64/mcop,)
addDirectory(/usr/kde/3.5/lib64/mcop/Arts,Arts)
addDirectory(/usr/kde/3.5/lib64/mcop/Arts/Environment,Arts::Environment)
addDirectory(/usr/kde/3.5/lib64/mcop/Noatun,Noatun)
addDirectory(/home/david/.mcop/trader-cache,)
unix_connect: can't connect to server (unix:/tmp/ksocket-david/Scott.Blue-Labs.org-3af6-4468d1d                     2)
Arts::MidiManager registered successfully.
There are already artsd objects registered, looking if they are active...
unix_connect: can't connect to server (unix:/tmp/ksocket-david/Scott.Blue-Labs.org-3af6-4468d1d2)
... cleaned 5 unused mcop global references.

unix_connect: can't connect to server (unix:/tmp/ksocket-david/Scott.Blue-Labs.org-3af6-4468d1d2)
(The previous message was repeated 4 times.)
[artsd: 29370] SoundServerStartup <-- released lock
xrun!!

xrun!!

(The previous message was repeated 3051140 times.)
cpu overload, aborting

shortened version of strace is located at http://stuph.org/artsd.strace.short

the last lines of this strace repeat unending for about 80 megs of text (literally).
Comment 1 Carsten Lohrke 2006-05-16 01:01:23 UTC
Sounds like https://bugs.gentoo.org/show_bug.cgi?id=131456. 

Stefan, it would be nice if you would use Gentoo bugzilla, instead going directly upstream.
Comment 2 Carsten Lohrke 2006-05-16 01:04:38 UTC
Eh, sorry. s/Stefan/david
Comment 3 Kristian Bäckström 2006-05-26 11:06:48 UTC
I'm suffering of the same (or similar) bug. I'm running Debian Unstable with an vanilla 2.6.14.3 kernel.

artsd -l 0
artsd version is 1.5.3
gsl: using Unix98 pthreads directly for mutexes and conditions
[artsd: 11440] SoundServerStartup --> got lock
autodetecting driver:
 - oss: 10
 - alsa: 15
 - null: -1
 - esd: -1
 - jack: -1
 - nas: -1
 - toss: 4
... which means we'll default to alsa
ALSA driver: default
buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms)
Closing ALSA-driver
virtualize StereoVolumeControl
ALSA driver: default
buffering: 7 fragments with 1024 bytes (audio latency is 40.6 ms)
audio format is 44100 Hz, 16 bits, 2 channels
addDirectory(/usr/lib/mcop,)
addDirectory(/usr/lib/mcop/Arts,Arts)
addDirectory(/usr/lib/mcop/Arts/Environment,Arts::Environment)
addDirectory(/usr/lib/mcop/Noatun,Noatun)
addDirectory(/home/kickus/.mcop/trader-cache,)
xrun!!

xrun!!

(The previous message was repeated 949496 times.)
cpu overload, aborting

Should I report this to someone at Debian?
Comment 4 david 2006-05-26 18:00:47 UTC
No, no need to report this.  Since the KDE fellow didn't feel like explaining the problem, I will.

Your kernel and userland ALSA headers/libs are mismatched.  Either downgrade userland, or upgrade the kernel.  I upped to 2.6.17-rc4 to fix it.
Comment 5 Tommi Tervo 2006-06-15 11:26:27 UTC
*** Bug 129171 has been marked as a duplicate of this bug. ***
Comment 6 Eddie 2007-01-15 22:09:35 UTC
I too am getting this error and thought this was the best place to add additional information, instead of starting a new bug.

I just insatlled a fresh Slackware 11 release, and I am getting this issue on both a 2.4 and a 2.6 system.

In response to David's comment, I *AM* using matched ALSA headers/libs, in both scenarios.

Also, I can confirm that ALSA *is* working.  I can play mp3s from the command line, using madplay or mpg321.  I can also play mp3s in x-windows if I use a player, XMMS, that uses ALSA directly, and does not try to use artsd.

Lastly, I am not using a onboard VIA sound controller.  I have an ancient ES1688 based ISA card.

Cheers,
Eddie
Comment 7 engage 2008-11-19 00:11:55 UTC
I get the same problem with Mandriva 2009.0, KDE 4.1.2, running on a Dell Inspiron 600m notebook. The problem doesn't seem to appear on my 3 desktops, though.
Comment 8 Matt Rogers 2008-11-19 23:39:19 UTC
Arts is no longer developed and has been unmaintained for quite some time - more than 2 years. With phonon as the replacement for arts in KDE4, we're closing out all the arts bugs in Bugzilla since there is no chance of them being fixed.

Thanks