| Summary: | [Regression] KOffice: Applications crash on logout | ||
|---|---|---|---|
| Product: | TDE | Reporter: | Slávek Banko <slavek.banko> |
| Component: | non-core programs | Assignee: | Timothy Pearson <kb9vqf> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | albator78, bugwatch, darrella, kb9vqf, slavek.banko |
| Priority: | P5 | ||
| Version: | R14.0.0 [Trinity] | ||
| Hardware: | Other | ||
| OS: | Linux | ||
| Compiler Version: | TDE Version String: | ||
| Application Version: | Application Name: | ||
| Bug Depends on: | |||
| Bug Blocks: | 2014 | ||
| Attachments: |
KPlato crash on logout - backtrace
tdelibs: fix kxmlguiclient destructor to avoid crash |
||
Verified - problem also applies to the other KOffice applications. It seems to me that the same object KoDocument is 2× deleted. I confirm this bug still exists with my build set from last night. Created attachment 2106 [details]
tdelibs: fix kxmlguiclient destructor to avoid crash
Hello, I cannot reproduce the bug; however, I think you can avoid the crash by modifying the kxmlguiclient class destructor. See attached patch.
(In reply to Francois Andriot from comment #3) > Created attachment 2106 [details] > tdelibs: fix kxmlguiclient destructor to avoid crash > > Hello, I cannot reproduce the bug; however, I think you can avoid the crash > by modifying the kxmlguiclient class destructor. See attached patch. If I remember correctly, such a solution I tried, but without success. I tested now your current patch - again without success. The crash has shifted to the line 81 => is still on the same code. Reproducible here; will be working on it. For some reason the KoMainWindow was being deleted in all KoDocument destructors. I guess the only reason this didn't crash on every single koffice exit (as opposed to at logout only) was due to fortunate destructor calling order when closed manually. Fixed in GIT hash a0f523a. Thanks for reporting! |
Created attachment 1662 [details] KPlato crash on logout - backtrace During testing the progress bar in the status dialog logout I noticed a few crashes. 1) Start KPlato - not open any file, not select template for new file 2) Log out from TDE 3) Occurs kplato crash I have not tested whether this applies to other KOffice programs.