Bug 419599 - systemsettings5 crashes always
Summary: systemsettings5 crashes always
Status: RESOLVED UPSTREAM
Alias: None
Product: systemsettings
Classification: Applications
Component: general (show other bugs)
Version: 5.18.3
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-04-03 17:54 UTC by Mark van Rossum
Modified: 2020-04-04 12:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mark van Rossum 2020-04-03 17:54:17 UTC
Application: systemsettings5 (5.18.3)

Qt Version: 5.12.5
Frameworks Version: 5.68.0
Operating System: Linux 5.4.0-21-generic x86_64
Windowing system: X11
Distribution: Ubuntu Focal Fossa (development branch)

-- Information about the crash:
Hi 

systemsettings5 crashes always also on a new account.
THis is on Ubuntu Focal Fossa.

The crash can be reproduced every time.

-- Backtrace:
Application: System Settings (systemsettings5), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f159cd30800 (LWP 6082))]

Thread 8 (Thread 0x7f1586580700 (LWP 6091)):
#0  0x00007f15a0c3e9bf in __GI___poll (fds=0x7f15680029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f159ef191ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f15680029e0, timeout=<optimized out>, context=0x7f1568000c30) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f1568000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f159ef192e3 in g_main_context_iteration (context=0x7f1568000c30, may_block=1) at ../../../glib/gmain.c:4108
#4  0x00007f15a11d98c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f15a118082b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f15a0fb9775 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f15a026f3a9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#8  0x00007f15a0fba9c2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f159f7fd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f15a0c4b153 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 7 (Thread 0x7f15908dc700 (LWP 6090)):
#0  __GI___libc_read (nbytes=16, buf=0x7f15908dbb70, fd=15) at ../sysdeps/unix/sysv/linux/read.c:26
#1  __GI___libc_read (fd=15, buf=buf@entry=0x7f15908dbb70, nbytes=nbytes@entry=16) at ../sysdeps/unix/sysv/linux/read.c:24
#2  0x00007f159ef6189f in read (__nbytes=16, __buf=0x7f15908dbb70, __fd=<optimized out>) at /usr/include/x86_64-linux-gnu/bits/unistd.h:44
#3  g_wakeup_acknowledge (wakeup=0x7f158c0039a0) at ../../../glib/gwakeup.c:210
#4  0x00007f159ef18cfe in g_main_context_check (context=context@entry=0x7f1574000c30, max_priority=2147483647, fds=fds@entry=0x7f15740025e0, n_fds=n_fds@entry=1) at ../../../glib/gmain.c:3825
#5  0x00007f159ef19152 in g_main_context_iterate (context=context@entry=0x7f1574000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4044
#6  0x00007f159ef192e3 in g_main_context_iteration (context=0x7f1574000c30, may_block=1) at ../../../glib/gmain.c:4108
#7  0x00007f15a11d98c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#8  0x00007f15a118082b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f15a0fb9775 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007f15a026f3a9 in ?? () from /lib/x86_64-linux-gnu/libQt5Qml.so.5
#11 0x00007f15a0fba9c2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#12 0x00007f159f7fd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#13 0x00007f15a0c4b153 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 6 (Thread 0x7f1591980700 (LWP 6088)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559e437675d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559e43767588, cond=0x559e437675b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559e437675b0, mutex=0x559e43767588) at pthread_cond_wait.c:638
#3  0x00007f1592dff34b in cnd_wait (mtx=0x559e43767588, cond=0x559e437675b0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x559e4362e190) at ../src/util/u_queue.c:275
#5  0x00007f1592dfef5b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f159f7fd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f15a0c4b153 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 5 (Thread 0x7f1592181700 (LWP 6087)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559e437675d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559e43767588, cond=0x559e437675b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559e437675b0, mutex=0x559e43767588) at pthread_cond_wait.c:638
#3  0x00007f1592dff34b in cnd_wait (mtx=0x559e43767588, cond=0x559e437675b0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x559e434c2770) at ../src/util/u_queue.c:275
#5  0x00007f1592dfef5b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f159f7fd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f15a0c4b153 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 4 (Thread 0x7f1592982700 (LWP 6086)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559e437675d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559e43767588, cond=0x559e437675b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559e437675b0, mutex=0x559e43767588) at pthread_cond_wait.c:638
#3  0x00007f1592dff34b in cnd_wait (mtx=0x559e43767588, cond=0x559e437675b0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x559e435a6960) at ../src/util/u_queue.c:275
#5  0x00007f1592dfef5b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f159f7fd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f15a0c4b153 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 3 (Thread 0x7f1598f28700 (LWP 6085)):
#0  futex_wait_cancelable (private=<optimized out>, expected=0, futex_word=0x559e437675d8) at ../sysdeps/nptl/futex-internal.h:183
#1  __pthread_cond_wait_common (abstime=0x0, clockid=0, mutex=0x559e43767588, cond=0x559e437675b0) at pthread_cond_wait.c:508
#2  __pthread_cond_wait (cond=0x559e437675b0, mutex=0x559e43767588) at pthread_cond_wait.c:638
#3  0x00007f1592dff34b in cnd_wait (mtx=0x559e43767588, cond=0x559e437675b0) at ../include/c11/threads_posix.h:155
#4  util_queue_thread_func (input=input@entry=0x559e434c28a0) at ../src/util/u_queue.c:275
#5  0x00007f1592dfef5b in impl_thrd_routine (p=<optimized out>) at ../include/c11/threads_posix.h:87
#6  0x00007f159f7fd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#7  0x00007f15a0c4b153 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 2 (Thread 0x7f159acf9700 (LWP 6084)):
#0  0x00007f15a0c3e9bf in __GI___poll (fds=0x7f158c0029e0, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:29
#1  0x00007f159ef191ae in g_main_context_poll (priority=<optimized out>, n_fds=1, fds=0x7f158c0029e0, timeout=<optimized out>, context=0x7f158c000c30) at ../../../glib/gmain.c:4346
#2  g_main_context_iterate (context=context@entry=0x7f158c000c30, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4042
#3  0x00007f159ef192e3 in g_main_context_iteration (context=0x7f158c000c30, may_block=1) at ../../../glib/gmain.c:4108
#4  0x00007f15a11d98c3 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#5  0x00007f15a118082b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#6  0x00007f15a0fb9775 in QThread::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007f15a145befa in ?? () from /lib/x86_64-linux-gnu/libQt5DBus.so.5
#8  0x00007f15a0fba9c2 in ?? () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007f159f7fd609 in start_thread (arg=<optimized out>) at pthread_create.c:477
#10 0x00007f15a0c4b153 in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

