Bug 285940 - KMail migration crashes
Summary: KMail migration crashes
Status: RESOLVED UNMAINTAINED
Alias: None
Product: kmail2
Classification: Applications
Component: general (show other bugs)
Version: 4.7
Platform: unspecified Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
: 251093 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-11-06 22:18 UTC by Mark Szentes-Wanner
Modified: 2017-01-07 22:19 UTC (History)
1 user (show)

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 Mark Szentes-Wanner 2011-11-06 22:18:41 UTC
Application: kmail-migrator (0.1)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic i686
Distribution: Ubuntu 11.10

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

I tried to migrate my KMail setting to the new KMail2 version based on akonadi. It then results in bug 259355.
https://bugs.kde.org/show_bug.cgi?id=259355

The crash can be reproduced every time.

-- Backtrace:
Application: KMail-Migrationswerkzeug (kmail-migrator), signal: Segmentation fault
[Current thread is 1 (Thread 0xb7852710 (LWP 3624))]

Thread 2 (Thread 0xb5a2bb70 (LWP 3626)):
#0  0x00384dbd in pthread_mutex_lock () from /lib/i386-linux-gnu/libpthread.so.0
#1  0x00939f14 in pthread_mutex_lock () from /lib/i386-linux-gnu/libc.so.6
#2  0x052468bb in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x05247637 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x05247c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x056aab37 in QEventDispatcherGlib::processEvents (this=0x9dfe8d8, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x0567b1dd in QEventLoop::processEvents (this=0xb5a2b2b0, flags=...) at kernel/qeventloop.cpp:149
#7  0x0567b421 in QEventLoop::exec (this=0xb5a2b2b0, flags=...) at kernel/qeventloop.cpp:201
#8  0x0557e90b in QThread::exec (this=0xa08ed50) at thread/qthread.cpp:498
#9  0x0565be2d in QInotifyFileSystemWatcherEngine::run (this=0xa08ed50) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x055817b3 in QThreadPrivate::start (arg=0xa08ed50) at thread/qthread_unix.cpp:331
#11 0x00382d31 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0092c0ce in clone () from /lib/i386-linux-gnu/libc.so.6
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb7852710 (LWP 3624)):
[KCrash Handler]
#7  0x0805a931 in AbstractCollectionMigrator::startMigration (this=0xa1a1d48) at ../../../migration/kmail/abstractcollectionmigrator.cpp:712
#8  0x0807d09a in KMail::KMailMigrator::migrateImapAccount (this=0x9e4fad8, job=0x0, disconnected=true) at ../../../migration/kmail/kmailmigrator.cpp:742
#9  0x0807e06a in KMail::KMailMigrator::imapDisconnectedAccountCreated (this=0x9e4fad8, job=0xa136350) at ../../../migration/kmail/kmailmigrator.cpp:636
#10 0x0808df8d in KMail::KMailMigrator::qt_metacall (this=0x9e4fad8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf82cbd8) at ./kmailmigrator.moc:115
#11 0x05682b7d in metacall (argv=0xbf82cbd8, idx=11, cl=QMetaObject::InvokeMetaMethod, object=0x9e4fad8) at kernel/qmetaobject.cpp:237
#12 QMetaObject::metacall (object=0x9e4fad8, cl=QMetaObject::InvokeMetaMethod, idx=11, argv=0xbf82cbd8) at kernel/qmetaobject.cpp:232
#13 0x05691a6a in QMetaObject::activate (sender=0xa136350, m=0x880a58c, local_signal_index=3, argv=0xbf82cbd8) at kernel/qobject.cpp:3278
#14 0x0865ceb5 in KJob::result (this=0xa136350, _t1=0xa136350) at ./kjob.moc:194
#15 0x0865cf08 in KJob::emitResult (this=0xa136350) at ../../kdecore/jobs/kjob.cpp:312
#16 0x00694c71 in configurationDialogRejected (this=<optimized out>) at ../../akonadi/agentinstancecreatejob.cpp:115
#17 Akonadi::AgentInstanceCreateJob::qt_metacall (this=0xa136350, _c=168995896, _id=0, _a=0xbf82cd48) at ./agentinstancecreatejob.moc:86
#18 0x05682b7d in metacall (argv=0xbf82cd48, idx=26, cl=QMetaObject::InvokeMetaMethod, object=0xa136350) at kernel/qmetaobject.cpp:237
#19 QMetaObject::metacall (object=0xa136350, cl=QMetaObject::InvokeMetaMethod, idx=26, argv=0xbf82cd48) at kernel/qmetaobject.cpp:232
#20 0x05691a6a in QMetaObject::activate (sender=0x9e2f560, m=0x852458, local_signal_index=2, argv=0xbf82cd48) at kernel/qobject.cpp:3278
#21 0x0069bbe5 in Akonadi::AgentManager::instanceAdded (this=0x9e2f560, _t1=...) at ./agentmanager.moc:163
#22 0x0069fdcc in Akonadi::AgentManagerPrivate::agentInstanceAdded (this=0x9e045a8, identifier=...) at ../../akonadi/agentmanager.cpp:102
#23 0x006a35c3 in Akonadi::AgentManager::qt_metacall (this=0x9e2f560, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbf82ceb8) at ./agentmanager.moc:129
#24 0x05682b7d in metacall (argv=0xbf82ceb8, idx=16, cl=QMetaObject::InvokeMetaMethod, object=0x9e2f560) at kernel/qmetaobject.cpp:237
#25 QMetaObject::metacall (object=0x9e2f560, cl=QMetaObject::InvokeMetaMethod, idx=16, argv=0xbf82ceb8) at kernel/qmetaobject.cpp:232
#26 0x05691a6a in QMetaObject::activate (sender=0x9e2f4e8, m=0x857778, local_signal_index=0, argv=0xbf82ceb8) at kernel/qobject.cpp:3278
#27 0x007d82e5 in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceAdded (this=0x9e2f4e8, _t1=...) at agentmanagerinterface.moc:236
#28 0x007d8b1b in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x9e2f4e8, _c=QMetaObject::InvokeMetaMethod, _id=0, _a=0xbf82d29c) at agentmanagerinterface.moc:160
#29 0x00257d87 in QDBusConnectionPrivate::deliverCall (this=0x9d77d68, object=0x9e2f4e8, msg=..., metaTypes=..., slotIdx=0) at qdbusintegrator.cpp:942
#30 0x00261c26 in QDBusCallDeliveryEvent::placeMetaCall (this=0x9f77fb0, object=0x9e2f4e8) at qdbusintegrator_p.h:103
#31 0x05694b52 in QObject::event (this=0x9e2f4e8, e=0x9f77fb0) at kernel/qobject.cpp:1217
#32 0x03afed54 in notify_helper (e=0x9f77fb0, receiver=0x9e2f4e8, this=0x9ce2998) at kernel/qapplication.cpp:4486
#33 QApplicationPrivate::notify_helper (this=0x9ce2998, receiver=0x9e2f4e8, e=0x9f77fb0) at kernel/qapplication.cpp:4458
#34 0x03b04103 in QApplication::notify (this=0x9f77fb0, receiver=0x9e2f4e8, e=0x9f77fb0) at kernel/qapplication.cpp:3886
#35 0x00ee8681 in KApplication::notify (this=0x9cdea18, receiver=0x9e2f4e8, event=0x9f77fb0) at ../../kdeui/kernel/kapplication.cpp:311
#36 0x0567c19e in QCoreApplication::notifyInternal (this=0x9cdea18, receiver=0x9e2f4e8, event=0x9f77fb0) at kernel/qcoreapplication.cpp:787
#37 0x0567ff93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#38 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9cc8e98) at kernel/qcoreapplication.cpp:1428
#39 0x056800ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#40 0x056aa6a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#41 postEventSourceDispatch (s=0x9ce4e90) at kernel/qeventdispatcher_glib.cpp:277
#42 0x0524725f in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0x05247990 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#44 0x05247c2a in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#45 0x056aaada in QEventDispatcherGlib::processEvents (this=0x9cc9be0, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#46 0x03bb6e3a in QGuiEventDispatcherGlib::processEvents (this=0x9cc9be0, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#47 0x0567b1dd in QEventLoop::processEvents (this=0xbf82d934, flags=...) at kernel/qeventloop.cpp:149
#48 0x0567b421 in QEventLoop::exec (this=0xbf82d934, flags=...) at kernel/qeventloop.cpp:201
#49 0x0568019d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#50 0x03afc8f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#51 0x08057999 in main (argc=) at ../../../migration/kmail/main.cpp:95

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-18 23:04:01 UTC
*** Bug 251093 has been marked as a duplicate of this bug. ***
Comment 2 Denis Kurz 2016-09-24 18:21:38 UTC
This bug has only been reported for versions before 4.14, which have been unsupported for at least two years now. Can anyone tell if this bug still present?

If noone confirms this bug for a Framework-based version of kmail2 (version 5.0 or later, as part of KDE Applications 15.12 or later), it gets closed in about three months.
Comment 3 Denis Kurz 2017-01-07 22:19:06 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.