Segfaulting, how to debug?

Hi,

I’ve been working on compiling a snap package of a piece of software which requires a few libraries to run. I’ve got it to compile after a lot of hassle. However the program segfaults at one part of operation.

I’ve seen some mentions that Snaps seem to do this under some cases. I was wondering how to debug it to know if it is the snap causing it or not?

It also segfaults if I run the program from the build directory and staging DIR.

The snapcraft.yaml is at https://github.com/ryanteck/ulti-lora-backplane/blob/master/snapcraft.yaml (I understand it likely isn’t the best yet but I want to get it to work before I look at making improvements).

Thanks -
Ryan

Edit:

I thought it was a snap problem. Done some compiling of the packages direct and found it’s not. Feel free to close the thread or such.