Bug 165477 - The Kontact crashed when I try to search local mail folders by sender
Summary: The Kontact crashed when I try to search local mail folders by sender
Status: RESOLVED DUPLICATE of bug 137571
Alias: None
Product: kmail
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-01 12:29 UTC by Ladislav Nesnera
Modified: 2008-07-07 14:39 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 Ladislav Nesnera 2008-07-01 12:29:49 UTC
Version:            (using Devel)
Installed from:    Compiled sources
OS:                Linux

Back trace:

Application: Kontact (kontact), signal SIGSEGV
[?1034h[Thread debugging using libthread_db enabled]
[New Thread 0x7fb0b0a4d700 (LWP 5456)]
[New Thread 0x425b4950 (LWP 7113)]
[KCrash handler]
#5  KMail::SearchWindow::slotAddMsg (this=0xf48530, idx=25)
    at /usr/src/debug/kdepim-4.0.84/kmail/kmmsgbase.h:110
#6  0x00007fb098c21be1 in KMail::SearchWindow::qt_metacall (this=0xf48530, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fffb8a9dfb0)
    at /usr/src/debug/kdepim-4.0.84/build/kmail/searchwindow.moc:141
#7  0x00007fb0ab3ee4e0 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#8  0x00007fb098b13b91 in FolderStorage::msgAdded (this=0x7fb0a5dc1a00, _t1=25)
    at /usr/src/debug/kdepim-4.0.84/build/kmail/folderstorage.moc:234
#9  0x00007fb098b1479b in FolderStorage::emitMsgAddedSignals (this=0x16810d0, 
    idx=25) at /usr/src/debug/kdepim-4.0.84/kmail/folderstorage.cpp:281
#10 0x00007fb098ccb4bc in KMFolderSearch::addSerNum (this=0x16810d0, serNum=0)
    at /usr/src/debug/kdepim-4.0.84/kmail/kmfoldersearch.cpp:484
#11 0x00007fb098cd0726 in KMFolderSearch::qt_metacall (this=0x16810d0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fffb8a9e190)
    at /usr/src/debug/kdepim-4.0.84/build/kmail/kmfoldersearch.moc:179
#12 0x00007fb0ab3ee4e0 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#13 0x00007fb098ccaf0e in KMSearch::found (this=0x7fb0a5dc1a00, _t1=0)
    at /usr/src/debug/kdepim-4.0.84/build/kmail/kmfoldersearch.moc:90
#14 0x00007fb098ccdaf6 in KMSearch::slotSearchFolderResult (this=0xe2f890, 
    folder=0xb901c0, serNums=
        {{p = {static shared_null = {ref = {_q_value = 59119}, alloc = 0, begin = 0, end = 0, sharable = 1, array = {0x0}}, d = 0x7fffb8a9e210}, d = 0x7fffb8a9e210}}, pattern=<value optimized out>, complete=false)
    at /usr/src/debug/kdepim-4.0.84/kmail/kmfoldersearch.cpp:293
#15 0x00007fb098cce11b in KMSearch::qt_metacall (this=0xe2f890, 
    _c=<value optimized out>, _id=<value optimized out>, _a=0x7fffb8a9e350)
    at /usr/src/debug/kdepim-4.0.84/build/kmail/kmfoldersearch.moc:79
#16 0x00007fb0ab3ee4e0 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#17 0x00007fb098b13965 in FolderStorage::searchResult (this=0x7fb0a5dc1a00, 
    _t1=0xb901c0, _t2=<value optimized out>, _t3=0xacfd30, _t4=56)
    at /usr/src/debug/kdepim-4.0.84/build/kmail/folderstorage.moc:283
#18 0x00007fb098b14006 in FolderStorage::slotProcessNextSearchBatch (
    this=0xb900a0) at /usr/src/debug/kdepim-4.0.84/kmail/folderstorage.cpp:1155
#19 0x00007fb098b140fa in FolderStorage::qt_metacall (this=0xb900a0, 
    _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, 
    _a=0x7fffb8a9e520)
    at /usr/src/debug/kdepim-4.0.84/build/kmail/folderstorage.moc:142
