That is, the core snap's dynamic linker from Ubuntu 16.04 cannot invoke the clear binary from Ubuntu 19.04.
One way in which this can happen when a classically confined snap is crafted to unconditionally set LD_LIBRARY_PATH to prefer the core snap and then invokes a binary on the host. I have no proof of that but looking at the attached ProcEnviron.txt file seems to suggest this is what is happening. In that file we can see that LD_LIBRARY_PATH was set at the time of the crash.
I can reproduce a crash in __lib_start_main on 19.04 in the following way:
/snap/core/ current/ lib/ld- linux.so. 2 /usr/bin/clear
That is, the core snap's dynamic linker from Ubuntu 16.04 cannot invoke the clear binary from Ubuntu 19.04.
One way in which this can happen when a classically confined snap is crafted to unconditionally set LD_LIBRARY_PATH to prefer the core snap and then invokes a binary on the host. I have no proof of that but looking at the attached ProcEnviron.txt file seems to suggest this is what is happening. In that file we can see that LD_LIBRARY_PATH was set at the time of the crash.