Bug 305122 - KMail crash during the start
Summary: KMail crash during the start
Status: RESOLVED UNMAINTAINED
Alias: None
Product: Akonadi
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: 4.8
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-14 08:18 UTC by Vojtech Juranek
Modified: 2017-01-07 21:57 UTC (History)
0 users

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 Vojtech Juranek 2012-08-14 08:18:58 UTC
Application: kmail (4.8.4)
KDE Platform Version: 4.8.4 (4.8.4)
Qt Version: 4.8.2
Operating System: Linux 3.5.1-1.fc17.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Nothing, just start KMail

- Custom settings of the application:
I deleted Akonadi cache (~/.local/share/akonadi) and let Akonadi recreate new data.

The crash can be reproduced every time.

-- Backtrace:
Application: KMail (kmail), signal: Aborted
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7ffbb80f5880 (LWP 2085))]

Thread 3 (Thread 0x7ffbabf41700 (LWP 2088)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:166
#1  0x0000003a42a1677d in WTF::TCMalloc_PageHeap::scavengerThread (this=0x3a43400980) at wtf/FastMalloc.cpp:2495
#2  0x0000003a42a16889 in WTF::TCMalloc_PageHeap::runScavengerThread (context=<optimized out>) at wtf/FastMalloc.cpp:1618
#3  0x000000354a607d14 in start_thread (arg=0x7ffbabf41700) at pthread_create.c:309
#4  0x000000354a2f197d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7ffbab640700 (LWP 2089)):
#0  0x000000354a60e0ad in read () at ../sysdeps/unix/syscall-template.S:82
#1  0x000000354c682a5f in read (__nbytes=16, __buf=0x7ffbab63fb60, __fd=<optimized out>) at /usr/include/bits/unistd.h:45
#2  g_wakeup_acknowledge (wakeup=0xbc6dc0) at gwakeup.c:212
#3  0x000000354c6474e9 in g_main_context_check (context=context@entry=0x7ffba40009a0, max_priority=2147483647, fds=fds@entry=0x7ffba40029c0, n_fds=n_fds@entry=1) at gmain.c:2980
#4  0x000000354c647902 in g_main_context_iterate (context=context@entry=0x7ffba40009a0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3143
#5  0x000000354c647a84 in g_main_context_iteration (context=0x7ffba40009a0, may_block=1) at gmain.c:3207
#6  0x0000003552fa4506 in QEventDispatcherGlib::processEvents (this=0x7ffba40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x0000003552f7513f in QEventLoop::processEvents (this=this@entry=0x7ffbab63fd20, flags=...) at kernel/qeventloop.cpp:149
#8  0x0000003552f753c8 in QEventLoop::exec (this=0x7ffbab63fd20, flags=...) at kernel/qeventloop.cpp:204
#9  0x0000003552e78650 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:501
#10 0x0000003552e7b5eb in QThreadPrivate::start (arg=0x10b19e0) at thread/qthread_unix.cpp:307
#11 0x000000354a607d14 in start_thread (arg=0x7ffbab640700) at pthread_create.c:309
#12 0x000000354a2f197d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7ffbb80f5880 (LWP 2085)):
[KCrash Handler]
#5  0x000000354a235925 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6  0x000000354a2370d8 in __GI_abort () at abort.c:91
#7  0x000000354a27564b in __libc_message (do_abort=do_abort@entry=2, fmt=fmt@entry=0x354a378c28 "*** glibc detected *** %s: %s: 0x%s ***\n") at ../sysdeps/unix/sysv/linux/libc_fatal.c:198
#8  0x000000354a27c7ce in malloc_printerr (ptr=0x1536e00, str=0x354a378c58 "double free or corruption (fasttop)", action=3) at malloc.c:5027
#9  _int_free (av=0x354a5b0720, p=0x1536df0, have_lock=0) at malloc.c:3948
#10 0x0000003a3e100ef8 in ?? () from /lib64/libakonadi-kde.so.4
#11 0x0000003a3e1010f5 in ?? () from /lib64/libakonadi-kde.so.4
#12 0x0000003a3e0f9d20 in Akonadi::EntityTreeModel::setData(QModelIndex const&, QVariant const&, int) () from /lib64/libakonadi-kde.so.4
#13 0x000000355795003e in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=role@entry=53) at itemviews/qsortfilterproxymodel.cpp:1730
#14 0x000000355794ed28 in QAbstractProxyModel::setData (this=<optimized out>, index=..., value=..., role=role@entry=53) at itemviews/qabstractproxymodel.cpp:270
#15 0x000000355794ed28 in QAbstractProxyModel::setData (this=<optimized out>, index=..., value=..., role=53) at itemviews/qabstractproxymodel.cpp:270
#16 0x000000355795003e in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=53) at itemviews/qsortfilterproxymodel.cpp:1730
#17 0x000000355795003e in QSortFilterProxyModel::setData (this=<optimized out>, index=..., value=..., role=53) at itemviews/qsortfilterproxymodel.cpp:1730
#18 0x0000003a3e163fee in ?? () from /lib64/libakonadi-kde.so.4
#19 0x0000003552f8cb9f in QMetaObject::activate (sender=0x1141970, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2ef61800) at kernel/qobject.cpp:3547
#20 0x0000003a3ac2c9a2 in KSelectionProxyModel::rootIndexAboutToBeRemoved(QModelIndex const&) () from /lib64/libkdeui.so.5
#21 0x0000003a3ac2f96d in ?? () from /lib64/libkdeui.so.5
#22 0x0000003552f8cb9f in QMetaObject::activate (sender=0x103cd90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3547
#23 0x00000035579567c1 in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x103ddf0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1159
#24 0x0000003552f8cb9f in QMetaObject::activate (sender=0x10078c0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2ef61cd0) at kernel/qobject.cpp:3547
#25 0x0000003552fd52a7 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:163
#26 0x00000035579564ca in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0x10078f0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1193
#27 0x0000003552f7e237 in QMetaMethod::invoke (this=this@entry=0x7fff2ef620b0, object=object@entry=0x10078c0, connectionType=connectionType@entry=Qt::DirectConnection, returnValue=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1664
#28 0x0000003552f8060c in QMetaObject::invokeMethod (obj=0x10078c0, member=<optimized out>, type=Qt::DirectConnection, ret=..., val0=..., val1=..., val2=..., val3=..., val4=..., val5=..., val6=..., val7=..., val8=..., val9=...) at kernel/qmetaobject.cpp:1179
#29 0x0000003a3ac0b0d3 in ?? () from /lib64/libkdeui.so.5
#30 0x0000003552f8cb9f in QMetaObject::activate (sender=0xfcfd80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2ef62650) at kernel/qobject.cpp:3547
#31 0x0000003552fd52a7 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:163
#32 0x0000003a3ac08d67 in ?? () from /lib64/libkdeui.so.5
#33 0x0000003552f8cb9f in QMetaObject::activate (sender=0xfd49d0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2ef62800) at kernel/qobject.cpp:3547
#34 0x0000003552fd52a7 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:163
#35 0x0000003a3ac08d67 in ?? () from /lib64/libkdeui.so.5
#36 0x0000003552f8cb9f in QMetaObject::activate (sender=0xe83e90, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2ef629b0) at kernel/qobject.cpp:3547
#37 0x0000003552fd52a7 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:163
#38 0x00000035579564ca in QSortFilterProxyModelPrivate::_q_sourceDataChanged (this=0xc083b0, source_top_left=..., source_bottom_right=...) at itemviews/qsortfilterproxymodel.cpp:1193
#39 0x0000003552f8cb9f in QMetaObject::activate (sender=0xecbe10, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2ef62c50) at kernel/qobject.cpp:3547
#40 0x0000003552fd52a7 in QAbstractItemModel::dataChanged (this=<optimized out>, _t1=..., _t2=...) at .moc/release-shared/moc_qabstractitemmodel.cpp:163
#41 0x0000003a3e0feea5 in ?? () from /lib64/libakonadi-kde.so.4
#42 0x0000003a3e108ac9 in ?? () from /lib64/libakonadi-kde.so.4
#43 0x0000003552f8cb9f in QMetaObject::activate (sender=0x138c250, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7fff2ef62f00) at kernel/qobject.cpp:3547
#44 0x0000003a39d33ba2 in KJob::result(KJob*) () from /lib64/libkdecore.so.5
#45 0x0000003a39d33be0 in KJob::emitResult() () from /lib64/libkdecore.so.5
#46 0x0000003552f8acee in QObject::event (this=0x138c250, e=<optimized out>) at kernel/qobject.cpp:1195
#47 0x00000035573ca37c in QApplicationPrivate::notify_helper (this=this@entry=0xbc2660, receiver=receiver@entry=0x138c250, e=e@entry=0x3bbfaf0) at kernel/qapplication.cpp:4551
#48 0x00000035573ce7fa in QApplication::notify (this=0x7fff2ef63b70, receiver=0x138c250, e=0x3bbfaf0) at kernel/qapplication.cpp:4412
#49 0x0000003a3ac46756 in KApplication::notify(QObject*, QEvent*) () from /lib64/libkdeui.so.5
#50 0x0000003552f763ee in QCoreApplication::notifyInternal (this=0x7fff2ef63b70, receiver=receiver@entry=0x138c250, event=event@entry=0x3bbfaf0) at kernel/qcoreapplication.cpp:915
#51 0x0000003552f79ea1 in sendEvent (event=0x3bbfaf0, receiver=0x138c250) at kernel/qcoreapplication.h:231
#52 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xb72210) at kernel/qcoreapplication.cpp:1539
#53 0x0000003552fa4353 in sendPostedEvents () at kernel/qcoreapplication.h:236
#54 postEventSourceDispatch (s=s@entry=0xbc6900) at kernel/qeventdispatcher_glib.cpp:279
#55 0x000000354c647695 in g_main_dispatch (context=0xbc6710) at gmain.c:2539
#56 g_main_context_dispatch (context=context@entry=0xbc6710) at gmain.c:3075
#57 0x000000354c6479c8 in g_main_context_iterate (context=context@entry=0xbc6710, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at gmain.c:3146
#58 0x000000354c647a84 in g_main_context_iteration (context=0xbc6710, may_block=1) at gmain.c:3207
#59 0x0000003552fa44e6 in QEventDispatcherGlib::processEvents (this=0xb73af0, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#60 0x000000355746a2ee in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:207
#61 0x0000003552f7513f in QEventLoop::processEvents (this=this@entry=0x7fff2ef63810, flags=...) at kernel/qeventloop.cpp:149
#62 0x0000003552f753c8 in QEventLoop::exec (this=0x7fff2ef63810, flags=...) at kernel/qeventloop.cpp:204
#63 0x0000003552f7a1b8 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1187
#64 0x0000000000402d19 in ?? ()
#65 0x000000354a221735 in __libc_start_main (main=0x402350, argc=3, ubp_av=0x7fff2ef63d68, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff2ef63d58) at libc-start.c:226
#66 0x00000000004031a5 in _start ()

Possible duplicates by query: bug 304488, bug 303621, bug 302750, bug 302621, bug 302581.

Reported using DrKonqi
Comment 1 Denis Kurz 2016-09-24 20:31:17 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 21:57:54 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.