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: Haptic Subsystem doesn't shutdown cleanly, Segfaults on Second launch. #1570

Closed
SDLBugzilla opened this issue Feb 10, 2021 · 0 comments

Comments

@SDLBugzilla
Copy link
Collaborator

This bug report was migrated from our old Bugzilla tracker.

Reported in version: 2.0.3
Reported for operating system, platform: Linux, x86_64

Comments on the original bug report:

On 2014-07-17 08:38:12 +0000, Scott Mansell wrote:

When a Haptic compatible joystick is connected, calling SDL_Quit causes the haptic subsystem to corrupt the SDL_hapticlist linked list.

The next time SDL_HapticOpenFromJoystick is called, SDL segfaults trying to read the linked list.

Looks like the bug was introduced in this change: http://hg.libsdl.org/SDL/rev/3b7bb407fcf7

On 2014-07-30 01:50:33 +0000, Alex Szpakowski wrote:

Does this bug still happen with the latest Mercurial revision of SDL?

On 2014-08-11 06:56:31 +0000, Tillmann Karras wrote:

Multiple users (including me) have tried the latest Mercurial revision and say it's fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant