Summary: | artsd sometimes crashes on startup if NAS output is used | ||
---|---|---|---|
Product: | [Unmaintained] arts | Reporter: | Anonymous Coward <coward> |
Component: | artsd | Assignee: | Stefan Westerfeld <stefan> |
Status: | CLOSED UNMAINTAINED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version First Reported In: | 1.2.1 | ||
Target Milestone: | --- | ||
Platform: | Gentoo Packages | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: | first attemp at patch |
Description
Anonymous Coward
2004-03-28 21:40:53 UTC
Created attachment 5458 [details]
first attemp at patch
I'm now (after upgrade of kernel to 2.4.25) always getting the crash,
regardless of sleep() call. The real problem seems to be that
AudioSubSystem::check() was called with producer==NULL. Attached patch fixes
the bug by delaying AuHandleEvents call (which triggers handleIO call) in
AudioIONAS class. It's done by setting up a timer that will call AuHandleEvents
as soon as AudioSubSystem::running() returns true -- i.e. when it is safe to
call handleIO. The timer will shut down itself immediately afterwards.
There's a problem, though: with this patch applied, audio will be skipping and
sound unusable unless the buffer is very small (like 4 fragments of 1024
bytes). It's the worse the larger the buffer is. Any idea what could be causing
this? I must be missing something important about arts here because the patch
looks harmless to me...
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 |