Gnome-platform error?

My snap uses

extensions: [gnome-3-38]

When the snap is started - before the app (nn here) is run(!) - this error msg. is shown:

/snap/nn/x1/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0: symbol lookup error: /snap/nn/x1/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3.so.0: undefined symbol: pango_font_family_get_face ERROR: /snap/nn/x1/gnome-platform/usr/lib/x86_64-linux-gnu/libgtk-3-0/gtk-query-immodules-3.0 exited abnormally with status 127

By running

sudo snap run --shell  nn
cd $SNAP
grep -i -n -r  . --exclude-dir "mnt" -e  gtk-query-

this result is shown:

./snap/command-chain/desktop-launch:574: async_exec "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/libgtk-3-0/gtk-query-immodules-3.0" > "$GTK_IM_MODULE_FILE

Does that not mean that something is wrong in

extension gnome-3-38

?

Is it possible to overwrite

./snap/command-chain/desktop-launch

and remove the line

574: async_exec "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/libgtk-3-0/gtk-query-immodules-3.0" > "$GTK_IM_MODULE_FILE

?

gtk-query-immodules-3.0 exited abnormally with status 127

anyway, so it shouldn’t be there at all (until the problem might be solved).