Driftwood2D / Driftwood

Driftwood 2D Tiling Game Engine and Development Suite
http://tileengine.org/
MIT License
24 stars 1 forks source link

Segfault on Mix_FreeMusic #70

Closed seisatsu closed 7 years ago

seisatsu commented 8 years ago

We are currently segfaulting on shutdown. This seems to have been introduced during WidgetManager development, and these are almost always caused by a missing or extraneous init, create, or free in an SDL library. Fix this.

It's actually caused during a Mix_FreeMusic call on shutdown. Can't tell why it's breaking.

seisatsu commented 8 years ago

Bisect shows the bug was introduced in 37a609577d48c42f485e1b4433632c0b095bf0bc. There's nothing wrong with the code at first glance.

pmer commented 8 years ago

@seisatsu: I can't reproduce this on my system. Do you think it might be a Linux thing?

seisatsu commented 7 years ago

Fixed in c386c3c6b655e65b24196f19fe48d36643f730bd.