Bug 125265 - kmail crash on entering something in the search bar
Summary: kmail crash on entering something in the search bar
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail
Classification: Applications
Component: message list (show other bugs)
Version: 1.9.1
Platform: Mandriva RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 118530 128085 129430 143900 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-04-10 02:20 UTC by rapsys
Modified: 2010-04-06 00:26 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
the kdbg output (3.56 KB, text/plain)
2006-04-10 02:20 UTC, rapsys
Details
the backtrace (4.46 KB, text/plain)
2006-04-10 02:26 UTC, rapsys
Details
an other kdbg output (3.56 KB, text/plain)
2006-04-10 02:29 UTC, rapsys
Details
an other kdbg output2 (3.56 KB, text/plain)
2006-04-10 02:31 UTC, rapsys
Details
an other kdbg output3 (3.56 KB, text/plain)
2006-04-10 02:35 UTC, rapsys
Details
an other backtrace 3 (8.67 KB, text/plain)
2006-04-10 02:38 UTC, rapsys
Details
an other kdbg output4 (3.56 KB, text/plain)
2006-04-10 02:41 UTC, rapsys
Details
the kdbg output of crash (4.02 KB, text/plain)
2006-04-12 10:12 UTC, rapsys
Details
An other one while emptying the trash (5.51 KB, text/plain)
2006-04-12 10:13 UTC, rapsys
Details
the crash (3.56 KB, text/plain)
2006-04-14 21:44 UTC, rapsys
Details
crash_kmail_delete_mails_incomming_mail (4.02 KB, text/plain)
2006-04-14 21:45 UTC, rapsys
Details
crash kmail while search cooker directory (2.29 KB, text/plain)
2006-07-05 16:53 UTC, rapsys
Details
crash kmail while search inbox (2.35 KB, text/plain)
2006-07-05 16:53 UTC, rapsys
Details
crash kmail while search inbox (but that time after purge the directory) and just by puting k key in search bar (1.51 KB, text/plain)
2006-07-05 16:54 UTC, rapsys
Details

Note You need to log in before you can comment on or make changes to this bug.
Description rapsys 2006-04-10 02:20:20 UTC
Version:           1.9.1 (using KDE KDE 3.5.2)
Installed from:    Mandriva RPMs
Compiler:          GNU GCC gcc (GCC) 4.0.3 (4.0.3-1mdk for Mandriva Linux release 2006.1)
OS:                Linux

When I start a search with the search bar on any folder I have got kmail crashing...

I have several backtrace of this bug.

I add them as attachement.

