Bug 255969

Summary: KMail crashed on first run
Product: [Applications] kmail Reporter: Stefano <s.gori>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Severity: crash CC: andresbajotierra, montel
Priority: NOR    
Version: 1.13.5   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:

Description Stefano 2010-11-03 15:20:45 UTC
Application: kmail (1.13.5)
KDE Platform Version: 4.5.1 (KDE 4.5.1)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-23-generic x86_64
Distribution: Ubuntu 10.10

-- Information about the crash:
- What I was doing when the application crashed:

Just powered up the pc and tried to open Kmail. It happens everytime I open kmail. To run it I must press close and restart than it starts

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[KCrash Handler]
#6  QString (this=0x0) at /usr/include/qt4/QtCore/qstring.h:727
#7  KIO::Slave::protocol (this=0x0) at ../../kio/kio/slave.cpp:181
#8  0x00007fe030b9a8a9 in KIO::SchedulerPrivate::assignJobToSlave (this=0x132ee70, slave=0x0, job=0x132db90) at ../../kio/kio/scheduler.cpp:1205
#9  0x00007fe0362acc0a in KMail::SearchJob::searchCompleteFolder (this=0x1408ab0) at ../../kmail/searchjob.cpp:95
#10 0x00007fe0360cf168 in KMFolderImap::search (this=0x13075a0, pattern=0x1248590) at ../../kmail/kmfolderimap.cpp:2408
#11 0x00007fe03621378d in KMSearch::slotProcessNextBatch (this=0x12c20d0) at ../../kmail/kmfoldersearch.cpp:272
#12 0x00007fe0362138e0 in KMSearch::qt_metacall (this=0x12c20d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff780b4e50) at ./kmfoldersearch.moc:85
#13 0x00007fe034a5ab27 in QMetaObject::activate (sender=0x1337c90, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x1) at kernel/qobject.cpp:3280
#14 0x00007fe034a548f9 in QObject::event (this=0x1337c90, e=0x0) at kernel/qobject.cpp:1183
#15 0x00007fe034f2dfdc in QApplicationPrivate::notify_helper (this=0xfaf5d0, receiver=0x1337c90, e=0x7fff780b55a0) at kernel/qapplication.cpp:4396
#16 0x00007fe034f33aed in QApplication::notify (this=0x7fff780b5a10, receiver=0x1337c90, e=0x7fff780b55a0) at kernel/qapplication.cpp:4277
#17 0x00007fe0370d6156 in KApplication::notify (this=0x7fff780b5a10, receiver=0x1337c90, event=0x7fff780b55a0) at ../../kdeui/kernel/kapplication.cpp:310
#18 0x00007fe034a42cdc in QCoreApplication::notifyInternal (this=0x7fff780b5a10, receiver=0x1337c90, event=0x7fff780b55a0) at kernel/qcoreapplication.cpp:732
#19 0x00007fe034a726f2 in sendEvent (this=0xfb2ef0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#20 QTimerInfoList::activateTimers (this=0xfb2ef0) at kernel/qeventdispatcher_unix.cpp:602
#21 0x00007fe034a6f4a4 in timerSourceDispatch (source=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:184
#22 0x00007fe02b1cc342 in g_main_context_dispatch () from /lib/libglib-2.0.so.0
#23 0x00007fe02b1d02a8 in ?? () from /lib/libglib-2.0.so.0
#24 0x00007fe02b1d045c in g_main_context_iteration () from /lib/libglib-2.0.so.0
#25 0x00007fe034a6f193 in QEventDispatcherGlib::processEvents (this=0xf6d8a0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#26 0x00007fe034fe0a4e in QGuiEventDispatcherGlib::processEvents (this=0x7fff780b4ae0, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#27 0x00007fe034a41a02 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#28 0x00007fe034a41dec in QEventLoop::exec (this=0x7fff780b5840, flags=) at kernel/qeventloop.cpp:201
#29 0x00007fe034a45ebb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#30 0x0000000000403212 in main (argc=<value optimized out>, argv=<value optimized out>) at ../../kmail/main.cpp:156

This bug may be a duplicate of or related to bug 234367.

Possible duplicates by query: bug 255400, bug 252023, bug 246617, bug 245452, bug 242570.

Reported using DrKonqi
Comment 1 Laurent Montel 2010-11-03 19:42:03 UTC
SVN commit 1192678 by mlaurent:

Fix Bug 255969 - KMail crashed on first run

 M  +1 -1      searchjob.cpp  

WebSVN link: http://websvn.kde.org/?view=rev&revision=1192678
Comment 2 Dario Andres 2010-11-17 18:08:51 UTC
[Comment from a bug triager]
@Laurent: could this commit have also fixed bug 198561 ? Thanks