#20 0x00007fb098cc8255 in KMFolderIndex::qt_metacall (this=0x7fb0a5dc1a00, 
    _c=2780364624, _id=1, _a=0x0)
    at /usr/src/debug/kdepim-4.0.84/build/kmail/kmfolderindex.moc:62
#21 0x00007fb098bd5c75 in KMFolderMaildir::qt_metacall (this=0x7fb0a5dc1a00, 
    _c=2780364624, _id=1, _a=0x0)
    at /usr/src/debug/kdepim-4.0.84/build/kmail/kmfoldermaildir.moc:60
#22 0x00007fb0ab3ee4e0 in QMetaObject::activate ()
   from /usr/lib64/libQtCore.so.4
#23 0x00007fb0ab3f4fdf in ?? () from /usr/lib64/libQtCore.so.4
#24 0x00007fb0ab3ea6e3 in QObject::event () from /usr/lib64/libQtCore.so.4
#25 0x00007fb0a7b9e92d in QApplicationPrivate::notify_helper ()
   from /usr/lib64/libQtGui.so.4
#26 0x00007fb0a7ba4cfa in QApplication::notify () from /usr/lib64/libQtGui.so.4
#27 0x00007fb0ad14119b in KApplication::notify () from /usr/lib64/libkdeui.so.5
#28 0x00007fb0ab3dce9c in QCoreApplication::notifyInternal ()
   from /usr/lib64/libQtCore.so.4
#29 0x00007fb0ab4033c6 in ?? () from /usr/lib64/libQtCore.so.4
#30 0x00007fb0ab403678 in QEventDispatcherUNIX::processEvents ()
   from /usr/lib64/libQtCore.so.4
#31 0x00007fb0a7c1f34a in ?? () from /usr/lib64/libQtGui.so.4
#32 0x00007fb0ab3db7f2 in QEventLoop::processEvents ()
   from /usr/lib64/libQtCore.so.4
#33 0x00007fb0ab3db985 in QEventLoop::exec () from /usr/lib64/libQtCore.so.4
#34 0x00007fb0ab3dda25 in QCoreApplication::exec ()
   from /usr/lib64/libQtCore.so.4
#35 0x0000000000404a04 in main (argc=1, argv=0x7fffb8a9f8a8)
    at /usr/src/debug/kdepim-4.0.84/kontact/src/main.cpp:210
#0  0x00007fb0a5b0f261 in nanosleep () from /lib64/libc.so.6

Environment:
Qt: 4.4.0
KDE: 4.00.84 (KDE 4.0.84 (KDE 4.1 >= 20080625) "release 1.2"
Kontact: 1.3
openSUSE 11 64-bit
Comment 1 Ladislav Nesnera 2008-07-01 14:00:44 UTC
It could be regression of Bug 127188?
Comment 2 Allen Winter 2008-07-01 21:58:42 UTC
I am unable to duplicate this crash with the trunk version.

Please provide more detailed steps you used to make the crash happen.
Comment 3 Ladislav Nesnera 2008-07-03 11:30:04 UTC
I don't do something special. I run the Kontact then I open menu Edit | Find Messages and I change field bellow "Match al of the following" to "From". I fill string and click to Search button finally.
You can see it at http://lnmylinux.blogspot.com/2008/07/kontact-search-crash.html
Comment 4 Thomas McGuire 2008-07-03 13:17:11 UTC
Same backtrace as in bug 137571

*** This bug has been marked as a duplicate of 137571 ***
Comment 5 Allen Winter 2008-07-05 01:16:31 UTC
Ladislav,

Since you are building this yourself, please check if you have a file
called byteswap.h somewhere in your /usr/include.

What O/S and processor is this?
Comment 6 Ladislav Nesnera 2008-07-07 14:39:40 UTC
I'm using openSUSE BuildService (http://download.opensuse.org/repositories/KDE:/KDE4:/Factory:/Desktop/openSUSE_11.0/)
My current environment is:
Qt: 4.4.0
KDE: 4.00.85 (KDE 4.0.85 (KDE 4.1 >= 20080703) "release 1.1"
Kontact: 1.3
openSUSE 11 64-bit

more exactly KDE 4.0.85-1.1 
file byteswap.h is present in /usr/include

and today I'm able to search in my Kontact without any problem.