Bug 74161

Summary: kmail crash on the start
Product: [Unmaintained] kmail Reporter: Frank Neufingerl <fneufingerl>
Component: IMAPAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Frank Neufingerl 2004-02-04 20:44:27 UTC
Version:           3.2 (using KDE KDE 3.2.0)
Installed from:    SuSE RPMs
Compiler:          gcc version 3.3 20030226 (prerelease) (SuSE Linux)
 suse
OS:          Linux

(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)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...[New Thread 16384 (LWP 18156)]
(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)...0x41d41cf7 in waitpid ()
   from /lib/libpthread.so.0
#0  0x41d41cf7 in waitpid () from /lib/libpthread.so.0
#1  0x41309c99 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x41d40895 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x4030c4b9 in KMCommand::KMCommand(QWidget*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#5  0x40313703 in KMSetStatusCommand::KMSetStatusCommand(unsigned, QValueList<unsigned> const&, bool) () from /opt/kde3/lib/libkmailprivate.so.0
#6  0x401fdf98 in KMReaderWin::slotTouchMessage() ()
   from /opt/kde3/lib/libkmailprivate.so.0
#7  0x401fb1f3 in KMReaderWin::setMsg(KMMessage*, bool) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#8  0x40329d4a in KMMainWidget::slotMsgSelected(KMMessage*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#9  0x403216ad in KMMainWidget::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#10 0x416e7ee1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#11 0x401bbc9a in KMHeaders::selected(KMMessage*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#12 0x401b4b9f in KMHeaders::highlightMessage(QListViewItem*, bool) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#13 0x401b5a6c in KMHeaders::highlightMessage(QListViewItem*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#14 0x401bc138 in KMHeaders::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#15 0x416e7ee1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#16 0x41a3ec3d in QListView::currentChanged(QListViewItem*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0x417d24d2 in QListView::setCurrentItem(QListViewItem*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0x401b61f2 in KMHeaders::setCurrentItemByIndex(int) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#19 0x401bb78e in KMHeaders::readSortOrder(bool) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#20 0x401b4e27 in KMHeaders::updateMessageList(bool) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#21 0x401af650 in KMHeaders::setFolder(KMFolder*, bool) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#22 0x40329b63 in KMMainWidget::folderSelected(KMFolder*, bool) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#23 0x4032989c in KMMainWidget::folderSelected(KMFolder*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#24 0x403216db in KMMainWidget::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#25 0x416e7ee1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x4019e2da in KMFolderTree::folderSelected(KMFolder*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#27 0x40199f42 in KMFolderTree::doFolderSelected(QListViewItem*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#28 0x40334e64 in KMMainWidget::slotShowStartupFolder() ()
   from /opt/kde3/lib/libkmailprivate.so.0
#29 0x40321027 in KMMainWidget::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#30 0x416e7ee1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0x41a2b86a in QSignal::signal(QVariant const&) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0x41702648 in QSignal::activate() () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x41709fc3 in QSingleShotTimer::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x41689e3f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x416890f0 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x41284414 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#37 0x41676a96 in QEventLoop::activateTimers() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x41630d28 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#39 0x080e1338 in ?? ()
#40 0x00000001 in ?? ()
#41 0x080e1868 in ?? ()
#42 0x41b65670 in qt_wait_timer_max () from /usr/lib/qt3/lib/libqt-mt.so.3

have the kmail a logfile from more information ?
Comment 1 Carsten Burghardt 2004-02-04 21:03:33 UTC
Subject: Re:  New: kmail crash on the start

On Wednesday 04 February 2004 20:44, Frank Neufingerl wrote:
> (no debugging symbols found)...(no debugging symbols found)...
> (no debugging symbols found)...(no debugging symbols found)...

Please provide a detailed description of the bug and/or a backtrace of a 
self-compiled kmail (see kmail.ingo-kloecker.de) that contains debug 
information. Otherwise we can't do anything.


Thanks,

Carsten

Comment 2 Frank Neufingerl 2004-02-04 21:19:44 UTC
Can no cvs-checkout make unfortunately thanks to our firewalls, you have one link of a tarball?
Comment 3 Andreas Gungl 2004-02-05 08:38:31 UTC
Subject: Re:  kmail crash on the start

On Wednesday 04 February 2004 21:19, Frank Neufingerl wrote:
> Can no cvs-checkout make unfortunately thanks to our firewalls,
> you have one link of a tarball?
ftp://ftp.kde.org/pub/kde/stable/3.2/src/

You need the kdepim tarball (if you miss the KDE headers you may look for 
kdelibs too).

Comment 4 Frank Neufingerl 2004-02-06 16:58:22 UTC
puh

./configure --enable-debug=full

checking linux/if_ppp.h presence... yes
configure: WARNING: linux/if_ppp.h: present but cannot be compiled
configure: WARNING: linux/if_ppp.h: check for missing prerequisite headers?
configure: WARNING: linux/if_ppp.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
Comment 5 Frank Neufingerl 2004-02-06 16:59:45 UTC
puh
./configure --enable-debug=full

checking linux/if_ppp.h presence... yes
configure: WARNING: linux/if_ppp.h: present but cannot be compiled
configure: WARNING: linux/if_ppp.h: check for missing prerequisite headers?
configure: WARNING: linux/if_ppp.h: proceeding with the preprocessor's result
configure: WARNING:     ## ------------------------------------ ##
configure: WARNING:     ## Report this to bug-autoconf@gnu.org. ##
configure: WARNING:     ## ------------------------------------ ##
checking for linux/if_ppp.h... yes
Comment 6 Ingo Klöcker 2004-02-06 18:31:39 UTC
Anyway, as long as the compilation works you can simply ignore this _warning_.
Comment 7 Frank Neufingerl 2004-02-09 10:00:55 UTC
[New Thread 16384 (LWP 19236)]
0x41d41cf7 in waitpid () from /lib/libpthread.so.0
#0  0x41d41cf7 in waitpid () from /lib/libpthread.so.0
#1  0x412efc99 in KCrash::defaultCrashHandler(int) ()
   from /opt/kde3/lib/libkdecore.so.4
#2  0x41d40895 in __pthread_sighandler () from /lib/libpthread.so.0
#3  <signal handler called>
#4  0x41ef6559 in fileno_unlocked () from /lib/libc.so.6
#5  0x40339a8e in KMFolderIndex::updateIndexStreamPtr(bool) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#6  0x4028670e in KMFolderMbox::open() ()
   from /opt/kde3/lib/libkmailprivate.so.0
#7  0x401effb7 in KMFolder::countUnread() ()
   from /opt/kde3/lib/libkmailprivate.so.0
#8  0x401f0b3e in KMFolder::writeConfig() ()
   from /opt/kde3/lib/libkmailprivate.so.0
#9  0x4028dce0 in KMFolderImap::writeConfig() ()
   from /opt/kde3/lib/libkmailprivate.so.0
#10 0x40286d2b in KMFolderMbox::close(bool) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#11 0x4028d7ae in KMFolderImap::close(bool) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#12 0x40290485 in KMFolderImap::slotListResult(QStringList, QStringList, QStringList, KMail::ImapAccountBase::jobData const&) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#13 0x402992c5 in KMFolderImap::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#14 0x416e7e16 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#15 0x40276c3b in KMail::ImapAccountBase::receivedFolders(QStringList, QStringList, QStringList, KMail::ImapAccountBase::jobData const&) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#16 0x4027522b in KMail::ImapAccountBase::slotListResult(KIO::Job*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#17 0x40276e0f in KMail::ImapAccountBase::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#18 0x4027d973 in KMAcctImap::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#19 0x416e7ee1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0x40d3c2ca in KIO::Job::result(KIO::Job*) () from /opt/kde3/lib/libkio.so.4
#21 0x40d272cc in KIO::Job::emitResult() () from /opt/kde3/lib/libkio.so.4
#22 0x40d287ce in KIO::SimpleJob::slotFinished() ()
   from /opt/kde3/lib/libkio.so.4
#23 0x40d301cb in KIO::ListJob::slotFinished() ()
   from /opt/kde3/lib/libkio.so.4
#24 0x40d3eefd in KIO::ListJob::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkio.so.4
#25 0x416e7ee1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0x416e7cb7 in QObject::activate_signal(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0x40d1cf6c in KIO::SlaveInterface::finished() ()
   from /opt/kde3/lib/libkio.so.4
#28 0x40d1bc27 in KIO::SlaveInterface::dispatch(int, QMemArray<char> const&) ()
   from /opt/kde3/lib/libkio.so.4
#29 0x40d1b1f9 in KIO::SlaveInterface::dispatch() ()
   from /opt/kde3/lib/libkio.so.4
