By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release.
Bug 1729 - [Regression] KOffice: Applications crash on logout
Summary: [Regression] KOffice: Applications crash on logout
Status: RESOLVED FIXED
Alias: None
Product: TDE
Classification: Unclassified
Component: non-core programs (show other bugs)
Version: R14.0.0 [Trinity]
Hardware: Other Linux
: P5 normal
Assignee: Timothy Pearson
URL:
Depends on:
Blocks: 2014
  Show dependency treegraph
 
Reported: 2013-11-23 13:03 CST by Slávek Banko
Modified: 2014-10-05 16:05 CDT (History)
5 users (show)

See Also:
Compiler Version:
TDE Version String:
Application Version:
Application Name:


Attachments
KPlato crash on logout - backtrace (19.80 KB, text/plain)
2013-11-23 13:03 CST, Slávek Banko
Details
tdelibs: fix kxmlguiclient destructor to avoid crash (825 bytes, patch)
2014-07-28 09:49 CDT, Francois Andriot
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Slávek Banko 2013-11-23 13:03:40 CST
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.
Comment 1 Slávek Banko 2013-11-27 14:29:27 CST
Verified - problem also applies to the other KOffice applications.
It seems to me that the same object KoDocument is 2× deleted.
Comment 2 Darrell 2014-01-29 17:00:53 CST
I confirm this bug still exists with my build set from last night.
Comment 3 Francois Andriot 2014-07-28 09:49:58 CDT
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.
Comment 4 Slávek Banko 2014-07-29 11:51:08 CDT
(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.
Comment 5 Timothy Pearson 2014-10-05 11:07:13 CDT
Reproducible here; will be working on it.
Comment 6 Timothy Pearson 2014-10-05 16:05:56 CDT
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!