Segfault on Latest Insync (Debian Stretch)

Hello,

I’m a Insync Plus user, and I’m having issues with the Linux client since the latest update on Debian Stretch (I’m currently running Debian 9.0 RC3 amd64).

Since the latest update, the tray icon closed and when I try to run Insync it closes immediately. It ran fine till then.

This is the output of a command-line startup attempt:

luncheon@x230:~$ insync start --no-daemon
INFO     2017-04-20 21:48:01,268 [__init__:info:1622] insync version: 1.3.15.36150
INFO     2017-04-20 21:48:01,270 [__init__:info:1622] client created <ideskmain.client.Client object at 0x7f3ab8d595d0>
INFO     2017-04-20 21:48:01,271 [__init__:info:1622] unix socket server thread start
INFO     2017-04-20 21:48:01,271 [__init__:info:1622] starting client
INFO     2017-04-20 21:48:01,277 [__init__:info:1622] LinuxFSWatcher._start
INFO     2017-04-20 21:48:01,278 [__init__:info:1622] Inotify loop enter
INFO     2017-04-20 21:48:01,519 [__init__:info:1622] Syncing GDUser(id=u'103941202733193055845', email=u'accaceres@gmail.com', name=u'Alejandro Caceres').

(insync:4398): GStreamer-WARNING **: External plugin loader failed. This most likely means that the plugin loader helper binary was not found or could not be run. You might need to set the GST_PLUGIN_SCANNER environment variable if your setup is unusual. This should normally not be required though.

(insync:4398): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstossaudio.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstossaudio.so: undefined symbol: gst_element_class_add_static_pad_template

(several gstreamer plugin errors redacted due to space constraints)

(insync:4398): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiovisualizers.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiovisualizers.so: undefined symbol: gst_element_class_add_static_pad_template

(insync:4398): GStreamer-WARNING **: Failed to load plugin '/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmidi.so': /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstmidi.so: undefined symbol: gst_element_class_add_static_pad_template
Fatal Python error: Segmentation fault

Thread 0x00007f3ab50d0700:
  File "ideskmain/clienttasks/_logs_pruner.py", line 35 in __prune_logs
  File "ideskutils/gevent_itc.py", line 92 in wrapper
  File "threading.py", line 763 in run
  File "threading.py", line 810 in __bootstrap_inner
  File "threading.py", line 783 in __bootstrap

Thread 0x00007f3ab68d3700:
  File "isyncd/linux/fswatch.py", line 278 in _pull_loop
  File "threading.py", line 763 in run
  File "threading.py", line 810 in __bootstrap_inner
  File "threading.py", line 783 in __bootstrap

Thread 0x00007f3ab7114700:
  File "SocketServer.py", line 155 in _eintr_retry
  File "SocketServer.py", line 236 in serve_forever
  File "isyncd/linux/portable/unix_socket_server_portable.py", line 76 in __serve
  File "threading.py", line 763 in run
  File "threading.py", line 810 in __bootstrap_inner
  File "threading.py", line 783 in __bootstrap

Thread 0x00007f3ac8205700:
  File "gevent/hub.py", line 179 in run

Current thread 0x00007f3adda3c700:
  File "__main__insync__.py", line 117 in main
  File "__main__insync__.py", line 180 in <module>
  File "__main__.py", line 128 in <module>
  File "<string>", line 6 in <module>
Segmentation fault
luncheon@x230:~$ 

This is the installed version:

luncheon@x230:~$ dpkg -l | grep insync
ii  insync                                1.3.15.36150-jessie                  amd64        Google Drive sync and backup with multiple account support
ii  insync-dolphin                        1.3.12.36116-precise                 all          Google Drive sync and backup with multiple account support
ii  insync-nautilus                       1.3.12.36116-precise                 all          Google Drive sync and backup with multiple account support
luncheon@x230:~$ uname -a
Linux x230 4.9.0-2-amd64 #1 SMP Debian 4.9.18-1 (2017-03-30) x86_64 GNU/Linux
luncheon@x230:~$ 

Please let me know what additional information I can provide, to try and get this fixed.

Thanks!

I’m getting the same on OpenSUSE Tumbleweed with the latest insync.
Identical stacktrace.

tagging our engineer @lpugoy

I forgot to add: just to clarify, the problems started after an OS update, not the Insync app update - have been using insync/1.3.15.36150-jessie for a while now.

Same here. I’m using Debian Stretch and the same issue occurred in two different computers with the same system (office and home office). But, in my case, it happened after an OS update where Insync were among the updated packages.

Here is the list of updated packages:

Start-Date: 2017-04-20 18:01:25
Commandline: apt-get upgrade
Requested-By: sabrina (1000)
Upgrade: libefivar1:amd64 (30-1, 30-2), libavformat57:amd64 (10:3.2.4-dmo3, 10:3.3-dmo1), libavfilter6:amd64 (10:3.2.4-dmo3, 10:3.3-dmo1), ffmpeg:amd64 (10:3.2.4-dmo3, 10:3.3-dmo1), libswresample2:amd64 (10:3.2.4-dmo3, 10:3.3-dmo1), mplayer-doc:amd64 (4:1.3.0~20170214.svn37924-dmo2, 4:1.3.0~20170413.svn37931-dmo1), libicu57:amd64 (57.1-5, 57.1-6), bsdmainutils:amd64 (9.0.12, 9.0.12+nmu1), libefiboot1:amd64 (30-1, 30-2), google-chrome-stable:amd64 (57.0.2987.133-1, 58.0.3029.81-1), insync:amd64 (1.3.14.36131-wheezy, 1.3.15.36150-jessie), libpostproc54:amd64 (10:3.2.4-dmo3, 10:3.3-dmo1), libtiff5:amd64 (4.0.7-5, 4.0.7-6), libavcodec57:amd64 (10:3.2.4-dmo3, 10:3.3-dmo1), libavutil55:amd64 (10:3.2.4-dmo3, 10:3.3-dmo1), libavdevice57:amd64 (10:3.2.4-dmo3, 10:3.3-dmo1), libswscale4:amd64 (10:3.2.4-dmo3, 10:3.3-dmo1), libsodium18:amd64 (1.0.11-1, 1.0.11-2), libicu-dev:amd64 (57.1-5, 57.1-6), icu-devtools:amd64 (57.1-5, 57.1-6), libavresample3:amd64 (10:3.2.4-dmo3, 10:3.3-dmo1), mplayer:amd64 (4:1.3.0~20170214.svn37924-dmo2, 4:1.3.0~20170413.svn37931-dmo1)
End-Date: 2017-04-20 18:02:07

I have the same problem. However, latest Ubuntu version of the client works fine on Stretch.

I avoided this problem by removing the Insync package and reinstalling it using the 64-bit deb installer, which comes with “1.3.15.36150-wheezy” version. However, I don’t like to use installers… Then I tried to reinstall the repository version, just for a test, and again I’ve had the problematic version installed: “1.3.15.36150-jessie”, with the same error. So, it seems something in jessie version, present on jessie and stretch repositories, it’s not OK and it’s causing this crash. Thus, I changed my Insync repository to wheezy (instead of stretch), assuming it contained the same version that came with the installer, installed (yes, is the same version) and now everything is working.

@SabrinaTigik: Thanks for the info. If possible please try the test build for Debian Stretch available here: New Insync version: 1.3.15.

@groksteve: Which Insync package did you install? If possible please try the build for Fedora 25 as well.

@lpugoy, thanks for the suggestion! I’ve just installed your recommended version in my office computer and, by now, it’s working fine. Do you have any idea when this version will be available on stretch repository?

Latest build runs fine on Stretch amd64. Thanks for the quick response!!

@SabrinaTigik @Alejandro_Caceres: Thanks for the feedback. The repo will be updated once we have confirmed that it solves the issue for users.

@lpugoy Tried with 1.3.15.36150-fc21 initially which led to the original issue. No problems however with the fc25 RPM.

I am having the same problem. I’m not sure when it started. Insync segfaults when I start it. I tried renaming ~/.config/Insync and starting from scratch and insync works as expected until I log into an account at which point it crashes. If I copy the Insync/dbs folder to a fresh install insync crashes.

