Quick start then crash: Fedora 26

Hey @lpugoy (I’ve seen others tag you so I hope it’s ok to do so)!

Insync starts and then crashes after about 15 seconds of attempting to sync. It was working fine before I updated it to the most recent version (I think). Tried searching forums but couldn’t find the answer.

Here’s the version I’m using: 1.3.17.36167-fc26

Here’s the error I get:

Traceback (most recent call last):
File “main__insync.py”, line 129, in ipc_insync
File “socket.py”, line 228, in meth
error: [Errno 111] Connection refused

@rabbittown: What is the output of insync start --no-daemon?

Thanks for your reply @lpugoy. I have produced the result here but have removed some of my private information like username, name, email addresses, and long numeric Insync userid. I hope that this doesn’t cause a problem for reading this output.

which: no kreadconfig in (/usr/lib/insync:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home//.local/bin:/home//bin)
“sni-qt/5309” WARN 18:28:00.621 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
INFO 2017-08-01 18:28:00,794 [main__insync:main:101] insync version: 1.3.17.36167
INFO 2017-08-01 18:28:00,796 [main__insync:main:102] client created <ideskmain.client.Client object at 0x7f755edabf90>
INFO 2017-08-01 18:28:00,798 [unix_socket_server_portable:start:47] unix socket server thread start
INFO 2017-08-01 18:28:00,799 [main__insync:main:110] starting client
INFO 2017-08-01 18:28:00,807 [fswatch:_start:532] LinuxFSWatcher._start
INFO 2017-08-01 18:28:00,809 [fswatch:_pull_loop:267] Inotify loop enter
libpng warning: iCCP: known incorrect sRGB profile
INFO 2017-08-01 18:28:00,931 [gdsyncer:sync_account:145] Syncing GDUser(id=u’’, email=u’’, name=u’’).
INFO 2017-08-01 18:28:03,324 [gdsyncer:sync_account:145] Syncing GDUser(id=u’’, email=u’’, name=u’’).
INFO 2017-08-01 18:28:03,325 [fswatch:watch:550] watch origin: /home//
INFO 2017-08-01 18:28:40,252 [client:__on_gd_account_added:802] GDUser(id=u’’, email=u’’, name=u’’) (existing) is now being synced.
libpng warning: iCCP: known incorrect sRGB profile
INFO 2017-08-01 18:28:40,454 [fswatch:watch:550] watch origin: /home//
Fatal Python error: Segmentation fault

Thread 0x00007f755d491700:
File “isyncd/linux/fswatch.py”, line 278 in _pull_loop
File “threading.py”, line 757 in run
File “threading.py”, line 804 in __bootstrap_inner
File “threading.py”, line 777 in __bootstrap

Thread 0x00007f755dcd2700:
File “SocketServer.py”, line 150 in _eintr_retry
File “SocketServer.py”, line 231 in serve_forever
File “isyncd/linux/portable/unix_socket_server_portable.py”, line 76 in __serve
File “threading.py”, line 757 in run
File “threading.py”, line 804 in __bootstrap_inner
File “threading.py”, line 777 in __bootstrap

Thread 0x00007f757affd700:
File “threading.py”, line 340 in wait
File “threading.py”, line 617 in wait
File “isyncd/linux/qtutil.py”, line 47 in invoke_in_qt_thread
File “isyncd/linux/qtutil.py”, line 58 in wrapper
File “ideskui/htmlui.py”, line 40 in call_js
File “ideskui/appui.py”, line 381 in __on_account_added
File “gevent/greenlet.py”, line 390 in run

Current thread 0x00007f759d3fb700:
File “isyncd/linux/htmlui_base.py”, line 92 in exec_js
File “isyncd/linux/qtutil.py”, line 40 in wrapper
File “isyncd/linux/qtutil.py”, line 25 in event
File “main__insync.py”, line 117 in main
File “main__insync.py”, line 180 in
File “main.py”, line 128 in
File “”, line 6 in
Segmentation fault (core dumped)

@rabbittown: Yes, that is fine, thanks. As a follow up please run the following commands too:

  • cd /usr/lib/insync
  • gdb --args ./insync start --no-daemon
  • in the gdb prompt, run r
  • when Insync crashes, run bt in the gdb prompt

Here’s the output but Insync didn’t crash in the same way it did before when I tried to run it, oddly. Instead it sort of froze. Do you know what might be the problem as a result of it not crashing now but freezing?

GNU gdb (GDB) Fedora 8.0-13.fc26
Copyright © 2017 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type “show copying”
and “show warranty” for details.
This GDB was configured as “x86_64-redhat-linux-gnu”.
Type “show configuration” for configuration details.
For bug reporting instructions, please see:
http://www.gnu.org/software/gdb/bugs/.
Find the GDB manual and other documentation resources online at:
http://www.gnu.org/software/gdb/documentation/.
For help, type “help”.
Type “apropos word” to search for commands related to “word”…
Reading symbols from ./insync…(no debugging symbols found)…done.
(gdb) r
Starting program: /usr/lib/insync/insync start --no-daemon
Missing separate debuginfos, use: dnf debuginfo-install insync-1.3.17.36167-fc26.x86_64
[Thread debugging using libthread_db enabled]
Using host libthread_db library “/lib64/libthread_db.so.1”.
[New Thread 0x7fffdc1d2700 (LWP 5804)]
[New Thread 0x7fffdb9d1700 (LWP 5805)]
[New Thread 0x7fffdb1d0700 (LWP 5806)]
[New Thread 0x7fffda9cf700 (LWP 5807)]
[New Thread 0x7fffda17a700 (LWP 5809)]
Detaching after fork from child process 5810.
[Thread 0x7fffdb1d0700 (LWP 5806) exited]
Detaching after fork from child process 5811.
Detaching after fork from child process 5812.
Detaching after fork from child process 5814.
which: no kreadconfig in (/usr/lib/insync:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/<>/.local/bin:/home/<>/bin)
Detaching after fork from child process 5816.
[New Thread 0x7fffdb1d0700 (LWP 5817)]
“sni-qt/5800” WARN 20:59:51.088 void StatusNotifierItemFactory::connectToSnw() Invalid interface to SNW_SERVICE
Detaching after fork from child process 5818.
[New Thread 0x7fffb88d7700 (LWP 5820)]
[Thread 0x7fffb88d7700 (LWP 5820) exited]
INFO 2017-08-01 20:59:51,226 [main__insync:main:101] insync version: 1.3.17.36167
INFO 2017-08-01 20:59:51,228 [main__insync:main:102] client created <ideskmain.client.Client object at 0x7fffb9a00fd0>
INFO 2017-08-01 20:59:51,229 [unix_socket_server_portable:start:47] unix socket server thread start
[New Thread 0x7fffb88d7700 (LWP 5821)]
INFO 2017-08-01 20:59:51,231 [main__insync:main:110] starting client
INFO 2017-08-01 20:59:51,240 [fswatch:_start:532] LinuxFSWatcher._start
[New Thread 0x7fffb3fff700 (LWP 5822)]
INFO 2017-08-01 20:59:51,242 [fswatch:_pull_loop:267] Inotify loop enter
[New Thread 0x7fffb37fe700 (LWP 5823)]
[New Thread 0x7fffb2ffd700 (LWP 5824)]
[Thread 0x7fffb37fe700 (LWP 5823) exited]
[New Thread 0x7fffb37fe700 (LWP 5825)]
Detaching after fork from child process 5826.
libpng warning: iCCP: known incorrect sRGB profile
[New Thread 0x7fffb0e6a700 (LWP 5829)]
[Thread 0x7fffb2ffd700 (LWP 5824) exited]
INFO 2017-08-01 20:59:51,399 [gdsyncer:sync_account:145] Syncing GDUser(id=u’<>’, email=u’<>’, name=u’<>’).
[New Thread 0x7fffb2ffd700 (LWP 5830)]
[New Thread 0x7fff63dcd700 (LWP 5831)]
[New Thread 0x7fff62259700 (LWP 5832)]
[New Thread 0x7fff61a58700 (LWP 5833)]
[Thread 0x7fff63dcd700 (LWP 5831) exited]
[Thread 0x7fffb37fe700 (LWP 5825) exited]
INFO 2017-08-01 20:59:53,742 [gdsyncer:sync_account:145] Syncing GDUser(id=u’<>’, email=u’<>’, name=u’<>’).
[New Thread 0x7fffb37fe700 (LWP 5834)]
INFO 2017-08-01 20:59:53,743 [fswatch:watch:550] watch origin: /home/<>/<>
[New Thread 0x7fff63dcd700 (LWP 5835)]
[Thread 0x7fff63dcd700 (LWP 5835) exited]
[Thread 0x7fffb37fe700 (LWP 5834) exited]
[Thread 0x7fffda9cf700 (LWP 5807) exited]
[Thread 0x7fff61a58700 (LWP 5833) exited]
Detaching after fork from child process 5839.
INFO 2017-08-01 21:00:29,581 [client:__on_gd_account_added:802] GDUser(id=u’<>’, email=u’<>’, name=u’<>’) (existing) is now being synced.
[New Thread 0x7fff61a58700 (LWP 5842)]
[New Thread 0x7fffda9cf700 (LWP 5843)]
Detaching after fork from child process 5844.
[New Thread 0x7fffb37fe700 (LWP 5845)]
[New Thread 0x7fff63dcd700 (LWP 5846)]
[Thread 0x7fff63dcd700 (LWP 5846) exited]
Detaching after fork from child process 5847.
Detaching after fork from child process 5848.
Detaching after fork from child process 5849.
[Thread 0x7fffda9cf700 (LWP 5843) exited]
[Thread 0x7fffb37fe700 (LWP 5845) exited]
libpng warning: iCCP: known incorrect sRGB profile
[New Thread 0x7fffb37fe700 (LWP 5850)]
[Thread 0x7fffb37fe700 (LWP 5850) exited]
INFO 2017-08-01 21:00:29,814 [fswatch:watch:550] watch origin: /home/<>/<>
[New Thread 0x7fffb37fe700 (LWP 5851)]
[Thread 0x7fffb37fe700 (LWP 5851) exited]
Detaching after fork from child process 5852.
INFO 2017-08-01 21:00:31,523 [client:__on_gd_account_added:802] GDUser(id=u’<>’, email=u’<>’, name=u’<>’) (existing) is now being synced.

Thread 1 “insync” received signal SIGSEGV, Segmentation fault.
0x00007fffc02b1641 in JSC::replaceUsingRegExpSearch(JSC::ExecState*, JSC::JSString*, JSC::JSValue) () from /usr/lib/insync/libQtWebKit.so.4

(gdb) bt
#0 0x00007fffc02b1641 in JSC::replaceUsingRegExpSearch(JSC::ExecState, JSC::JSString, JSC::JSValue) () from /usr/lib/insync/libQtWebKit.so.4**
#1 0x00007fffc02b2a6b in JSC::stringProtoFuncReplace(JSC::ExecState) ()*
** from /usr/lib/insync/libQtWebKit.so.4**
#2 0x00007fff63fff265 in ?? ()
#3 0x00007fffffffb3e0 in ?? ()
#4 0x00007fff640f193a in ?? ()
#5 0x0000000000000001 in ?? ()
#6 0x00007fff6047cd00 in ?? ()
#7 0x00007fffb01650e0 in ?? ()
#8 0x00007fff00000005 in ?? ()
#9 0x00007fff64066d16 in ?? ()
#10 0x00007fff62e15b80 in ?? ()
#11 0x0000000000000000 in ?? ()

@rabbittown: I see. A user has reported a similar issue. It may be an issue with the Qt4 libraries in the Fedora 26 build. For now please try the build for Fedora 25.

Thanks @lpugoy. Is there an ETA for a fix on this? Is there an easy way to downgrade to the repository for Fedora 25 and to prevent an autoupdate to 26 when I update the rest of my software. I’m just not completely sure how to do that easily.

@rabbittown: I guess it would depend on how quickly the Qt4 packages in Fedora 26 will be updated. I have also removed the Fedora 26 builds in the repo for now, so if you update you should receive the build for Fedora 25 instead.

@lgupoy Thank you for all of this!

I can confirm this issue as well.

I am running Fedora 26.

insync-1.3.17.36167-fc26.x86_64 crashes about 15 seconds after starting.

Using dnf info insync shows that as ipugoy said the fc25 version is in the repo, so doing:

dnf install insync-1.3.17.36167-fc25.x86_64

downgrades the FC26 version, and now things are working again.

Thanks,

Alex