--Boundary-00=_wswSC2CcEy7cygr Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hi all, attached is the backtrace of a crash. Basically this happens with KDE 3.4.0 when trying to save in a read-only directory (also on autosave!). In particular it also happens when saving to a file where you have write permissions to but where you don't have write permissions to the directory - which basically SHOULD work. The bug (or what causes the crash) is in koffice/lib/store/koZipStore.cc:76 The pointer is NOT NULL, but still, deleting it causes a crash. This looks very much like a bug in KIO. See attachement for details. ... uhm... meanwhile I committed a workaround to CVS. Maybe the backtrace is still useful for anyone here. Raphael --Boundary-00=_wswSC2CcEy7cygr Content-Type: text/plain; charset="iso-8859-1"; name="koffice_kio_crash" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="koffice_kio_crash" [Switching to LWP 100160] 0x298006af in wait4 () from /lib/libc.so.5 #0 0x298006af in wait4 () from /lib/libc.so.5 #1 0x297efe43 in waitpid () from /lib/libc.so.5 #2 0x297610dd in waitpid () from /usr/lib/libpthread.so.1 #3 0x28cd3791 in KCrash::defaultCrashHandler (sig=11) at /home/raphael/devel/kde/kdelibs/kdecore/kcrash.cpp:251 #4 0x29768737 in sigaction () from /usr/lib/libpthread.so.1 #5 0xbfbfff94 in ?? () #6 0x0000000b in ?? () #7 0xbfbfd770 in ?? () #8 0xbfbfd4b0 in ?? () #9 0x00000000 in ?? () #10 0x29768340 in sigaction () from /usr/lib/libpthread.so.1 #11 0x280e17cc in ~QString (this=0x85af3d8) at qstring.h:846 #12 0x28cf8f93 in ~KSaveFile (this=0x85af3d8) at /home/raphael/devel/kde/kdelibs/kdecore/ksavefile.cpp:90 #13 0x28611df8 in ~KZip (this=0x84ed870) at /home/raphael/devel/kde/kdelibs/kio/kio/kzip.cpp:362 #14 0x2816f68c in ~KoZipStore (this=0x85afb20) at /home/raphael/devel/kde/koffice/lib/store/koZipStore.cc:76 #15 0x280d958b in KoDocument::saveNativeFormat (this=0x819bdb0, file=@0x819be18) at /home/raphael/devel/kde/koffice/lib/kofficecore/koDocument.cc:934 #16 0x280d7271 in KoDocument::saveFile (this=0x819bdb0) at /home/raphael/devel/kde/koffice/lib/kofficecore/koDocument.cc:404 #17 0x28291aa9 in KParts::ReadWritePart::save (this=0x819bdb0) at /home/raphael/devel/kde/kdelibs/kparts/part.cpp:546 #18 0x280f5d33 in KoMainWindow::saveDocument (this=0x81bc228, saveas=false, silent=false) at /home/raphael/devel/kde/koffice/lib/kofficecore/koMainWindow.cc:905 #19 0x280f6a27 in KoMainWindow::slotFileSave (this=0x81bc228) at /home/raphael/devel/kde/koffice/lib/kofficecore/koMainWindow.cc:1097 #20 0x280f9e30 in KoMainWindow::qt_invoke (this=0x81bc228, _id=79, _o=0xbfbfde10) at koMainWindow.moc:178 #21 0x29157339 in QObject::activate_signal () from /usr/X11R6//lib/libqt-mt.so.3 #22 0x29157244 in QObject::activate_signal () from /usr/X11R6//lib/libqt-mt.so.3 #23 0x2888616e in KAction::activated (this=0x81f0650) at kaction.moc:171 #24 0x28885795 in KAction::slotActivated (this=0x81f0650) at /home/raphael/devel/kde/kdelibs/kdeui/kaction.cpp:1102 #25 0x2888657d in KAction::qt_invoke (this=0x81f0650, _id=14, _o=0xbfbfdf30) at kaction.moc:212 #26 0x29157339 in QObject::activate_signal () from /usr/X11R6//lib/libqt-mt.so.3 #27 0x29157244 in QObject::activate_signal () from /usr/X11R6//lib/libqt-mt.so.3 #28 0x28cc8ce2 in KAccelPrivate::menuItemActivated (this=0x81ee1d0) at kaccelprivate.moc:110 #29 0x28cc71b2 in KAccelPrivate::eventFilter (this=0x81ee1d0, pEvent=0xbfbfe3f0) at /home/raphael/devel/kde/kdelibs/kdecore/kaccel.cpp:355 #30 0x2915491e in QObject::activate_filters () from /usr/X11R6//lib/libqt-mt.so.3 #31 0x291547b2 in QObject::event () from /usr/X11R6//lib/libqt-mt.so.3 #32 0x29192cd2 in QWidget::event () from /usr/X11R6//lib/libqt-mt.so.3 #33 0x2925611c in QMainWindow::event () from /usr/X11R6//lib/libqt-mt.so.3 #34 0x290f13fb in QApplication::internalNotify () from /usr/X11R6//lib/libqt-mt.so.3 #35 0x290f08f6 in QApplication::notify () from /usr/X11R6//lib/libqt-mt.so.3 #36 0x28c41763 in KApplication::notify (this=0xbfbfe810, receiver=0x84528b0, event=0xbfbfe3f0) at /home/raphael/devel/kde/kdelibs/kdecore/kapplication.cpp:549 #37 0x280fa851 in QApplication::sendEvent (receiver=0x84528b0, event=0xbfbfe3f0) at qapplication.h:491 #38 0x28cc5e73 in KAccelEventHandler::x11Event (this=0x81ea0e0, pEvent=0xbfbfe730) at /home/raphael/devel/kde/kdelibs/kdecore/kaccel.cpp:143 #39 0x28c5034d in KAppX11HackWidget::publicx11Event (this=0x81ea0e0, e=0xbfbfe730) at /home/raphael/devel/kde/kdelibs/kdecore/kapplication.cpp:1669 #40 0x28c465c8 in KApplication::x11EventFilter (this=0xbfbfe810, _event=0xbfbfe730) at /home/raphael/devel/kde/kdelibs/kdecore/kapplication.cpp:1739 #41 0x29070e29 in qt_x11EventFilter () from /usr/X11R6//lib/libqt-mt.so.3 #42 0x2907b338 in QApplication::x11ProcessEvent () from /usr/X11R6//lib/libqt-mt.so.3 #43 0x29094d37 in QEventLoop::processEvents () from /usr/X11R6//lib/libqt-mt.so.3 #44 0x29105680 in QEventLoop::enterLoop () from /usr/X11R6//lib/libqt-mt.so.3 #45 0x291055c6 in QEventLoop::exec () from /usr/X11R6//lib/libqt-mt.so.3 #46 0x290f158f in QApplication::exec () from /usr/X11R6//lib/libqt-mt.so.3 #47 0x28079214 in kdemain (argc=1, argv=0xbfbfe940) at /home/raphael/devel/kde/koffice/kword/main.cc:40 #48 0x080487ee in main (argc=1, argv=0xbfbfe940) at kword.la.cc:2 --Boundary-00=_wswSC2CcEy7cygr Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ koffice-devel mailing list koffice-devel@kde.org https://mail.kde.org/mailman/listinfo/koffice-devel --Boundary-00=_wswSC2CcEy7cygr--