Fedora 34 (Beta) - Insync fails to start

Hi,

When trying to start insync-3.3.8.40942 on Fedora 34 Workstation Edition 64 bits the following error shows up:

    Apr 03 17:22:44 fedora systemd-coredump[55784]: [🡕] Process 55776 (insync) of user 1000 dumped core.
                                                    
                                                    Stack trace of thread 55776:
                                                    #0  0x00007f214be91095 _g_log_abort (libglib-2.0.so.0 + 0x56095)
                                                    #1  0x00007f214be92119 g_log_default_handler (libglib-2.0.so.0 + 0x57119)
                                                    #2  0x00007f214be9234b g_logv (libglib-2.0.so.0 + 0x5734b)
                                                    #3  0x00007f214be92533 g_log (libglib-2.0.so.0 + 0x57533)
                                                    #4  0x00007f214bc477ae g_settings_schema_get_value (libgio-2.0.so.0 + 0xf07ae)
                                                    #5  0x00007f214bc47e40 g_settings_schema_key_init (libgio-2.0.so.0 + 0xf0e40)
                                                    #6  0x00007f214bc4c0b1 g_settings_get_enum (libgio-2.0.so.0 + 0xf50b1)
                                                    #7  0x00007f21383c3d53 update_xft_settings (libgdk-3.so.0 + 0x9ed53)
                                                    #8  0x00007f21383c5800 _gdk_wayland_screen_new (libgdk-3.so.0 + 0xa0800)
                                                    #9  0x00007f21383beaf4 _gdk_wayland_display_open (libgdk-3.so.0 + 0x99af4)
                                                    #10 0x00007f2138360378 gdk_display_manager_open_display (libgdk-3.so.0 + 0x3b378)
                                                    #11 0x00007f2138676bbb gtk_init_check (libgtk-3.so.0 + 0x24dbbb)
                                                    #12 0x00007f2138676bed gtk_init (libgtk-3.so.0 + 0x24dbed)
                                                    #13 0x00007f2138b542b6 _ZN10QGtk3ThemeC2Ev (libqgtk3.so + 0x182b6)
                                                    #14 0x00007f2138b4ec1a _ZN16QGtk3ThemePlugin6createERK7QStringRK11QStringList (libqgtk3.so + 0x12c1a)
                                                    #15 0x00007f21481ded70 _ZN21QPlatformThemeFactory6createERK7QStringS2_ (libQt5Gui.so.5 + 0x138d70)
                                                    #16 0x00007f21481e8af8 _ZN22QGuiApplicationPrivate25createPlatformIntegrationEv (libQt5Gui.so.5 + 0x142af8)
                                                    #17 0x00007f21481e99dd _ZN22QGuiApplicationPrivate21createEventDispatcherEv (libQt5Gui.so.5 + 0x1439dd)
                                                    #18 0x00007f2147b8d2ff _ZN23QCoreApplicationPrivate4initEv (libQt5Core.so.5 + 0x27a2ff)
                                                    #19 0x00007f21481eb30b _ZN22QGuiApplicationPrivate4initEv (libQt5Gui.so.5 + 0x14530b)
                                                    #20 0x00007f2148a341d9 _ZN19QApplicationPrivate4initEv (libQt5Widgets.so.5 + 0x1651d9)
                                                    #21 0x00007f21494e5984 Sbk_QApplication_Init (QtWidgets.abi3.so + 0x18b984)
                                                    #22 0x00007f215d3fc0d7 _PyObject_FastCallKeywords (libpython3.7m.so.1.0 + 0x1430d7)
                                                    #23 0x00007f215d3fd869 n/a (libpython3.7m.so.1.0 + 0x144869)
                                                    #24 0x00007f215d448f8a _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x18ff8a)
                                                    #25 0x00007f215d3e8412 _PyFunction_FastCallKeywords (libpython3.7m.so.1.0 + 0x12f412)
                                                    #26 0x00007f215d3fd6df n/a (libpython3.7m.so.1.0 + 0x1446df)
                                                    #27 0x00007f215d44902e _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x19002e)
                                                    #28 0x00007f215d3e8412 _PyFunction_FastCallKeywords (libpython3.7m.so.1.0 + 0x12f412)
                                                    #29 0x00007f215d3fd6df n/a (libpython3.7m.so.1.0 + 0x1446df)
                                                    #30 0x00007f215d44dd12 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x194d12)
                                                    #31 0x00007f215d3e7420 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0 + 0x12e420)
                                                    #32 0x00007f215d3e8c4e _PyFunction_FastCallDict (libpython3.7m.so.1.0 + 0x12fc4e)
                                                    #33 0x00007f215d44a700 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x191700)
                                                    #34 0x00007f215d3e7420 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0 + 0x12e420)
                                                    #35 0x00007f215d3e8c4e _PyFunction_FastCallDict (libpython3.7m.so.1.0 + 0x12fc4e)
                                                    #36 0x00007f215d3aef76 _PyObject_Call_Prepend (libpython3.7m.so.1.0 + 0xf5f76)
                                                    #37 0x00007f215d3e920e PyObject_Call (libpython3.7m.so.1.0 + 0x13020e)
                                                    #38 0x00007f215d44a700 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x191700)
                                                    #39 0x00007f215d3e8412 _PyFunction_FastCallKeywords (libpython3.7m.so.1.0 + 0x12f412)
                                                    #40 0x00007f215d3fd6df n/a (libpython3.7m.so.1.0 + 0x1446df)
                                                    #41 0x00007f215d44902e _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x19002e)
                                                    #42 0x00007f215d3e7420 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0 + 0x12e420)
                                                    #43 0x00007f215d3e85b0 _PyFunction_FastCallKeywords (libpython3.7m.so.1.0 + 0x12f5b0)
                                                    #44 0x00007f215d3fd6df n/a (libpython3.7m.so.1.0 + 0x1446df)
                                                    #45 0x00007f215d44902e _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x19002e)
                                                    #46 0x00007f215d3e7420 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0 + 0x12e420)
                                                    #47 0x00007f215d3e8c4e _PyFunction_FastCallDict (libpython3.7m.so.1.0 + 0x12fc4e)
                                                    #48 0x00007f215d3aef76 _PyObject_Call_Prepend (libpython3.7m.so.1.0 + 0xf5f76)
                                                    #49 0x00007f215d3e920e PyObject_Call (libpython3.7m.so.1.0 + 0x13020e)
                                                    #50 0x00007f215d44a700 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x191700)
                                                    #51 0x00007f215d3e7420 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0 + 0x12e420)
                                                    #52 0x00007f215d3e8c4e _PyFunction_FastCallDict (libpython3.7m.so.1.0 + 0x12fc4e)
                                                    #53 0x00007f215d3aef76 _PyObject_Call_Prepend (libpython3.7m.so.1.0 + 0xf5f76)
                                                    #54 0x00007f215d3f7245 n/a (libpython3.7m.so.1.0 + 0x13e245)
                                                    #55 0x00007f215d3fc47c _PyObject_FastCallKeywords (libpython3.7m.so.1.0 + 0x14347c)
                                                    #56 0x00007f215d3fd869 n/a (libpython3.7m.so.1.0 + 0x144869)
                                                    #57 0x00007f215d449d19 _PyEval_EvalFrameDefault (libpython3.7m.so.1.0 + 0x190d19)
                                                    #58 0x00007f215d3e7420 _PyEval_EvalCodeWithName (libpython3.7m.so.1.0 + 0x12e420)
                                                    #59 0x00007f215d3e82e9 PyEval_EvalCodeEx (libpython3.7m.so.1.0 + 0x12f2e9)
                                                    #60 0x00007f215d3e830b PyEval_EvalCode (libpython3.7m.so.1.0 + 0x12f30b)
                                                    #61 0x0000000000402ca1 n/a (insync + 0x2ca1)
                                                    #62 0x0000000000403087 n/a (insync + 0x3087)
                                                    #63 0x00007f215d62fb75 __libc_start_main (libc.so.6 + 0x27b75)
                                                    
                                                    Stack trace of thread 55781:
                                                    #0  0x00007f215d2a1a2f pthread_create@@GLIBC_2.2.5 (libpthread.so.0 + 0x9a2f)
                                                    #1  0x00007f214bed6ae7 g_system_thread_new (libglib-2.0.so.0 + 0x9bae7)
                                                    #2  0x00007f214beb486d g_thread_new (libglib-2.0.so.0 + 0x7986d)
                                                    #3  0x00007f214bc6ee34 _g_dbus_worker_new (libgio-2.0.so.0 + 0x117e34)
                                                    #4  0x00007f214bc62167 initable_init (libgio-2.0.so.0 + 0x10b167)
                                                    #5  0x00007f214bba506c async_init_thread (libgio-2.0.so.0 + 0x4e06c)
                                                    #6  0x00007f214bc05dc7 g_task_thread_pool_thread (libgio-2.0.so.0 + 0xaedc7)
                                                    #7  0x00007f214beb4ef4 g_thread_pool_thread_proxy (libglib-2.0.so.0 + 0x79ef4)
                                                    #8  0x00007f214beb44c2 g_thread_proxy (libglib-2.0.so.0 + 0x794c2)
                                                    #9  0x00007f215d2a1299 start_thread (libpthread.so.0 + 0x9299)
                                                    #10 0x00007f215d7086a3 __clone (libc.so.6 + 0x1006a3)
                                                    
                                                    Stack trace of thread 55780:
                                                    #0  0x00007f215d6fd9ff __poll (libc.so.6 + 0xf59ff)
                                                    #1  0x00007f214be8b1ce g_main_context_iterate.isra.0 (libglib-2.0.so.0 + 0x501ce)
                                                    #2  0x00007f214be8b303 g_main_context_iteration (libglib-2.0.so.0 + 0x50303)
                                                    #3  0x00007f214be8b351 glib_worker_main (libglib-2.0.so.0 + 0x50351)
                                                    #4  0x00007f214beb44c2 g_thread_proxy (libglib-2.0.so.0 + 0x794c2)
                                                    #5  0x00007f215d2a1299 start_thread (libpthread.so.0 + 0x9299)
                                                    #6  0x00007f215d7086a3 __clone (libc.so.6 + 0x1006a3)
                                                    
                                                    Stack trace of thread 55782:
                                                    #0  0x00007f215d70315d syscall (libc.so.6 + 0xfb15d)
                                                    #1  0x00007f214bed641c g_mutex_lock_slowpath (libglib-2.0.so.0 + 0x9b41c)
                                                    #2  0x00007f214bc61f6e initable_init (libgio-2.0.so.0 + 0x10af6e)
                                                    #3  0x00007f214bc62914 g_bus_get_sync (libgio-2.0.so.0 + 0x10b914)
                                                    #4  0x00007f2132d3eee7 dconf_gdbus_get_bus_in_worker (libdconfsettings.so + 0x7ee7)
                                                    #5  0x00007f2132d3f0d4 dconf_gdbus_method_call (libdconfsettings.so + 0x80d4)
                                                    #6  0x00007f214be877cb g_idle_dispatch (libglib-2.0.so.0 + 0x4c7cb)
                                                    #7  0x00007f214be8aecd g_main_context_dispatch (libglib-2.0.so.0 + 0x4fecd)
                                                    #8  0x00007f214be8b260 g_main_context_iterate.isra.0 (libglib-2.0.so.0 + 0x50260)
                                                    #9  0x00007f214be8b303 g_main_context_iteration (libglib-2.0.so.0 + 0x50303)
                                                    #10 0x00007f2132d3e3ed dconf_gdbus_worker_thread (libdconfsettings.so + 0x73ed)
                                                    #11 0x00007f214beb44c2 g_thread_proxy (libglib-2.0.so.0 + 0x794c2)
                                                    #12 0x00007f215d2a1299 start_thread (libpthread.so.0 + 0x9299)
                                                    #13 0x00007f215d7086a3 __clone (libc.so.6 + 0x1006a3)
                                                    
                                                    Stack trace of thread 55778:
                                                    #0  0x00007f215d6fd9ff __poll (libc.so.6 + 0xf59ff)
                                                    #1  0x00007f21449a5f42 _xcb_conn_wait.part.0 (libxcb.so.1 + 0xdf42)
                                                    #2  0x00007f21449a78fc xcb_wait_for_event (libxcb.so.1 + 0xf8fc)
                                                    #3  0x00007f21398f2728 _ZN14QXcbEventQueue3runEv (libQt5XcbQpa.so.5 + 0x69728)
                                                    #4  0x00007f21479b8e13 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xa5e13)
                                                    #5  0x00007f215d2a1299 start_thread (libpthread.so.0 + 0x9299)
                                                    #6  0x00007f215d7086a3 __clone (libc.so.6 + 0x1006a3)
    Apr 03 17:22:44 fedora systemd[1]: systemd-coredump@3-55783-0.service: Deactivated successfully.

The ~/.config/Insync/out.log outputs the following error:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(insync:21420): GLib-GIO-ERROR **: 13:54:59.554: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

(insync:55776): GLib-GIO-ERROR **: 17:22:44.462: Settings schema 'org.gnome.settings-daemon.plugins.xsettings' does not contain a key named 'antialiasing'
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

Fair enough, so if you try to run insync with the following command, it kind of works as the QT window decoration is not loaded:

$ >> env QT_QPA_PLATFORM=wayland insync start

This is the output after starting insync with the command above:

QSocketNotifier: Can only be used with threads started with QThread
Using Wayland-EGL
libEGL warning: MESA-LOADER: failed to open iris: /usr/lib/insync/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/iris_dri.so) (search paths /usr/lib64/dri)

libEGL warning: MESA-LOADER: failed to open swrast: /usr/lib/insync/libstdc++.so.6: version `GLIBCXX_3.4.29' not found (required by /usr/lib64/dri/swrast_dri.so) (search paths /usr/lib64/dri)

failed to initialize EGL display
WARNING:root:While reading /usr/share/applications/mimeapps.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 53, in __index_default_apps
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/mimeapps.list' [line 331]: option 'image/tiff' in section 'Default Applications' already exists
WARNING:root:While reading /usr/share/applications/gnome-mimeapps.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 53, in __index_default_apps
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/gnome-mimeapps.list' [line 331]: option 'image/tiff' in section 'Default Applications' already exists
WARNING:root:While reading /usr/share/applications/gnome-mimeapps.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 70, in __index_apps_for_mimetypes
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/gnome-mimeapps.list' [line 331]: option 'image/tiff' in section 'Default Applications' already exists
WARNING:root:While reading /usr/share/applications/mimeapps.list
Traceback (most recent call last):
  File "idesklinux/application_manager.py", line 70, in __index_apps_for_mimetypes
  File "configparser.py", line 696, in read
  File "configparser.py", line 1091, in _read
configparser.DuplicateOptionError: While reading from '/usr/share/applications/mimeapps.list' [line 331]: option 'image/tiff' in section 'Default Applications' already exists
INFO     2021-04-03 17:32:10,658 [mainlogs:_log_run:139] Core(app_version=3.3.8.40942, platform=Linux-x86_64-fedora/34) initialized
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Using the 'xdg-shell' shell integration
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
INFO     2021-04-03 17:32:10,892 [main:start_core:49] core started
INFO     2021-04-03 17:32:10,893 [unix_socket_server:start:57] unix socket server thread start
libva error: vaGetDriverNameByIndex() failed with unknown libva error, driver_name = (null)
[56534:56534:0403/173219.301469:ERROR:sandbox_linux.cc(374)] InitializeSandbox() called with multiple threads in process gpu-process.
[56534:56534:0403/173228.843189:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 1 times!
[56534:56534:0403/173232.945635:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 2 times!
[56534:56534:0403/173311.053345:ERROR:gl_surface_presentation_helper.cc(259)] GetVSyncParametersIfAvailable() failed for 3 times!
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
js: ResizeObserver loop limit exceeded
js: ResizeObserver loop limit exceeded
Opening in existing browser session.
Opening in existing browser session.
INFO     2021-04-03 17:34:15,334 [fs:delete_reg:247] Permanently deleting: /home/yyyyyyy/.config/Insync/data/gd-111754278211601884946.db
INFO     2021-04-03 17:34:15,339 [fs:delete_reg:247] Permanently deleting: /home/yyyyyyy/.config/Insync/live/live-gd-111754278211601884946.db
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
js: ResizeObserver loop limit exceeded
js: ResizeObserver loop limit exceeded
INFO     2021-04-03 17:34:35,977 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2021-04-03 17:34:35,977 [inotify_manager:_pull_loop:312] Inotify loop enter
INFO     2021-04-03 17:34:35,980 [fswatcher:watch:77] watch origin: /home/yyyyyyy/Insync/xxxxxxxx@xxxxxxxx.com/Google Drive
js: ResizeObserver loop limit exceeded
Opening in existing browser session.
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
js: ResizeObserver loop limit exceeded
js: ResizeObserver loop limit exceeded
INFO     2021-04-03 17:35:07,613 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2021-04-03 17:35:07,613 [inotify_manager:_pull_loop:312] Inotify loop enter
INFO     2021-04-03 17:35:07,616 [fswatcher:watch:77] watch origin: /home/yyyyyyy/Insync/xxxxxxxx@xxxxxxxx.com/Google Drive
js: ResizeObserver loop limit exceeded

Is there any known ongoing bug? Btw, is there any RFE for GTK support instead of QT?

Thank you!

Hi! Let me check this with our engineers @tiagomdrizzo! Thank you for sending the output.

I too am having the same issue on Fedora 34.

(insync:7016): GLib-GIO-ERROR **: 21:32:14.738: Settings schema ‘org.gnome.settings-daemon.plugins.xsettings’ does not contain a key named ‘antialiasing’

I think the issue is related to https://gitlab.gnome.org/GNOME/gtk/-/issues/3680 and generally to the changes in Gnome 40

1 Like

@Guido_Conaldi Thank you for the lead-- we have followed up on this issue with our Linux team :slight_smile:

I think the problem is related to Gnome 40.
I tried to install Insync on Arch Linux with Gnome 40 but it didn’t start. Then I changed to Gnome 3.38 and it worked.

Here are a few additional observations (and some solutions/workarounds):

  1. With Fedora 34 (beta) & GNOME 40, under a x.org (X11) session (selected at login, with gdm), Insync appears to work (application loads normally, including window decoration).

  2. Still with Fedora 34 (beta) & GNOME 40, but under a Walyand session (which is the default option), Insync will work with the following command (forcing it to load under a X11/xwayland setup :

env GDK_BACKEND=x11 insync start

Now, these are just workarounds… There is still a problem to be solved, probably related to GNOME 40 (and/or gtk4), since Insync works normally under a Wayland session with GNOME 3.38 and gtk3 (so it doesn’t appeart to be a specitic Wayland related problem). It will eventually affect Ubuntu and all other Linux distros when they will move to GNOME 40/gtk4.

Hey guys! We’re looking into the GNOME 40 issues and will investigate this in depth. I’ll update this thread accordingly!

Update! This will be fixed in the next release :grin:

2 Likes

@mia hello!
Has the fix been released? I am on Fedora 34 Workstation now with Insync 3.3.9.40955-fc33. It does not start with no error messages. Any ideas how to fix this?
FIle ~/.config/Insync/out.txt is empty. I am on x-session with Nvidia GPU drivers.

UPD: Problem occured after update from GNOME 40.0.0 to 40.1.0

@toftl Fix here After libxkbcommon update in fedora 34, insync no longer starts [with workaround]

2 Likes

Thank you for linking this, @linuser :slight_smile:

It’s a shame it’s taking them so long to release an updated package for this.

Great job, works perfectly thanks!

Hey all! As per our engineers, the Fedora 34 build is in the works. :slight_smile: Thank you for your patience, for providing feedback, and reporting these issues.

Hello everyone!! Please give this Fedora 34 build a try:
https://d2t3ff60b2tol4.cloudfront.net/builds/insync-3.3.10.40961-fc34.x86_64.rpm

Let me know how it goes by replying to this thread :slight_smile: Thank you!

1 Like

It does work but when install it just open a second and then breaks. Im using Fedora 34 Gnome.

Installed the RPM Fusion Repository and worked (managed to open insync) then crashed every time. Please let me know when you have updates for this Linux version. Hope soon since insync has become a very important part of my workflow.

Hi @yerch82,

Let me know if you’ve gotten the chance to send us your logs.db and out.txt files! You can email them to support@insynchq.com with the link to this post. We can investigate from there :slight_smile:

Already sent the information. Thanks for the quick response.

1 Like