Bug 286624

Summary: Create multiply accounts in Kmail
Product: [Applications] kmail2 Reporter: Maurizio Miglia <m.miglia>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: hydefromt70s
Priority: NOR    
Version: 4.7   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Maurizio Miglia 2011-11-14 20:34:29 UTC
Application: kmail (4.7.2)
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:
- What I was doing when the application crashed:
create multiply mail accounts Kmail when the program was gone in crash and modify names of profiles accounts

- Custom settings of the application:

-- Backtrace:
Application: KMail (kmail), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f8f9be0b7a0 (LWP 2560))]

Thread 4 (Thread 0x7f8f7c7dc700 (LWP 2564)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f8f8e0dac2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f8f8e0dad59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f8f96d25efc in start_thread (arg=0x7f8f7c7dc700) at pthread_create.c:304
#4  0x00007f8f9917f89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f8f7becb700 (LWP 2565)):
#0  0x00007f8f96d28034 in __pthread_mutex_lock (mutex=0xcca858) at pthread_mutex_lock.c:61
#1  0x00007f8f91bc8023 in g_main_context_prepare () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8f91bc8dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8f91bc9429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f8f99af1f3e in QEventDispatcherGlib::processEvents (this=0xcca1b0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#5  0x00007f8f99ac5cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#6  0x00007f8f99ac5ef7 in QEventLoop::exec (this=0x7f8f7becade0, flags=...) at kernel/qeventloop.cpp:201
#7  0x00007f8f999dd27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#8  0x00007f8f999dfd05 in QThreadPrivate::start (arg=0xcc97f0) at thread/qthread_unix.cpp:331
#9  0x00007f8f96d25efc in start_thread (arg=0x7f8f7becb700) at pthread_create.c:304
#10 0x00007f8f9917f89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f8f33fff700 (LWP 2570)):
#0  0x00007f8f99173773 in __GI___poll (fds=<optimized out>, nfds=<optimized out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f8f91bc8f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f8f91bc9429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f8f99af1f3e in QEventDispatcherGlib::processEvents (this=0x9b0eb0, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f8f99ac5cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f8f99ac5ef7 in QEventLoop::exec (this=0x7f8f33ffedb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f8f999dd27f in QThread::exec (this=<optimized out>) at thread/qthread.cpp:498
#7  0x00007f8f99aa8cbf in QInotifyFileSystemWatcherEngine::run (this=0x101c270) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f8f999dfd05 in QThreadPrivate::start (arg=0x101c270) at thread/qthread_unix.cpp:331
#9  0x00007f8f96d25efc in start_thread (arg=0x7f8f33fff700) at pthread_create.c:304
#10 0x00007f8f9917f89d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f8f9be0b7a0 (LWP 2560)):
[KCrash Handler]
#6  QSortFilterProxyModelPrivate::updateChildrenMapping (this=0x256c6d0, source_parent=..., parent_mapping=0xe6b470, orient=Qt::Vertical, start=1, end=1, delta_item_count=1, remove=true) at itemviews/qsortfilterproxymodel.cpp:946
#7  0x00007f8f9a587ee8 in source_items_removed (orient=Qt::Vertical, end=1, start=1, source_parent=..., this=0x256c6d0) at itemviews/qsortfilterproxymodel.cpp:888
#8  QSortFilterProxyModelPrivate::source_items_removed (this=0x256c6d0, source_parent=..., start=1, end=<optimized out>, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:846
#9  0x00007f8f9a58d544 in QSortFilterProxyModel::qt_metacall (this=0x220b6a0, _c=QMetaObject::InvokeMetaMethod, _id=14, _a=0x7fff53dd01e0) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:139
#10 0x00007f8f9b7d7b90 in KRecursiveFilterProxyModel::qt_metacall (this=0x220b6a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff53dd01e0) at ./krecursivefilterproxymodel.moc:78
#11 0x00007f8f99ace4ae in QMetaMethod::invoke (this=0x7fff53dd03c0, object=0x220b6a0, connectionType=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1597
#12 0x00007f8f99ad0690 in QMetaObject::invokeMethod (obj=0x220b6a0, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1151
#13 0x00007f8f9b7d7b5e in invokeMethod (val9=..., val8=..., val7=..., val6=..., val5=..., val4=..., val3=..., val2=..., val1=..., val0=..., type=Qt::DirectConnection, member=0x7f8f9b98973c "_q_sourceRowsRemoved", obj=<optimized out>) at /usr/include/qt4/QtCore/qobjectdefs.h:410
#14 invokeRowsRemoved (end=1, start=1, source_parent=..., this=0xad2e50) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:88
#15 KRecursiveFilterProxyModelPrivate::sourceRowsRemoved (this=0xad2e50, source_parent=..., start=<optimized out>, end=<optimized out>) at ../../kdeui/itemviews/krecursivefilterproxymodel.cpp:250
#16 0x00007f8f9b7d7bce in KRecursiveFilterProxyModel::qt_metacall (this=0x220b6a0, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff53dd08a0) at ./krecursivefilterproxymodel.moc:87
#17 0x00007f8f99ad9eba in QMetaObject::activate (sender=0x955770, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff53dd08a0) at kernel/qobject.cpp:3278
#18 0x00007f8f99b22974 in QAbstractItemModel::rowsRemoved (this=<optimized out>, _t1=<optimized out>, _t2=1, _t3=1) at .moc/release-shared/moc_qabstractitemmodel.cpp:195
#19 0x00007f8f99ac1abe in QAbstractItemModel::endRemoveRows (this=0x955770) at kernel/qabstractitemmodel.cpp:2466
#20 0x00007f8f9a58b86a in QSortFilterProxyModelPrivate::remove_source_items (this=0xa01910, source_to_proxy=..., proxy_to_source=..., source_items=<optimized out>, source_parent=<optimized out>, orient=Qt::Vertical, emit_signal=true) at itemviews/qsortfilterproxymodel.cpp:537
#21 0x00007f8f9a58d234 in QSortFilterProxyModelPrivate::source_items_about_to_be_removed (this=0xa01910, source_parent=..., start=1, end=1, orient=Qt::Vertical) at itemviews/qsortfilterproxymodel.cpp:838
#22 0x00007f8f9a58d51c in QSortFilterProxyModel::qt_metacall (this=0x955770, _c=QMetaObject::InvokeMetaMethod, _id=13, _a=0x7fff53dd0b50) at .moc/release-shared/moc_qsortfilterproxymodel.cpp:138
#23 0x00007f8f99ad9eba in QMetaObject::activate (sender=0x8cbc40, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff53dd0b50) at kernel/qobject.cpp:3278
#24 0x00007f8f99b22924 in QAbstractItemModel::rowsAboutToBeRemoved (this=<optimized out>, _t1=<optimized out>, _t2=1, _t3=1) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#25 0x00007f8f99ac1048 in QAbstractItemModel::beginRemoveRows (this=0x8cbc40, parent=<optimized out>, first=<optimized out>, last=1) at kernel/qabstractitemmodel.cpp:2449
#26 0x00007f8f95e664b4 in Akonadi::EntityTreeModelPrivate::monitoredCollectionRemoved (this=0xa077b0, collection=...) at ../../akonadi/entitytreemodel_p.cpp:789
#27 0x00007f8f95e66920 in Akonadi::EntityTreeModelPrivate::agentInstanceRemoved (this=0xa077b0, instance=...) at ../../akonadi/entitytreemodel_p.cpp:251
#28 0x00007f8f95e536c9 in Akonadi::EntityTreeModel::qt_metacall (this=0x8cbc40, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff53dd0ec0) at ./entitytreemodel.moc:175
#29 0x00007f8f99ad9eba in QMetaObject::activate (sender=0x9e9c50, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff53dd0ec0) at kernel/qobject.cpp:3278
#30 0x00007f8f95df4c85 in Akonadi::AgentManager::instanceRemoved (this=<optimized out>, _t1=<optimized out>) at ./agentmanager.moc:170
#31 0x00007f8f95df5c81 in Akonadi::AgentManagerPrivate::agentInstanceRemoved (this=0x9e65d0, identifier=...) at ../../akonadi/agentmanager.cpp:117
#32 0x00007f8f95dfbb39 in Akonadi::AgentManager::qt_metacall (this=0x9e9c50, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fff53dd0ff0) at ./agentmanager.moc:130
#33 0x00007f8f99ad9eba in QMetaObject::activate (sender=0x9e4b70, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff53dd0ff0) at kernel/qobject.cpp:3278
#34 0x00007f8f95f18d85 in OrgFreedesktopAkonadiAgentManagerInterface::agentInstanceRemoved (this=<optimized out>, _t1=<optimized out>) at agentmanagerinterface.moc:278
#35 0x00007f8f95f1926e in OrgFreedesktopAkonadiAgentManagerInterface::qt_metacall (this=0x9e4b70, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff53dd1880) at agentmanagerinterface.moc:166
#36 0x00007f8f9782c0e9 in QDBusConnectionPrivate::deliverCall (this=0x75c0b0, object=0x9e4b70, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:942
#37 0x00007f8f9783538f in QDBusCallDeliveryEvent::placeMetaCall (this=<optimized out>, object=<optimized out>) at qdbusintegrator_p.h:103
#38 0x00007f8f99adda5e in QObject::event (this=0x9e4b70, e=<optimized out>) at kernel/qobject.cpp:1217
#39 0x00007f8f99ff7424 in notify_helper (e=0x23ac140, receiver=0x9e4b70, this=0x76c2d0) at kernel/qapplication.cpp:4486
#40 QApplicationPrivate::notify_helper (this=0x76c2d0, receiver=0x9e4b70, e=0x23ac140) at kernel/qapplication.cpp:4458
#41 0x00007f8f99ffc291 in QApplication::notify (this=0x7fff53dd21d0, receiver=0x9e4b70, e=0x23ac140) at kernel/qapplication.cpp:4365
#42 0x00007f8f9b818126 in KApplication::notify (this=0x7fff53dd21d0, receiver=0x9e4b70, event=0x23ac140) at ../../kdeui/kernel/kapplication.cpp:311
#43 0x00007f8f99ac6afc in QCoreApplication::notifyInternal (this=0x7fff53dd21d0, receiver=0x9e4b70, event=0x23ac140) at kernel/qcoreapplication.cpp:787
#44 0x00007f8f99aca51f in sendEvent (event=0x23ac140, receiver=0x9e4b70) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#45 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x725460) at kernel/qcoreapplication.cpp:1428
#46 0x00007f8f99af1a73 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#47 postEventSourceDispatch (s=<optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#48 0x00007f8f91bc8a5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#49 0x00007f8f91bc9258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#50 0x00007f8f91bc9429 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#51 0x00007f8f99af1ed6 in QEventDispatcherGlib::processEvents (this=0x726f70, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#52 0x00007f8f9a09f07e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#53 0x00007f8f99ac5cf2 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#54 0x00007f8f99ac5ef7 in QEventLoop::exec (this=0x7fff53dd20a0, flags=...) at kernel/qeventloop.cpp:201
#55 0x00007f8f99aca789 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#56 0x0000000000402bd3 in main (argc=<optimized out>, argv=<optimized out>) at ../../kmail/main.cpp:145

Reported using DrKonqi
Comment 1 Christophe Marin 2011-11-23 18:08:30 UTC
*** Bug 287382 has been marked as a duplicate of this bug. ***
Comment 2 Denis Kurz 2016-09-24 18:16:36 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:01: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.