Hi, I've looked at the reported problem of aRts crashing when Noatun is 
started, and I believe I know what happens. On my box running Cooker and KDE 
CVS HEAD, the crash is apparently caused by the inline asm SSE volume code in 
kdemultimedia/noatun/library/noatunarts/StereoVolumeControl_impl.cpp 

Since I don't know enough about inline asm to fix it myself, and I don't know 
whether the author will get a chance to look at it anytime soon, I think the 
best solution may be to disable that SSE code in MDK packages for now, since 
minor performance degradation is nowhere near as bad as the whole app not 
working. This is what the attached patch (which has been reviewed by Noatun's 
maintainer) does. It certainly works for me, but since I am not running MDK 
packages, it may be a good idea for someone who has the crashing problem 
using them to to aply this to the kdemultimedia packages, and test it out..

Thanks,
Maks Orlovich
Index: engine.cpp
===================================================================
RCS file: /home/kde/kdemultimedia/noatun/library/engine.cpp,v
retrieving revision 1.83
diff -u -3 -p -r1.83 engine.cpp
--- engine.cpp	2002/08/29 03:01:05	1.83
+++ engine.cpp	2002/09/02 22:21:28
@@ -180,9 +180,12 @@ namespace VolumeControls
 		else
 		{
 #endif
+
+#if 0 //Disable temporarily since the SSE code seems to be causing problems when compiled with MDK's gcc-3.2..
 			if (Arts::CpuInfo::flags()&Arts::CpuInfo::CpuSSE)
 				return new SoftwareSSE(e);
 			else
+#endif			
 				return new Software(e);
 
 #ifdef HARDWARE_VOLUME

Reply via email to