flathub / com.notesnook.Notesnook

https://flathub.org/apps/details/com.notesnook.Notesnook
6 stars 2 forks source link

Why did the flatpak for Notesnook stop opening? #23

Open Catalyst3698 opened 1 year ago

Catalyst3698 commented 1 year ago

A few weeks ago I updated my Fedora Kinoite system like I normally do. After rebooting I noticed that my Notesnook flatpak no longer launches. It will start trying to launch but then fails. I try opening it in from my admin account and it works as expected, but it won’t launch when I’m in my user account, which is where I do most of my work. All my other flatpaks like LibreOffice and Brave work like they did before, so it’s just this one app that doesn’t. I tried asking the developer of Notesnook and he said he didn’t know what it could be. Did something change in the settings for flatpaks in a previous update?

Below is what I get when I try running the app in the terminal:

[personal@fedora ~]$ flatpak run com.notesnook.Notesnook
[3:1023/084534.495956:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1023/084534.869494:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
[3:1023/084534.869561:ERROR:bus.cc(399)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory
App ready. Opening window.
https protocol inteception "successful"
/app/bin/start-notesnook: line 2:     3 Segmentation fault      (core dumped) zypak-wrapper.sh /app/bin/notesnook --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
RiQuY commented 1 year ago

Same problem here, I think it is because of Wayland, I also enabled socket=system-bus permission on Flatseal to get rid of the dbus error but it still crashed.

A workaround is launching the app with this command but I don't know where to put this options on Flatseal to make these parameters permanent.

flatpak run com.notesnook.Notesnook --enable-features=UseOzonePlatform --ozone-platform=x11

EDIT: In the meantime you can use the AppImage, that still works.

System info

OS: openSUSE Tumbleweed x86_64 Kernel: 6.6.1-1-default Shell: bash 5.2.15 Resolution: 2560x1440 DE: Hyprland WM: sway Terminal: kitty CPU: AMD Ryzen 7 1700X (16) @ 3.400GHz GPU: AMD ATI Radeon RX 5600 OEM/5600 XT / 5700/5700 XT Memory: 6535MiB / 32016MiB

Logs/core dump info

Without the workaround the core dump info looks like this:

ricardo@localhost:~> coredumpctl gdb /app/bin/notesnook
Hint: You are currently not seeing messages from other users and the system.
      Users in the 'systemd-journal' group can see all messages. Pass -q to
      turn off this notice.
           PID: 26211 (notesnook)
           UID: 1000 (ricardo)
           GID: 1000 (ricardo)
        Signal: 11 (SEGV)
     Timestamp: Sat 2023-11-18 05:06:30 CET (8s ago)
  Command Line: $'/app/bin/notesnook --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations'
    Executable: /app/bin/notesnook
 Control Group: /user.slice/user-1000.slice/user@1000.service/app.slice/app-flatpak-com.notesnook.Notesnook-26190.scope
          Unit: user@1000.service
     User Unit: app-flatpak-com.notesnook.Notesnook-26190.scope
         Slice: user-1000.slice
     Owner UID: 1000 (ricardo)
       Boot ID: 1f3422e6568c4d98bace3b9927a621d7
    Machine ID: 7705050f974844688d71b678d48a076b
      Hostname: localhost.localdomain
       Storage: /var/lib/systemd/coredump/core.notesnook.1000.1f3422e6568c4d98bace3b9927a621d7.26211.1700280390000000.zst (present)
  Size on Disk: 6.9M
       Message: Process 26211 (notesnook) of user 1000 dumped core.

                Stack trace of thread 3:
                #0  0x000055f3556e5fea n/a (/app/bin/notesnook + 0x6e66fea)
                #1  0x000055f3555bee44 n/a (/app/bin/notesnook + 0x6d3fe44)
                #2  0x000055f3555cafe0 n/a (/app/bin/notesnook + 0x6d4bfe0)
                #3  0x000055f3555c30c9 n/a (/app/bin/notesnook + 0x6d440c9)
                #4  0x000055f3556e77b6 n/a (/app/bin/notesnook + 0x6e687b6)
                #5  0x000055f3556f7860 n/a (/app/bin/notesnook + 0x6e78860)
                #6  0x000055f3555bf5eb n/a (/app/bin/notesnook + 0x6d405eb)
                #7  0x000055f3534c3b5d n/a (/app/bin/notesnook + 0x4c44b5d)
                #8  0x000055f3535fc192 n/a (/app/bin/notesnook + 0x4d7d192)
                #9  0x000055f3555c2f69 n/a (/app/bin/notesnook + 0x6d43f69)
                #10 0x000055f3556e77b6 n/a (/app/bin/notesnook + 0x6e687b6)
                #11 0x000055f3556f7860 n/a (/app/bin/notesnook + 0x6e78860)
                #12 0x000055f3555bf5eb n/a (/app/bin/notesnook + 0x6d405eb)
                #13 0x000055f357c3d374 n/a (/app/bin/notesnook + 0x93be374)
                #14 0x000055f357c3bfff n/a (/app/bin/notesnook + 0x93bcfff)
                #15 0x000055f357badc06 n/a (/app/bin/notesnook + 0x932ec06)
                #16 0x000055f357c3adf7 n/a (/app/bin/notesnook + 0x93bbdf7)
                #17 0x000055f357badb6d n/a (/app/bin/notesnook + 0x932eb6d)
                #18 0x000055f350cc356a n/a (/app/bin/notesnook + 0x244456a)
                #19 0x000055f357badc06 n/a (/app/bin/notesnook + 0x932ec06)
                #20 0x000055f350cc8a02 n/a (/app/bin/notesnook + 0x2449a02)
                #21 0x000055f357badc06 n/a (/app/bin/notesnook + 0x932ec06)
                #22 0x000055f357ba7a54 n/a (/app/bin/notesnook + 0x9328a54)
                #23 0x000055f357ba7911 n/a (/app/bin/notesnook + 0x9328911)
                #24 0x000055f357ba7698 n/a (/app/bin/notesnook + 0x9328698)
                #25 0x000055f357bb0e49 n/a (/app/bin/notesnook + 0x9331e49)
                #26 0x000055f357badc06 n/a (/app/bin/notesnook + 0x932ec06)
                #27 0x000055f357bda7e1 n/a (/app/bin/notesnook + 0x935b7e1)
                #28 0x000055f357badc06 n/a (/app/bin/notesnook + 0x932ec06)
                #29 0x000055f357bdb78d n/a (/app/bin/notesnook + 0x935c78d)
                #30 0x000055f357badc06 n/a (/app/bin/notesnook + 0x932ec06)
                #31 0x000055f357bb9f1c n/a (/app/bin/notesnook + 0x933af1c)
                #32 0x000055f357bb0e49 n/a (/app/bin/notesnook + 0x9331e49)
                #33 0x000055f357badc06 n/a (/app/bin/notesnook + 0x932ec06)
                #34 0x000055f357bae8e2 n/a (/app/bin/notesnook + 0x932f8e2)
                #35 0x000055f357bc8a0e n/a (/app/bin/notesnook + 0x9349a0e)
                #36 0x000055f357bf5187 n/a (/app/bin/notesnook + 0x9376187)
                #37 0x000055f3555e9147 n/a (/app/bin/notesnook + 0x6d6a147)
                #38 0x000055f3556d7297 n/a (/app/bin/notesnook + 0x6e58297)
                #39 0x000055f350cae15e n/a (/app/bin/notesnook + 0x242f15e)
                #40 0x000055f3556d7985 n/a (/app/bin/notesnook + 0x6e58985)
                #41 0x000055f351628e39 n/a (/app/bin/notesnook + 0x2da9e39)
                #42 0x000055f351628a9e n/a (/app/bin/notesnook + 0x2da9a9e)
                #43 0x000055f351628894 n/a (/app/bin/notesnook + 0x2da9894)
                #44 0x000055f3516382b5 n/a (/app/bin/notesnook + 0x2db92b5)
                #45 0x000055f350ab6025 n/a (/app/bin/notesnook + 0x2237025)
                #46 0x0000000000000000 n/a (n/a + 0x0)
                ELF object binary architecture: AMD x86-64

GNU gdb (GDB; openSUSE Tumbleweed) 13.2
Copyright (C) 2023 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-suse-linux".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://bugs.opensuse.org/>.
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"...
/app/bin/notesnook: No existe el fichero o el directorio.

This GDB supports auto-downloading debuginfo from the following URLs:
  <https://debuginfod.opensuse.org/>
Enable debuginfod for this session? (y or [n]) n
Debuginfod has been disabled.
To make this setting permanent, add 'set debuginfod enabled off' to .gdbinit.

warning: Can't open file /app/bin/notesnook during file-backed mapping note processing

warning: Can't open file /app/bin/resources.pak during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/GL/default/lib/libLLVM-15.so during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.xNAUhp (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.3oGDqN (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.gAIaXT (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.pYBINx (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.y6826c (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.XauvrG (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.n4j1yQ (deleted) during file-backed mapping note processing

warning: Can't open file /run/host/fonts/truetype/NotoSans-DisplayRegular.ttf during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.iqufXQ (deleted) during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.nibjzI (deleted) during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libudev.so.1.7.4 during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.FQs0FM (deleted) during file-backed mapping note processing

warning: Can't open file /app/bin/locales/en-US.pak during file-backed mapping note processing

warning: Can't open file /app/bin/chrome_200_percent.pak during file-backed mapping note processing

warning: Can't open file /run/host/user-fonts-cache/7ef2298fde41cc6eeb7af42e48b7d293-le64.cache-9 during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.LC50xz (deleted) during file-backed mapping note processing

warning: Can't open file /memfd:wayland-cursor (deleted) during file-backed mapping note processing

warning: Can't open file /app/bin/chrome_100_percent.pak during file-backed mapping note processing

warning: Can't open file /usr/cache/fontconfig/bd0b27592510dd38245c5997654c5344-le64.cache-8 during file-backed mapping note processing

warning: Can't open file /usr/cache/fontconfig/8b64213a80fcb19471d737a06915b11a-le64.cache-8 during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/share/es/LC_MESSAGES/glib20.mo during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libtinfo.so.6.3 during file-backed mapping note processing

warning: Can't open file /usr/cache/fontconfig/8e40d008f6cd844f40c0f249a322be61-le64.cache-8 during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/share/es/LC_MESSAGES/gtk30-properties.mo during file-backed mapping note processing

warning: Can't open file /app/bin/icudtl.dat during file-backed mapping note processing

warning: Can't open file /dev/shm/.org.chromium.Chromium.rfTJDp (deleted) during file-backed mapping note processing

warning: Can't open file /usr/cache/fontconfig/03a3974e20a7d4a4c13001180806a005-le64.cache-8 during file-backed mapping note processing

warning: Can't open file /usr/cache/fontconfig/ed01b5f140c20461ecbf3a3983649760-le64.cache-8 during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/share/es/LC_MESSAGES/gtk30.mo during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/GL/default/lib/libglapi.so.0.0.0 during file-backed mapping note processing

warning: Can't open file /usr/cache/fontconfig/2c15b964dc7095bc30a4b7f5ba49e433-le64.cache-8 during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/share/es/LC_MESSAGES/atk10.mo during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/share/es/LC_MESSAGES/libc.mo during file-backed mapping note processing

warning: Can't open file /run/host/user-fonts-cache/e174b952f45c81266f2aa6ff2faf8204-le64.cache-9 during file-backed mapping note processing

warning: Can't open file /usr/cache/fontconfig/f458595079eccb276a92599de377ec67-le64.cache-8 during file-backed mapping note processing

warning: Can't open file /run/host/user-fonts-cache/7e1fba7718b83835f0117a869412581c-le64.cache-9 during file-backed mapping note processing

warning: Can't open file /run/host/user-fonts-cache/d62e99ef547d1d24cdb1bd22ec1a2976-le64.cache-9 during file-backed mapping note processing

warning: Can't open file /app/bin/v8_context_snapshot.bin during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_CTYPE during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_COLLATE during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_NUMERIC during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_TIME during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_MONETARY during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_MESSAGES/SYS_LC_MESSAGES during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_PAPER during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_NAME during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_ADDRESS during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_TELEPHONE during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1.0.9 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libgpg-error.so.0.34.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libbrotlidec.so.1.0.9 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libbz2.so.1.0.8 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libdatrie.so.1.4.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libjpeg.so.62.3.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libgraphite2.so.3.2.1 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libXinerama.so.1.0.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libXcursor.so.1.0.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libwayland-egl.so.1.21.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libwayland-cursor.so.0.21.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libwayland-client.so.0.21.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libblkid.so.1.1.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/liblz4.so.1.9.4 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libzstd.so.1.5.5 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.12 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libgcrypt.so.20.4.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libcap.so.2.69 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libXau.so.6.0.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libxcb-randr.so.0.1.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libwayland-server.so.0.21.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libpng16.so.16.40.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libfreetype.so.6.18.3 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.42.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libepoxy.so.0.0.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libharfbuzz.so.0.50200.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libgdk-3.so.0.2406.32 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libcrypto.so.3 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libthai.so.0.3.1 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libXi.so.6.1.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libgdk_pixbuf-2.0.so.0.4200.10 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libcairo-gobject.so.2.11600.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libfribidi.so.0.4.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libfontconfig.so.1.12.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libpangoft2-1.0.so.0.5100.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libssl.so.3 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libpangocairo-1.0.so.0.5100.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libmount.so.1.1.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libz.so.1.2.13 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libpcre.so.1.2.13 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libsystemd.so.0.34.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libc.so.6 during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_MEASUREMENT during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libplc4.so during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libplds4.so during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libgmodule-2.0.so.0.7200.4 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libffi.so.8.1.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libgcc_s.so.1 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libm.so.6 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libatspi.so.0.0.1 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libasound.so.2.0.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libxkbcommon.so.0.0.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libexpat.so.1.8.10 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libX11.so.6.4.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libcairo.so.2.11600.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libpango-1.0.so.0.5100.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libgtk-3.so.0.2406.32 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/GL/default/lib/libgbm.so.1.0.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libXrandr.so.2.2.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libXfixes.so.3.1.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libXext.so.6.4.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libXdamage.so.1.1.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libXcomposite.so.1.0.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libdbus-1.so.3.32.4 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libcups.so.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libatk-bridge-2.0.so.0.0.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libatk-1.0.so.0.23609.1 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libnss3.so during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0.7200.4 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0.7200.4 during file-backed mapping note processing

warning: Can't open file /app/bin/libffmpeg.so during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libnspr4.so during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libsmime3.so during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libnssutil3.so during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0.7200.4 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libpthread.so.0 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/libdl.so.2 during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/gconv/gconv-modules.cache during file-backed mapping note processing

warning: Can't open file /usr/share/runtime/locale/es/lib/es_ES.utf8/LC_IDENTIFICATION during file-backed mapping note processing

warning: Can't open file /app/lib/libzypak-preload-host-spawn-strategy.so during file-backed mapping note processing

warning: Can't open file /app/lib/libzypak-preload-host.so during file-backed mapping note processing

warning: Can't open file /usr/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2 during file-backed mapping note processing
[New LWP 3]
[New LWP 10]
[New LWP 23]
[New LWP 25]
[New LWP 42]
[New LWP 43]
[New LWP 44]
[New LWP 21]
[New LWP 46]
[New LWP 34]
[New LWP 48]
[New LWP 36]
[New LWP 68]
[New LWP 40]
[New LWP 73]
[New LWP 32]
[New LWP 76]
[New LWP 38]
[New LWP 19]
[New LWP 75]
[New LWP 33]
[New LWP 57]
[New LWP 20]
[New LWP 74]
[New LWP 22]
[New LWP 24]
[New LWP 35]
[New LWP 30]
[New LWP 39]
[New LWP 41]
[New LWP 47]
[New LWP 70]
[New LWP 31]
[New LWP 45]
[New LWP 49]
Missing separate debuginfo for the main executable file
Try: zypper install -C "debuginfo(build-id)=f20754ddf60ec97c88edcb7058731172bac6c3e4"
Core was generated by `/app/bin/notesnook --ozone-platform-hint=auto --enable-features=WaylandWindowDe'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x000055f3556e5fea in ?? ()
[Current thread is 1 (LWP 3)]
thecodrr commented 1 year ago

@RiQuY

flatpak run com.notesnook.Notesnook --enable-features=UseOzonePlatform --ozone-platform=x11

This basically forces flatpak to run Notesnook on X11 instead of Wayland.

Catalyst3698 commented 1 year ago

This app used to work for me with no modifications on my system. I didn't have to force it into using X11 or anything like that. Is this something that needs to be updated in Notesnook to fix? Was anything changed in the app about a couple of months ago that might affect this?

halictuz commented 2 days ago

[3:1124/213951.269609:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory A JavaScript error occurred in the main process Uncaught Exception: Error: Cannot find module '/app/bin/resources/app/build/electron.js' at Module._resolveFilename (node:internal/modules/cjs/loader:1232:15) at s._resolveFilename (node:electron/js2c/browser_init:2:120689) at node:electron/js2c/browser_init:2:126189 at node:electron/js2c/browser_init:2:126438 at node:electron/js2c/browser_init:2:126442 at BuiltinModule.compileForInternalLoader (node:internal/bootstrap/realm:398:7) at BuiltinModule.compileForPublicLoader (node:internal/bootstrap/realm:337:10) at loadBuiltinModule (node:internal/modules/helpers:104:7) at Module._load (node:internal/modules/cjs/loader:1083:17) at c._load (node:electron/js2c/node_init:2:16955) [3:1124/213951.385682:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory [3:1124/213951.385719:ERROR:bus.cc(407)] Failed to connect to the bus: Failed to connect to socket /run/dbus/system_bus_socket: No such file or directory

Doesn't matter how I start the flatpak. Tried it all, terminal and via Flatseal, too. Since a couple of days the App does not work anymore. I am forced to use the website to gain access to my notes, which is kinda annoying but at least I can access them.

I use openSUSE Tumbleweed with KDE plasma and GNOME with Wayland. Of course latest versions on everything, its rolling release distro. No, I did not test it on X11/Xorg. Because I am not gonna go back to that, this is not an option anymore

thecodrr commented 1 day ago

@halictuz that's been fixed in #60