Bug 74666

Summary: Enabling WinAmp skin crashes Arts
Product: noatun Reporter: John T. Ellis <john.ellis>
Component: winskinAssignee: Charles Samuels <charles>
Status: RESOLVED FIXED    
Severity: crash CC: billing, gentoopower, js, zander
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Backtrace after Artsd crash
Patch for the Noatun Winskin freeze

Description John T. Ellis 2004-02-09 02:55:23 UTC
Version:            (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs
Compiler:          gcc 3.3.1 qt 3.3.0
OS:          Linux

Five bucks says this is a Qt 3.3 problem and directly related to bug 74263.

Noatun crashes Artsd whenever you enable a WinAmp skin. And if you try, try again, your entire system can lock up.

I'll add the backtrace as an attachment to this bug.
Comment 1 John T. Ellis 2004-02-09 02:56:22 UTC
Created attachment 4589 [details]
Backtrace after Artsd crash

Backtrace after switching to a WinAmp skin and hitting "Apply."
Comment 2 Stefan Gehn 2004-02-09 09:29:57 UTC
Don't try switching directly betwen kjofol and winamp, for some reason artsd REALLY dislikes two plugins using FFT code.
This problem suddenly appeared somewhere between KDE 3.1 and KDE 3.2 on this machine but as it hard locks the system I cannot debug it. OTOH on my KDE 3.1 install (laptop) the same happens but the system does not hard lock (noatun and artsd crash, no usable backtrace either).
Comment 3 John T. Ellis 2004-02-09 14:37:30 UTC
Actually, I've been skipping K-Jofol skins completely since reporting bug 74263. The crash comes from switching from Excellent or any other skin to WinAmp. Or, for that fact, just setting it manually in the rc file and starting it without the plugin GUI.
Comment 4 Stefan 2004-02-12 23:23:02 UTC
My problem is even worse,  as soon as I press apply after selecting winamp skin, my maschine is completely frozen, it won't react to any keystrokes anymore, the only thing I can do is to press the powerbutton. It's 100% reproducable, from standard noatun-> Settings-->Configure Noatun-->Plugins--> mark WinAmp Interface, press Apply and my box is down.

I haven't seen such a crash in years folks, I can't believe this.

Comment 5 Andy Goossens 2004-04-06 13:27:57 UTC
*** Bug 78884 has been marked as a duplicate of this bug. ***
Comment 6 Johan Billing 2004-08-29 21:20:00 UTC
Created attachment 7350 [details]
Patch for the Noatun Winskin freeze
Comment 7 Johan Billing 2004-08-29 21:20:29 UTC
After a couple of hours and a lot of reboots I have finally found and fixed this bug (see enclosed patch).

Can this fix be included in the next version of KDE?
Comment 8 Charles Samuels 2004-08-29 23:12:00 UTC
CVS commit by charles: 


patch by Johan Billing <billing@df.lth.se>

I believe this fixes all sorts of crashings with regards to the mysterious
winskin crashes.

A big round of appreciation goes to Johan, as this bug has been around for ages and nobody has been able to find it.  However, it seems like it's a real stupid one and valgrind should have been able to catch it.

Thanks Johan!

(backport soon)

CCMAIL:74666-done@bugs.kde.org


  M +1 -0      visQueue.cpp   1.4


--- kdemultimedia/noatun/modules/winskin/vis/visQueue.cpp  #1.3:1.4
@@ -18,4 +18,5 @@ VISQueue::VISQueue(int elements) {
   this->elements=elements;
   int i;
+  visArrayQueue.reserve(elements);
   for(i=0;i<elements;i++) {
     visArrayQueue[i]=new std::vector<float>;


Comment 9 Charles Samuels 2004-08-31 07:21:17 UTC
*** Bug 71256 has been marked as a duplicate of this bug. ***