[Bug 284169] New: kmail crashed after clicking on a local folder

Philipp Degler deglerp at googlemail.com
Sun Oct 16 11:33:59 BST 2011


https://bugs.kde.org/show_bug.cgi?id=284169

           Summary: kmail crashed after clicking on a local folder
           Product: kontact
           Version: 4.7.2
          Platform: Ubuntu Packages
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: crash
          Priority: NOR
         Component: general
        AssignedTo: kdepim-bugs at kde.org
        ReportedBy: deglerp at googlemail.com


Application: kontact (4.7.2)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-12-generic x86_64
Distribution: Ubuntu 11.10

-- Information about the crash:
- What I was doing when the application crashed:
1. I imported my old mail from kmail > 100000 entries
2. Then I right clicked folder by folder choosing "mark all as read" (The icon
changed into a circlic process indicator)
3. After some time of heavy disk access all choosen folders showed no unread
mail any longer
4. One imported folder was still untouched though (~800 unread mails)
5. I clicked on that folder => crash happend

- Unusual behavior I noticed:
I switched on kernel block dump locking with
echo 1 > /proc/sys/vm/block_dump

In the log (/var/log/kern.log) I noticed akonadi constantly and frequently
accessing the disk. Also the whole app seems to be slow after the import of the
old mails.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
[Current thread is 1 (Thread 0x7f7061dfb7a0 (LWP 2000))]

