Bug 383111

Summary: Memory leak and eventual plasma crashes
Product: [Plasma] plasmashell Reporter: tanjoodo
Component: generalAssignee: David Edmundson <kde>
Status: RESOLVED DUPLICATE    
Severity: crash CC: plasma-bugs
Priority: NOR Keywords: drkonqi
Version: 5.10.4   
Target Milestone: 1.0   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description tanjoodo 2017-08-04 09:14:01 UTC
Application: plasmashell (5.10.4)

Qt Version: 5.9.1
Frameworks Version: 5.36.0
Operating System: Linux 4.12.3-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- Unusual behavior I noticed:
Memory leaking that can't be detected through KSysGuard or top and even checked if it was Linux file caching. 

I suspect it's the open source radeon drivers. (I have a 7950).

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f9f30f8cc80 (LWP 697))]

Thread 14 (Thread 0x7f9e4b645700 (LWP 1462)):
#0  0x00007f9f2a517bad in read () at /usr/lib/libc.so.6
#1  0x00007f9f1e794f51 in pa_read () at /usr/lib/pulseaudio/libpulsecommon-10.0.so
#2  0x00007f9f1f03a30e in pa_mainloop_prepare () at /usr/lib/libpulse.so.0
#3  0x00007f9f1f03ad80 in pa_mainloop_iterate () at /usr/lib/libpulse.so.0
#4  0x00007f9f1f03ae40 in pa_mainloop_run () at /usr/lib/libpulse.so.0
#5  0x00007f9f1f048e29 in  () at /usr/lib/libpulse.so.0
#6  0x00007f9f1e7c3fe8 in  () at /usr/lib/pulseaudio/libpulsecommon-10.0.so
#7  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#8  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 13 (Thread 0x7f9e73d65700 (LWP 1353)):
#0  0x00007f9f24e34031 in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#1  0x00007f9f24e34b3b in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f9f24e34d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f9f2ae50084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f9f2adf3ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f9f2ac0d40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f9f2dd961d5 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f9f2ac1215b in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 12 (Thread 0x7f9e74566700 (LWP 929)):
#0  0x00007f9f24e3407b in g_main_context_prepare () at /usr/lib/libglib-2.0.so.0
#1  0x00007f9f24e34b3b in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f9f24e34d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f9f2ae50084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f9f2adf3ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f9f2ac0d40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f9f2e94e8d6 in  () at /usr/lib/libQt5Quick.so.5
#7  0x00007f9f2ac1215b in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 11 (Thread 0x7f9e79404700 (LWP 925)):
#0  0x00007f9f29ddf1ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f9f047f850c in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007f9f047f8218 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 10 (Thread 0x7f9e79c05700 (LWP 924)):
#0  0x00007f9f29ddf1ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f9f047f850c in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007f9f047f8218 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 9 (Thread 0x7f9e7a406700 (LWP 923)):
#0  0x00007f9f29ddf1ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f9f047f850c in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007f9f047f8218 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 8 (Thread 0x7f9e7ac07700 (LWP 922)):
#0  0x00007f9f29ddf1ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f9f047f850c in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007f9f047f8218 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 7 (Thread 0x7f9e7b60d700 (LWP 921)):
#0  0x00007f9f29ddf1ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f9f047f850c in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007f9f047f8218 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 6 (Thread 0x7f9e7bf4f700 (LWP 920)):
#0  0x00007f9f29ddf1ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f9f047f850c in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#2  0x00007f9f047f8218 in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#3  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 5 (Thread 0x7f9f06da4700 (LWP 919)):
#0  0x00007f9f29ddf1ad in pthread_cond_wait@@GLIBC_2.3.2 () at /usr/lib/libpthread.so.0
#1  0x00007f9f30669b04 in  () at /usr/lib/libQt5Script.so.5
#2  0x00007f9f30669b49 in  () at /usr/lib/libQt5Script.so.5
#3  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#4  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 4 (Thread 0x7f9f10f5e700 (LWP 918)):
#0  0x00007f9f2a517bad in read () at /usr/lib/libc.so.6
#1  0x00007f9f24e78730 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f9f24e346eb in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007f9f24e34bb0 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007f9f24e34d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007f9f2ae50084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007f9f2adf3ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007f9f2ac0d40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007f9f2dd961d5 in  () at /usr/lib/libQt5Qml.so.5
#9  0x00007f9f2ac1215b in  () at /usr/lib/libQt5Core.so.5
#10 0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#11 0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 3 (Thread 0x7f9f133ea700 (LWP 868)):
#0  0x00007f9f2a51be9d in poll () at /usr/lib/libc.so.6
#1  0x00007f9f24e34c09 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f9f24e34d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f9f2ae50084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f9f2adf3ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f9f2ac0d40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f9f2dd961d5 in  () at /usr/lib/libQt5Qml.so.5
#7  0x00007f9f2ac1215b in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7f9f18f66700 (LWP 800)):
#0  0x00007f9f2a51be9d in poll () at /usr/lib/libc.so.6
#1  0x00007f9f24e34c09 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007f9f24e34d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007f9f2ae50084 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007f9f2adf3ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007f9f2ac0d40e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007f9f2b26f396 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007f9f2ac1215b in  () at /usr/lib/libQt5Core.so.5
#8  0x00007f9f29dd9049 in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007f9f2a525f0f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7f9f30f8cc80 (LWP 697)):
[KCrash Handler]
#5  0x00007f9f046e6eed in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#6  0x00007f9f046e5a8c in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#7  0x00007f9f046ed82a in  () at /usr/lib/xorg/modules/dri/radeonsi_dri.so
#8  0x00007f9f2e98f408 in QSGBatchRenderer::Renderer::renderBatches() () at /usr/lib/libQt5Quick.so.5
#9  0x00007f9f2e994d44 in QSGBatchRenderer::Renderer::render() () at /usr/lib/libQt5Quick.so.5
#10 0x00007f9f2e9856ed in QSGRenderer::renderScene(QSGBindable const&) () at /usr/lib/libQt5Quick.so.5
#11 0x00007f9f2e985bab in QSGRenderer::renderScene(unsigned int) () at /usr/lib/libQt5Quick.so.5
#12 0x00007f9f2e9bff50 in QSGDefaultRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /usr/lib/libQt5Quick.so.5
#13 0x00007f9f2ea1c948 in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /usr/lib/libQt5Quick.so.5
#14 0x00007f9f2e9b23a9 in  () at /usr/lib/libQt5Quick.so.5
#15 0x00007f9f2ea26bd6 in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#16 0x000000fa0fbaca8e in  ()
#17 0x00007f9f2bda7e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#18 0x00007f9f2bdaf926 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#19 0x00007f9f2adf5bd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#20 0x00007f9f2b5ef293 in QWindowPrivate::deliverUpdateRequest() () at /usr/lib/libQt5Gui.so.5
#21 0x00007f9f2b5ef7bb in QWindow::event(QEvent*) () at /usr/lib/libQt5Gui.so.5
#22 0x00007f9f2ea26b75 in QQuickWindow::event(QEvent*) () at /usr/lib/libQt5Quick.so.5
#23 0x000000fa0fbaca8e in  ()
#24 0x00007f9f2bda7e4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007f9f2bdaf926 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007f9f2adf5bd0 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#27 0x00007f9f2ae4f4a8 in QTimerInfoList::activateTimers() () at /usr/lib/libQt5Core.so.5
#28 0x00007f9f2ae4fcda in  () at /usr/lib/libQt5Core.so.5
#29 0x00007f9f24e34a57 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#30 0x00007f9f24e34c88 in  () at /usr/lib/libglib-2.0.so.0
#31 0x00007f9f24e34d1c in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#32 0x00007f9f2ae50061 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#33 0x00007f9f2adf3ffb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#34 0x00007f9f2adfd048 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#35 0x000000fa0fb9c73b in  ()
#36 0x00007f9f2a4584ca in __libc_start_main () at /usr/lib/libc.so.6
#37 0x000000fa0fb9cada in _start ()

Reported using DrKonqi
Comment 1 David Edmundson 2017-08-04 09:28:37 UTC

*** This bug has been marked as a duplicate of bug 381000 ***