Bug 285151 - Imap resource crash [SessionPool::onPasswordRequestDone, PasswordRequesterInterface::done, SettingsPasswordRequester::onPasswordRequestCompleted]
Summary: Imap resource crash [SessionPool::onPasswordRequestDone, PasswordRequesterInt...
Status: RESOLVED DUPLICATE of bug 293633
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:
: 287938 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-10-28 07:18 UTC by sdenneul
Modified: 2012-02-12 08:55 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (11.33 KB, text/plain)
2012-01-20 19:30 UTC, Milian Wolff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sdenneul 2011-10-28 07:18:18 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 x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
Importation des filtres du fichier /.kde/share/config/kmailrc dans /.kde/share/config/kmail2rc pose des problèmes.

The crash can be reproduced every time.

-- Backtrace:
Application: Compte IMAP 1 of type Serveur de courriels IMAP (akonadi_imap_resource), signal: Segmentation fault
[KCrash Handler]
#6  0x000000000000000d in ?? ()
#7  0x00007fb6d53b7bee in QObject::connect (sender=0x1d292b0, signal=0x467388 "2connectionLost()", receiver=0x1cba4a0, method=0x46736f "1onEarlyConnectionLost()", type=Qt::AutoConnection) at kernel/qobject.cpp:2489
#8  0x0000000000454b0c in SessionPool::onPasswordRequestDone (this=0x1cba4a0, resultType=<optimized out>, password=...) at ../../../resources/imap/sessionpool.cpp:321
#9  0x000000000045621a in SessionPool::qt_metacall (this=0x1cba4a0, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fffede020b0) at ./sessionpool.moc:117
#10 0x00007fb6d53b6eba in QMetaObject::activate (sender=0x1cb44b0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffede020b0) at kernel/qobject.cpp:3278
#11 0x0000000000441cd1 in PasswordRequesterInterface::done (this=<optimized out>, _t1=0, _t2=<optimized out>) at ./passwordrequesterinterface.moc:104
#12 0x0000000000420ab3 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x1cb44b0, password=..., userRejected=false) at ../../../resources/imap/settingspasswordrequester.cpp:89
#13 0x0000000000420c0c in SettingsPasswordRequester::qt_metacall (this=0x1cb44b0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffede02210) at ./settingspasswordrequester.moc:76
#14 0x00007fb6d53b6eba in QMetaObject::activate (sender=0x1cba970, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fffede02210) at kernel/qobject.cpp:3278
#15 0x000000000041f501 in Settings::passwordRequestCompleted (this=<optimized out>, _t1=<optimized out>, _t2=false) at ./settings.moc:110
#16 0x000000000041f53b in Settings::requestPassword (this=0x1cba970) at ../../../resources/imap/settings.cpp:114
#17 0x0000000000453623 in SessionPool::connect (this=0x1cba4a0, account=<optimized out>) at ../../../resources/imap/sessionpool.cpp:104
#18 0x000000000041678c in ImapResource::startConnect (this=0x1c432d0) at ../../../resources/imap/imapresource.cpp:214
#19 0x000000000041a1f2 in ImapResource::qt_metacall (this=0x1c432d0, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fffede02690) at ./imapresource.moc:132
#20 0x00007fb6d53ab4ae in QMetaMethod::invoke (this=0x7fffede02870, object=0x1c432d0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1597
#21 0x00007fb6d53ad690 in QMetaObject::invokeMethod (obj=0x1c432d0, member=<optimized out>, type=Qt::AutoConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#22 0x00007fb6d5aa4240 in ?? () from /usr/lib/libakonadi-kde.so.4
#23 0x00007fb6d5aa55c8 in ?? () from /usr/lib/libakonadi-kde.so.4
#24 0x00007fb6d53baa5e in QObject::event (this=0x1cb98a0, e=<optimized out>) at kernel/qobject.cpp:1217
#25 0x00007fb6d4754424 in notify_helper (e=0x1f99510, receiver=0x1cb98a0, this=0x1b6aa30) at kernel/qapplication.cpp:4486
#26 QApplicationPrivate::notify_helper (this=0x1b6aa30, receiver=0x1cb98a0, e=0x1f99510) at kernel/qapplication.cpp:4458
#27 0x00007fb6d4759291 in QApplication::notify (this=0x7fffede03660, receiver=0x1cb98a0, e=0x1f99510) at kernel/qapplication.cpp:4365
#28 0x00007fb6d2870126 in KApplication::notify (this=0x7fffede03660, receiver=0x1cb98a0, event=0x1f99510) at ../../kdeui/kernel/kapplication.cpp:311
#29 0x00007fb6d53a3afc in QCoreApplication::notifyInternal (this=0x7fffede03660, receiver=0x1cb98a0, event=0x1f99510) at kernel/qcoreapplication.cpp:787
#30 0x00007fb6d53a751f in sendEvent (event=0x1f99510, receiver=0x1cb98a0) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#31 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1b46800) at kernel/qcoreapplication.cpp:1428
#32 0x00007fb6d53cea73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#33 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#34 0x00007fb6d02daa5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#35 0x00007fb6d02db258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fb6d02db429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fb6d53ceed6 in QEventDispatcherGlib::processEvents (this=0x1b48210, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#38 0x00007fb6d47fc07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#39 0x00007fb6d53a2cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#40 0x00007fb6d53a2ef7 in QEventLoop::exec (this=0x7fffede035e0, flags=...) at kernel/qeventloop.cpp:201
#41 0x00007fb6d53a7789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#42 0x00007fb6d5a97546 in Akonadi::ResourceBase::init(Akonadi::ResourceBase*) () from /usr/lib/libakonadi-kde.so.4
#43 0x000000000041a716 in Akonadi::ResourceBase::init<ImapResource> (argc=<optimized out>, argv=<optimized out>) at /usr/include/akonadi/resourcebase.h:188
#44 0x00007fb6d18d430d in __libc_start_main (main=0x415050 <main(int, char**)>, argc=3, ubp_av=0x7fffede03778, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffede03768) at libc-start.c:226
#45 0x0000000000415205 in _start ()

Reported using DrKonqi
Comment 1 Christophe Marin 2011-12-03 10:19:23 UTC
*** Bug 287938 has been marked as a duplicate of this bug. ***
Comment 2 David Faure 2012-01-05 11:38:46 UTC
Dangling session pointer, could be fixed in 4.8 by 462d1ba2389, see bug 288268.
Comment 3 Milian Wolff 2012-01-20 19:30:39 UTC
Created attachment 68050 [details]
New crash information added by DrKonqi

akonadi_imap_resource (4.8) on KDE Platform 4.7.4 (4.7.4) using Qt 4.8.0

kdepim stack compiled from yesterday's git. this is now cropping up now that the other crashes got fixed on resuming from suspend. but well, now this :)

hope dfaure can look at this as well, cheers

-- Backtrace (Reduced):
#7  0x00007f63d3bf8748 in QObject::connect(QObject const*, char const*, QObject const*, char const*, Qt::ConnectionType) () from /usr/lib/libQtCore.so.4
#8  0x000000000045d829 in SessionPool::onPasswordRequestDone (this=0x17bcc80, resultType=0, password=...) at /home/milian/projects/kde4/kdepim-runtime/resources/imap/sessionpool.cpp:334
#9  0x000000000045e9b6 in SessionPool::qt_static_metacall (_o=0x17bcc80, _c=QMetaObject::InvokeMetaMethod, _id=9, _a=0x7fff37e41070) at /home/milian/projects/.build/kde4/kdepim-runtime/resources/imap/sessionpool.moc:94
[...]
#11 0x000000000044a192 in PasswordRequesterInterface::done (this=0x17be2a0, _t1=0, _t2=...) at /home/milian/projects/.build/kde4/kdepim-runtime/resources/imap/passwordrequesterinterface.moc:118
#12 0x0000000000426a16 in SettingsPasswordRequester::onPasswordRequestCompleted (this=0x17be2a0, password=..., userRejected=false) at /home/milian/projects/kde4/kdepim-runtime/resources/imap/settingspasswordrequester.cpp:89
Comment 4 Kevin Ottens 2012-02-12 08:55:40 UTC

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