KeppySoftware / OmniMIDI

A software MIDI synthesizer for professional use.
https://keppysoftware.github.io/
Other
371 stars 40 forks source link

Problem with Piano From Above and OmniMIDI #208

Closed Creatinator512 closed 2 years ago

Creatinator512 commented 3 years ago

Problem Summary: PFA freezes occasionally and will remain even after closing. This bug seems to have some correlation to OmniMIDI due to a BASS error. Description: After starting PFA and loading a MIDI, I immediately got an error message about BASS being started already with no description. However, PFA and OmniMIDI played the MIDI fine after that error. I loaded a different MIDI and got a warning message about a "DLL hell" where conflicts between two different libraries could result in weird crashes. But the MIDI was played fine again. I believe these two errors could correlate to an issue I've been having for a while where PFA's MIDI visualization freezes after trying to load a MIDI. Even after closing out of it, it can still remain, as shown in the screenshot.

Steps to reproduce

  1. Play any MIDI on PFA-1.1.0-x86_64.exe
  2. Either the BASS error will be displayed or more likely the application's visualization will freeze.
  3. Try to play another MIDI
  4. Nothing will happen if "frozen" and it may start not responding. If the BASS error happened prior to the second load, the DLL warning shows.
  5. Closing out of PFA will result in the application still running in task manager.

Expected behavior PFA should run without any errors or without freezing and it should close with the task ended.

Screenshots/Videos pfaFrozen_notClosing

Environment

Additional context These problems happen by chance for me, so this issue isn't easily reproduceable, but this can happen fairly often. The BASS error started upon starting up my computer, then loading PFA and a MIDI.

KaleidonKep99 commented 3 years ago

Do you have any other MIDI driver installed by any chance?

Creatinator512 commented 3 years ago

OmniMIDI is the only one showing up for MIDI output.

KaleidonKep99 commented 3 years ago

If the DLL hell message appears, that means that there's another program or driver loading its own BASS libraries into the process.

Could you please send the debug log here?

Creatinator512 commented 3 years ago

Found the DLL hell error I was talking about after enabling troubleshooting mode. Here's the debug log that was created during that process. PFA-1.1.0-x86_64.exe (Debug output).txt pfaFrozen_errorSequence

KaleidonKep99 commented 3 years ago

Can you check which MIDI devices are installed through the OmniMapper control panel? If GetModuleHandle returns an handle to an already existing BASS lib in memory, then there MUST be something loading the libraries before OM is able to do so.

Creatinator512 commented 3 years ago

OmniMIDI and Microsoft GS Wavetable Synth are the only ones showing up in the OmniMapper control panel.

Creatinator512 commented 3 years ago

I think I had a glitched version of OmniMapper, because when I uninstalled the MIDI Mapper to access the control panel, everything started working as expected, even when I reinstalled it. I believe going through a couple updates without uninstalling and reinstalling it resulted in some problems between the driver and the mapper.

Creatinator512 commented 3 years ago

Just got this error now. This is the BASS error I mentioned. pfaFrozen_bassError The same warning and error sequence happened as well when I switched MIDIs, but now the Guru Meditation errors are changing. pfaFrozen_newGuruMeditationError After that, PFA started behaving as it did before this issue and OmniMapper is now mixed up again in installing or uninstalling it. Reinstalling OmniMIDI has worked in getting rid of the issue temporarily.

Creatinator512 commented 3 years ago

Is this folder called "opt" in the System32 and SysWOW64 OmniMIDI folders with duplicate bass and bassmidi DLL files intentional? pfaFrozen_suspiciousFolder Also, I have attempted uninstalling anything that I could determine could be a culprit, but that has not worked.

Creatinator512 commented 3 years ago

Deleting that folder has mostly fixed it. I started getting that same issue today and got this error after clicking "No" on the multiple bass libraries loaded warning. pfaFrozen_bassHandleError

KaleidonKep99 commented 3 years ago

It should be fixed in 14.6.10.

Creatinator512 commented 2 years ago

It's been a good amount of days without any errors, so it must be fixed. Thank you for your help in handling this problem!