#30 0x40d18c3b in KIO::Slave::gotInput() () from /opt/kde3/lib/libkio.so.4
#31 0x40d1a8ba in KIO::Slave::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkio.so.4
#32 0x416e7ee1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x416e7ffb in QObject::activate_signal(int, int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#34 0x41a2c780 in QSocketNotifier::activated(int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#35 0x41704cb0 in QSocketNotifier::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#36 0x41689e3f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#37 0x416890f0 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#38 0x4126a414 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#39 0x41676ca6 in QEventLoop::activateSocketNotifiers() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#40 0x41630ce7 in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#41 0x4169c293 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#42 0x4168a0bf in QApplication::enter_loop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#43 0x417f447d in QPopupMenu::exec(QPoint const&, int) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#44 0x4019b6bc in KMFolderTree::slotContextMenuRequested(QListViewItem*, QPoint const&) () from /opt/kde3/lib/libkmailprivate.so.0
#45 0x4019f7fb in KMFolderTree::qt_invoke(int, QUObject*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#46 0x416e7ee1 in QObject::activate_signal(QConnectionList*, QUObject*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#47 0x41a3f8b5 in QListView::contextMenuRequested(QListViewItem*, QPoint const&, int) () from /usr/lib/qt3/lib/libqt-mt.so.3
#48 0x417cf04e in QListView::contentsContextMenuEvent(QContextMenuEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#49 0x41800419 in QScrollView::viewportContextMenuEvent(QContextMenuEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#50 0x417ff7cd in QScrollView::eventFilter(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#51 0x417cdcb6 in QListView::eventFilter(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#52 0x4019eb29 in KMFolderTree::eventFilter(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkmailprivate.so.0
#53 0x416e577e in QObject::activate_filters(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#54 0x416e5652 in QObject::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#55 0x4171e89f in QWidget::event(QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#56 0x41689e3f in QApplication::internalNotify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#57 0x41689379 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#58 0x4126a414 in KApplication::notify(QObject*, QEvent*) ()
   from /opt/kde3/lib/libkdecore.so.4
#59 0x4161bed5 in QETWidget::translateMouseEvent(_XEvent const*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#60 0x41619a4d in QApplication::x11ProcessEvent(_XEvent*) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#61 0x4163081d in QEventLoop::processEvents(unsigned) ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#62 0x4169c293 in QEventLoop::enterLoop() ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#63 0x4169c186 in QEventLoop::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#64 0x4168a05f in QApplication::exec() () from /usr/lib/qt3/lib/libqt-mt.so.3
#65 0x0804a3dd in main (argc=1, argv=0xbfffece4) at main.cpp:115
#66 0x41ea08ae in __libc_start_main () from /lib/libc.so.6


./kmail
kdecore (KAccel): WARNING: KKeySequence::init( seq ): key[0] is null.
kdecore (KAccel): WARNING: KKeySequence::init( seq ): key[0] is null.
pc-09035(frankn):/downloads/kdemail/kdepim/kmail -> *** KMail got signal 11 (Crashing)




Comment 8 Frank Neufingerl 2004-02-16 15:18:04 UTC
das ganze passiert beim anmelden an den mailserver per imap, kann ich das ganze debuggen ?
Comment 9 Frank Neufingerl 2004-02-16 15:19:53 UTC
this happens, when connecting to the mailserver via imap,
can I debug this ?
Comment 10 Ingo Klöcker 2004-02-17 10:55:27 UTC
Does deleting the cache for this IMAP account help? The data is cached in ~/.kde/share/apps/kmail/imap in a hidden directory which corresponds to the name of your account. For example: If your account is named "IMAP" then the data is cached in .IMAP.directory.
Comment 11 Frank Neufingerl 2004-02-17 17:46:05 UTC
no, this doesn't help. the file in ~/.kde/share/apps/kmail/imap is 

-rw-------    1 frankn   psi             0 2004-02-17 17:15 genie
Comment 12 Ingo Klöcker 2004-02-17 18:32:08 UTC
There should also be a directory .genie.directory and a few index files .genie.index* in ~/.kde/share/apps/kmail/imap.
Comment 13 Frank Neufingerl 2004-02-17 22:49:51 UTC
pc-09035(frankn):~/.kde/share/apps/kmail/imap -> ls -all
insgesamt 16
drwx------    3 frankn   psi           512 2004-02-17 17:14 .
drwx------    5 frankn   psi           512 2004-02-17 17:20 ..
drwx------   41 frankn   psi         12288 2004-02-17 17:20 .genie.directory
-rw-------    1 frankn   psi            33 2004-02-17 17:15 .genie.index
-rw-rw-rw-    1 frankn   psi            33 2004-02-17 17:15 .genie.index.ids
-rw-------    1 frankn   psi             0 2004-02-17 17:15 genie
pc-09035(frankn):~/.kde/share/apps/kmail/imap ->
Comment 14 Frank Neufingerl 2004-02-17 22:59:51 UTC
its running, files only subscribed attitudes imap indicate actively is,
remove him crash kmail 
Comment 15 Ingo Klöcker 2004-02-18 11:02:13 UTC
> its running, files only subscribed attitudes imap indicate actively is, 
> remove him crash kmail

Sorry, but I don't understand what you are trying to say.
Comment 16 Jay Luker 2004-04-15 16:52:28 UTC
I was experiencing the same issue. I went into the imap folder at .kde/share/apps/kmail/imap and removed (relocated) all of the hidden files and directories for both imap servers I had configured. Restarted kmail and resubscribed to my remote folders. Everything seems to be working now. No crashes (yet).
Comment 17 Carsten Burghardt 2004-06-13 15:04:43 UTC

*** This bug has been marked as a duplicate of 74117 ***