MIDI desactivation crash

Please post about bugs here.
Forum rules
When making a bug report, please try to be as specific as possible. Include information on how to reproduce the bug and an example file if possible.
If the application crashed, please include the generated memory dump file as well.
User avatar
snowolf
Posts: 73
Joined: Wed Jul 15, 2015 11:51 pm
Location: France

MIDI desactivation crash

Postby snowolf » Tue Aug 18, 2015 6:55 pm

I just found a very specific bug: if you desactivate MIDI output while a track is playing, famitracker randomly crash.

These crashes happens on both 4.6 and 5.0b5.
Attachments
MiniDump_20150818-2032-v0_5_0_b5.dmp
(48.92 KiB) Downloaded 66 times

User avatar
ollaxe
Posts: 736
Joined: Mon Apr 20, 2015 7:07 pm
Location: Sweden
Contact:

Re: MIDI desactivation crash

Postby ollaxe » Tue Aug 18, 2015 7:02 pm

I've noticed this too. I've also noticed that changing other settings while the track is playing to a midi device, like master volume, also crashes.
Hi! I'm not really active here anymore but I still make music. Nowadays I mostly make dubstep with emphasis on good melodies and chord progressions.
SoundCloud: soundcloud.com/ollaxe
Twitter: twitter.com/ollaxe
Discord server: dis.gd/tK7uRnc
I'm also on Spotify. Search "OllAxe" and you'll find me.

8BitZtunerYT
Posts: 379
Joined: Thu Apr 23, 2015 7:20 pm
Location: Somewhere stuck in Winamp

Re: MIDI desactivation crash

Postby 8BitZtunerYT » Tue Aug 18, 2015 10:26 pm

How to (I think reproduce): Change master volume to 0%, set Output Device to Microsoft Synthesizer, should crash here, if not, set output device to None and Master Volume to 100%, should've crashed at the setting <none>
slowly ceasing to exist.
"8BitZ caresses his keyboard as he orgasms to the sounds of Winamp."
-retrodpc, 2015

User avatar
HertzDevil
Posts: 475
Joined: Thu Apr 23, 2015 7:39 pm
Location: Hong Kong SAR
Contact:

Re: MIDI desactivation crash

Postby HertzDevil » Tue Aug 18, 2015 11:08 pm

Most likely crashes due to FamiTracker not being thread-safe.
refactoring 0cc-famitracker