Bug 239907 - Kst freezes when saving vectors to file
Summary: Kst freezes when saving vectors to file
Status: RESOLVED FIXED
Alias: None
Product: kst
Classification: Applications
Component: general (show other bugs)
Version: 1.9.1
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: kst
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-28 20:59 UTC by Andrew Walker
Modified: 2010-05-28 21:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Walker 2010-05-28 20:59:30 UTC
Version:           1.9.1 (using KDE 4.4.0) 
OS:                Linux

Kst freezes due to a deadlock condition when using the "Save Vectors to Disk..." command.

Reproducible: Didn't try

Steps to Reproduce:
Start Kst
Create a vector
Select File... Save Vectors to Disk...
Select a vector and click Save

Actual Results:  
Kst freezes

Expected Results:  
Kst saves data to disk

The problem arises as when the data is being saved, with the corresponding vectors read-locked, a progress bar is updated, which involves handling paint events. These paint events can trigger read-locks on the same vectors being saved, resulting in a deadlock.
Comment 1 Andrew Walker 2010-05-28 21:00:48 UTC
SVN commit 1131712 by arwalker:

BUG:239907 no longer update progress bar when writing vectors to disk so as to avoid a deadlock

 M  +0 -8      kstdatacollection-gui.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=1131712