Created attachment 57673 [details] plasma-desktop kcrash Version: unspecified (using KDE 4.6.0) OS: Linux I am using a 64-bit machine with GeForce 8600 GTS Every time I select QtCurve preset Agua -->OK and Apply then choose Curve OK and Apply buttons. Plasma desktop crashes including kwin, akonadi, nepomuk etc... About 55 different pops ups appear. Reproducible: Always Steps to Reproduce: 1. Choose Widget Style QtCurve and click on Configure button 2. From Presets list choose Curve and click on OK and Apply buttons 3. Crash occurs Actual Results: Crash occurs every time with over 50 to 55 crash pop ups. Expected Results: Expect to switch to a different preset settings created by QtCurve without crash Crash also occurs if you try to import a .qtcurve file.
Correction to Steps to Reproduce Reproducible: Always Steps to Reproduce: 1. Choose Widget Style "QtCurve" and click on Configure button 2. From Presets list choose Agua and click on OK and Apply buttons 3. From Presets list choose Curve and click on OK and Apply buttons 4. Crash occurs
Please note that this crash happens with: A. The "nouveau" driver and B. The Nvidia proprietary driver
since all of those apps are crashing, that should be a hint that the bug is in the QtCurve style.
Totally agree - this is a bug in QtCurve. Versions < 1.8.4 had a bug where (for certain configurations) memory was beeing free'd twice. Sorry.
Since I will be using openSUSE 11.4. Do you know if this will be available to the openSUSE KDE Team for them to provide for KDE SC 4.6.1? I know building KDE SC 4.6.1 will not be done until openSUSE 11.4 is out on Thursday March 10th, 2011.
(In reply to comment #4) > Totally agree - this is a bug in QtCurve. Versions < 1.8.4 had a bug where (for > certain configurations) memory was beeing free'd twice. Sorry. Do you have a single commit or patch we can apply? I don't know if we can get a version update through maintainance. Roman QtCurve is a seperate component and not part of KDE, so this is unrelated if we get 4.6.1 into 11.4 or not http://kde-look.org/content/show.php?content=40492
Aaron and Craig, Can you please provide Kasten with a single commit or patch? We are really pressed for time as openSUSE 11.4 is coming out Thursday, March 10th, 2011!
Kasten means box in german, my parents were not that cruel ;-) And no, 11.4 won't see a patch to this but only as an online update, it's too late for 11.4, which is already beeing pushed out to the mirrors afaik
Sorry mate, I was in the midst of an "edit and modify" about referring to the 11.4 updates. However, my finger slipped and send was pressed before I was able to finish ;-)
Created attachment 57704 [details] Patch to fix QtCurve crash due to double-free The attached patch fixes the double-free issue - and should resolve the plasma crashes.
Hm I should have checked that beforehand, I just noticed when I wanted to apply the patch, we are already shipping 0.8.4 so this must be something different
Created attachment 58056 [details] Patch to fix crash - better checkign when free'ing memory. This second patch seems to fix the issue for me. Hopefully it is useful.
This appears to be the correct fix. QtCurve no longer crashes when switching presets. And, it no longer crashes when importing ".qtcurve schemes".