[Lucid] kontact / kmail hangs and then crashes

Bug #582982 reported by Rafal-maj-it
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kdepim (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: kontact

Application: kontact (4.4.2)
KDE Platform Version: 4.4.2 (KDE 4.4.2)
Qt Version: 4.6.2
Operating System: Linux 2.6.32-22-generic x86_64
Distribution: Ubuntu 10.04 LTS

-- Information about the crash:
I was typing a message in kmail, then it hanged, using 100% CPU. After around 30 seconds I straced it:

stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2679, ...}) = 0
in endless loop

Then I terminated the process and I got the kde crash:

 -- Backtrace:
Application: Kontact (kontact), signal: Aborted
[Current thread is 1 (Thread 0x7f325a662780 (LWP 21894))]

Thread 2 (Thread 0x7f3230e94710 (LWP 21909)):
#0 0x00007f3257743f53 in *__GI___poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#1 0x00007f32502784a9 in ?? () from /lib/libglib-2.0.so.0
#2 0x00007f32502788fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#3 0x00007f3258b2e566 in QEventDispatcherGlib::processEvents (this=0x1f04fb0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:414
#4 0x00007f3258b03992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#5 0x00007f3258b03d6c in QEventLoop::exec (this=0x7f3230e93d90, flags=) at kernel/qeventloop.cpp:201
#6 0x00007f3258a0dd59 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:487
#7 0x00007f3258ae4178 in QInotifyFileSystemWatcherEngine::run (this=0x1b52ba0) at io/qfilesystemwatcher_inotify.cpp:248
#8 0x00007f3258a10775 in QThreadPrivate::start (arg=0x1b52ba0) at thread/qthread_unix.cpp:248
#9 0x00007f32527ef9ca in start_thread (arg=<value optimized out>) at pthread_create.c:300
#10 0x00007f325775069d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f325a662780 (LWP 21894)):
[KCrash Handler]
#5 0x00007f325769da75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#6 0x00007f32576a15c0 in *__GI_abort () at abort.c:92
#7 0x00007f3258a08844 in qt_message_output (msgType=QtFatalMsg, buf=<value optimized out>) at global/qglobal.cpp:2250
#8 0x00007f3258a08a22 in qt_message (msgType=QtFatalMsg, msg=0x7f325964a4a8 "Fatal Error: Accessed global static '%s *%s()' after destruction. Defined at %s:%d", ap=0x7fff5d97fd10)
    at global/qglobal.cpp:2296
