Chuck Anderson
Chuck Anderson
Confirmed that all these issues only happen with SDL2 on Wayland. I tested both with SDL_VIDEODRIVER=x11 ocp-sdl2 and WAYLAND_DISPLAY= ocp-sdl2 and was unable to reproduce these issues.
> Did the crashes go away as well when using X11 instead of wayland as the active SDL2 VIDEO driver? Yes, except the wurfel mode one (issue #61).
Netrek is apparently spelled with one 't': https://netrek.org/
Running with this branch: https://github.com/mywave82/opencubicplayer/commits/download_debug/ as follows: `strace -o ocp-strace2.log -ff ocp 2> ocp2.log` produced the attached log files. [ocp2.log](https://github.com/user-attachments/files/18286765/ocp2.log) [ocp-strace2.log.732067.txt](https://github.com/user-attachments/files/18286769/ocp-strace2.log.732067.txt) [ocp-strace2.log.732066.txt](https://github.com/user-attachments/files/18286770/ocp-strace2.log.732066.txt) [ocp-strace2.log.731800.txt](https://github.com/user-attachments/files/18286771/ocp-strace2.log.731800.txt) [ocp-strace2.log.731799.txt](https://github.com/user-attachments/files/18286772/ocp-strace2.log.731799.txt) [ocp-strace2.log.731798.txt](https://github.com/user-attachments/files/18286773/ocp-strace2.log.731798.txt) [ocp-strace2.log.731797.txt](https://github.com/user-attachments/files/18286774/ocp-strace2.log.731797.txt) [ocp-strace2.log.731796.txt](https://github.com/user-attachments/files/18286775/ocp-strace2.log.731796.txt) [ocp-strace2.log.731401.txt](https://github.com/user-attachments/files/18286776/ocp-strace2.log.731401.txt)
Recompiled with ALSA_DEBUG=1: `strace -o ocp-strace3.log -ff ocp 2> ocp3.log` [ocp-strace3.log.1363110.txt](https://github.com/user-attachments/files/18299887/ocp-strace3.log.1363110.txt) [ocp-strace3.log.1363109.txt](https://github.com/user-attachments/files/18299888/ocp-strace3.log.1363109.txt) [ocp-strace3.log.1362756.txt](https://github.com/user-attachments/files/18299889/ocp-strace3.log.1362756.txt) [ocp-strace3.log.1362755.txt](https://github.com/user-attachments/files/18299890/ocp-strace3.log.1362755.txt) [ocp-strace3.log.1362754.txt](https://github.com/user-attachments/files/18299891/ocp-strace3.log.1362754.txt) [ocp-strace3.log.1362753.txt](https://github.com/user-attachments/files/18299892/ocp-strace3.log.1362753.txt) [ocp-strace3.log.1362752.txt](https://github.com/user-attachments/files/18299893/ocp-strace3.log.1362752.txt) [ocp-strace3.log.1362289.txt](https://github.com/user-attachments/files/18299894/ocp-strace3.log.1362289.txt) [ocp3.log](https://github.com/user-attachments/files/18299896/ocp3.log) [ocp-strace3.log.1363088.txt](https://github.com/user-attachments/files/18299898/ocp-strace3.log.1363088.txt) [ocp-strace3.log.1363087.txt](https://github.com/user-attachments/files/18299899/ocp-strace3.log.1363087.txt) [ocp-strace3.log.1362814.txt](https://github.com/user-attachments/files/18299900/ocp-strace3.log.1362814.txt) [ocp-strace3.log.1362815.txt](https://github.com/user-attachments/files/18299901/ocp-strace3.log.1362815.txt) [ocp-strace3.log.1362748.txt](https://github.com/user-attachments/files/18299902/ocp-strace3.log.1362748.txt) [ocp-strace3.log.1362711.txt](https://github.com/user-attachments/files/18299903/ocp-strace3.log.1362711.txt) [ocp-strace3.log.1362710.txt](https://github.com/user-attachments/files/18299904/ocp-strace3.log.1362710.txt) [ocp-strace3.log.1362709.txt](https://github.com/user-attachments/files/18299905/ocp-strace3.log.1362709.txt) [ocp-strace3.log.1362708.txt](https://github.com/user-attachments/files/18299907/ocp-strace3.log.1362708.txt) [ocp-strace3.log.1362707.txt](https://github.com/user-attachments/files/18299908/ocp-strace3.log.1362707.txt) [ocp-strace3.log.1362749.txt](https://github.com/user-attachments/files/18299909/ocp-strace3.log.1362749.txt)...
Additionally set PIPEWIRE_DEBUG=T: `env PIPEWIRE_DEBUG=T strace -o ocp-strace4.log -ff ocp 2> ocp4.log` [ocp-strace4.log.1364038.txt](https://github.com/user-attachments/files/18299941/ocp-strace4.log.1364038.txt) [ocp-strace4.log.1364037.txt](https://github.com/user-attachments/files/18299942/ocp-strace4.log.1364037.txt) [ocp-strace4.log.1363825.txt](https://github.com/user-attachments/files/18299943/ocp-strace4.log.1363825.txt) [ocp-strace4.log.1363824.txt](https://github.com/user-attachments/files/18299944/ocp-strace4.log.1363824.txt) [ocp-strace4.log.1363823.txt](https://github.com/user-attachments/files/18299945/ocp-strace4.log.1363823.txt) [ocp-strace4.log.1363822.txt](https://github.com/user-attachments/files/18299946/ocp-strace4.log.1363822.txt) [ocp-strace4.log.1363821.txt](https://github.com/user-attachments/files/18299947/ocp-strace4.log.1363821.txt) [ocp-strace4.log.1363734.txt](https://github.com/user-attachments/files/18299948/ocp-strace4.log.1363734.txt) [ocp4.log](https://github.com/user-attachments/files/18299949/ocp4.log) [ocp-strace4.log.1364017.txt](https://github.com/user-attachments/files/18299950/ocp-strace4.log.1364017.txt) [ocp-strace4.log.1364016.txt](https://github.com/user-attachments/files/18299951/ocp-strace4.log.1364016.txt) [ocp-strace4.log.1363950.txt](https://github.com/user-attachments/files/18299952/ocp-strace4.log.1363950.txt) [ocp-strace4.log.1363951.txt](https://github.com/user-attachments/files/18299953/ocp-strace4.log.1363951.txt) [ocp-strace4.log.1363762.txt](https://github.com/user-attachments/files/18299954/ocp-strace4.log.1363762.txt) [ocp-strace4.log.1363761.txt](https://github.com/user-attachments/files/18299955/ocp-strace4.log.1363761.txt) [ocp-strace4.log.1363760.txt](https://github.com/user-attachments/files/18299956/ocp-strace4.log.1363760.txt) [ocp-strace4.log.1363759.txt](https://github.com/user-attachments/files/18299957/ocp-strace4.log.1363759.txt)