Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libgvfscommon.so: undefined symbol: g_task_set_name #536

Closed
chrisbra opened this issue Mar 1, 2023 · 5 comments
Closed

libgvfscommon.so: undefined symbol: g_task_set_name #536

chrisbra opened this issue Mar 1, 2023 · 5 comments

Comments

@chrisbra
Copy link

chrisbra commented Mar 1, 2023

Hey,
I am seeing the following behaviour when downloading the Vim-Appimage on my Debian Bullseye system:

0 200287 chrisbra@debian ~/Downloads % ./GVim-v9.0.1363.glibc2.14-x86_64.AppImage
/usr/lib/x86_64-linux-gnu/gvfs/libgvfscommon.so: undefined symbol: g_task_set_name
Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so
**
GdkPixbuf:ERROR:../gdk-pixbuf/io-bmp.c:732:gdk_pixbuf__bmp_image_begin_load: assertion failed: (size_func != NULL)
Vim: Caught deadly signal ABRT
Vim: Finished.
zsh: abort      ./GVim-v9.0.1363.glibc2.14-x86_64.AppImage

Over at vim/vim-appimage#32 they mention this is a packaging error, missing files /usr/lib/x86_64-linux-gnu/gio/modules/* could that be?

@q962
Copy link

q962 commented Mar 2, 2023

Over at vim/vim-appimage#32 they mention this is a packaging error, missing files /usr/lib/x86_64-linux-gnu/gio/modules/* could that be?

no

It's been a long time, and I forgot what I wanted to express at the beginning.

Pay attention to see: "Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so"
The file exists on the host machine, which is wrong.

The plugin works with the gio library, vim.appimage comes bundled with libgio, but the gio plugin is missing. So the gio plugin on the host will call the libgio.so file bundled with vim.appimage.

@chrisbra
Copy link
Author

chrisbra commented Mar 2, 2023

Pay attention to see: "Failed to load module: /usr/lib/x86_64-linux-gnu/gio/modules/libgvfsdbus.so"
The file exists on the host machine, which is wrong.

Well, we certainly cannot expect users to uninstall anything before running the appimage, right?

The plugin works with the gio library, vim.appimage comes bundled with libgio, but the gio plugin is missing. So the gio plugin on > the host will call the libgio.so file bundled with vim.appimage.

I tried packaging gio modules in chrisbra/vim-appimage-1@560ae43 but that did not fix it.

However, Are you saying we should rather blacklist what, libgio? Which one exactly?
grafik

Thanks for helpful comments!

@q962
Copy link

q962 commented Mar 3, 2023

I think it's the environment variables.

Try GIO_MODULE_DIR
https://docs.gtk.org/gio/overview.html#running-gio-applications

@chrisbra
Copy link
Author

chrisbra commented Mar 3, 2023

Oh, that seems to work:
chrisbra/vim-appimage-1@596968c

But now i noticed, that this error isn't critical, it's just an error. The actual problem is the

GdkPixbuf:ERROR:../gdk-pixbuf/io-bmp.c:732:gdk_pixbuf__bmp_image_begin_load: assertion failed: (size_func != NULL)
Vim: Caught deadly signal ABRT
Vim: Finished.
zsh: abort      ./GVim-v9.0.1363.glibc2.14-x86_64.AppImage

Which seems to come from the appimage gvim unable to load some of my icon signs

Anyhow, it works now when removing this plugin and I can live without the signs plugin. It should be fine and is no issue for this repo here.

So let me also package the gio plugins and close this issue here.

Thanks!

@chrisbra chrisbra closed this as completed Mar 3, 2023
@q962
Copy link

q962 commented Mar 3, 2023

https://gitlab.gnome.org/GNOME/gtk/-/blob/main/docs/reference/gtk/running.md

Maybe you must package gdk modules : GDK_PIXBUF_MODULE_FILE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants