Bug 288509 - crash at startup
Summary: crash at startup
Status: RESOLVED DUPLICATE of bug 242698
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: IMAP resource (show other bugs)
Version: 4.7
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-08 23:22 UTC by Xavier Gillet
Modified: 2011-12-10 00:54 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 Xavier Gillet 2011-12-08 23:22:15 UTC
Application: akonadi_imap_resource (4.7)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-13-generic i686
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
I was starting kmail for the first time after an upgrade

- Unusual behavior I  noticed:
I had akonadi scrashes from time to time with unubtu 10.04 and I installed a new ubuntu 11.10, keepimg my home directory.
At first launch kmail 2 was empty off all directories, even after setting imap offline account.
At reboot I had this problem , the same as reboot a few times

- Custom settings of the application:
New mail account were asked with the first startup of kmail2.
then at reboot I saw my old accounts, erase the new that was double

distribution kubuntu 11.10 just installed with old home/user

The crash can be reproduced every time.

-- Backtrace:
Application: Compte IMAP 1 of type Serveur de courriels IMAP (akonadi_imap_resource), signal: Segmentation fault
[Current thread is 1 (Thread 0xb77a6710 (LWP 1689))]

Thread 3 (Thread 0xb5866b70 (LWP 1923)):
#0  0x00a6bd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x0024c7d5 in do_gettime (frac=0xb5866040, sec=0xb5866038) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0031f4b6 in QTimerInfoList::updateCurrentTime (this=0xa0e7aac) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0031f80a in QTimerInfoList::timerWait (this=0xa0e7aac, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0031e053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb586614c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0031e0ed in timerSourcePrepare (source=0xa0e7a78, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x042d288c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x042d3637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x042d3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0031eb37 in QEventDispatcherGlib::processEvents (this=0xa0d9c60, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x002ef1dd in QEventLoop::processEvents (this=0xb58662d0, flags=...) at kernel/qeventloop.cpp:149
#12 0x002ef421 in QEventLoop::exec (this=0xb58662d0, flags=...) at kernel/qeventloop.cpp:201
#13 0x001f290b in QThread::exec (this=0xa0f3960) at thread/qthread.cpp:498
#14 0x0059c4d0 in KIMAP::SessionThread::run (this=0xa0f3960) at ../../kimap/sessionthread.cpp:169
#15 0x001f57b3 in QThreadPrivate::start (arg=0xa0f3960) at thread/qthread_unix.cpp:331
#16 0x00a1bd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x01acd0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xb6868b70 (LWP 2069)):
#0  0x00a6bd10 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x0024c7d5 in do_gettime (frac=0xb6868040, sec=0xb6868038) at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0031f4b6 in QTimerInfoList::updateCurrentTime (this=0xa10d314) at kernel/qeventdispatcher_unix.cpp:339
#4  0x0031f80a in QTimerInfoList::timerWait (this=0xa10d314, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0031e053 in timerSourcePrepareHelper (src=<optimized out>, timeout=0xb686814c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0031e0ed in timerSourcePrepare (source=0xa10d2e0, timeout=<optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x042d288c in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x042d3637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x042d3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0031eb37 in QEventDispatcherGlib::processEvents (this=0xa0948d0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x002ef1dd in QEventLoop::processEvents (this=0xb68682d0, flags=...) at kernel/qeventloop.cpp:149
#12 0x002ef421 in QEventLoop::exec (this=0xb68682d0, flags=...) at kernel/qeventloop.cpp:201
#13 0x001f290b in QThread::exec (this=0xa0f3468) at thread/qthread.cpp:498
#14 0x0059c4d0 in KIMAP::SessionThread::run (this=0xa0f3468) at ../../kimap/sessionthread.cpp:169
#15 0x001f57b3 in QThreadPrivate::start (arg=0xa0f3468) at thread/qthread_unix.cpp:331
#16 0x00a1bd31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x01acd0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb77a6710 (LWP 1689)):
[KCrash Handler]
#7  0x08099f46 in takeFirst (this=0x9f4f864) at /usr/include/qt4/QtCore/qlist.h:477
#8  SessionPool::declareSessionReady (this=0x9f4f840, session=0x9e93f10) at ../../../resources/imap/sessionpool.cpp:207
#9  0x0809ba49 in SessionPool::onLoginDone (this=0x9f4f840, job=0xa0dda20) at ../../../resources/imap/sessionpool.cpp:348
#10 0x0809bda9 in SessionPool::qt_metacall (this=0x9f4f840, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0xbfd90e18) at ./sessionpool.moc:118
#11 0x002f6b7d in metacall (argv=0xbfd90e18, idx=14, cl=QMetaObject::InvokeMetaMethod, object=0x9f4f840) at kernel/qmetaobject.cpp:237
#12 QMetaObject::metacall (object=0x9f4f840, cl=QMetaObject::InvokeMetaMethod, idx=14, argv=0xbfd90e18) at kernel/qmetaobject.cpp:232
#13 0x00305a6a in QMetaObject::activate (sender=0xa0dda20, m=0x19f358c, local_signal_index=3, argv=0xbfd90e18) at kernel/qobject.cpp:3278
#14 0x01845eb5 in KJob::result (this=0xa0dda20, _t1=0xa0dda20) at ./kjob.moc:194
#15 0x01845f08 in KJob::emitResult (this=0xa0dda20) at ../../kdecore/jobs/kjob.cpp:312
#16 0x0058d935 in KIMAP::LoginJob::connectionLost (this=0xa0dda20) at ../../kimap/loginjob.cpp:500
#17 0x0059a112 in KIMAP::SessionPrivate::clearJobQueue (this=0xa0ddc40) at ../../kimap/session.cpp:393
#18 0x0059a16d in KIMAP::SessionPrivate::socketError (this=0xa0ddc40) at ../../kimap/session.cpp:383
#19 0x0059b4c7 in KIMAP::Session::qt_metacall (this=0x9e93f10, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x9f9b868) at ./session.moc:116
#20 0x002f6b7d in metacall (argv=0x9f9b868, idx=14, cl=QMetaObject::InvokeMetaMethod, object=0x9e93f10) at kernel/qmetaobject.cpp:237
#21 QMetaObject::metacall (object=0x9e93f10, cl=QMetaObject::InvokeMetaMethod, idx=14, argv=0x9f9b868) at kernel/qmetaobject.cpp:232
#22 0x00301685 in QMetaCallEvent::placeMetaCall (this=0xa0f12c8, object=0x9e93f10) at kernel/qobject.cpp:535
#23 0x00308b52 in QObject::event (this=0x9e93f10, e=0xa0f12c8) at kernel/qobject.cpp:1217
#24 0x00dc3d54 in notify_helper (e=0xa0f12c8, receiver=0x9e93f10, this=0x9dd8f60) at kernel/qapplication.cpp:4486
#25 QApplicationPrivate::notify_helper (this=0x9dd8f60, receiver=0x9e93f10, e=0xa0f12c8) at kernel/qapplication.cpp:4458
#26 0x00dc9103 in QApplication::notify (this=0xa0f12c8, receiver=0x9e93f10, e=0xa0f12c8) at kernel/qapplication.cpp:3886
#27 0x033bf681 in KApplication::notify (this=0xbfd91600, receiver=0x9e93f10, event=0xa0f12c8) at ../../kdeui/kernel/kapplication.cpp:311
#28 0x002f019e in QCoreApplication::notifyInternal (this=0xbfd91600, receiver=0x9e93f10, event=0xa0f12c8) at kernel/qcoreapplication.cpp:787
#29 0x002f3f93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#30 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9dbbd60) at kernel/qcoreapplication.cpp:1428
#31 0x002f40ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#32 0x0031e6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=0x9ddaed0) at kernel/qeventdispatcher_glib.cpp:277
#34 0x042d325f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0x042d3990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#36 0x042d3c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#37 0x0031eada in QEventDispatcherGlib::processEvents (this=0x9dbcc80, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00e7be3a in QGuiEventDispatcherGlib::processEvents (this=0x9dbcc80, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x002ef1dd in QEventLoop::processEvents (this=0xbfd91564, flags=...) at kernel/qeventloop.cpp:149
#40 0x002ef421 in QEventLoop::exec (this=0xbfd91564, flags=...) at kernel/qeventloop.cpp:201
#41 0x002f419d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#42 0x00dc18f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#43 0x0078e9d1 in Akonadi::ResourceBase::init (r=0x9f26b30) at ../../akonadi/resourcebase.cpp:393
#44 0x0805e127 in Akonadi::ResourceBase::init<ImapResource> (argc=3, argv=0xbfd916d4) at /usr/include/akonadi/resourcebase.h:188
#45 0x0805859b in main (argc=3, argv=0xbfd916d4) at ../../../resources/imap/imapresource.cpp:598

Possible duplicates by query: bug 287800, bug 287085, bug 287077, bug 286476, bug 286393.

Reported using DrKonqi
Comment 1 Bogdan Udrescu 2011-12-09 07:11:00 UTC
duplicate of bug 287085
Comment 2 Christophe Marin 2011-12-10 00:54:29 UTC

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