[SDL] segfault when trying to close joystick

nescivi nescivi at gmail.com
Mon Mar 11 14:19:48 PDT 2013

I will check what is going on with the threads.
I am creating a separate thread to handle the events, compared to where I close the joystick, so possibly this is what is going wrong.

The simplest example where I get the crash is here:
where the closing joystick is called from the osc/udp-thread.

I'm quite sure I'm not closing the joystick from both threads at once though.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20130311/fdda15fa/attachment-0009.htm>

More information about the SDL mailing list