markusschwenk / midieditor

Provides an interface to edit, record, and play Midi data
GNU General Public License v3.0
470 stars 69 forks source link

midiEditor crashes in opening an edited file #68

Open Zcbtsji opened 4 years ago

Zcbtsji commented 4 years ago

Before updating to 3.3.0, two downloaded midis https://files.gamebanana.com/bitpit/th06_06.midhttps://files.gamebanana.com/bitpit/th06_11.mid played fine. When I tried to update to 3.3.0, the two files plays weird sounds. Some of their channels, instead of the intended instruments, produce rather distorted, funny or screech-like sounds. When I stoped playing and opened other files, the problem is passed on with those channels, while other channels are unaffected. When I restart midieditor and play the other files, they sound fine. When I played the files on Microsoft Media Player (using System's default GS Wavetable soundfont as output), it plays without problem. I tried to reinstall midiEditor and synthesizer, and switch soundfonts, but the problem persists. In the middle of playing, I paused, went to midi setting, set the midi output from the synthesizer to the default GS Wavatable, it again played fine. When I pauseagain and switch back to the synthesizer, in miracle it is played fine as well. I tried to do the switch above before and after playing, and eventually found that the culprit are the 700+ control change events in Measure 2 of the two files. I deleted the control change events, and the midi sound no weird anymore. I gladly made some editing. The problem comes when I save the files and opened them again. The program froze and crashed.

 

Problem signature:   | Problem Event Name: APPCRASH   | Application Name: MidiEditor.exe   | Application Version: 0.0.0.0   | Application Timestamp: 5d3b2724   | Fault Module Name: ntdll.dll   | Fault Module Version: 6.1.7601.24545   | Fault Module Timestamp: 5e0eb751   | Exception Code: c0000005   | Exception Offset: 0004ebc3   | OS Version: 6.1.7601.2.1.0.256.1   | Locale ID: 2052   | Additional Information 1: 0a9e   | Additional Information 2: 0a9e372d3b4ad19135b953a78882e789   | Additional Information 3: 0a9e   | Additional Information 4: 0a9e372d3b4ad19135b953a78882e789   |