Summary: | kmail crashes at startup | ||
---|---|---|---|
Product: | [Unmaintained] kmail | Reporter: | eva |
Component: | general | Assignee: | kdepim bugs <kdepim-bugs> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | SVN (3.5 branch) | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: | |||
Attachments: |
backtrace of crash involving the KMessageBox
strace log of kmail invocation leading to backtrace backtrace strace during crash |
Description
eva
2002-10-06 12:21:36 UTC
Same crash as in 48695 - reported of that bug said moving away kmailrc fixes it. Subject: Re: New: kmail crashes at startup On Sonntag, 6. Oktober 2002 12:21, eva@kde.org wrote: > ------- You are receiving this mail because: ------- > You are the assignee for the bug, or are watching the assignee. > > http://bugs.kde.org/show_bug.cgi?id=48771 > Summary: kmail crashes at startup > Product: kmail > Version: unspecified > Platform: Compiled Sources > OS/Version: Linux > Status: NEW > Severity: normal > Priority: NOR > Component: general > AssignedTo: kmail@kde.org > ReportedBy: eva@kde.org > > > Version: (using KDE Devel) > Installed from: Compiled sources > Compiler: gcc-3.2 suse 8.1 > OS: Linux > > todays cvs. BTW, I have 2 imap servers configured. The crash happens after > both passwords were entered. > Hi! Can you please compile with --enable-debug and perhaps even run it under valgrind? It's quite hard to make sense of it when you haven't 2 imap servers to reproduce it. Greetings, Stephan #48428 shows the same crash and is marked as fixed. Ingo? Subject: Re: kmail crashes at startup
On Sunday 06 October 2002 23:01, Stephan Kulow wrote:
> #48428 shows the same crash and is marked as fixed. Ingo?
The two crashes are showing similar symptoms. But the crash I fixed was
due to a message box which blocked the correct initialization of KMail.
The incomplete initialization then caused the crash (because the event
loop called other code which tried to access uninitialized objects). I
replaced the message box with a queued message box so that the
initialization isn't interrupted while the message box is displayed.
Eva's backtraces doesn't show a sign of a KMessageBox so there has to
be another bug somewhere.
I've got a similar crash, I believe. When I start up KMail, I get a brief flash of a message box titled "Index Out of Date". Before the message box can complete rendering, I get the crash. I do have a KMessageBox in my stack trace. I'll attach it for your info. I'll attach an strace too, if that'll help... Created attachment 166 [details]
backtrace of crash involving the KMessageBox
Created attachment 167 [details]
strace log of kmail invocation leading to backtrace
I can confirm that moving the kmailrc out of the way and starting kmail up fixed the problem. The dialog turns out to be complaining about the index for the trash folder being out of date. *shrug* After shutting kmail down again, I was able to reinstate the original kmailrc to restore my settings. If I cancel the imap login dialogs at startup, I can get kmail running. BTW, I have imap folder configured to be used as sent-mail folders, that is probably why kmail wants to know the passwords at once. My reply to Comment #2: I already have everything compiled with --enable-debug Greetings, eva Subject: Re: kmail crashes at startup On Tuesday 08 October 2002 10:50, eva@kde.org wrote: > What |Removed |Added > --------------------------------------------------------------------- >------- Version|unspecified |3.0 I thought you were using the cvs version? > My reply to Comment #2: I already have everything compiled with > --enable-debug You have to compile with --enable-debug=full in order to get line numbers in the debug output. It would be nice if you could do this so that we know in which line the crash occurs. Regards, Ingo Subject: Re: kmail crashes at startup
On Tuesday 08 October 2002 10:12, Richard Jones wrote:
> I've got a similar crash, I believe. When I start up
> KMail, I get a brief flash of a message box titled "Index Out of
> Date". Before the message box can complete rendering, I get the
> crash. I do have a KMessageBox in my stack trace. I'll attach it for
> your info. I'll attach an strace too, if that'll help...
This is a different bug and I have just fixed it.
Regards,
Ingo
Created attachment 176 [details]
backtrace
Created attachment 177 [details]
strace during crash
Thanks for the backtrace. Please try if the following patch fixes the problem. --- kmfoldertree.cpp~ Fri Sep 13 01:21:26 2002 +++ kmfoldertree.cpp Wed Oct 9 23:51:30 2002 @@ -511,7 +511,7 @@ addDirectory( folder->child(), fti ); // make sure that the folder-settings are correctly read on startup by calling listDirectory if (readIsListViewItemOpen(fti) && - folder && fti->folder()->protocol() == "imap") + fti->folder() && fti->folder()->protocol() == "imap") slotFolderExpanded(fti); } } // for-end Carsten? Do you think this fix is correct? [pid 3963] 23:15:03 stat64("/export/home/eva/.kde3cvs/share/config/", {st_mode=S_IFDIR|0700, st_size=4096, ...}) = 0 [pid 3963] 23:15:03 stat64("/export/home/eva/.kde3cvs/share/config/kio_imaprc", 0xbfffd550) = -1 ENOENT (No such file or directory) [pid 3963] 23:15:03 stat64("/opt/kde3cvs_1/share/config/kio_imaprc", 0xbfffd550) = -1 ENOENT (No such file or directory) [pid 3963] 23:15:03 stat64("/opt/kde2/share/config/kio_imaprc", 0xbfffd550) = -1 ENOENT (No such file or directory) Eva? Why is KDE looking in /opt/kde2/... for kio_imaprc? Does $KDEDIRS include /opt/kde2? You should probably unset $KDEDIRS. Regards, Ingo Ingo, your patch still works fine. eva Subject: Re: kmail crashes at startup On Wednesday 16 October 2002 21:35, eva@kde.org wrote: > Ingo, your patch still works fine. O.k., I committed the patch. Regards, Ingo My Kmail keeps crashing: (no debugging symbols found) Using host libthread_db library "/lib/tls/libthread_db.so.1". (no debugging symbols found) `system-supplied DSO at 0xffffe000' has disappeared; keeping its symbols. (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [Thread debugging using libthread_db enabled] [New Thread 1110717408 (LWP 6204)] (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) (no debugging symbols found) [KCrash handler] #3 0x40350073 in KMMainWidget::readConfig () from /usr/lib/libkmailprivate.so.0 #4 0x4034f040 in KMMainWidget::KMMainWidget () from /usr/lib/libkmailprivate.so.0 #5 0x4016a44c in KMMainWin::KMMainWin () from /usr/lib/libkmailprivate.so.0 #6 0x402d9675 in KMKernel::openReader () from /usr/lib/libkmailprivate.so.0 #7 0x402deb90 in KMKernel::action () from /usr/lib/libkmailprivate.so.0 #8 0x402d9474 in KMKernel::handleCommandLine () from /usr/lib/libkmailprivate.so.0 #9 0x08049f35 in ?? () #10 0xbffff870 in ?? () #11 0x00000001 in ?? () #12 0xbffff140 in ?? () #13 0x081aae70 in ?? () #14 0x40fb053c in ?? () from /usr/lib/libqt-mt.so.3 #15 0xbffff140 in ?? () #16 0xbffff0d8 in ?? () #17 0x40decd3a in QCString::~QCString () from /usr/lib/libqt-mt.so.3 #18 0x407c28a2 in KUniqueApplication::processDelayed () from /usr/lib/libkdecore.so.4 #19 0x407c2d4f in KUniqueApplication::qt_invoke () from /usr/lib/libkdecore.so.4 #20 0x40b4871c in QObject::activate_signal () from /usr/lib/libqt-mt.so.3 #21 0x40e8762a in QSignal::signal () from /usr/lib/libqt-mt.so.3 #22 0x40b6291d in QSignal::activate () from /usr/lib/libqt-mt.so.3 #23 0x40b6a253 in QSingleShotTimer::event () from /usr/lib/libqt-mt.so.3 #24 0x40aebe1f in QApplication::internalNotify () from /usr/lib/libqt-mt.so.3 #25 0x40aeb41e in QApplication::notify () from /usr/lib/libqt-mt.so.3 #26 0x4071bec3 in KApplication::notify () from /usr/lib/libkdecore.so.4 #27 0x40adb645 in QEventLoop::activateTimers () from /usr/lib/libqt-mt.so.3 #28 0x40a94cfb in QEventLoop::processEvents () from /usr/lib/libqt-mt.so.3 #29 0x40afe1d8 in QEventLoop::enterLoop () from /usr/lib/libqt-mt.so.3 #30 0x40afe088 in QEventLoop::exec () from /usr/lib/libqt-mt.so.3 #31 0x40aec071 in QApplication::exec () from /usr/lib/libqt-mt.so.3 #32 0x0804a0b4 in ?? () #33 0xbffff950 in ?? () #34 0xbffff860 in ?? () #35 0x00000000 in ?? () #36 0x00000000 in ?? () #37 0x40f8fc40 in vtable for QGArray () from /usr/lib/libqt-mt.so.3 #38 0x0813d7a0 in ?? () #39 0x4066f618 in main_arena () from /lib/tls/libc.so.6 #40 0x4066f218 in main_arena () from /lib/tls/libc.so.6 #41 0x40438770 in vtable for KMKernel () from /usr/lib/libkmailprivate.so.0 #42 0x405a10a0 in _int_malloc () from /lib/tls/libc.so.6 #43 0x4054eec0 in __libc_start_main () from /lib/tls/libc.so.6 #44 0x08049e11 in ?? () |