Thread 4 (Thread 0x7f7048082700 (LWP 2001)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:162
#1  0x00007f705e64ec2c in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007f705e64ed59 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007f7059a4fefc in start_thread (arg=0x7f7048082700) at
pthread_create.c:304
#4  0x00007f705f35c89d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#5  0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7f7047769700 (LWP 2002)):
#0  0x00007f7059237066 in __GI_clock_gettime (clock_id=1, tp=0x7f7047768b70) at
../sysdeps/unix/clock_gettime.c:116
#1  0x00007f70606d6074 in do_gettime (frac=0x7f7047768b88, sec=0x7f7047768b80)
at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x00007f70607986ed in QTimerInfoList::updateCurrentTime (this=0x902b40) at
kernel/qeventdispatcher_unix.cpp:339
#4  0x00007f7060798a33 in QTimerInfoList::timerWait (this=0x902b40, tm=...) at
kernel/qeventdispatcher_unix.cpp:442
#5  0x00007f706079744c in timerSourcePrepareHelper (src=<optimized out>,
timeout=0x7f7047768c4c) at kernel/qeventdispatcher_glib.cpp:136
#6  0x00007f7058f80ff2 in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#7  0x00007f7058f81dfd in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#8  0x00007f7058f82429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#9  0x00007f7060797f3e in QEventDispatcherGlib::processEvents (this=0x902d20,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#10 0x00007f706076bcf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#11 0x00007f706076bef7 in QEventLoop::exec (this=0x7f7047768de0, flags=...) at
kernel/qeventloop.cpp:201
#12 0x00007f706068327f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#13 0x00007f7060685d05 in QThreadPrivate::start (arg=0x901810) at
thread/qthread_unix.cpp:331
#14 0x00007f7059a4fefc in start_thread (arg=0x7f7047769700) at
pthread_create.c:304
#15 0x00007f705f35c89d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#16 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7f6ffc744700 (LWP 2016)):
#0  0x00007f705f350773 in __GI___poll (fds=<optimized out>, nfds=<optimized
out>, timeout=<optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007f7058f81f68 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f7058f82429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f7060797f3e in QEventDispatcherGlib::processEvents (this=0xe12e00,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007f706076bcf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f706076bef7 in QEventLoop::exec (this=0x7f6ffc743db0, flags=...) at
kernel/qeventloop.cpp:201
#6  0x00007f706068327f in QThread::exec (this=<optimized out>) at
thread/qthread.cpp:498
#7  0x00007f706074ecbf in QInotifyFileSystemWatcherEngine::run (this=0xce41a0)
at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f7060685d05 in QThreadPrivate::start (arg=0xce41a0) at
thread/qthread_unix.cpp:331
#9  0x00007f7059a4fefc in start_thread (arg=0x7f6ffc744700) at
pthread_create.c:304
#10 0x00007f705f35c89d in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f7061dfb7a0 (LWP 2000)):
[KCrash Handler]
#6  ref (this=0x1) at /usr/include/qt4/QtCore/qatomic_x86_64.h:121
#7  QByteArray (a=..., this=0x7fffb59a0c70) at
/usr/include/qt4/QtCore/qbytearray.h:422
#8  MarkAsCommand::markMessages (this=0x9bf6360) at
../../../akonadi/kmime/markascommand.cpp:105
#9  0x00007f7005700080 in MarkAsCommand::slotFetchDone (this=0x9bf6360,
job=<optimized out>) at ../../../akonadi/kmime/markascommand.cpp:75
#10 0x00007f7005700220 in MarkAsCommand::qt_metacall (this=0x9bf6360,
_c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x7fffb59a0e50) at
./markascommand_p.moc:74
#11 0x00007f706077feba in QMetaObject::activate (sender=0x4985630, m=<optimized
out>, local_signal_index=<optimized out>, argv=0x7fffb59a0e50) at
kernel/qobject.cpp:3278
#12 0x00007f7060bd21d2 in KJob::result (this=<optimized out>, _t1=0x4985630) at
./kjob.moc:194
#13 0x00007f7060bd2210 in KJob::emitResult (this=0x4985630) at
../../kdecore/jobs/kjob.cpp:312
#14 0x00007f705c17ff4d in Akonadi::Job::qt_metacall (this=0x4985630,
_c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x4985e10) at
./job.moc:91
#15 0x00007f705c16d745 in Akonadi::ItemFetchJob::qt_metacall (this=0x4985630,
_c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0x4985e10) at
./itemfetchjob.moc:73
#16 0x00007f7060783a5e in QObject::event (this=0x4985630, e=<optimized out>) at
kernel/qobject.cpp:1217
#17 0x00007f705fb1d424 in notify_helper (e=0x1c2d4e0, receiver=0x4985630,
this=0x736390) at kernel/qapplication.cpp:4486
#18 QApplicationPrivate::notify_helper (this=0x736390, receiver=0x4985630,
e=0x1c2d4e0) at kernel/qapplication.cpp:4458
#19 0x00007f705fb22291 in QApplication::notify (this=0x7fffb59a16d0,
receiver=0x4985630, e=0x1c2d4e0) at kernel/qapplication.cpp:4365
#20 0x00007f70611a21e6 in KApplication::notify (this=0x7fffb59a16d0,
receiver=0x4985630, event=0x1c2d4e0) at ../../kdeui/kernel/kapplication.cpp:311
#21 0x00007f706076cafc in QCoreApplication::notifyInternal
(this=0x7fffb59a16d0, receiver=0x4985630, event=0x1c2d4e0) at
kernel/qcoreapplication.cpp:787
#22 0x00007f706077051f in sendEvent (event=0x1c2d4e0, receiver=0x4985630) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0,
data=0x7048e0) at kernel/qcoreapplication.cpp:1428
#24 0x00007f7060797a73 in sendPostedEvents () at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#25 postEventSourceDispatch (s=<optimized out>) at
kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f7058f81a5d in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#27 0x00007f7058f82258 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#28 0x00007f7058f82429 in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#29 0x00007f7060797ed6 in QEventDispatcherGlib::processEvents (this=0x705fd0,
flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#30 0x00007f705fbc507e in QGuiEventDispatcherGlib::processEvents
(this=<optimized out>, flags=<optimized out>) at
kernel/qguieventdispatcher_glib.cpp:204
#31 0x00007f706076bcf2 in QEventLoop::processEvents (this=<optimized out>,
flags=...) at kernel/qeventloop.cpp:149
#32 0x00007f706076bef7 in QEventLoop::exec (this=0x7fffb59a1660, flags=...) at
kernel/qeventloop.cpp:201
#33 0x00007f7060770789 in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1064
#34 0x0000000000403629 in main (argc=1, argv=0x7fffb59a1cf8) at
../../../kontact/src/main.cpp:218

Possible duplicates by query: bug 283272, bug 279609, bug 258041.

Reported using DrKonqi

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Kdepim-bugs mailing list