To reproduce :
type one or two letter in the search bar and it crash...
Comment 1 rapsys 2006-04-10 02:20:52 UTC
Created attachment 15531 [details]
the kdbg output
Comment 2 rapsys 2006-04-10 02:26:26 UTC
Created attachment 15532 [details]
the backtrace
Comment 3 rapsys 2006-04-10 02:29:55 UTC
Created attachment 15533 [details]
an other kdbg output
Comment 4 rapsys 2006-04-10 02:31:00 UTC
Created attachment 15534 [details]
an other kdbg output2
Comment 5 rapsys 2006-04-10 02:35:56 UTC
Created attachment 15535 [details]
an other kdbg output3
Comment 6 rapsys 2006-04-10 02:38:56 UTC
Created attachment 15536 [details]
an other backtrace 3
Comment 7 rapsys 2006-04-10 02:41:32 UTC
Created attachment 15537 [details]
an other kdbg output4
Comment 8 Ismail Onur Filiz 2006-04-10 03:08:38 UTC
Looks like your message index is corrupt. Could you move the index for that folder to somewhere else and try?
Comment 9 rapsys 2006-04-12 10:11:31 UTC
I rebuilded the whole kmail config and imported the old mails (but I haven't been able to re-import the filter :'(

Anyway it seems fixed now, but I have got see an other crash (see next attachement).

It was while deleting ~1400 mail from inbox to trash, and it crashed around 400mails left.

I join the crash report as attachement.
Comment 10 rapsys 2006-04-12 10:12:31 UTC
Created attachment 15573 [details]
the kdbg output of crash
Comment 11 rapsys 2006-04-12 10:13:25 UTC
Created attachment 15574 [details]
An other one while emptying the trash
Comment 12 rapsys 2006-04-14 21:43:20 UTC
I get this bug again, it happen if I run a long kmail session, then I run a search and that crash...

See the kdbg output.

Same search after restart kmail didn't makes it crash...
Comment 13 rapsys 2006-04-14 21:44:13 UTC
Created attachment 15631 [details]
the crash
Comment 14 rapsys 2006-04-14 21:45:33 UTC
Created attachment 15632 [details]
crash_kmail_delete_mails_incomming_mail
Comment 15 Ismail Onur Filiz 2006-04-22 08:15:18 UTC
Again, it looks like the same problem emerged. You do not need to recreate the configuration etc. Just find the folder that causes the crash. Depending on what type of account it is in ( imap, disconnected imap, local etc ), you can find the corresponding index file for that folder in one of the directories under ~/.kde/share/apps/kmail/ . The following command might help:

find ~/.kde/share/apps/kmail/ -iname ".name_of_folder.index*"

Now move these files to somewhere else, and see whether it still crashes.

Pasting the backtraces from comment 13:
#6  0xffffe410 in __kernel_vsyscall ()
#7  0xb6e06e91 in raise () from /lib/tls/libc.so.6
#8  0xb6e0882b in abort () from /lib/tls/libc.so.6
#9  0xb6dffee5 in __assert_fail () from /lib/tls/libc.so.6
#10 0xb7dc1910 in KMMsgIndex::simpleSearch () from /usr/lib/libkmailprivate.so
#11 0xb7dc1e08 in KListViewIndexedSearchLine::updateSearch ()
   from /usr/lib/libkmailprivate.so
#12 0xb5bb9f2d in KListViewSearchLine::activateSearch ()
   from /usr/lib/libkdeui.so.4
#13 0xb5c1c834 in KListViewSearchLine::qt_invoke ()
   from /usr/lib/libkdeui.so.4
#14 0xb7ccad3b in KMail::HeaderListQuickSearch::qt_invoke ()
   from /usr/lib/libkmailprivate.so
#15 0xb7ccadfb in KListViewIndexedSearchLine::qt_invoke ()
   from /usr/lib/libkmailprivate.so
#16 0xb725b88d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#17 0xb754d122 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#18 0xb7275eea in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#19 0xb727cc5c in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#20 0xb7201d4b in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#21 0xb720240a in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb78662b4 in KApplication::notify () from /usr/lib/libkdecore.so.4
#23 0xb71f6f84 in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0xb71b38bd in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb7216691 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb72165b4 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0xb72014ff in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#28 0x0804a66d in ?? ()
#29 0xb6df3e40 in __libc_start_main () from /lib/tls/libc.so.6
#30 0x0804a3a1 in ?? ()

Pasting the backtraces from comment 14:
#6  0xb7b3679f in KMFolder::find () from /usr/lib/libkmailprivate.so
#7  0xb7d424ae in KMMoveCommand::execute () from /usr/lib/libkmailprivate.so
#8  0xb7cfb8e4 in KMCommand::slotPostTransfer ()
   from /usr/lib/libkmailprivate.so
#9  0xb7cfb9df in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#10 0xb7cfbe5b in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#11 0xb7cfbf26 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#12 0xb7cfbfdb in KMDeleteMsgCommand::qt_invoke ()
   from /usr/lib/libkmailprivate.so
#13 0xb71f788d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#14 0xb7b73e75 in KMCommand::messagesTransfered ()
   from /usr/lib/libkmailprivate.so
#15 0xb7cfb5ed in KMCommand::transferSelectedMsgs ()
   from /usr/lib/libkmailprivate.so
#16 0xb7cfb76c in KMCommand::slotStart () from /usr/lib/libkmailprivate.so
#17 0xb7cfb9f4 in KMCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#18 0xb7cfbe5b in KMMenuCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#19 0xb7cfbf26 in KMMoveCommand::qt_invoke () from /usr/lib/libkmailprivate.so
#20 0xb7cfbfdb in KMDeleteMsgCommand::qt_invoke ()
   from /usr/lib/libkmailprivate.so
#21 0xb71f788d in QObject::activate_signal ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#22 0xb74e9122 in QSignal::signal () from /usr/lib/qt3/lib/libqt-mt.so.3
#23 0xb7211eea in QSignal::activate () from /usr/lib/qt3/lib/libqt-mt.so.3
#24 0xb7218c5c in QSingleShotTimer::event ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#25 0xb719dd4b in QApplication::internalNotify ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#26 0xb719e40a in QApplication::notify () from /usr/lib/qt3/lib/libqt-mt.so.3
#27 0xb78022b4 in KApplication::notify () from /usr/lib/libkdecore.so.4
#28 0xb7192f84 in QEventLoop::activateTimers ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#29 0xb714f8bd in QEventLoop::processEvents ()
   from /usr/lib/qt3/lib/libqt-mt.so.3
#30 0xb71b2691 in QEventLoop::enterLoop () from /usr/lib/qt3/lib/libqt-mt.so.3
#31 0xb71b25b4 in QEventLoop::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#32 0xb719d4ff in QApplication::exec () from /usr/lib/qt3/lib/libqt-mt.so.3
#33 0x0804a66d in ?? ()
#34 0xb6d8fe40 in __libc_start_main () from /lib/tls/libc.so.6
#35 0x0804a3a1 in ?? ()
Comment 16 Marcin Gryszkalis 2006-06-05 17:47:39 UTC
I have the dump with debug info:

#7  0xb7c2eedc in KMMsgIndex::simpleSearch (this=0x90c2eb8, s=
      {static null = {static null = <same as static member of an already seen type>, d = 0x804ee00, static shared_null = 0x804ee00}, d = 0x95a8bb0, static shared_null = 0x804ee00}, ok=0xbfbb247f) at memory:271
#8  0xb7c28ec4 in KListViewIndexedSearchLine::updateSearch (this=0x929e080, 
    s=@0x929ea38) at klistviewindexedsearchline.cpp:58
#9  0xb6affdb6 in KListViewSearchLine::activateSearch (this=0x929e080)
    at klistviewsearchline.cpp:296
#10 0xb6b00c90 in KListViewSearchLine::qt_invoke (this=0x929e080, _id=91, 
    _o=0xbfbb25b0) at klistviewsearchline.moc:133
#11 0xb7e7227b in KMail::HeaderListQuickSearch::qt_invoke (this=0x929e080, 
    _id=91, _o=0xbfbb25b0) at headerlistquicksearch.moc:90
#12 0xb7c291bb in KListViewIndexedSearchLine::qt_invoke (this=0x929e080, 
    _id=91, _o=0xbfbb25b0) at klistviewindexedsearchline.moc:90

Comment 17 Ismail Onur Filiz 2006-06-10 01:59:21 UTC
*** Bug 128085 has been marked as a duplicate of this bug. ***
Comment 18 Daniel Stengel 2006-06-13 09:27:34 UTC
kmail keeps on crashing, even with removing all index and index.ids files!
Comment 19 Vinay S Shastry 2006-06-30 14:32:13 UTC
I tried kmail (with kde 3.5.4) with a new user account and setup stuff from scratch. It worked perfectly. No crash whatsoever.
Comment 20 Vinay S Shastry 2006-06-30 14:32:47 UTC
err i meant kde 3.5.3
Comment 21 rapsys 2006-06-30 15:19:50 UTC
[bugs.kde.org quoted mail]
the problem is that this bug happen sometime...
(after a few corruption because of some not run everytime code ?)
Comment 22 rapsys 2006-07-05 16:53:13 UTC
Created attachment 16900 [details]
crash kmail while search cooker directory
Comment 23 rapsys 2006-07-05 16:53:42 UTC
Created attachment 16901 [details]
crash kmail while search inbox
Comment 24 rapsys 2006-07-05 16:54:34 UTC
Created attachment 16902 [details]
crash kmail while search inbox (but that time after purge the directory) and just by puting k key in search bar
Comment 25 Andreas Kling 2006-07-31 22:49:40 UTC
*** Bug 118530 has been marked as a duplicate of this bug. ***
Comment 26 Mark Dickie 2006-08-16 14:19:05 UTC
I can confirm this behaviour with Kmail/Kontact on KDE3.5.4 running on Gentoo.  As soon as I start typing anything into the search bar Kontact closes and I get the crash handler.  I have tried the rebuild cache option on the right click menu to no avail.

Regards,
Mark Dickie
Comment 27 Allen Winter 2006-08-16 14:41:36 UTC
Are you guys using full text indexing by any chance?

Look in your KMail Settings in the Misc tab.  

Please do NOT use full text indexing, it is an experimental feature that should not have been compiled in by the package distributors.

Comment 28 Mark Dickie 2006-10-05 12:39:37 UTC
I'm not using full text indexing.  I used to get this bug but I can confirm that my message store must have been corrupt as after deleting the dimap folder ad getting mail again everything is now fine.  This appears to have been a non bug to me.
Comment 29 Thomas McGuire 2007-02-08 22:01:16 UTC
*** Bug 129430 has been marked as a duplicate of this bug. ***
Comment 30 Thomas McGuire 2007-04-07 01:45:23 UTC
*** Bug 143900 has been marked as a duplicate of this bug. ***
Comment 31 Cyron 2007-04-07 12:16:55 UTC
KMail crash if I search with the search function and try to move the found emails to the recycle bin. Two backtraces could be found in Bug 143900.
Comment 32 Nicolas L. 2009-11-02 10:55:11 UTC
is it still valid on mandriva 2010.0 rpms ?

--- 
Nicolas Lécureuil
Mandriva KDE Team
Comment 33 Will Stephenson 2009-11-03 09:56:31 UTC
May be related to https://bugs.kde.org/show_bug.cgi?id=162784
and downstream
https://bugzilla.novell.com/show_bug.cgi?id=544946
Comment 34 Björn Ruberg 2009-12-25 23:05:41 UTC
Please reopen when this still happens with recent kmail versions.
Comment 35 Björn Ruberg 2010-04-06 00:26:36 UTC
Closing old KDE 3 crash