Bug 451507 - Discover crashes in _iris_batch_flush when I switch between pages
Summary: Discover crashes in _iris_batch_flush when I switch between pages
Status: RESOLVED DUPLICATE of bug 443745
Alias: None
Product: Discover
Classification: Applications
Component: discover (show other bugs)
Version: master
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Dan Leinir Turthra Jensen
URL: https://gitlab.freedesktop.org/mesa/m...
Keywords:
Depends on:
Blocks:
 
Reported: 2022-03-14 20:02 UTC by Nate Graham
Modified: 2022-03-19 23:22 UTC (History)
2 users (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 Nate Graham 2022-03-14 20:02:02 UTC
Everything KDE from git master.

I can make Discover crash 100% of the time in QtWaylandClient::QWaylandGLContext::swapBuffers() by doing the following:
1. Launch Discover
2. Click on "Installed" item in sidebar
3. Click on "Home" button in toolbar
4. Click on "Installed" item in sidebar again


Here's the backtrace:
#0  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#1  0x00007ff8a9e808f3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#2  0x00007ff8a9e336a6 in __GI_raise (sig=6) at ../sysdeps/posix/raise.c:26
#3  0x00007ff8ac074a09 in KCrash::defaultCrashHandler(int) (sig=6) at /home/nate/kde/src/kcrash/src/kcrash.cpp:624
#4  0x00007ff8a9e33750 in <signal handler called> () at /lib64/libc.so.6
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007ff8a9e808f3 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#7  0x00007ff8a9e336a6 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007ff8a9e1d7d3 in __GI_abort () at abort.c:79
#9  0x00007ff8866356bc in _iris_batch_flush (batch=<optimized out>, file=<optimized out>, line=<optimized out>) at ../src/gallium/drivers/iris/iris_batch.c:969
#10 0x00007ff887285229 in iris_fence_flush (ctx=0x3020440, out_fence=0x0, flags=<optimized out>) at ../src/gallium/drivers/iris/iris_fence.c:267
#11 0x00007ff8866b5ad7 in st_flush (flags=8, fence=0x0, st=0x30bd390) at ../src/mesa/state_tracker/st_cb_flush.c:61
#12 st_glFlush (ctx=<optimized out>, gallium_flush_flags=8) at ../src/mesa/state_tracker/st_cb_flush.c:99
#13 0x00007ff895c1faed in QtWaylandClient::QWaylandGLContext::swapBuffers(QPlatformSurface*) (this=0x301f720, surface=0x2619b40)
    at ../../../../hardwareintegration/client/wayland-egl/qwaylandglcontext.cpp:500
#14 0x00007ff8ac4ea604 in QSGRenderThread::syncAndRender(QImage*) (this=0x301eae0, grabImage=0x0) at scenegraph/qsgthreadedrenderloop.cpp:870
#15 0x00007ff8ac4eea9d in QSGRenderThread::run() (this=0x301eae0) at scenegraph/qsgthreadedrenderloop.cpp:1043
#16 0x00007ff8aa3fa4c6 in QThreadPrivate::start(void*) (arg=0x301eae0) at thread/qthread_unix.cpp:329
#17 0x00007ff8a9e7eb1a in start_thread (arg=<optimized out>) at pthread_create.c:443
#18 0x00007ff8a9f03650 in clone3 () at ../sysdeps/unix/sysv/linux/x86_64/clone3.S:81
Comment 1 David Edmundson 2022-03-14 23:27:44 UTC
>_iris_batch_flush

please report to mesa
Comment 2 David Edmundson 2022-03-14 23:28:44 UTC
Also in future please report crashes to the application that crashes.
Comment 3 Nate Graham 2022-03-19 23:22:49 UTC
This turned to actually be Bug 443745.

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