Bug 129430 - search field on main page crashes kmail often
Summary: search field on main page crashes kmail often
Status: RESOLVED DUPLICATE of bug 125265
Alias: None
Product: kmail
Classification: Unmaintained
Component: general (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 129938 131766 133415 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-06-19 17:25 UTC by Marcus
Modified: 2007-09-14 12:17 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus 2006-06-19 17:25:16 UTC
Version:           1.9.3 (using KDE 3.5.3, Gentoo)
Compiler:          gcc version 3.4.5 (Gentoo 3.4.5, ssp-3.4.5-1.0, pie-8.7.9)
OS:                Linux (x86_64) release 2.6.16-gentoo-r8

kmail: processNewMail false,status=1
kmail: index.cpp:459: std::vector<unsigned int, std::allocator<unsigned int> > KMMsgIndex::simpleSearch(QString, bool*) const: Zusicherung »mIndex« nicht erfüllt.
*** KMail got signal 6 (Crashing)

I compiled kmail for debugging.  This problem occurs sometimes (maybe 1 of 3 searches). After restarting, I could not reproduce it. Mostly when kmail ran a few hours doing various stuff, and you access the search bar then.


kde-base/kmail-3.5.3
kde-base/kmailcvt-3.5.1


Portage 2.1 (default-linux/amd64/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.16-gentoo-r8 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3200+
Gentoo Base System version 1.6.14
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe "
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=athlon64 -O2 -pipe "
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp.gentoo.mesh-solutions.com/gentoo/ http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
LANG="de_DE@euro"
LINGUAS="de"
MAKEOPTS=" -j2 "
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X aac acpi alsa apache2 arts audiofile avi bash-completion bitmap-fonts browserplugin cjk cli crypt cups dba dri eds emboss emul-linux-x86 encode flash foomaticdb fortran gd gif glx gpm gstreamer gtk gtk2 imap imlib ipv6 isdnlog java javascript jpeg kde kdeenablefinal ldap lm_sensors lzw lzw-tiff mbox mime mmap motif mozsvg mp3 mpeg ncurses nls nptl nptlonly nvidia ogg opengl oss pam pango pcre pdf pdflib perl php png pppd python qt quicktime readline reflection samba sdl session smime spell spl ssl svg tcpd tiff truetype truetype-fonts type1-fonts udev unicode usb v4l vhosts videos www xml xml2 xmms xorg xpm xv xvid zlib elibc_glibc kernel_linux linguas_de userland_GNU video_cards_nvidia"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Marcus 2006-06-20 19:59:42 UTC
It happened again ... here a stack trace 

Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 47299515461264 (LWP 17252)]
[New Thread 1107310944 (LWP 17256)]
[New Thread 1098918240 (LWP 17255)]
[New Thread 1090525536 (LWP 17254)]
[New Thread 1082132832 (LWP 17253)]
0x00002b04c6b70cf5 in nanosleep () from /lib/libc.so.6
#0  0x00002b04c6b70cf5 in nanosleep () from /lib/libc.so.6
#1  0x00002b04c6b70b60 in sleep () from /lib/libc.so.6
#2  0x00002b04c3b98a3a in KCrash::startDrKonqi ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#3  0x00002b04c3bbb06e in KCrash::defaultCrashHandler ()
   from /usr/kde/3.5/lib64/libkdecore.so.4
#4  0x00002b04c6b117f0 in killpg () from /lib/libc.so.6
#5  0x0000000000000000 in ?? ()





and a console output:

kmail: Reports: serNum 1927394 matches?false
kmail: Reports: serNum 1927395 matches?false
kmail: Reports: serNum 1927396 matches?false
kmail: Reports: serNum 1927397 matches?false
kmail: Reports: serNum 1927398 matches?false
kmail: Reports: serNum 1927398 matches?false
kmail: ImapJob::slotGetMessageResult - retrieved part HEADER
kmail: (1927398, last 0) login.1und1.de|config|OwaOverview|java.lang.NullPointerException:de.schlund.pfixschlund.ucm.services.common.context.ContextEmailUserImpl.getEmailUserForEmail(ContextEmailUserImpl.java:141) Pustefix2-Error-Report@schlund.de, readyToShow false
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: ImapAccountBase::constructParts - created id 1 of type TEXT/PLAIN
kmail: Falling back to normal mode
kmail: ImapJob::slotGetMessageResult - retrieved part TEXT
kmail: ISubject::notify 1
kmail: KMReaderWin::update - message
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: parseMsg(KMMessage* aMsg == aMsg )
kmail: + Text/Plain
kmail:       Inserting one item into MimePartTree
kmail:                 Content-Type: Text/Plain
kmail: partNode::findType() is looking at Text/Plain
kmail: [static KMail::SpamScores KMail::SpamHeaderAnalyzer::getSpamScores(const KMMessage*)]
kmail: Multiple / No addressees matched email address; Count is 0
kmail: ObjectTreeParser::parseObjectTree( node OK, showOnlyOneMimePart: FALSE )
kmail: [const QTextCodec* KMReaderWin::overrideCodec() const]  mOverrideEncoding == ''
kmail: [QString KMail::SearchJob::searchStringFromPattern(const KMSearchPattern*)] HEADER Subject "sourceforge";localSearch=(Trifft auf eines der Folgenden zu)
kmail: [QString KMail::SearchJob::searchStringFromPattern(const KMSearchPattern*)] HEADER Subject "sourceforge";localSearch=(Trifft auf eines der Folgenden zu)
kmail: KMReaderWin  -  finished parsing and displaying of message.
kmail: Reports: serNum 1927398 matches?false
kmail: Reports: serNum 1927398 matches?false
kmail: [QString KMail::SearchJob::searchStringFromPattern(const KMSearchPattern*)] HEADER Subject "sourceforge";localSearch=(Trifft auf eines der Folgenden zu)
kmail: setImapStatus path=/INBOX.Fehler.Reports/;UID=186589 to: \SEEN
kmail: Reports: serNum 1927398 matches?false
kmail: updateSearch( -co- )
kmail: KMMsgIndex::simpleSearch( -co- )
kmail: index.cpp:459: std::vector<unsigned int, std::allocator<unsigned int> > KMMsgIndex::simpleSearch(QString, bool*) const: Zusicherung »mIndex« nicht erfüllt.
*** KMail got signal 6 (Crashing)
KCrash: Application 'kmail' crashing...
Comment 2 Thiago Macieira 2006-06-27 19:15:46 UTC
Do you have a stack trace with debugging information?
Comment 3 Marcus 2006-06-27 21:27:27 UTC
How do i make a stack trace with debugging info ?  
I used CXXFLAGS="-march=athlon64 -O2 -pipe -g"   while compile time. Additionally: 
FEATURES+= nostrip
USE+= debug

That gave me the trace from Comment 1 , line 2 following. 

drkonqi and gdb are installed, but the bug did not happen again, since i didn't use the search. Is the console output not sufficient ? 

"
kmail: KMMsgIndex::simpleSearch( -co- )
kmail: index.cpp:459: std::vector<unsigned int, std::allocator<unsigned int> > KMMsgIndex::simpleSearch(QString, bool*) const: Zusicherung »mIndex« nicht erfüllt.
"
Comment 4 Andreas Kling 2006-08-03 15:10:52 UTC
*** Bug 129938 has been marked as a duplicate of this bug. ***
Comment 5 Andreas Kling 2006-08-03 15:12:48 UTC
*** Bug 131766 has been marked as a duplicate of this bug. ***
Comment 6 Andreas Kling 2006-09-01 22:59:31 UTC
*** Bug 133415 has been marked as a duplicate of this bug. ***
Comment 7 Will Stephenson 2006-10-28 09:48:11 UTC
131766 has a semi useful backtrace
Comment 8 Thomas McGuire 2007-02-08 22:01:14 UTC

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