Bug 141808

Summary: [SVN 633671]: Crash creating equation f(x) vs. x
Product: [Applications] kst Reporter: D. V. Wiebe <dvw>
Component: generalAssignee: Eli Fidler <eli>
Status: RESOLVED FIXED    
Severity: crash CC: kst
Priority: NOR    
Version: 1.x   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description D. V. Wiebe 2007-02-17 00:01:24 UTC
Version:           1.4.0_devel (using KDE 3.5.4, compiled sources)
Compiler:          gcc version 3.4.6
OS:                Linux (i686) release 2.6.17.8

kst crashes while trying to create an equation.  Reported on the console:

kst: FATAL: Thread -1239570752 tried to write lock KstRWLock 0x856b03c while holding a read lock


STEPS TO REPRODUCE:

1. start kst
2. New Vector Dialog: Name=x, Source=Generate
3. New Equation Dialog: Equation=[x], X vector=x

Crash occurs upon hitting OK in the New Equation dialog.  The crash appears to be related to plotting equation-involving-x versus x.  Plotting equation-involving-x versus another vector, say y, doesn't produce the crash.
Comment 1 Eli Fidler 2007-02-19 21:35:43 UTC
It looks like there was an extra readLock in the dialog. It should be fixed in 635323.