[Kst] Locking crash

George Staikos staikos at kde.org
Tue Aug 29 07:08:51 CEST 2006


On Monday 28 August 2006 21:58, Barth Netterfield wrote:
> Hi,
>
> This is pretty vague, so I won't put in a bug report until I get a good
> test case, but...
>
> Reload a certain kst file with an equation which uses several RVectors.
> The equation has not been evaluated correctly... (always)

  Do you mean that it contains a syntax error?

> Edit the equation.
> OK -> (always) crashes with...
>
> kst: FATAL: Thread -1238321472 tried to unlock KstRWLock 0x8751d5c
> (unlocked) without holding the lock
> KCrash: crashing... crashRecursionCounter = 2
> KCrash: Application Name = kst path = <unknown> pid = 9499
>
> In order to keep working here, I have commented out the kdeFatal
> tempararily...  now 'OK' evaluates the equation correctly.
>
> I'm not doing real time work at the moment, so I'm not hitting races.

  Should be easy to fix once I have a testcase.  We put that in there 
specifically to find locking bugs that could cause deadlock or other bad 
behavior.  Looks like it's working!

-- 
George Staikos
KDE Developer				http://www.kde.org/
Staikos Computing Services Inc.		http://www.staikos.net/


More information about the Kst mailing list