Bug 363764

Summary: Kontact crash down on tasks page
Product: [Applications] kontact Reporter: Vitex <vitex>
Component: generalAssignee: kdepim bugs <kdepim-bugs>
Status: RESOLVED UNMAINTAINED    
Severity: crash CC: dvratil
Priority: NOR Keywords: drkonqi
Version: unspecified   
Target Milestone: ---   
Platform: Debian stable   
OS: Linux   
Latest Commit: Version Fixed In:

Description Vitex 2016-06-01 00:05:20 UTC
Application: kontact (4.14.1)
KDE Platform Version: 4.14.2
Qt Version: 4.8.6
Operating System: Linux 4.5.0-0.bpo.2-amd64 x86_64
Distribution: Debian GNU/Linux 8.4 (jessie)

-- Information about the crash:
Po přidání 
https://github.com/nefaste/akonadi_redmine_resource
a napojení na redmine se stahly tasky a issues.
Bylo jich nekolik set.

-- Backtrace:
Application: Kontact (kontact), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fbe01935800 (LWP 2768))]

Thread 5 (Thread 0x7fbde1d13700 (LWP 2772)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbdfc5cc06f in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fbdfc5cc0a9 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fbdf8b5b0a4 in start_thread (arg=0x7fbde1d13700) at pthread_create.c:309
#4  0x00007fbdfedf287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 4 (Thread 0x7fbda13f8700 (LWP 2775)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbdfc2ee973 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#2  0x00007fbdfc5fb7f6 in ?? () from /usr/lib/x86_64-linux-gnu/libQtWebKit.so.4
#3  0x00007fbdf8b5b0a4 in start_thread (arg=0x7fbda13f8700) at pthread_create.c:309
#4  0x00007fbdfedf287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 3 (Thread 0x7fbd91682700 (LWP 2786)):
#0  0x00007fbdfede9d3d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fbdf8673ee4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fbdf8673ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fbdff575d37 in QEventDispatcherGlib::processEvents (this=0x7fbd8c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fbdff545271 in QEventLoop::processEvents (this=this@entry=0x7fbd91681dd0, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fbdff5455d5 in QEventLoop::exec (this=this@entry=0x7fbd91681dd0, flags=...) at kernel/qeventloop.cpp:204
#6  0x00007fbdff439e99 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:538
#7  0x00007fbdff43c70f in QThreadPrivate::start (arg=0x22541d0) at thread/qthread_unix.cpp:349
#8  0x00007fbdf8b5b0a4 in start_thread (arg=0x7fbd91682700) at pthread_create.c:309
#9  0x00007fbdfedf287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 2 (Thread 0x7fbd85067700 (LWP 3339)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fbd980c4dea in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#2  0x00007fbd980c4e19 in ?? () from /usr/lib/x86_64-linux-gnu/libQtScript.so.4
#3  0x00007fbdf8b5b0a4 in start_thread (arg=0x7fbd85067700) at pthread_create.c:309
#4  0x00007fbdfedf287d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:111

Thread 1 (Thread 0x7fbe01935800 (LWP 2768)):
[KCrash Handler]
#6  QApplication::notify (this=this@entry=0x7ffce1da0ac0, receiver=receiver@entry=0x3f249e0, e=e@entry=0x7ffce1da0290) at kernel/qapplication.cpp:4097
#7  0x00007fbe00cdd1aa in KApplication::notify (this=0x7ffce1da0ac0, receiver=0x3f249e0, event=0x7ffce1da0290) at ../../kdeui/kernel/kapplication.cpp:311
#8  0x00007fbdff54671d in QCoreApplication::notifyInternal (this=0x7ffce1da0ac0, receiver=receiver@entry=0x3f249e0, event=event@entry=0x7ffce1da0290) at kernel/qcoreapplication.cpp:955
#9  0x00007fbdfff6b76f in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#10 QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x3f249e0, event=event@entry=0x7ffce1da0290, alienWidget=alienWidget@entry=0x3f249e0, nativeWidget=nativeWidget@entry=0x3073a40, buttonDown=buttonDown@entry=0x7fbe00a8a538 <qt_button_down>, lastMouseReceiver=..., spontaneous=true) at kernel/qapplication.cpp:3178
#11 0x00007fbdfffe2432 in QETWidget::translateMouseEvent (this=this@entry=0x3073a40, event=event@entry=0x7ffce1da05f0) at kernel/qapplication_x11.cpp:4540
#12 0x00007fbdfffe0e2c in QApplication::x11ProcessEvent (this=0x7ffce1da0ac0, event=event@entry=0x7ffce1da05f0) at kernel/qapplication_x11.cpp:3663
#13 0x00007fbe00009ed2 in x11EventSourceDispatch (s=0x20e98e0, callback=0x0, user_data=0x0) at kernel/qguieventdispatcher_glib.cpp:146
#14 0x00007fbdf8673c5d in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#15 0x00007fbdf8673f48 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#16 0x00007fbdf8673ffc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#17 0x00007fbdff575d1d in QEventDispatcherGlib::processEvents (this=0x2088bf0, flags=...) at kernel/qeventdispatcher_glib.cpp:425
#18 0x00007fbe00009f96 in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#19 0x00007fbdff545271 in QEventLoop::processEvents (this=this@entry=0x7ffce1da09d0, flags=...) at kernel/qeventloop.cpp:149
#20 0x00007fbdff5455d5 in QEventLoop::exec (this=this@entry=0x7ffce1da09d0, flags=...) at kernel/qeventloop.cpp:204
#21 0x00007fbdff54b059 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1227
#22 0x0000000000403509 in ?? ()
#23 0x00007fbdfed2bb45 in __libc_start_main (main=0x402c20, argc=1, argv=0x7ffce1da0c18, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffce1da0c08) at libc-start.c:287
#24 0x00000000004039a1 in _start ()

The reporter indicates this bug may be a duplicate of or related to bug 362282.

Possible duplicates by query: bug 363687, bug 363603, bug 363579, bug 363431, bug 363396.

Reported using DrKonqi
Comment 1 Daniel Vrátil 2016-06-04 10:47:19 UTC
(příště prosím anglicky, klidně stačí přes Google Translate. Ne všichni vývojáři kteří čtou bugy umí česky :-)

Díky za report, bohužel v tomhle nevidím nic, co by nějak přímo souviselo s kódem v KMailu. Může to být chyba v Qt4 nebo KDE4, kterou už neopravíme, protože to jsou nepodporované verze. Ta chyba vypadá, že je kvůli ikonce KMailu v systray, ale v Plasmě 5 už je systray implementovaný jinak, takže tenhle pád tam nastat nemůže. 

//

Unfortunately nothing seemingly related to KMail code, could be something in Qt4/KDE4 code that's not gonna be fixed as both are no longer maintained.

QETWidget was used for XEmbed widgets, which is how systray was implemented in KDE4 - I suspect that something went wrong there and caused us to crash due to our systray icon. We don't use that mechanism at all in Plasma 5, so I guess there's no point investigating further.