Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux/Wayland/EGL] Crash when changing game while other game is running #1992

Closed
Pixelnarium opened this issue Dec 21, 2020 · 0 comments
Closed

Comments

@Pixelnarium
Copy link

@Pixelnarium Pixelnarium commented Dec 21, 2020

My system is a i7-4750HQ 2Ghz notebook with the Iris Pro 5200 iGPU. I am running a current ArchLinux system using Sway as a Wayland compositor. I tried the mgba-qt 0.8.4 package directly from ArchLinux and also tried a master build (4ecf64a) inside flatpak ( https://github.com/Pixelnarium/flatpak/tree/aa4e8aea52bdb9d878ee0772b971911e6c1b5fa6/io.mgba.mGBA ).

Just starting a game works. The crash appears while loading a ROM while a game is currently running. It does not happen when I close the current game via the Emulation menu before loading a new one. It does not happen using X11 or XWayland. It does not matter if a shader is in use or not.

GDB Backtrace (master build inside flatpak):

[Switching to Thread 0x7fffb52f7700 (LWP 23)]
0x00007fffd262b63d in update_buffers () from /usr/lib/x86_64-linux-gnu/GL/default/lib/libEGL_mesa.so.0
(gdb) backtrace
#0  0x00007fffd262b63d in update_buffers () at /usr/lib/x86_64-linux-gnu/GL/default/lib/libEGL_mesa.so.0
#1  0x00007fffd262ba58 in image_get_buffers () at /usr/lib/x86_64-linux-gnu/GL/default/lib/libEGL_mesa.so.0
#2  0x00007fffd196d728 in intel_update_renderbuffers () at /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/i965_dri.so
#3  0x00007fffd196de29 in intel_prepare_render () at /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/i965_dri.so
#4  0x00007fffd196a358 in brw_clear () at /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/i965_dri.so
#5  0x000055555562fe5d in QGBA::PainterGL::stop() (this=0x7fffb52f8010) at src/platform/qt/DisplayGL.cpp:494
#6  0x00007ffff67bbe01 in QObject::event(QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#7  0x00007ffff735d15f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Widgets.so.5
#8  0x00007ffff678fdda in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#9  0x00007ffff6792811 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#10 0x00007ffff67e7ca3 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#11 0x00007ffff51b185b in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007ffff51b1b08 in g_main_context_iterate.constprop () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#13 0x00007ffff51b1bd3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
#14 0x00007ffff67e732f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#15 0x00007ffff678e79b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#16 0x00007ffff659f3be in QThread::exec() () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#17 0x00007ffff65a0501 in  () at /usr/lib/x86_64-linux-gnu/libQt5Core.so.5
#18 0x00007ffff788e4d2 in start_thread () at /usr/lib/x86_64-linux-gnu/libpthread.so.0
#19 0x00007ffff61e82a3 in clone () at /usr/lib/x86_64-linux-gnu/libc.so.6
@endrift endrift closed this in cadceec Dec 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant