[with workaround] InSync 3.7.14.50440, Debian Sid, KDE - crashes when attempting to show window

InSync 3.7.14.50440
Debian Sid - Linux lines 6.0.0-1-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.0.2-1 (2022-10-20) x86_64 GNU/Linux
KDE Plasma 5.26.0
Qt 5.15.6

InSync opens fine but once I either click on the system tray icon, or run insync show, the daemon crashes. This has been happening for at least a month or two and I haven’t had to time to give it any attention. I did a few searches on here but couldn’t find the issue I’m hitting (at least what I found was resolved many versions ago. Here’s some logs (mildly sanitized). The crash happens after the line breaks.

20221024-200413 rubin110@lines:~$ insync start --no-daemon
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open iris: /usr/lib/dri/iris_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: iris
libGL error: MESA-LOADER: failed to open swrast: /usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
libGL error: failed to load driver: swrast
WARNING:root:While reading /usr/share/applications/defaults.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/defaults.list' [line 15]: option 'application/rdf+xml' in section 'Default Applications' already exists
WARNING:root:While reading /usr/share/applications/defaults.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/defaults.list' [line 15]: option 'application/rdf+xml' in section 'Default Applications' already exists

** (process:298002): WARNING **: 20:04:24.565: Failed to load shared library 'libnotify.so.4' referenced by the typelib: /lib/x86_64-linux-gnu/libnotify.so.4: undefined symbol: g_memdup2
INFO     2022-10-24 20:04:24,697 [mainlogs:_log_run:139] Core(app_version=3.7.14.50440, platform=Linux-x86_64-debian/n/a) initialized
WARNING  2022-10-24 20:04:24,708 [base_events:_run_once:1782] Executing <Task pending coro=<init() running at ideskcore/core.py:28> wait_for=<Task pending coro=<SettingsMain._load_settings() running at ideskcore/mainsettings.py:186> cb=[_log_tb_after_delay() at ideskasync/coreloop.py:302, <TaskWakeupMethWrapper object at 0x7fb504f2d510>()] created at ideskcore/mainsettings.py:160> cb=[_log_tb_after_delay() at ideskasync/coreloop.py:302, _chain_future.<locals>._call_set_state() at asyncio/futures.py:358] created at asyncio/events.py:88> took 0.128 seconds
INFO     2022-10-24 20:04:25,067 [inotify_manager:__init__:132] INotifyManager FS_ENCODING: utf-8
INFO     2022-10-24 20:04:25,068 [fswatcher:_start:57] LinuxFSWatcher._start
INFO     2022-10-24 20:04:25,068 [inotify_manager:_pull_loop:315] Inotify loop enter
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
INFO     2022-10-24 20:04:25,388 [fswatcher:watch:77] watch origin: /home/rubin110/Insync/rubin@starset.net/Google Drive - Shared with me
INFO     2022-10-24 20:04:25,397 [app:start_core:65] core started
INFO     2022-10-24 20:04:25,399 [unix_socket_server:start:106] unix socket server thread start
INFO     2022-10-24 20:04:25,409 [fswatcher:watch:77] watch origin: /home/rubin110/gdrive





Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile)
Fatal Python error: Aborted

