Bug 86936

Summary: filter dialog QMutex error
Product: [Applications] kst Reporter: Netterfield <netterfield>
Component: generalAssignee: George Staikos <staikos>
Status: RESOLVED FIXED    
Severity: crash    
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Netterfield 2004-08-10 22:48:40 UTC
Version:           0.99-devel (using KDE 3.2 BRANCH >= 20040204, Mandrake Linux Cooker i586 - Cooker)
Compiler:          gcc version 3.3.2 (Mandrake Linux 10.0 3.3.2-6mdk)
OS:                Linux (i686) release 2.6.2-3mdk

Create a curve (eg, with the wizard).
From the plot rmb menu, select filter
Select low pass filter
set the parameters (eg, order 4, LP = 0.1)
<OK>
KST hangs w/ 100% cpu, and the following is printed to konsole: 
QMutex::unlock: unlock from different thread than locker
                was locked by 1109101488, unlock attempt from 1098727392
QMutex::unlock: unlock from different thread than locker
                was locked by 0, unlock attempt from 1098727392
QMutex::unlock: unlock from different thread than locker
                was locked by 0, unlock attempt from 1098727392
QMutex::unlock: unlock from different thread than locker
                was locked by 0, unlock attempt from 1098727392

This is a new bug since last week.
Comment 1 George Staikos 2004-08-11 21:19:08 UTC
CVS commit by staikos: 

- remove dead code
- remove many i18n() that could cause logic problems
- note: QString x = QString::null; is redundant
- fix locking in all three incarnations of the plugin dialog, hopefully

CCMAIL: 86936-done@bugs.kde.org


  M +2 -4      kst2dplot.cpp   1.219
  M +19 -19    kstdoc.cpp   1.110
  M +34 -8     kstfilterdialog_i.cpp   1.8
  M +64 -41    kstfitdialog_i.cpp   1.31
  M +8 -4      kstplugin.cpp   1.60
  M +24 -2     kstplugindialog_i.cpp   1.80
  M +2 -2      kstvcurve.cpp   1.40
  R            kstfitcurve.cpp   1.11
  R            kstfitcurve.h   1.7