#9 0x00007f3258a08bd5 in qFatal (msg=0x5586 <Address 0x5586 out of bounds>) at global/qglobal.cpp:2479
#10 0x00007f32595c728f in KMainWindow::memberList() () from /usr/lib/libkdeui.so.5
#11 0x00007f32387475db in KMKernel::dumpDeadLetters() () from /usr/lib/libkmailprivate.so.4
#12 0x00007f3259561642 in KCrash::defaultCrashHandler(int) () from /usr/lib/libkdeui.so.5
#13 <signal handler called>
#14 0x00007f325769da75 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#15 0x00007f32576a15c0 in *__GI_abort () at abort.c:92
#16 0x00007f32576d74fb in __libc_message (do_abort=<value optimized out>, fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:189
#17 0x00007f32576e15b6 in malloc_printerr (action=3, str=0x7f32577b34b8 "munmap_chunk(): invalid pointer", ptr=<value optimized out>) at malloc.c:6264
#18 0x00007f32580c89db in QX11PaintEnginePrivate::~QX11PaintEnginePrivate() () from /usr/lib/libQtGui.so.4
#19 0x00007f3258004d01 in QScopedPointerDeleter<QPaintEnginePrivate>::cleanup (this=0x3043350, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:62
#20 ~QScopedPointer (this=0x3043350, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qscopedpointer.h:100
#21 ~QPaintEngine (this=0x3043350, __in_chrg=<value optimized out>) at painting/qpaintengine.cpp:722
#22 0x00007f32580bdea0 in ~QX11PaintEngine (this=0x3043350, __in_chrg=<value optimized out>) at painting/qpaintengine_x11.cpp:469
#23 0x00007f3257fb3868 in QX11PixmapData::release (this=0x339a4f0) at image/qpixmap_x11.cpp:1243
#24 0x00007f3257fb409a in ~QX11PixmapData (this=0x339a4f0, __in_chrg=<value optimized out>) at image/qpixmap_x11.cpp:1238
#25 0x00007f3257fa1e69 in ~QExplicitlySharedDataPointer (this=0x2f17508, __in_chrg=<value optimized out>) at ../../include/QtCore/../../src/corelib/tools/qshareddata.h:159
#26 ~QPixmap (this=0x2f17508, __in_chrg=<value optimized out>) at image/qpixmap.cpp:323
#27 0x00007f323fa983b5 in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#28 0x00007f323fa983fe in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#29 0x00007f323faabdef in ?? () from /usr/lib/kde4/plugins/styles/oxygen.so
#30 0x00007f32576a3262 in __run_exit_handlers (status=1) at exit.c:78
#31 *__GI_exit (status=1) at exit.c:100
#32 0x00007f32479ac476 in ?? () from /usr/lib/libgdk-x11-2.0.so.0
#33 0x00007f32594ed288 in KApplication::xioErrhandler(_XDisplay*) () from /usr/lib/libkdeui.so.5
#34 0x00007f3251e767fe in _XIOError () from /usr/lib/libX11.so.6
#35 0x00007f3251e7e355 in ?? () from /usr/lib/libX11.so.6
#36 0x00007f3251e7ec07 in _XEventsQueued () from /usr/lib/libX11.so.6
#37 0x00007f3251e6740b in XEventsQueued () from /usr/lib/libX11.so.6
#38 0x00007f3257f6e697 in x11EventSourcePrepare (s=0xea1df0, timeout=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:79
#39 0x00007f3250277eb1 in g_main_context_prepare () from /lib/libglib-2.0.so.0
#40 0x00007f3250278318 in ?? () from /lib/libglib-2.0.so.0
#41 0x00007f32502788fc in g_main_context_iteration () from /lib/libglib-2.0.so.0
#42 0x00007f3258b2e513 in QEventDispatcherGlib::processEvents (this=0xe6fd70, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:412
#43 0x00007f3257f6e46e in QGuiEventDispatcherGlib::processEvents (this=0x5586, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#44 0x00007f3258b03992 in QEventLoop::processEvents (this=<value optimized out>, flags=) at kernel/qeventloop.cpp:149
#45 0x00007f3258b03d6c in QEventLoop::exec (this=0x7fff5d981450, flags=) at kernel/qeventloop.cpp:201
#46 0x00007f3258b07aab in QCoreApplication::exec () at kernel/qcoreapplication.cpp:981
#47 0x0000000000403e8e in _start ()

Report to https://bugs.kde.org

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Hi there!

Thanks for reporting this bug! Your bug seems to be a problem with the KDE program itself, and not with our KDE packages. But don't worry! This issue is being tracked by the KDE developers at: https://bugs.kde.org/show_bug.cgi?id=226282
Once fixed in KDE, it will be included in Kubuntu once the KDE version the fix is in in reaches Kubuntu.

Thanks!

Changed in kdepim (Ubuntu):
status: New → Invalid
Revision history for this message
Rafal-maj-it (rafal-maj-it) wrote :

How you know it's not a problem with the unwanted stuff that Ubuntu adds since Lucid, like nepomuk and other such things, or their config or packaing?

Changed in kdepim (Ubuntu):
status: Invalid → New
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Nepomuk is not Ubuntu-specific. Also, our kdepim packages do not have any patches in the code that is crashing here.

Changed in kdepim (Ubuntu):
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.