Comments (3)
I don't seem to be able to reproduce this, but it seems that SDL_ShowSimpleMessageBox
is buggy on Linux. Can you try attaching lldb/gdb to SameBoy when it's hanging and print the backtrace (bt
)?
from sameboy.
(gdb) thread apply all bt full
Thread 6 (Thread 0x42014950 (LWP 1789)):
#0 0x00007ffff1c01cf3 in mix_areas_32_smp () from /usr/lib/libasound.so.2
No symbol table info available.
#1 0x00007ffff1c03176 in snd_pcm_dmix_sync_area () from /usr/lib/libasound.so.2
No symbol table info available.
#2 0x00007ffff1c03447 in snd_pcm_dmix_mmap_commit () from /usr/lib/libasound.so.2
No symbol table info available.
#3 0x00007ffff1be1950 in snd_pcm_plugin_mmap_commit () from /usr/lib/libasound.so.2
No symbol table info available.
#4 0x00007ffff1bebde9 in snd_pcm_rate_commit_area () from /usr/lib/libasound.so.2
No symbol table info available.
#5 0x00007ffff1bece13 in snd_pcm_rate_mmap_commit () from /usr/lib/libasound.so.2
No symbol table info available.
#6 0x00007ffff1be0af3 in snd_pcm_mmap_write_areas () from /usr/lib/libasound.so.2
No symbol table info available.
#7 0x00007ffff1bd4ee3 in snd1_pcm_write_areas () from /usr/lib/libasound.so.2
No symbol table info available.
#8 0x00007ffff1bdfe42 in snd_pcm_mmap_writei () from /usr/lib/libasound.so.2
No symbol table info available.
#9 0x00007ffff738ef31 in ALSA_PlayDevice () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#10 0x00007ffff72a9c96 in SDL_RunAudio () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#11 0x00007ffff73259f0 in SDL_RunThread () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#12 0x00007ffff73b3889 in RunThread () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#13 0x00007ffff7077feb in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#14 0x00007ffff7b6194d in clone () from /lib/libc.so.6
No symbol table info available.
Thread 5 (Thread 0x42003950 (LWP 1788)):
#0 0x00007ffff7b34bb1 in nanosleep () from /lib/libc.so.6
No symbol table info available.
#1 0x00007ffff73b99f4 in SDL_Delay_REAL () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#2 0x00007ffff738fd3c in ALSA_HotplugThread () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#3 0x00007ffff73259f0 in SDL_RunThread () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#4 0x00007ffff73b3889 in RunThread () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#5 0x00007ffff7077feb in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x00007ffff7b6194d in clone () from /lib/libc.so.6
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
Thread 4 (Thread 0x41802950 (LWP 1787)):
#0 0x00007ffff707c779 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/libpthread.so.0
No symbol table info available.
#1 0x00007ffff2984bec in radeon_drm_cs_emit_ioctl ()
from /usr/X11R7/lib/X11/modules/dri/r600_dri.so
No symbol table info available.
#2 0x00007ffff2984789 in impl_thrd_routine () from /usr/X11R7/lib/X11/modules/dri/r600_dri.so
No symbol table info available.
#3 0x00007ffff7077feb in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#4 0x00007ffff7b6194d in clone () from /lib/libc.so.6
No symbol table info available.
Thread 3 (Thread 0x41001950 (LWP 1786)):
#0 0x00007ffff7b5558b in read () from /lib/libc.so.6
No symbol table info available.
#1 0x000000000043957f in mainloop.lto_priv ()
No symbol table info available.
#2 0x00007ffff7077feb in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#3 0x00007ffff7b6194d in clone () from /lib/libc.so.6
No symbol table info available.
Thread 2 (Thread 0x40800950 (LWP 1785)):
#0 0x00007ffff707e411 in sem_wait () from /lib/libpthread.so.0
No symbol table info available.
#1 0x00007ffff73b3b0b in SDL_SemWaitTimeout_REAL () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#2 0x00007ffff7326028 in SDL_TimerThread () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#3 0x00007ffff73259f0 in SDL_RunThread () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#4 0x00007ffff73b3889 in RunThread () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#5 0x00007ffff7077feb in start_thread () from /lib/libpthread.so.0
No symbol table info available.
#6 0x00007ffff7b6194d in clone () from /lib/libc.so.6
No symbol table info available.
Thread 1 (Thread 0x7ffff7fde900 (LWP 1781)):
#0 0x00007ffff7b347bf in waitpid () from /lib/libc.so.6
No symbol table info available.
#1 0x00007ffff7399450 in X11_ShowMessageBox () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#2 0x00007ffff7368d54 in SDL_ShowMessageBox_REAL () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#3 0x00007ffff7368ef2 in SDL_ShowSimpleMessageBox_REAL () from /usr/lib/libSDL2-2.0.so.0
No symbol table info available.
#4 0x0000000000405162 in main ()
Yes indeed, looks like either a SDL bug or an interaction with SDL.
from sameboy.
Might be the best to report this to SDL's maintainer. I'll keep this issue open, if they don't fix it I'll have to implement a message box on non-Mac/Windows myself.
from sameboy.
Related Issues (20)
- GB Classic: F1 Race - flickering line midscreen
- macOS: Do not hide panels when app focus is lost
- Iphone HOT 2
- Switch Pro Controller iOS recognized, but unable to use HOT 2
- iOS: Gameboy Advance Games don’t get recognised HOT 3
- Add custom palette for iOS HOT 2
- Cloud sync iOS HOT 2
- Polished Crystal iOS (Fixed) HOT 1
- Hex digits invisible in SameBoy Cocoa v0.16.5 HOT 1
- Pocket Family (HuC-3) doesn’t do sound test HOT 3
- [Feature Request] Toggle all cameras on iOS port
- Instructions for testing the gameboy camera integration on real iOS devices HOT 5
- Turbo Speed does not stay HOT 4
- Associate ROM files with SameBoy on Windows HOT 3
- libretro Makefile will need an update to support new Wii U toolchain HOT 1
- Pokémon brown color scheme HOT 4
- [Feature request] Automatically switch emulated console depending on opened ROM
- Requesting a new iOS release for the multi-lens camera feature
- Rumble does not work on windows HOT 2
- Cannot load .gb or .gbc file on macOS HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sameboy.