Bug 354146 - Crash in st_clear
Summary: Crash in st_clear
Status: RESOLVED DUPLICATE of bug 371275
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.4.1
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
: 353763 354580 377984 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-10-20 20:33 UTC by colin
Modified: 2017-06-26 13:49 UTC (History)
11 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.55 KB, text/plain)
2015-10-30 07:52 UTC, Miroslav Suchy
Details
New crash information added by DrKonqi (8.59 KB, text/plain)
2015-11-04 10:54 UTC, colin
Details
New crash information added by DrKonqi (9.10 KB, text/plain)
2015-11-17 20:07 UTC, Thekla Damaschke
Details

Note You need to log in before you can comment on or make changes to this bug.
Description colin 2015-10-20 20:33:51 UTC
Application: plasmashell (5.4.1)

Qt Version: 5.5.0
Operating System: Linux 4.2.3-200.fc22.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
started up Pc then logged in

- Unusual behavior I noticed:
It is unusual that a KDE Desktop has been so unstable. <sigh>
F22 KDE is nearly unuseable. <sigh>

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

Thread 9 (Thread 0x7fd802bbe700 (LWP 1451)):
#0  0x00007fd81a58d2fd in poll () at /lib64/libc.so.6
#1  0x00007fd8209c7182 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007fd8209c8c77 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007fd804b3f999 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007fd81b19954e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007fd81923d555 in start_thread () at /lib64/libpthread.so.0
#6  0x00007fd81a598b9d in clone () at /lib64/libc.so.6

Thread 8 (Thread 0x7fd7fbfff700 (LWP 1872)):
#0  0x00007fd81a588fad in read () at /lib64/libc.so.6
#1  0x00007fd815788b00 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007fd8157448b4 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007fd815744d60 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007fd815744ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007fd81b3d0dab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fd81b377daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007fd81b1945a4 in QThread::exec() () at /lib64/libQt5Core.so.5
#8  0x00007fd81f45c245 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#9  0x00007fd81b19954e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#10 0x00007fd81923d555 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fd81a598b9d in clone () at /lib64/libc.so.6

Thread 7 (Thread 0x7fd7f89c9700 (LWP 1884)):
#0  0x00007fd819242540 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fd7f9ca96da in radeon_drm_cs_emit_ioctl () at /usr/lib64/dri/r600_dri.so
#2  0x00007fd7f9ca8e37 in impl_thrd_routine () at /usr/lib64/dri/r600_dri.so
#3  0x00007fd81923d555 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fd81a598b9d in clone () at /lib64/libc.so.6

Thread 6 (Thread 0x7fd7f08b9700 (LWP 1888)):
#0  0x00007fd81a588fd2 in read () at /lib64/libc.so.6
#1  0x00007fd815788b00 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007fd8157448b4 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007fd815744d60 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007fd815744ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007fd81b3d0dab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fd81b377daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007fd81b1945a4 in QThread::exec() () at /lib64/libQt5Core.so.5
#8  0x00007fd81f45c245 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#9  0x00007fd81b19954e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#10 0x00007fd81923d555 in start_thread () at /lib64/libpthread.so.0
#11 0x00007fd81a598b9d in clone () at /lib64/libc.so.6

Thread 5 (Thread 0x7fd7eac7c700 (LWP 1952)):
#0  0x00007fd815789ee7 in g_mutex_unlock () at /lib64/libglib-2.0.so.0
#1  0x00007fd815744350 in g_main_context_prepare () at /lib64/libglib-2.0.so.0
#2  0x00007fd815744ceb in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007fd815744ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007fd81b3d0dab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fd81b377daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fd81b1945a4 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007fd81f45c245 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#8  0x00007fd81b19954e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007fd81923d555 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fd81a598b9d in clone () at /lib64/libc.so.6

Thread 4 (Thread 0x7fd7e940b700 (LWP 1956)):
#0  0x00007fd819242540 in pthread_cond_wait@@GLIBC_2.3.2 () at /lib64/libpthread.so.0
#1  0x00007fd822296494 in QTWTF::TCMalloc_PageHeap::scavengerThread() () at /lib64/libQt5Script.so.5
#2  0x00007fd8222964d9 in  () at /lib64/libQt5Script.so.5
#3  0x00007fd81923d555 in start_thread () at /lib64/libpthread.so.0
#4  0x00007fd81a598b9d in clone () at /lib64/libc.so.6

Thread 3 (Thread 0x7fd761bcd700 (LWP 1979)):
#0  0x00007fd815789ec9 in g_mutex_lock () at /lib64/libglib-2.0.so.0
#1  0x00007fd815744581 in g_main_context_query () at /lib64/libglib-2.0.so.0
#2  0x00007fd815744d37 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007fd815744ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007fd81b3d0dab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fd81b377daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fd81b1945a4 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007fd81ffff616 in QQuickPixmapReader::run() () at /lib64/libQt5Quick.so.5
#8  0x00007fd81b19954e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007fd81923d555 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fd81a598b9d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7fd755c5d700 (LWP 1985)):
#0  0x00007fd81a5a664f in __libc_enable_asynccancel () at /lib64/libc.so.6
#1  0x00007fd81a58d2f2 in poll () at /lib64/libc.so.6
#2  0x00007fd815744dbc in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#3  0x00007fd815744ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#4  0x00007fd81b3d0dab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#5  0x00007fd81b377daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007fd81b1945a4 in QThread::exec() () at /lib64/libQt5Core.so.5
#7  0x00007fd7578ac397 in KCupsConnection::run() () at /lib64/libkcupslib.so
#8  0x00007fd81b19954e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#9  0x00007fd81923d555 in start_thread () at /lib64/libpthread.so.0
#10 0x00007fd81a598b9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7fd822b76900 (LWP 1439)):
[KCrash Handler]
#5  0x00007fd7f9827b49 in update_framebuffer_state () at /usr/lib64/dri/r600_dri.so
#6  0x00007fd7f9826c65 in st_validate_state () at /usr/lib64/dri/r600_dri.so
#7  0x00007fd7f982d9d1 in st_Clear () at /usr/lib64/dri/r600_dri.so
#8  0x00007fd82002f3fa in QSGBatchRenderer::Renderer::renderBatches() () at /lib64/libQt5Quick.so.5
#9  0x00007fd820034de2 in QSGBatchRenderer::Renderer::render() () at /lib64/libQt5Quick.so.5
#10 0x00007fd820040adf in QSGRenderer::renderScene(QSGBindable const&) () at /lib64/libQt5Quick.so.5
#11 0x00007fd82004132b in QSGRenderer::renderScene(unsigned int) () at /lib64/libQt5Quick.so.5
#12 0x00007fd82005171e in QSGRenderContext::renderNextFrame(QSGRenderer*, unsigned int) () at /lib64/libQt5Quick.so.5
#13 0x00007fd82009b65b in QQuickWindowPrivate::renderSceneGraph(QSize const&) () at /lib64/libQt5Quick.so.5
#14 0x00007fd82006c01b in QSGGuiThreadRenderLoop::renderWindow(QQuickWindow*) () at /lib64/libQt5Quick.so.5
#15 0x00007fd82006d121 in QSGGuiThreadRenderLoop::event(QEvent*) () at /lib64/libQt5Quick.so.5
#16 0x00007fd81c9304ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#17 0x00007fd81c935976 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007fd81b37a61b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#19 0x00007fd81b3cfbad in QTimerInfoList::activateTimers() () at /lib64/libQt5Core.so.5
#20 0x00007fd81b3d00b1 in timerSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#21 0x00007fd815744a8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#22 0x00007fd815744e20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#23 0x00007fd815744ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#24 0x00007fd81b3d0d8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#25 0x00007fd81b377daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#26 0x00007fd81b37fe6c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#27 0x00000000004302c3 in main ()

Possible duplicates by query: bug 353763, bug 352826.

Reported using DrKonqi
Comment 1 David Edmundson 2015-10-29 21:41:03 UTC
*** Bug 354580 has been marked as a duplicate of this bug. ***
Comment 2 David Edmundson 2015-10-29 21:42:00 UTC
*** Bug 353763 has been marked as a duplicate of this bug. ***
Comment 3 Miroslav Suchy 2015-10-30 07:52:37 UTC
Created attachment 95218 [details]
New crash information added by DrKonqi

plasmashell (5.4.2) using Qt 5.5.0

- What I was doing when the application crashed:
logged in after cold boot up

- Custom settings of the application:
dual screen, displays rotated 90°

-- Backtrace (Reduced):
#5  0x00007f333a6df279 in update_framebuffer_state () from /usr/lib64/dri/r600_dri.so
#6  0x00007f333a6de1c5 in st_validate_state () from /usr/lib64/dri/r600_dri.so
#7  0x00007f333a6e52a1 in st_Clear () from /usr/lib64/dri/r600_dri.so
#8  0x00007f33612c03fa in QSGBatchRenderer::Renderer::renderBatches() () from /lib64/libQt5Quick.so.5
#9  0x00007f33612c5de2 in QSGBatchRenderer::Renderer::render() () from /lib64/libQt5Quick.so.5
Comment 4 colin 2015-11-02 11:12:42 UTC
So this crash happens multiple times.

This time crash reporter would not let me select my own bug report and proceed with it.

A further warning dialog later appeared eventually warning that some process ( maybe k5-init-something) had died.
  
I tried to copy-n-paste from there, but here is what was left in Clipboard.
/var/spool/abrt/ccpp-2015-11-02-11:03:52-2558

plasma is still unstable and nearly unuseable on Fedora22

 each login:
Sometimes a blank desktop (i.e. black - no desktop wallpaper)   
task bar location not preserved - it randomnly appears on left or right screen
window locations are lost.
open windows not restored.

rendering problems - flashing, blank areas , rectangles not updated
unwanted greying out, flickering 

etc. etc. etc.

:-(
Comment 5 colin 2015-11-04 10:54:14 UTC
Created attachment 95307 [details]
New crash information added by DrKonqi

plasmashell (5.4.2) using Qt 5.5.0

- What I was doing when the application crashed:

Colid boot. Logged in.
- Unusual behavior I noticed:

Dual screen setup-
very long pause whilst desktop wallpaper loading, black areas of non- rendered screen area.
very long delay to taskbar appearing- on the wrong screen.

-- Backtrace (Reduced):
#5  0x00007fbabc93db49 in update_framebuffer_state () at /usr/lib64/dri/r600_dri.so
#6  0x00007fbabc93cc65 in st_validate_state () at /usr/lib64/dri/r600_dri.so
#7  0x00007fbabc9439d1 in st_Clear () at /usr/lib64/dri/r600_dri.so
#8  0x00007fbae31253fa in QSGBatchRenderer::Renderer::renderBatches() () at /lib64/libQt5Quick.so.5
#9  0x00007fbae312ade2 in QSGBatchRenderer::Renderer::render() () at /lib64/libQt5Quick.so.5
Comment 6 David Edmundson 2015-11-06 01:34:42 UTC
Can someone with apitrace run:
apitrace trace plasmashell

and reproduce the crash, so we have something to send upstream to Mesa?

As a last resort, running with:
QT_XCB_FORCE_SOFTWARE_OPENGL=1
will almost certainly not crash, but will give worse performance

We've got a few bugs here now, but on different drivers.
Comment 7 Thekla Damaschke 2015-11-17 20:07:28 UTC
Created attachment 95571 [details]
New crash information added by DrKonqi

plasmashell (5.4.3) using Qt 5.5.0

kdeshell 5.4.3-1FC23 Qt 4.8.7-3fc23

- What I was doing when the application crashed:
login after cold boot

- Unusual behavior I noticed:
long boot time, black screen pauses. The login window spans 1.5 screens (using the bigger resolution but starting on the smaller screen) 
After login and initial KDE screeen long black screen then swaps between displays and flickering.
After the crash the screens are initailized but with wrong primary and all panels are on the primary overlapping each other.

On earlier reboots sometimes the secondary has no wallpaper and doesnt react on mouseclicks. 
Application windows can be dragged there though.
Often the panels end all up on primary.
Once I didnt get any panels or desktop content on any screen but context menu worked on primary.
Logging out and in again without reboot only gives a garbled desktop.

- Custom settings of the application:
dual screen with different resolution, selected screen on dvi2 as primary.

-- Backtrace (Reduced):
#5  0x00007f5deeb1c5e9 in update_framebuffer_state () from /usr/lib64/dri/nouveau_dri.so
#6  0x00007f5deeb1b535 in st_validate_state () from /usr/lib64/dri/nouveau_dri.so
#7  0x00007f5deeb22611 in st_Clear () from /usr/lib64/dri/nouveau_dri.so
#8  0x00007f5e156f03fa in QSGBatchRenderer::Renderer::renderBatches() () from /lib64/libQt5Quick.so.5
#9  0x00007f5e156f5de2 in QSGBatchRenderer::Renderer::render() () from /lib64/libQt5Quick.so.5
Comment 8 Jon Burgess 2015-11-17 20:27:48 UTC
I noticed this Mesa bug which has a similar back trace: https://bugs.freedesktop.org/show_bug.cgi?id=91687 

I haven't seen plasma crash since I disabled compositing so this could implicate indirect rendering.
Comment 9 Marius Cirsta 2016-05-18 20:21:16 UTC
 I just came across this one too but I'm not really sure how to reproduce it. Seems more or less random but this happened after an update.
Comment 10 David Edmundson 2017-04-04 14:40:24 UTC
*** Bug 377984 has been marked as a duplicate of this bug. ***
Comment 11 Marco Martin 2017-06-26 13:49:29 UTC

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