Closed dogmaphobic closed 8 years ago
The crashes are consistent. It crashes on exit every time. A bit more info:
Releasing joystick: "SpaceNavigator"
qgroundcontrol(34040,0x7fff7ca3e000) malloc: *** error for object 0x105417c88: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Stack at the crash point:
I don't have a repro for this. Visual code inspection doesn't show anything wrong that I can see.
@dogmaphobic Assigning over to you since you have a repro.
I have a 3D mouse (3DConnexion SpaceNavigator). It shows up as a joystick in QGC. If I unplug it, it doesn't crash. With it plugged in, the crash is 100% reproducible but I have no idea what all that joystick code is doing. This is new (as of the time I entered this issue). I've had this mouse for years and never had an issue before.
Done.
Since my last merge, I've been getting random crashes on exit. It's around the Joystick code. I haven't had the time to track it down: