Bug 358419

Summary: Dolphin crash when computer left unattended
Product: [Applications] dolphin Reporter: Yözen Hernández <yzhernand>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: crash CC: asturm, elvis.angelaccio, irvingr
Priority: NOR Keywords: drkonqi
Version First Reported In: 15.08.2   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: dolphin-20160202-020010.kcrash.txt

Description Yözen Hernández 2016-01-23 12:21:19 UTC
Application: dolphin (15.08.2)

Qt Version: 5.5.1
Operating System: Linux 4.4.0-040400-generic x86_64
Distribution: Ubuntu 15.10

-- Information about the crash:
- What I was doing when the application crashed:
I had left the computer logged on, with Dolphin open, running overnight. When I checked my desktop in the morning, both plasmashell and dolphin had crashed. This has happened a few times already, with no noticable cause.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc14bb2a800 (LWP 24507))]

Thread 4 (Thread 0x7fc135ef2700 (LWP 24508)):
#0  0x00007fc14b5358dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc13fe6abd2 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007fc13fe6c74f in xcb_wait_for_event () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007fc13823f7e9 in QXcbEventReader::run (this=0x19314f0) at qxcbconnection.cpp:1229
#4  0x00007fc146305a6e in QThreadPrivate::start (arg=0x19314f0) at thread/qthread_unix.cpp:331
#5  0x00007fc14293f6aa in start_thread (arg=0x7fc135ef2700) at pthread_create.c:333
#6  0x00007fc14b540eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7fc12b962700 (LWP 24577)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007fc12f9a1213 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#2  0x00007fc12f9a0908 in ?? () from /usr/lib/x86_64-linux-gnu/dri/radeonsi_dri.so
#3  0x00007fc14293f6aa in start_thread (arg=0x7fc12b962700) at pthread_create.c:333
#4  0x00007fc14b540eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7fc127ee3700 (LWP 24597)):
#0  0x00007fc14b5358dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007fc1422091ec in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fc1422092fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fc14653d50b in QEventDispatcherGlib::processEvents (this=0x7fc1200008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007fc1464e450a in QEventLoop::exec (this=this@entry=0x7fc127ee2dc0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007fc146300ac4 in QThread::exec (this=<optimized out>) at thread/qthread.cpp:503
#6  0x00007fc146305a6e in QThreadPrivate::start (arg=0x1efd500) at thread/qthread_unix.cpp:331
#7  0x00007fc14293f6aa in start_thread (arg=0x7fc127ee3700) at pthread_create.c:333
#8  0x00007fc14b540eed in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7fc14bb2a800 (LWP 24507)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007fc138255718 in QXcbWindow::mapFromNative (this=<optimized out>, rect=..., screen=0x1934170) at qxcbwindow.cpp:204
#8  0x00007fc13825c40f in QXcbWindow::handleConfigureNotifyEvent (this=0x24ca870, event=<optimized out>) at qxcbwindow.cpp:2036
#9  0x00007fc1382435bd in QXcbConnection::handleXcbEvent (this=this@entry=0x191cd60, event=event@entry=0x7fc130024a30) at qxcbconnection.cpp:1058
#10 0x00007fc138244003 in QXcbConnection::processXcbEvents (this=0x191cd60) at qxcbconnection.cpp:1502
#11 0x00007fc1465167b1 in QObject::event (this=0x191cd60, e=<optimized out>) at kernel/qobject.cpp:1239
#12 0x00007fc146feb9dc in QApplicationPrivate::notify_helper (this=this@entry=0x1911320, receiver=receiver@entry=0x191cd60, e=e@entry=0x7fc1300247f0) at kernel/qapplication.cpp:3716
#13 0x00007fc146ff0ea6 in QApplication::notify (this=0x7fffe4a16810, receiver=0x191cd60, e=0x7fc1300247f0) at kernel/qapplication.cpp:3499
#14 0x00007fc1464e6d7b in QCoreApplication::notifyInternal (this=0x7fffe4a16810, receiver=0x191cd60, event=event@entry=0x7fc1300247f0) at kernel/qcoreapplication.cpp:965
#15 0x00007fc1464e9176 in QCoreApplication::sendEvent (event=0x7fc1300247f0, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#16 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x190f870) at kernel/qcoreapplication.cpp:1593
#17 0x00007fc1464e9658 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#18 0x00007fc14653d0e3 in postEventSourceDispatch (s=0x1971030) at kernel/qeventdispatcher_glib.cpp:271
#19 0x00007fc142208ff7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fc142209250 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#21 0x00007fc1422092fc in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#22 0x00007fc14653d4ef in QEventDispatcherGlib::processEvents (this=0x195c410, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#23 0x00007fc1464e450a in QEventLoop::exec (this=this@entry=0x7fffe4a166e0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#24 0x00007fc1464ec5ec in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#25 0x00007fc146a30d1c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1530
#26 0x00007fc146fe7e15 in QApplication::exec () at kernel/qapplication.cpp:2976
#27 0x00007fc14b8621c4 in kdemain (argc=1, argv=<optimized out>) at ../../src/main.cpp:146
#28 0x00007fc14b45aa40 in __libc_start_main (main=0x400730 <main(int, char**)>, argc=3, argv=0x7fffe4a16998, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffe4a16988) at libc-start.c:289
#29 0x0000000000400769 in _start ()

Reported using DrKonqi
Comment 1 Andreas Sturmlechner 2016-02-02 01:14:30 UTC
Created attachment 96970 [details]
dolphin-20160202-020010.kcrash.txt

Same just happened here while switching the monitor input source from DP to DVI (from production to test system).

At the same time, dmesg shows the following:

[18897.738773] [drm:intel_pipe_config_compare] *ERROR* mismatch in has_audio (expected 1, found 0)
[18897.738779] ------------[ cut here ]------------
[18897.738784] WARNING: CPU: 0 PID: 2599 at drivers/gpu/drm/i915/intel_display.c:12802 intel_atomic_commit+0xc75/0x1270()
[18897.738786] pipe state doesn't match!
[18897.738788] Modules linked in: videodev vboxpci(O) vboxnetadp(O) vboxnetflt(O) vboxdrv(O) fan snd_hda_codec_conexant snd_hda_codec_generic coretemp kvm_intel kvm irqbypass snd_hda_intel snd_hda_codec snd_hda_core snd_pcm snd_timer e1000e ptp pps_core thinkpad_acpi snd soundcore acpi_cpufreq
[18897.738811] CPU: 0 PID: 2599 Comm: X Tainted: G     U  W  O    4.4.0-gentoo #1
[18897.738813] Hardware name: LENOVO 7469CTO/7469CTO, BIOS 6DET70WW (3.20 ) 05/16/2011
[18897.738815]  ffffffff81a12a30 ffffffff812610dd ffff88022edb3bf0 ffffffff81048181
[18897.738819]  ffff880229ec1800 ffff88022edb3c40 ffff88021402f600 ffff8801fddb6800
[18897.738822]  0000000000000000 ffffffff810481fc ffffffff81a40cd4 ffff880200000018
[18897.738826] Call Trace:
[18897.738833]  [<ffffffff812610dd>] ? dump_stack+0x40/0x53
[18897.738837]  [<ffffffff81048181>] ? warn_slowpath_common+0x81/0xb0
[18897.738840]  [<ffffffff810481fc>] ? warn_slowpath_fmt+0x4c/0x50
[18897.738843]  [<ffffffff813c0315>] ? intel_atomic_commit+0xc75/0x1270
[18897.738847]  [<ffffffff813262a3>] ? drm_atomic_helper_check_planes+0x103/0x1a0
[18897.738851]  [<ffffffff81328042>] ? drm_atomic_helper_set_config+0x72/0xb0
[18897.738856]  [<ffffffff8169075e>] ? mutex_lock+0xe/0x2a
[18897.738860]  [<ffffffff81339aa0>] ? drm_mode_set_config_internal+0x60/0xf0
[18897.738863]  [<ffffffff8133d4d9>] ? drm_mode_setcrtc+0xe9/0x4f0
[18897.738867]  [<ffffffff8133021f>] ? drm_ioctl+0x21f/0x440
[18897.738870]  [<ffffffff8133d3f0>] ? drm_mode_setplane+0x1c0/0x1c0
[18897.738875]  [<ffffffff8115b78d>] ? do_vfs_ioctl+0x2bd/0x490
[18897.738878]  [<ffffffff8107cbc3>] ? percpu_up_read+0x13/0x40
[18897.738882]  [<ffffffff8114a87f>] ? vfs_write+0x12f/0x180
[18897.738885]  [<ffffffff8115b99b>] ? SyS_ioctl+0x3b/0x70
[18897.738888]  [<ffffffff816921d7>] ? entry_SYSCALL_64_fastpath+0x12/0x6a
[18897.738891] ---[ end trace de2bc8d7646d2385 ]---
Comment 2 Elvis Angelaccio 2016-12-24 16:40:24 UTC
*** Bug 367767 has been marked as a duplicate of this bug. ***
Comment 3 Elvis Angelaccio 2016-12-26 11:11:44 UTC
This is probably due to the old Qt version, given that xcb stuff is involved. Please reopen if you can reproduce with Qt >= 5.6.x