Bug 48255

Summary: starting noatun causes artsd to segfault in library libnoatunarts.so
Product: noatun Reporter: Doug Rintoul <doug_rintoul>
Component: generalAssignee: Multimedia Developers <kde-multimedia>
Status: RESOLVED FIXED    
Severity: crash CC: sctprog
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:

Description Doug Rintoul 2002-09-25 06:43:49 UTC
Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk) 
OS:          Linux

I am running on an athlon XP 1600+. Running noatun causes artsd to segfault in libnoatunarts.so, in file StereoVolumeControl_impl.cpp at the point where SSE code is executed. 

segfaults here -> __asm__ __volatile__(
                        "pushl $100                       \n"
                        "fildl (%%esp)                    \n"
                        "fildl %5                         \n"
If you disable the calling SSE code in noatun/library/engine.cpp by putting #if 0 #endif around the lines 
                        if(Arts::CpuInfo::flags()&Arts::CpuInfo::CpuSSE)
                                return new SoftwareSSE(e);
                        else

then noatun runs fine. Interestingly the Mandrake cooker for kdemultimedia 3.0.3 has a patch which does exactly this.
Comment 1 Maksim Orlovich 2002-10-06 00:12:03 UTC
*** Bug 48752 has been marked as a duplicate of this bug. ***
Comment 2 Charles Samuels 2002-10-19 21:59:42 UTC
Just commited the patch for this.