Python segfault on Opensuse Tumbleweed

Hello,

Insync is crashing at startup. I am not sure exactly when it started but it was somewhat recently. I assume some OS update introduced an incompatability.

sgonzalez@motop:~> insync start --no-daemon 2>&1
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
libpng warning: iCCP: known incorrect sRGB profile
/bin/sh: /usr/lib/insync/libtinfo.so.6: no version information available (required by /usr/lib64/libreadline.so.8)
INFO 2021-01-25 10:08:07,552 [mainlogs:_log_run:139] Core(app_version=3.3.3.40905, platform=Linux-x86_64-opensuse-tumbleweed/20210121) initialized
INFO 2021-01-25 10:08:08,714 [fswatcher:_start:57] LinuxFSWatcher._start
INFO 2021-01-25 10:08:08,715 [inotify_manager:_pull_loop:312] Inotify loop enter
INFO 2021-01-25 10:08:08,755 [fswatcher:watch:77] watch origin: /home/sgonzalez/Team_Drives
INFO 2021-01-25 10:08:08,757 [fswatcher:_start:57] LinuxFSWatcher._start
INFO 2021-01-25 10:08:08,757 [inotify_manager:_pull_loop:312] Inotify loop enter
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
Fontconfig warning: “/etc/fonts/fonts.conf”, line 5: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/fonts.conf”, line 6: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/fonts.conf”, line 6: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/fonts.conf”, line 6: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/fonts.conf”, line 7: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/fonts.conf”, line 7: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/fonts.conf”, line 9: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/10-hinting-slight.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/10-hinting-slight.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/10-hinting-slight.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/10-hinting-slight.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/10-hinting-slight.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/10-hinting-slight.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/10-hinting-slight.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/10-scale-bitmap-fonts.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/10-scale-bitmap-fonts.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/10-scale-bitmap-fonts.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/10-scale-bitmap-fonts.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/10-scale-bitmap-fonts.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/10-scale-bitmap-fonts.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/10-scale-bitmap-fonts.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/20-unhint-small-vera.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/20-unhint-small-vera.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/20-unhint-small-vera.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/20-unhint-small-vera.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/20-unhint-small-vera.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/20-unhint-small-vera.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/20-unhint-small-vera.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/30-metric-aliases.conf”, line 8: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/30-metric-aliases.conf”, line 9: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/30-metric-aliases.conf”, line 9: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/30-metric-aliases.conf”, line 9: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/30-metric-aliases.conf”, line 10: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/30-metric-aliases.conf”, line 10: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/30-metric-aliases.conf”, line 12: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/40-nonlatin.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/40-nonlatin.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/40-nonlatin.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/40-nonlatin.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/40-nonlatin.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/40-nonlatin.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/40-nonlatin.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/45-generic.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/45-generic.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/45-generic.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/45-generic.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/45-generic.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/45-generic.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/45-generic.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/45-latin.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/45-latin.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/45-latin.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/45-latin.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/45-latin.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/45-latin.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/45-latin.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/49-sansserif.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/49-sansserif.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/49-sansserif.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/49-sansserif.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/49-sansserif.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/49-sansserif.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/49-sansserif.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/56-user.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/56-user.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/56-user.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/56-user.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/56-user.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/56-user.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/56-user.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/60-generic.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/60-generic.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/60-generic.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/60-generic.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/60-generic.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/60-generic.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/60-generic.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/61-latin.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/61-latin.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/61-latin.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/61-latin.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/61-latin.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/61-latin.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/61-latin.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/65-fonts-persian.conf”, line 34: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/65-fonts-persian.conf”, line 35: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/65-fonts-persian.conf”, line 35: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/65-fonts-persian.conf”, line 35: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/65-fonts-persian.conf”, line 36: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/65-fonts-persian.conf”, line 36: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/65-nonlatin.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/65-nonlatin.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/65-nonlatin.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/65-nonlatin.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/65-nonlatin.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/65-nonlatin.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/65-nonlatin.conf”, line 8: unknown element “description”
Fontconfig warning: “/etc/fonts/conf.d/69-unifont.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/69-unifont.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/69-unifont.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/69-unifont.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/69-unifont.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/69-unifont.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/80-delicious.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/80-delicious.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/80-delicious.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/80-delicious.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/80-delicious.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/80-delicious.conf”, line 6: invalid attribute ‘version’
Fontconfig warning: “/etc/fonts/conf.d/90-synthetic.conf”, line 4: unknown element “its:rules”
Fontconfig warning: “/etc/fonts/conf.d/90-synthetic.conf”, line 5: unknown element “its:translateRule”
Fontconfig error: “/etc/fonts/conf.d/90-synthetic.conf”, line 5: invalid attribute ‘translate’
Fontconfig error: “/etc/fonts/conf.d/90-synthetic.conf”, line 5: invalid attribute ‘selector’
Fontconfig error: “/etc/fonts/conf.d/90-synthetic.conf”, line 6: invalid attribute ‘xmlns:its’
Fontconfig error: “/etc/fonts/conf.d/90-synthetic.conf”, line 6: invalid attribute ‘version’
Fontconfig error: Cannot load config file from /etc/fonts/fonts.conf
Fontconfig warning: FcPattern object weight does not accept value [0 205)
Fatal Python error: Segmentation fault

Thread 0x00007f443cff9640 (most recent call first):
File “ideskheadless/fswatcher.py”, line 54 in _poll_devices
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f443d7fa640 (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 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f443dffb640 (most recent call first):
File “ideskheadless/inotify_manager.py”, line 323 in _pull_loop
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f443e7fc640 (most recent call first):
File “concurrent/futures/thread.py”, line 78 in _worker
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f443effd640 (most recent call first):
File “concurrent/futures/thread.py”, line 78 in _worker
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f443f7fe640 (most recent call first):
File “concurrent/futures/thread.py”, line 78 in _worker
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f443ffff640 (most recent call first):
File “ideskheadless/fswatcher.py”, line 54 in _poll_devices
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f445cda6640 (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 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f445d5a7640 (most recent call first):
File “ideskheadless/inotify_manager.py”, line 323 in _pull_loop
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f445dda8640 (most recent call first):
File “concurrent/futures/thread.py”, line 78 in _worker
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f445edf3640 (most recent call first):
File “concurrent/futures/thread.py”, line 78 in _worker
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f445f5f4640 (most recent call first):
File “concurrent/futures/thread.py”, line 78 in _worker
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f445fdf5640 (most recent call first):
File “concurrent/futures/thread.py”, line 78 in _worker
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f4474a26640 (most recent call first):
File “ideskheadless/util.py”, line 209 in listdir
File “ideskheadless/inotify_manager.py”, line 164 in add_watch
File “ideskheadless/inotify_manager.py”, line 166 in add_watch
File “ideskheadless/inotify_manager.py”, line 166 in add_watch
File “ideskheadless/inotify_manager.py”, line 166 in add_watch
File “ideskheadless/inotify_manager.py”, line 166 in add_watch
File “ideskheadless/inotify_manager.py”, line 166 in add_watch
File “ideskheadless/fswatcher.py”, line 145 in _watch_tree
File “ideskheadless/fswatcher.py”, line 85 in watch
File “concurrent/futures/thread.py”, line 57 in run
File “concurrent/futures/thread.py”, line 80 in _worker
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f4475227640 (most recent call first):
File “ideskcore/mainlogs.py”, line 219 in _prune_logs
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f4476ffd640 (most recent call first):
File “threading.py”, line 296 in wait
File “concurrent/futures/_base.py”, line 427 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 31 in init
File “ideskui/appui.py”, line 66 in init
File “ideskcore/core.py”, line 79 in _init
File “ideskcore/mainbase.py”, line 14 in init
File “ideskcore/core.py”, line 146 in init
File “asyncio/events.py”, line 88 in _run
File “asyncio/base_events.py”, line 1775 in _run_once
File “asyncio/base_events.py”, line 539 in run_forever
File “ideskasync/coreloop.py”, line 274 in run_loop
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Thread 0x00007f44777fe640 (most recent call first):
File “threading.py”, line 296 in wait
File “concurrent/futures/_base.py”, line 427 in result
File “idesklinux/main.py”, line 45 in start_core
File “threading.py”, line 865 in run
File “threading.py”, line 917 in _bootstrap_inner
File “threading.py”, line 885 in _bootstrap

Current thread 0x00007f449e65e740 (most recent call first):
File “idesklinux/htmlui_impl.py”, line 37 in init
File “idesklinux/htmlui_impl.py”, line 216 in init
File “idesklinux/platui_impl.py”, line 61 in create_window_for_dialog
File “idesklinux/qtutil.py”, line 43 in wrapper
File “idesklinux/qtutil.py”, line 26 in event
File “idesklinux/main.py”, line 74 in start
File “idesklinux/main.py”, line 79 in main
File “idesklinux/cli.py”, line 89 in start
File “site-packages/click/core.py”, line 610 in invoke
File “site-packages/click/core.py”, line 1066 in invoke
File “site-packages/click/core.py”, line 1259 in invoke
File “site-packages/click/core.py”, line 782 in main
File “site-packages/click/core.py”, line 829 in call
File “insync.py”, line 19 in
Segmentation fault (core dumped)

Hi @sgonzalez! This issue seems similar to this thread.

Could you try to delete the .cache/fontconfig folder and restart Insync? Let me know if the issue persists.

This worked. Now that you suggested it I think this has happened in the past. Is there some way to prevent this situation totally short of killing that cache on every start?

@sgonzalez Let me bring this up to see if we can deploy a more permanent fix :slight_smile: