Bug 118530 - Crash when using the quick search during disconnected IMAP synchronization
Summary: Crash when using the quick search during disconnected IMAP synchronization
Status: RESOLVED DUPLICATE of bug 125265
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: 1.9.1
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-17 19:12 UTC by Hasso Tepper
Modified: 2007-09-14 12:17 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hasso Tepper 2005-12-17 19:12:01 UTC
Version:           1.9.1 (using KDE 3.5.0, compiled sources)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.14-ck6

KMail crashes very often here if I try to filter mails in my disconnected IMAP inbox during syncing ("checking mail" in dimap). I don't remember any problems with KMail with full indexing disabled and there is no problem if I do search between syncs.

I don't have resources to compile KDE with debug info, but I hope that backtrace below will give at least some ideas:

#7  0xb60bf695 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
#8  0xb4ccd4e7 in KMMsgIndex::simpleSearch ()
   from /usr/local/kde/lib/libkmailprivate.so
#9  0xb4cc5d61 in KListViewIndexedSearchLine::updateSearch ()
   from /usr/local/kde/lib/libkmailprivate.so
#10 0xb7168c60 in KListViewSearchLine::activateSearch ()
   from /usr/local/kde/lib/libkdeui.so.4
Comment 1 Andreas Gungl 2005-12-17 20:55:42 UTC
> KMail crashes very often here if I try to filter mails in my disconnected
> IMAP inbox during syncing ("checking mail" in dimap). I don't remember any
> problems with KMail with full indexing disabled and there is no problem if
> I do search between syncs.


The crash seems to happen when updating search folders (says the trace). 
Perhaps there is a conflict between this search folder update and the 
filtering.

Nevertheless I don't fully understand what you do. I'm using a DIMAP account 
in the office and I am filtering the messages in the inbox (mainly to 
eliminate spam). I'm using filters acting on incoming messages. I don't  
regularly use search folders. And (perhaps important) I don't autocheck for 
new messages but trigger this manually.

So I guess you're using periodic checks of your DIMAP account. When such a 
check happens in parallel to a running filter process (started by Ctrl-J or 
via Apply Filter menu item), you sometimes get a crash?

Please let me know the details...

> #7  0xb60bf695 in __assert_fail () from /lib/tls/i686/cmov/libc.so.6
> #8  0xb4ccd4e7 in KMMsgIndex::simpleSearch ()
>    from /usr/local/kde/lib/libkmailprivate.so

Comment 2 Hasso Tepper 2005-12-17 21:04:07 UTC
Yes, I'm using periodic check of DIMAP account. And as filtering I meant typing something into quicksearch bar above the mails list. Crash happens if I do it during periodic check. Sorry for using confusing "filtering" term.
Comment 3 Andreas Gungl 2005-12-17 21:30:24 UTC
Thanks for the clarification.
Comment 4 Hasso Tepper 2006-01-30 12:29:41 UTC
I switched to usual IMAP and also experience crashes, so it's no disconnected IMAP specific.

Comment 5 MartinG 2006-06-02 15:41:09 UTC
I tried the patch (id=15273) above, but got the same error:

################
<code>
localhost:~/tarballs/kdebluetooth-1.0_beta1:# patch -p1 < ../kdebluetooth-openobex-fix.
patch
patching file kdebluetooth/configure.in.in
patching file kdebluetooth/libkobex/kobex.h
patching file kdebluetooth/libkobex/kobexheader.h
localhost:~/tarballs/kdebluetooth-1.0_beta1:# ./configure --prefix=$(kde-config --prefix)

...
fast creating kdebluetooth/kdebluetooth-common/dunhandler/dunhandler.desktop
fast creating kdebluetooth/kdebluetooth-common/faxhandler/faxhandler.desktop
config.pl: fast created 49 file(s).
config.status: creating config.h
config.status: executing depfiles commands

The installed openobex library version is too old: ()
Kdebluetooth won't be compiled without a newer version, so you should
consider updating it.


Good - your configure finished. Start make now
</code>
################


Running make and make install does not install anything (but gives the error:
"configure: WARNING: openobex-config not found. Perhaps openobex is not installed.")

I'm using Fedora Core 5:
# uname -r
2.6.15-1.2054_FC5
# rpm -qa kdelibs
kdelibs-3.5.1-2.3
# rpm -qa openobex\*
openobex-devel-1.1-1
openobex-1.1-1
openobex-apps-1.0.0-10
#  gcc --version
gcc (GCC) 4.1.0 20060304 (Red Hat 4.1.0-3)
Comment 6 MartinG 2006-06-02 15:46:14 UTC
Er, sorry - something strange happened when I was about to submit add a comment on this bug, and an old comment was posted instead (!) Please delete it - it might have something to do with Opera 9 and Wand (password manager)?
Comment 7 MartinG 2006-06-02 15:49:13 UTC
Same happens to me: Kmail 1.9.1 on Fedora Core 5 using DIMAP. It is very unstable and crashes if I search during updating/filtering against the DIMAP account. This happens only when I have enabled full text indexing. Is this the same as bug 119958?
Comment 8 MartinG 2006-06-02 16:04:32 UTC
Additional information: I use gpg to encrypt/decrypt messages, and it seems that when indexing files, kmail is trying to also index encrypted files, resulting in popping up the pinetry program. I usually press "cancel". This might result in a corrupt index file?

Related/same bugs: Bug 125265, Bug 126686, Bug 127188, Bug 127370, Bug 128085, Bug 119958.

2.6.16-1.2111_FC5
Qt: 3.3.6
KDE: 3.5.2-7.0.fc5.kde
KMail: 1.9.1
Comment 9 Andreas Kling 2006-07-31 22:49:37 UTC

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