You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reported in version: 2.0.3 Reported for operating system, platform: Windows 7, x86_64
Comments on the original bug report:
On 2015-01-05 22:59:20 +0000, Jan Klass wrote:
Created attachment 1983
Minimal program for reproducability - leads to access violation
Not sure if this is limited to the joystick subsystem,
but I created a minimal program for reproducibility,
which is attached.
The issue occurs with my gamepad Razer Onza (an xbox-style gamepad) plugged in.
On initialization, the gamepad is being recognized.
After quitting the subsystem, the poll will receive the joystick added event,
which it instantly handles itself, calling SDL_SYS_JoystickDetect again,
which this time calls IDirectInput8_EnumDevices with dinput = NULL (after it was released on quit).
This seems to lead to an access violation within said function, which I have no source for.
The issue was originally noticed on ET:Legacy, after its switch from SDL1 to SDL2 (2.71 RC4 to 2.71a).
The issue I reported is available at http://dev.etlegacy.com/issues/757
and also includes stack traces of the issue there.
However, for reproducibility and program flow,
the attached example is probably easier to work with.
The issue only occurs with the delay before the subsystem quit call.
This bug report was migrated from our old Bugzilla tracker.
These attachments are available in the static archive:
Reported in version: 2.0.3
Reported for operating system, platform: Windows 7, x86_64
Comments on the original bug report:
On 2015-01-05 22:59:20 +0000, Jan Klass wrote:
On 2015-01-05 23:02:13 +0000, Jan Klass wrote:
On 2016-10-07 23:33:19 +0000, Sam Lantinga wrote:
The text was updated successfully, but these errors were encountered: