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

SIGSEGV from daemon on startup #3

Closed
JakeStanger opened this issue Mar 3, 2022 · 5 comments
Closed

SIGSEGV from daemon on startup #3

JakeStanger opened this issue Mar 3, 2022 · 5 comments

Comments

@JakeStanger
Copy link

JakeStanger commented Mar 3, 2022

Starting the daemon crashes immediately with a SIGSEGV, I can't get any more info out than this unfortunately

❯ mconnect -d
** (mconnect:85806): DEBUG: 21:53:38.333: config.vala:46: config search dir: /home/jake/.config/mconnect
** (mconnect:85806): DEBUG: 21:53:38.334: config.vala:46: config search dir: /usr/local/share/mconnect
** (mconnect:85806): DEBUG: 21:53:38.334: config.vala:46: config search dir: /usr/share/mconnect
** Message: 21:53:38.334: config.vala:58: loaded configuration from /home/jake/.config/mconnect/mconnect.conf
(mconnect:85806): GLib-GIO-DEBUG: 21:53:38.336: _g_io_module_get_default: Found default implementation gvfs (GDaemonVfs) for ?gio-vfs?
(mconnect:85806): GLib-GIO-DEBUG: 21:53:38.336: _g_io_module_get_default: Found default implementation gnutls (GTlsBackendGnutls) for ?gio-tls-backend?
** INFO: 21:53:38.337: share.vala:51: downloads will be saved to /home/jake/Downloads/mconnect
fish: Job 1, 'mconnect -d' terminated by signal SIGSEGV (Address boundary error)

Or with another shell, the standard:

zsh: segmentation fault (core dumped)  mconnect -d
Output of `ldd`
	linux-vdso.so.1 (0x00007ffe848ec000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f7c2d2f7000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f7c2d29c000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f7c2d0d2000)
	libjson-glib-1.0.so.0 => /usr/lib/libjson-glib-1.0.so.0 (0x00007f7c2d0a7000)
	libgee-0.8.so.2 => /usr/lib/libgee-0.8.so.2 (0x00007f7c2cfda000)
	libnotify.so.4 => /usr/lib/libnotify.so.4 (0x00007f7c2cfd0000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f7c2cf88000)
	libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x00007f7c2ce90000)
	libXtst.so.6 => /usr/lib/libXtst.so.6 (0x00007f7c2ce88000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f7c2cd46000)
	libgnutls.so.30 => /usr/lib/libgnutls.so.30 (0x00007f7c2cb57000)
	libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00007f7c2c39e000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f7c2c192000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f7c2c11b000)
	libffi.so.8 => /usr/lib/libffi.so.8 (0x00007f7c2c10f000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f7c2c108000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f7c2c0ee000)
	libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f7c2c0ab000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f7c2bfc1000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f7c2bf8a000)
	libjpeg.so.8 => /usr/lib/libjpeg.so.8 (0x00007f7c2bf09000)
	libtiff.so.5 => /usr/lib/libtiff.so.5 (0x00007f7c2be75000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f7c2be70000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f7c2bd51000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f7c2bce9000)
	libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007f7c2bcc9000)
	libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x00007f7c2bcbd000)
	libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0x00007f7c2bb8b000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f7c2bb3b000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f7c2bb2a000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007f7c2bb23000)
	libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007f7c2bada000)
	libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007f7c2bac8000)
	libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x00007f7c2babe000)
	libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x00007f7c2bab9000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f7c2baa5000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f7c2ba8e000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f7c2ba82000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007f7c2ba7d000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f7c2ba74000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007f7c2ba6f000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f7c2ba62000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f7c2ba5b000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f7c2ba31000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f7c2ba2c000)
	libp11-kit.so.0 => /usr/lib/libp11-kit.so.0 (0x00007f7c2b8f9000)
	libidn2.so.0 => /usr/lib/libidn2.so.0 (0x00007f7c2b8d7000)
	libunistring.so.2 => /usr/lib/libunistring.so.2 (0x00007f7c2b753000)
	libtasn1.so.6 => /usr/lib/libtasn1.so.6 (0x00007f7c2b73d000)
	libnettle.so.8 => /usr/lib/libnettle.so.8 (0x00007f7c2b6f6000)
	libhogweed.so.6 => /usr/lib/libhogweed.so.6 (0x00007f7c2b6ad000)
	libgmp.so.10 => /usr/lib/libgmp.so.10 (0x00007f7c2b60d000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f7c2d4ab000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f7c2b520000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f7c2b505000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007f7c2b4dc000)
	libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0x00007f7c2b4a6000)
	libcloudproviders.so.0 => /usr/lib/libcloudproviders.so.0 (0x00007f7c2b48e000)
	libtracker-sparql-3.0.so.0 => /usr/lib/libtracker-sparql-3.0.so.0 (0x00007f7c2b3ce000)
	libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f7c2b394000)
	libzstd.so.1 => /usr/lib/libzstd.so.1 (0x00007f7c2b2e5000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f7c2b2bc000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f7c2b1f1000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f7c2b1e4000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f7c2b1d4000)
	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f7c2b1cd000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f7c2b125000)
	libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f7c2b11a000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f7c2b0e9000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f7c2b0e4000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f7c2b0da000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f7c2b0b5000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f7c2b062000)
	libatspi.so.0 => /usr/lib/libatspi.so.0 (0x00007f7c2b027000)
	libstemmer.so.0 => /usr/lib/libstemmer.so.0 (0x00007f7c2af61000)
	libicuuc.so.70 => /usr/lib/libicuuc.so.70 (0x00007f7c2ad63000)
	libicui18n.so.70 => /usr/lib/libicui18n.so.70 (0x00007f7c2aa3d000)
	libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0x00007f7c2a8ef000)
	libxml2.so.2 => /usr/lib/libxml2.so.2 (0x00007f7c2a765000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f7c2a752000)
	libbrotlidec.so.1 => /usr/lib/libbrotlidec.so.1 (0x00007f7c2a744000)
	libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f7c2a738000)
	libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f7c2a65c000)
	libicudata.so.70 => /usr/lib/libicudata.so.70 (0x00007f7c28a40000)
	libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f7c2881a000)
	libgcc_s.so.1 => /usr/lib/libgcc_s.so.1 (0x00007f7c287ff000)
	libbrotlicommon.so.1 => /usr/lib/libbrotlicommon.so.1 (0x00007f7c287da000)
	liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f7c287b7000)
	libcap.so.2 => /usr/lib/libcap.so.2 (0x00007f7c287ab000)
	libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f7c2866f000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f7c28648000)

Arch Linux, using the AUR package. Happy to provide any additional info.

@vlada-dudr
Copy link

Same here. It crashes somewhere in gtk when getting default x server. I tried original bboozzoo repository and it starts without problems.

@JakeStanger
Copy link
Author

It crashes somewhere in gtk when getting default x server.

Interesting, I wonder if that is a different but similar problem. I'm on Wayland & it was working fine before

@grimpy grimpy closed this as completed in 3991150 Apr 9, 2022
@grimpy
Copy link
Owner

grimpy commented Apr 9, 2022

Not sure why I didnt get a notification mail when this was reported, thanks for reporting it seems I made a typo when I was trying to make mconnect work on a headless node.

Should be fixed now

@JakeStanger
Copy link
Author

Can confirm it's now working, thanks for fixing!

@selurvedu
Copy link

selurvedu commented Nov 13, 2023

@grimpy could you give me a hint why did you change Gtk.init_check to Gtk.init in 3991150?

I'm asking because that exactly the opposite of what I did in bboozzoo#61.

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

4 participants