Summary: | crash after quit without saving | ||
---|---|---|---|
Product: | [Applications] calligrasheets | Reporter: | Edwin Schepers <yez> |
Component: | general | Assignee: | Laurent Montel <montel> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Edwin Schepers
2002-12-08 22:21:16 UTC
Hello, I don't think this is a KSpread or KOffice issue, as the backtrace is competely kdelibs related. But before I hand this over to another module, can you update KDE and KOffice again and see if it still crashes and if yes if the backtrace is similar. I've seen some changes to the way parts are handled and some fixes for crashes in the cvs commits, so I asume this is fixed in KDE already. So can you check again please? Philipp Subject: koffice/lib/kofficecore CVS commit by faure: Fix crash on exit after using "New View". The previous fix (1.277) was wrong. Simon: how does this look? CCMAIL: 51658-done@bugs.kde.org M +4 -6 koMainWindow.cc 1.279 --- koffice/lib/kofficecore/koMainWindow.cc #1.278:1.279 @@ -308,5 +308,4 @@ KoMainWindow::~KoMainWindow() { //kdDebug(30003) << "Destructor. No more views, deleting old doc " << d->m_rootDoc << endl; - d->m_manager->removePart( d->m_rootDoc ); // otherwise ~PartManager will try to access the deleted doc delete d->m_rootDoc; } @@ -334,5 +333,5 @@ void KoMainWindow::setRootDocument( KoDo { doc->setSelectable( false ); - d->m_manager->addPart( doc, false ); + //d->m_manager->addPart( doc, false ); // done by KoView::setPartManager d->m_rootViews.append( doc->createView( d->m_splitter ) ); d->m_rootViews.current()->setPartManager( d->m_manager ); @@ -363,5 +362,4 @@ void KoMainWindow::setRootDocument( KoDo { //kdDebug(30003) << "No more views, deleting old doc " << oldRootDoc << endl; - d->m_manager->removePart( oldRootDoc ); // otherwise ~PartManager will try to access the deleted doc delete oldRootDoc; } |