joncampbell123 / dosbox-x

DOSBox-X fork of the DOSBox project
GNU General Public License v2.0
2.83k stars 383 forks source link

on MacOS, DosBox-X crashes if there is a connected gamepad #4824

Open yilmazdurmaz opened 9 months ago

yilmazdurmaz commented 9 months ago

Describe the bug

On MacOS (current latest),

Steps to reproduce the behaviour

1- remove any gamepad 2- run DosBox-X 3- connect gamepad and see instant crash and 1- connect gamepad (or keep connected from previous steps) 2- try opening DosBox-X and see it crashes

Expected behavior

What operating system(s) this bug have occurred on?

MacOS 14

What version(s) of DOSBox-X have this bug?

2023.10.06

Used configuration

No response

Output log

No response

Additional information

No response

Have you checked that no similar bug report(s) exist?

Code of Conduct & Contributing Guidelines

maron2000 commented 9 months ago

I don't see any crashes here. Both SDL1 & SDL2 works on Ventura (intel) with the latest nightly build. Maybe a specific joystick problem, or a MacOS 14 problem?

joypad

yilmazdurmaz commented 9 months ago

Alright, this mapping interface lights another part of the issue: it won't crash if the mapper is open when I connect gamepad, but still crashes later again as I described before.

I add the crash report this time: gamepadcrashes.txt

I hope you can find the problem.

by the way, I use DosBox-X to learn old programming languages and I don't use gamepad at all within it. I am just trying to have some break with the programming by playing some Steam game, but as you can say, I can't keep them both open at the same time.