Hello,
I have an application that I cross-compile for Elk on RasPi + HifiBerry DAC ADC+ Pro, which is interfacing Raspa directly (include raspa.h, link with Raspa and Cobalt provided in the SDK. Largely, I have followed the example set by the raspa/apps code and the Sushi Xenomai raspa frontend.
The app works in the meaning that it creates sound, however I get intermittent (after 2-15 minutes of running) hard crashes that I cannot figure out. When this happens I can’t Ctrl+C, I can’t ssh into the machine - the entire OS locks up and I need to power cycle. Running the process through gdb gives the same result.
I have previously monitored mode switches and successfully removed some using gdb according to the instructions, but this doesn’t seem to the same kind of issue. Same code compiled with sound.io on Mac does not have the same issue.
I have also disabled all sound generating code that would be called from
Is there a way I can get data on what actually happened prior to the crash?
Anyone with any ideas I could try?
Thanks!
Gustav