Plugins using VTE such as multiterm or debugger are linked against the non-symlinked version of the library like libvte.9.dylib and not libvte.dylib. When a bundle is created, all symlinks are replaced by a copy of the symlinked file. This means there are both libvte.dylib and libvte.9.dylib in the bundle both containing the same code. When Geany loads libvte.dylib and plugins load libvte.9.dylib the same code gets loaded twice and when the same type gets registered by GTK, it fails and the whole application freezes.
This problem doesn't exist on linux or when running from the command line on macOS because the operating system detects it's the same library because of the symlink and it's loaded only once. Loading the same library as the one used by plugins fixes the issue with macOS bundle. Fixes #1555 You can view, comment on, or merge this pull request online at: https://github.com/geany/geany/pull/1625 -- Commit Summary -- * Use non-symlinked VTE libraries on macOS -- File Changes -- M src/vte.c (6) -- Patch Links -- https://github.com/geany/geany/pull/1625.patch https://github.com/geany/geany/pull/1625.diff -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/geany/geany/pull/1625