Thread 0x00007fb4027fc640 (most recent call first):
  File "threading.py", line 296 in wait
  File "concurrent/futures/_base.py", line 430 in result
  File "idesklinux/qtutil.py", line 48 in invoke_in_qt_thread
  File "idesklinux/qtutil.py", line 57 in wrapper
  File "ideskui/htmlui.py", line 73 in show
  File "ideskcore/insync_core.py", line 105 in show_app_dialog
  File "ideskheadless/unix_socket_server.py", line 211 in show
  File "ideskheadless/unix_socket_server.py", line 199 in _handle_linux_simple_api
  File "ideskheadless/unix_socket_server.py", line 183 in __handler
  File "socketserver.py", line 360 in finish_request
  File "socketserver.py", line 650 in process_request_thread
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb402ffd640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4037fe640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb403fff640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb420ff9640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4217fa640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb421ffb640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4237fe640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb444ff9640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb48d7fa640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4457fa640 (most recent call first):
  File "threading.py", line 296 in wait
  File "concurrent/futures/_base.py", line 430 in result
  File "idesksync/shellwork.py", line 154 in get_update
  File "ideskheadless/unix_socket_server.py", line 204 in _handle_shell_updates
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb445ffb640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4467fc640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4477fe640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb446ffd640 (most recent call first):
  File "selectors.py", line 415 in select
  File "socketserver.py", line 232 in serve_forever
  File "ideskheadless/unix_socket_server.py", line 146 in __serve
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb447fff640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb48cff9640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb48dffb640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4c8ff9640 (most recent call first):
  File "ideskheadless/fswatcher.py", line 54 in _poll_devices
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4c97fa640 (most recent call first):
  File "threading.py", line 296 in wait
  File "queue.py", line 170 in get
  File "ideskheadless/fswatcher.py", line 195 in sync
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4c9ffb640 (most recent call first):
  File "ideskheadless/inotify_manager.py", line 326 in _pull_loop
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4ca7fc640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4caffd640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4cb7fe640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4cbfff640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4d8fff640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4d9ffe640 (most recent call first):
  File "concurrent/futures/thread.py", line 78 in _worker
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4da7ff640 (most recent call first):
  File "ideskcore/mainlogs.py", line 219 in _prune_logs
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4f2bfd640 (most recent call first):
  File "idesklinux/app.py", line 45 in _catch_mount_unmount_events
  File "threading.py", line 870 in run
  File "threading.py", line 926 in _bootstrap_inner
  File "threading.py", line 890 in _bootstrap

Thread 0x00007fb4f33fe640 (most recent call first):
  File "enum.py", line 360 in <genexpr>

Current thread 0x00007fb512419000 (most recent call first):
  File "idesklinux/htmlui_impl.py", line 92 in show
  File "idesklinux/qtutil.py", line 43 in wrapper
  File "idesklinux/qtutil.py", line 26 in event
  File "idesklinux/app.py", line 102 in start
  File "idesklinux/app.py", line 107 in run
  File "insynclinux/gui/cli.py", line 142 in start
  File "click/core.py", line 760 in invoke
  File "click/core.py", line 1404 in invoke
  File "click/core.py", line 1657 in invoke
  File "click/core.py", line 1055 in main
  File "click/core.py", line 1130 in __call__
  File "insynclinux/gui/insync.py", line 19 in <module>
Aborted

Hi @rubin110, apologies for the trouble! I have forwarded this to our Linux team for further investigation and I’ll get back to you once I know more. Thank you!

Hello @mia, are there any updates? This still isn’t working.

@rubin110 Hi! Apologies for the silence. I have followed this up with our engineers and await their advise.

Hi @rubin110! :slight_smile: Could you please confirm if the same behavior persists on v3.8.1?

If it does, please do run insync start --no-daemon again and send the output here. Thank you!

Hello. I’m not sure why but I’m getting an error when I reply to your email via email. I’m sending this via your support site.

Just updated:

$ dpkg -l | grep insync
ii  insync                                        3.8.1.50459-bullseye                  amd64        Sync all your Google Drive & OneDrive accounts to your local filesystem

It still fails in the same way.

Thank you!

Messed up that log. Here’s a link to a slightly sanitized copy:

Thanks very much for sending this my way!

I’ve forwarded it to our Linux engineer for further investigation.

I’m following this topic since I’m getting the very same behavior.

Insync syncing is working good, but the app crashes if I try to open the GUI.

Insync 3.8.2.50468-1
Operating System: Arch Linux
KDE Plasma Version: 5.26.3
KDE Frameworks Version: 5.100.0
Qt Version: 5.15.7
Kernel Version: 5.15.80-1-lts (64-bit)
Graphics Platform: X11

Now I uninstalled insync and after that I found a renaming lib file /usr/lib/insync/libstdc++.so.6

Manually removing that file and reinstalling insync solved the problem for me, now I can open insync GUI without crashing.

Thank you for sharing the workaround @hsantanna! I’ll be following this up with our Linux Team to provide a more permanent fix.

Thank you @hsantanna. I can confirm that removing/renaming /usr/lib/insync/libstdc++.so.6 will allow the display of the InSync gui without a crash.

1 Like