SUMMARY I can't start ghostwriter from snap in Ubuntu... STEPS TO REPRODUCE 1. just start ghostwriter in console SOFTWARE/OS VERSIONS Ubuntu 24.04.1 LTS Linux Linux 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux ADDITIONAL INFORMATION ``` $ ghostwriter Gtk-Message: 12:42:45.001: Failed to load module "canberra-gtk-module" Gtk-Message: 12:42:45.001: Failed to load module "canberra-gtk-module" [ 0.217 813353 ghostwriter ] WARNING Qt: Session management error: Could not open network socket [ 0.225 813353 ghostwriter ] INFO Backup files will be stored in "/home/a/snap/ghostwriter/58/.local/share/ghostwriter/backups/" [ 0.238 813353 ghostwriter ] INFO Using pandoc version 2.9.2.1 [ 0.242 813353 ghostwriter ] INFO Using multimarkdown version [ 0.243 813353 ghostwriter ] INFO Using cmark version 0.30.2 [ 0.336 813353 ghostwriter ] WARNING Path override failed for key base::DIR_APP_DICTIONARIES and path '/snap/ghostwriter/58/usr/bin/qtwebengine_dictionaries' [813353:813353:0114/124245.282705:FATAL:credentials.cc(126)] Check failed: . : Permission denied (13) Trace/breakpoint trap (core dumped) ```
``` $ gdb ghostwriter GNU gdb (Ubuntu 15.0.50.20240403-0ubuntu1) 15.0.50.20240403-git Copyright (C) 2024 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-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <https://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 ghostwriter... (No debugging symbols found in ghostwriter) (gdb) run Starting program: /snap/bin/ghostwriter This GDB supports auto-downloading debuginfo from the following URLs: <https://debuginfod.ubuntu.com> Enable debuginfod for this session? (y or [n]) y Debuginfod has been enabled. To make this setting permanent, add 'set debuginfod enabled on' to .gdbinit. Downloading separate debug info for system-supplied DSO at 0x7ffff7fc3000 [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". [New Thread 0x7fffb12006c0 (LWP 812859)] [New Thread 0x7fffabe006c0 (LWP 812860)] [New Thread 0x7fffab4006c0 (LWP 812861)] [New Thread 0x7fffaaa006c0 (LWP 812862)] [New Thread 0x7fffaa0006c0 (LWP 812863)] [Thread 0x7fffaa0006c0 (LWP 812863) exited] [Thread 0x7fffaaa006c0 (LWP 812862) exited] [Thread 0x7fffab4006c0 (LWP 812861) exited] [Thread 0x7fffb12006c0 (LWP 812859) exited] [Thread 0x7fffabe006c0 (LWP 812860) exited] process 812776 is executing new program: /snap/snapd/23545/usr/bin/snap Downloading separate debug info for /snap/snapd/current/usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 Downloading separate debug info for /snap/snapd/current/usr/lib/x86_64-linux-gnu/libc.so.6 warning: File "/snap/snapd/23545/usr/lib/x86_64-linux-gnu/libthread_db.so.1" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". To enable execution of this file add add-auto-load-safe-path /snap/snapd/23545/usr/lib/x86_64-linux-gnu/libthread_db.so.1 line to your configuration file "/home/a/.config/gdb/gdbinit". To completely disable this security protection add set auto-load safe-path / line to your configuration file "/home/a/.config/gdb/gdbinit". For more information about this security protection see the "Auto-loading safe path" section in the GDB manual. E.g., run from the shell: info "(gdb)Auto-loading safe path" warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. [New LWP 812886] [New LWP 812887] [New LWP 812888] [New LWP 812889] [New LWP 812890] [Detaching after vfork from child process 812891] [New LWP 812892] [New LWP 812893] [New LWP 812894] [New LWP 812899] [Detaching after vfork from child process 812901] [Detaching after vfork from child process 812902] [Detaching after vfork from child process 812903] [Detaching after vfork from child process 812904] [LWP 812899 exited] [LWP 812894 exited] [LWP 812893 exited] [LWP 812890 exited] [LWP 812889 exited] [LWP 812888 exited] [LWP 812887 exited] [LWP 812886 exited] [LWP 812892 exited] process 812776 is executing new program: /snap/snapd/23545/usr/lib/snapd/snap-confine Downloading separate debug info for /snap/snapd/23545/usr/lib/snapd/snap-confine Downloading separate debug info for /snap/snapd/current/usr/lib/x86_64-linux-gnu/libudev.so.1 Downloading separate debug info for /snap/snapd/current/usr/lib/x86_64-linux-gnu/libcap.so.2 warning: File "/snap/snapd/23545/usr/lib/x86_64-linux-gnu/libthread_db.so.1" auto-loading has been declined by your `auto-load safe-path' set to "$debugdir:$datadir/auto-load". warning: Unable to find libthread_db matching inferior's thread library, thread debugging will not be available. cannot fstatat canonical snap directory: Permission denied [Inferior 1 (process 812776) exited with code 01] (gdb) q ```
Please install 24.12.2 in stable
it works! Thanks!