Bug 299875

Summary: I changed the pop server address in settings while it was already trying to download emails
Product: [Frameworks and Libraries] Akonadi Reporter: Hussam Al-Tayeb <ht990332>
Component: POP3 ResourceAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: kdepim-bugs, vkrause
Priority: NOR    
Version: 4.8   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Hussam Al-Tayeb 2012-05-12 12:14:55 UTC
Application: akonadi_pop3_resource (4.8)
KDE Platform Version: 4.8.3 (4.8.3) (Compiled from sources)
Qt Version: 4.8.1
Operating System: Linux 3.3.5-1-ARCH i686

-- Information about the crash:
I changed the pop server address in settings while it was already trying to download emails because it was stalling

-- Backtrace:
Application: GMail of type POP3 E-Mail Server (akonadi_pop3_resource), signal: Aborted
Using host libthread_db library "/lib/libthread_db.so.1".
[KCrash Handler]
#7  0xb7703424 in __kernel_vsyscall ()
#8  0xb56ed24f in raise () from /lib/libc.so.6
#9  0xb56eeb53 in abort () from /lib/libc.so.6
#10 0xb718230e in qt_message_output (msgType=QtFatalMsg, buf=0x93ccd50 "ASSERT: \"slave->host() == url.host()\" in file /home/hussam/packages/kdelibs/src/kdelibs/kio/kio/scheduler.cpp, line 351") at global/qglobal.cpp:2252
#11 0xb7182509 in qt_message (msgType=QtFatalMsg, msg=0xb7323968 "ASSERT: \"%s\" in file %s, line %d", ap=0xbff4f194 "\317\b\025\266\024\n\025\266_\001") at global/qglobal.cpp:2298
#12 0xb7182628 in qFatal (msg=msg@entry=0xb7323968 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2481
#13 0xb71826b5 in qt_assert (assertion=0xb61508cf "slave->host() == url.host()", file=0xb6150a14 "/home/hussam/packages/kdelibs/src/kdelibs/kio/kio/scheduler.cpp", line=351) at global/qglobal.cpp:1999
#14 0xb607d693 in KIO::ConnectedSlaveQueue::startRunnableJobs (this=0x8ffb848) at /home/hussam/packages/kdelibs/src/kdelibs/kio/kio/scheduler.cpp:351
#15 0xb72c82df in QMetaObject::activate (sender=0x8ffb858, m=0xb74214b8, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#16 0xb731ffc5 in QTimer::timeout (this=0x8ffb858) at .moc/debug-shared/moc_qtimer.cpp:148
#17 0xb72d0e46 in QTimer::timerEvent (this=0x8ffb858, e=0xbff4f7d0) at kernel/qtimer.cpp:280
#18 0xb72c76f4 in QObject::event (this=0x8ffb858, e=0xbff4f7d0) at kernel/qobject.cpp:1157
#19 0xb66b92e8 in QApplicationPrivate::notify_helper (this=0x8f07250, receiver=0x8ffb858, e=0xbff4f7d0) at kernel/qapplication.cpp:4554
#20 0xb66bea49 in QApplication::notify (this=0x8f07250, receiver=0x8ffb858, e=0xbff4f7d0) at kernel/qapplication.cpp:4415
#21 0xb5b5c878 in KApplication::notify (this=0xbff4fad4, receiver=0x8ffb858, event=0xbff4f7d0) at /home/hussam/packages/kdelibs/src/kdelibs/kdeui/kernel/kapplication.cpp:311
#22 0xb72aedbe in QCoreApplication::notifyInternal (this=0xbff4fad4, receiver=0x8ffb858, event=0xbff4f7d0) at kernel/qcoreapplication.cpp:876
#23 0xb72e75df in sendEvent (event=0xbff4f7d0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#24 QTimerInfoList::activateTimers (this=0x8f05e74) at kernel/qeventdispatcher_unix.cpp:611
#25 0xb72e3e08 in timerSourceDispatch (source=0x8f05e40) at kernel/qeventdispatcher_glib.cpp:186
#26 timerSourceDispatch (source=0x8f05e40) at kernel/qeventdispatcher_glib.cpp:180
#27 0xb5338773 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#28 0xb5338b10 in ?? () from /usr/lib/libglib-2.0.so.0
#29 0xb5338bf1 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#30 0xb72e4641 in QEventDispatcherGlib::processEvents (this=0x8ed0740, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#31 0xb6779a8a in QGuiEventDispatcherGlib::processEvents (this=0x8ed0740, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#32 0xb72ad35c in QEventLoop::processEvents (this=this@entry=0xbff4fa38, flags=...) at kernel/qeventloop.cpp:149
#33 0xb72ad631 in QEventLoop::exec (this=0xbff4fa38, flags=...) at kernel/qeventloop.cpp:204
#34 0xb72b2fea in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#35 0xb66b70f4 in QApplication::exec () at kernel/qapplication.cpp:3815
#36 0xb759cba3 in Akonadi::ResourceBase::init (r=0x8fe0b60) at /home/hussam/packages/kdepimlibs/src/kdepimlibs/akonadi/resourcebase.cpp:412
#37 0x0805e440 in Akonadi::ResourceBase::init<POP3Resource> (argc=argc@entry=3, argv=argv@entry=0xbff4fbb4) at /usr/include/KDE/Akonadi/../../akonadi/resourcebase.h:188
#38 0x08051f6b in main (argc=3, argv=0xbff4fbb4) at /home/hussam/packages/kdepim-runtime/src/kdepim-runtime/resources/pop3/pop3resource.cpp:1014

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 20:36:29 UTC
This bug has only been reported for versions older than KDEPIM 4.14 (at most akonadi-1.3). Can anyone tell if this bug still present?

If noone confirms this bug for a recent version of akonadi (part of KDE Applications 15.08 or later), it gets closed in about three months.
Comment 2 Denis Kurz 2017-01-07 22:40:52 UTC
Just as announced in my last comment, I close this bug. If you encounter it again in a recent version (at least 5.0 aka 15.08), please open a new one unless it already exists. Thank you for all your input.