| Summary: | SDL crashes when using hat | ||
|---|---|---|---|
| Product: | SDL | Reporter: | nn.dm55 |
| Component: | joystick | Assignee: | Ryan C. Gordon <icculus> |
| Status: | RESOLVED FIXED | QA Contact: | Sam Lantinga <slouken> |
| Severity: | normal | ||
| Priority: | P2 | CC: | jspradlin |
| Version: | 1.2.14 | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Attachments: | This is the backtrace after pressing the hat on Battle Tanks, which uses SDL for the joystick | ||
Thank you for your bug report! We're busy working on getting SDL 1.3 ready for a high quality release, and want to make sure as many things are fixed there as possible. Could you check to see if your bug is resolved by the latest SDL 1.3 snapshot? http://www.libsdl.org/tmp/SDL-1.3.zip Thanks! I think some unrelated fixes to the joystick code probably solved this bug (the patches to read the proper sizeof the kernel event structure), but just in case, I put some sanity checks in. hg changeset ce2493a9cefb should prevent this crash, if we haven't actually fixed this properly elsewhere. --ryan. |
Created attachment 544 [details] This is the backtrace after pressing the hat on Battle Tanks, which uses SDL for the joystick When I'm playing a game that uses SDL for a Logitech Force 3d Pro joystick on openSUSE 11.3 with kernel 2.6.34, it has a segmentation fault.