Thread 1 (Thread 0x7f159cd30800 (LWP 6082)):
[KCrash Handler]
#6  0x00007f15934a31a8 in iris_resource_bo (p_res=0x0) at ../src/gallium/drivers/iris/iris_resource.h:290
#7  stream_state (batch=0x559e443b7650, uploader=<optimized out>, size=12, alignment=alignment@entry=64, out_offset=out_offset@entry=0x7ffde7f72aec, out_bo=out_bo@entry=0x0) at ../src/gallium/drivers/iris/iris_blorp.c:62
#8  0x00007f15934a42ab in blorp_alloc_dynamic_state (blorp_batch=0x7ffde7f73400, blorp_batch=0x7ffde7f73400, offset=0x7ffde7f72aec, alignment=64, size=<optimized out>) at ../src/gallium/drivers/iris/iris_blorp.c:138
#9  blorp_emit_blend_state (params=0x7ffde7f72ca0, batch=0x7ffde7f73400) at ../src/intel/blorp/blorp_genX_exec.h:1074
#10 blorp_emit_pipeline (params=0x7ffde7f72ca0, batch=0x7ffde7f73400) at ../src/intel/blorp/blorp_genX_exec.h:1265
#11 blorp_exec (params=<optimized out>, batch=0x7ffde7f73400) at ../src/intel/blorp/blorp_genX_exec.h:1968
#12 iris_blorp_exec (blorp_batch=0x7ffde7f73400, params=<optimized out>) at ../src/gallium/drivers/iris/iris_blorp.c:310
#13 0x00007f1593668674 in blorp_clear (batch=batch@entry=0x7ffde7f73400, surf=surf@entry=0x7ffde7f73430, format=ISL_FORMAT_B8G8R8X8_UNORM, swizzle=..., swizzle@entry=..., level=level@entry=0, start_layer=0, num_layers=1, x0=0, y0=0, x1=1024, y1=700, clear_color=..., color_write_disable=0x7ffde7f73420) at ../src/intel/blorp/blorp_clear.c:560
#14 0x00007f159347f7cd in clear_color (ice=ice@entry=0x559e443b70e0, p_res=<optimized out>, level=<optimized out>, box=box@entry=0x7ffde7f73520, render_condition_enabled=render_condition_enabled@entry=true, format=<optimized out>, swizzle=..., color=...) at ../src/gallium/drivers/iris/iris_clear.c:388
#15 0x00007f1593480405 in iris_clear (ctx=0x559e443b70e0, buffers=4, p_color=0x559e443c6c54, depth=<optimized out>, stencil=<optimized out>) at ../src/gallium/drivers/iris/iris_clear.c:677
#16 0x00007f1592abf734 in st_Clear (ctx=0x559e443c4b20, mask=2) at ../src/mesa/state_tracker/st_cb_clear.c:513
#17 0x00007f15a19142f8 in QPlatformBackingStore::composeAndFlush(QWindow*, QRegion const&, QPoint const&, QPlatformTextureList*, bool) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#18 0x00007f159c663f18 in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#19 0x00007f15a1c44e54 in QWidgetBackingStore::qt_flush (widgetBackingStore=<optimized out>, widgetTextures=0x559e442894f0, tlw=<optimized out>, backingStore=<optimized out>, region=..., widget=0x559e4346d1f0) at kernel/qwidgetbackingstore.cpp:159
#20 QWidgetBackingStore::qt_flush (widget=0x559e4346d1f0, region=..., backingStore=<optimized out>, tlw=<optimized out>, widgetTextures=<optimized out>, widgetBackingStore=<optimized out>) at kernel/qwidgetbackingstore.cpp:88
#21 0x00007f15a1c46888 in QWidgetBackingStore::flush (this=this@entry=0x559e435ae560, widget=widget@entry=0x0) at kernel/qwidgetbackingstore.cpp:1448
#22 0x00007f15a1c47ec1 in QWidgetBackingStore::endPaint (beginPaintInfo=<synthetic pointer>, backingStore=<optimized out>, cleaned=..., this=0x559e435ae560) at kernel/qwidgetbackingstore.cpp:368
#23 QWidgetBackingStore::doSync (this=<optimized out>) at kernel/qwidgetbackingstore.cpp:1432
#24 0x00007f15a1c480fa in QWidgetBackingStore::sync (this=0x559e435ae560, exposedWidget=0x559e4346d1f0, exposedRegion=...) at kernel/qwidgetbackingstore.cpp:1184
#25 0x00007f15a1c6040b in QWidgetPrivate::syncBackingStore (this=this@entry=0x559e43484530, region=...) at ../../include/QtWidgets/5.12.5/QtWidgets/private/../../../../../src/widgets/kernel/qwidget_p.h:305
#26 0x00007f15a1c9681c in QWidgetWindow::handleExposeEvent (this=<optimized out>, event=0x7ffde7f73f40) at ../../include/QtGui/../../src/gui/kernel/qevent.h:442
#27 0x00007f15a1c97210 in QWidgetWindow::event (event=0x7ffde7f73f40, this=0x559e437736b0) at kernel/qwidgetwindow.cpp:328
#28 QWidgetWindow::event (this=0x559e437736b0, event=0x7ffde7f73f40) at kernel/qwidgetwindow.cpp:224
#29 0x00007f15a1c35a66 in QApplicationPrivate::notify_helper (this=this@entry=0x559e43366e80, receiver=receiver@entry=0x559e437736b0, e=e@entry=0x7ffde7f73f40) at kernel/qapplication.cpp:3700
#30 0x00007f15a1c3f0e0 in QApplication::notify (this=0x7ffde7f74300, receiver=0x559e437736b0, e=0x7ffde7f73f40) at kernel/qapplication.cpp:3446
#31 0x00007f15a1181c8a in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#32 0x00007f15a1607c06 in QGuiApplicationPrivate::processExposeEvent(QWindowSystemInterfacePrivate::ExposeEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#33 0x00007f15a1607e34 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#34 0x00007f15a15e228b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Gui.so.5
#35 0x00007f159c67123e in ?? () from /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5
#36 0x00007f159ef18fbd in g_main_dispatch (context=0x7f1594005010) at ../../../glib/gmain.c:3309
#37 g_main_context_dispatch (context=context@entry=0x7f1594005010) at ../../../glib/gmain.c:3974
#38 0x00007f159ef19240 in g_main_context_iterate (context=context@entry=0x7f1594005010, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4047
#39 0x00007f159ef192e3 in g_main_context_iteration (context=0x7f1594005010, may_block=1) at ../../../glib/gmain.c:4108
#40 0x00007f15a11d98a5 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#41 0x00007f15a118082b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#42 0x00007f15a1188596 in QCoreApplication::exec() () from /lib/x86_64-linux-gnu/libQt5Core.so.5
#43 0x0000559e4269d856 in main (argc=<optimized out>, argv=<optimized out>) at ./app/main.cpp:70
[Inferior 1 (process 6082) detached]

Reported using DrKonqi
Comment 1 Mark van Rossum 2020-04-04 12:11:35 UTC
This is somehow related to the intel graphics driver as it doesn't occur with the nvidia card.
Comment 2 David Edmundson 2020-04-04 12:15:43 UTC
Indeed it is:

#7  stream_state (batch=0x559e443b7650, uploader=<optimized out>, size=12, alignment=alignment@entry=64, out_offset=out_offset@entry=0x7ffde7f72aec, out_bo=out_bo@entry=0x0) at ../src/gallium/drivers/iris/iris_blorp.c:62

gallium is the Intel driver

And at the time it's just drawing the background colour behind the widgets which is super old super stable code. We've never seen other reports there. Please report to Mesa.