Closed coreymwamba closed 1 year ago
Hey @coreymwamba ,
Could you attach the Hydrogen song you attempt to load? Hopefully I can reproduce the crash.
You can determined its path like this
cat $HOME/.hydrogen/hydrogen.conf | grep lastSongFilename
Hi @theGreatWhiteShark,
Unfortunately, I wasn't trying to open a song -- I was just starting the program.
cat $HOME/.hydrogen/hydrogen.conf | grep lastSongFilename
<lastSongFilename></lastSongFilename>
Hmm. That's even more odd than I thought.
Could you attach your ~/.hydrogen/hydrogen.conf
file as well as the output of the following commands
tree $HOME/.hydrogen
and
tree /usr/share/hydrogen/
Also, could you start Hydrogen in a terminal using
hydrogen -VDebug
and report the output in here? Maybe this will shed some light on what is going on in your setup.
Hello @theGreatWhiteShark,
Many thanks for your suggestion and help.
Awesome! Thanks.
Seems like the kit gm drums with my sound is crashing Hydrogen.
Could you export it using
tar -cvf kit.h2drumkit $HOME/.hydrogen/data/drumkits/gm drums with my sound/
and attach it?
Yeah, it's definitely that kit. Just removed the offending sound -- for some reason (can't remember why) I'd tried adding an Ogg file to a kit?!?
I'm just going to remove the kit. Many thanks for your help on this!
I don't know. First of all, Hydrogen should never crash. Especially not because of a single sample in your drumkit folder. Apart from that Hydrogen does not actually load all the samples of each drumkit during startup. It only loads their general structure and metadata. Having an ogg file, a bricked ogg file, or even an executable disguising as an ogg file should have no effect on Hydrogen's startup.
I'm just going to remove the kit.
You shouldn't have to. I think the problem here is Hydrogen itself. Not your kit. Or Hydrogen in your specific environment since I'm able to load your kit just fine on my local Linux.
For some reason I can't not fathom when looking at the code base Hydrogen is not able to determine an absolute path to at least one sample of your kit properly.
Could you compile and run the code in #1772 ? It both should not crash anymore and tell us about the specific sample (path) it choked on in the logs.
I'll close this for now as the code won't crash anymore. In case you have further input concerning the strange behavior seen, please feel free to open it again.
Hydrogen version * : hydrogen 1.2.0- Operating system + version : Arch Linux Audio driver + version : jack 1.9.22
On attempting to start Hydrogen, box pops up:
"Hydrogen exited abnormally. Fatal error in: Inistialising Hydrogen"
Log messages below.