Segfault with older glib

It’s possible that your app is making a system call that is restricted by the seccomp filter applied to your snap. Have a read of the “Debugging” section of the following post:

In particular, looking for audit messages in the log, and decoding those messages to a system call with scmp_sys_resolver. If this is what’s happening, then it might indicate an extra interface you need to plug.