1016 /usr/lib/x86_64-linux-gnu/gstreamer-1.0 %lsb_release -a && uname -a                 No LSB modules are available.
Distributor ID:	Debian
Description:	Debian GNU/Linux 9.0 (stretch)
Release:	9.0
Codename:	stretch
Linux desktop 4.9.0-3-amd64 #1 SMP Debian 4.9.30-2+deb9u1 (2017-06-18) x86_64 GNU/Linux

insync version

1007 /etc/apt/sources.list.d %dpkg -l | grep insync                       
ii  insync                                    1.3.17.36167-jessie                    amd64        Google Drive sync and backup with multiple account support
ii  insync-dolphin                            1.3.12.36116-precise                   all          Google Drive sync and backup with multiple account support
ii  insync-nautilus                           1.3.12.36116-precise                   all          Google Drive sync and backup with multiple account support
ii  insync-nemo                               1.3.12.36116-precise                   all          Google Drive sync and backup with multiple account support

gstreamer info:

1008 /etc/apt/sources.list.d %dpkg -l | grep gstreamer
ii  gir1.2-gstreamer-1.0                      1.10.4-1                               amd64        GObject introspection data for the GStreamer library
ii  gstreamer1.0-clutter-3.0                  3.0.24-1                               amd64        Clutter PLugin for GStreamer 1.0
ii  gstreamer1.0-libav:amd64                  1:1.10.4-dmo1                          amd64        FFmpeg plugin for GStreamer
ii  gstreamer1.0-nice:amd64                   0.1.13-2                               amd64        ICE library (GStreamer plugin)
ii  gstreamer1.0-plugins-bad:amd64            1:1.10.4-dmo2                          amd64        GStreamer plugins from the "bad" set
ii  gstreamer1.0-plugins-base:amd64           1.10.4-1                               amd64        GStreamer plugins from the "base" set
ii  gstreamer1.0-plugins-good:amd64           1.10.4-1                               amd64        GStreamer plugins from the "good" set
ii  gstreamer1.0-plugins-ugly:amd64           1:1.10.4-dmo1                          amd64        GStreamer plugins from the "ugly" set
ii  gstreamer1.0-pulseaudio:amd64             1.10.4-1                               amd64        GStreamer plugin for PulseAudio
ii  gstreamer1.0-x:amd64                      1.10.4-1                               amd64        GStreamer plugins for X11 and Pango
ii  libgstreamer-plugins-bad1.0-0:amd64       1:1.10.4-dmo2                          amd64        GStreamer development files for libraries from the "bad" set
ii  libgstreamer-plugins-base1.0-0:amd64      1.10.4-1                               amd64        GStreamer libraries from the "base" set
ii  libgstreamer1.0-0:amd64                   1.10.4-1                               amd64        Core GStreamer libraries and elements
ii  libreoffice-avmedia-backend-gstreamer     1:5.2.7-1                              amd64        GStreamer backend for LibreOffice

@Will_Everett: Apologies for not replying sooner. Your output shows that you are using the build for Debian Jessie. Please try the build for Debian Stretch instead. You can get it from www.insynchq.com/downloads in the Installers section or through this direct link here: https://d2t3ff60b2tol4.cloudfront.net/builds/insync_1.3.18.36169-stretch_amd64.deb.

Hello all!

I went to write here because I had the same issue. After update my Debian stable yesterday morning Insync stopped working. From then I’ve looked for a solution in this forum and I’ve made a lot of tests in order to solve the problem. To sum up: I wrote a message in a wrong thread in this forum. Luckily and thanks to @gio that I was redirected here again.

I update my systems by apt-get or aptitude. For a unknow reason, my system had installed 1.3.17.36167-jessie version, with the issue of this thread.

Thanks to @lpugoy, downloading the right package for strecht and installing it by dpkg solves the problem. Now Insync works like a charm.

Thank you very much for your support!

By the way: I do not know why, the line in insync.list still pointing to jessie version, even the insync version installed is 1.3.18.36169 for strecht.