saber-notes/saber

Closes automatically when saving the file

Opened this issue · 6 comments

Before submitting an issue, please check the following

  • I have searched for similar issues (both open and closed) and cannot find a duplicate
  • I agree to follow the Code of Conduct

Describe the bug

I am using Linux Mint Virginia 21.3 x86_64 I tried with all the installation modes, Appimage, FlatPak, tar.gz

NextCloud account of saber.

When I am editing a note, and I need to save (or with the Autosave active) the app closes unexpectedly.

By flatpak and Appimage I can not identify any errors, but with the app downloaded via tar.gz I was able to capture the next error.

==> /var/log/syslog <==
Jun  5 22:23:48 HP-G8 kernel: [164710.193481] saber[381929]: segfault at 9c ip 0000759761692003 sp 00007ffc3d7b57d0 error 4 in libgallium_dri.so[759761095000+1388000] likely on CPU 5 (core 1, socket 0)
Jun  5 22:23:48 HP-G8 kernel: [164710.193498] Code: 01 00 00 00 48 89 ce 48 c1 e6 09 48 01 ce 66 0f 1f 84 00 00 00 00 00 48 89 c2 31 c9 48 c1 e2 04 49 8b 54 17 08 48 85 d2 74 25 <8b> 8a 94 00 00 00 41 89 f8 89 ca 41 d3 e0 81 e2 ff 3f 00 00 48 c1
Jun  5 22:23:48 HP-G8 systemd[1]: Started Process Core Dump (PID 382007/UID 0).
Jun  5 22:23:49 HP-G8 systemd-coredump[382008]: Process 381929 (saber) of user 1000 dumped core.#012#012Found module /app/saber with build-id: 013b7b09a4881909490b551067191f3b2e032030#012Found module /usr/lib/x86_64-linux-gnu/libvorbisenc.so.2.0.12 with build-id: 92215e46c7e04941309cf8d61aae302eaf918ea1#012Found module /usr/lib/x86_64-linux-gnu/libsndfile.so.1.0.34 with build-id: 9dcd9e6992ce72f72b3280b8cf43ce27d0ded30c#012Found module /usr/lib/x86_64-linux-gnu/liborc-0.4.so.0.32.0 with build-id: 5bd27efddcac45ea89495aaf1213dd968bd38054#012Found module /usr/lib/x86_64-linux-gnu/libgstvideo-1.0.so.0.2007.0 with build-id: 398deacedf2bc68b4ca15dfc881ed6b444760e7e#012Found module /usr/lib/x86_64-linux-gnu/libgstaudio-1.0.so.0.2007.0 with build-id: 5644a1dd7a04e57480610daaf5b0cd648ac5da4b#012Found module /usr/lib/x86_64-linux-gnu/libnss_resolve.so.2 with build-id: f3cdb863f33120081ebfdc30a9dd7de08a44efe4#012Found module /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecommon-17.0.so with build-id: f1a9510f3017b8b39ba0153c34c4ac332481e553#012Found module /usr/lib/x86_64-linux-gnu/libopus.so.0.9.0 with build-id: adfc9861ea4fa12c80274f5e9b2ff32956089eef#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstplayback.so with build-id: 23d45e28f778aeeaf8a7aface25ac58eaa31bb4d#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgsttypefindfunctions.so with build-id: aa08842abe3da531bd5bb77f7faec8f2bb660596#012Found module /usr/lib/x86_64-linux-gnu/libFLAC.so.8.3.0 with build-id: d070e0bfd787b4652d85b77e8317d4265d2903d3#012Found module /usr/lib/x86_64-linux-gnu/libpulse.so.0.24.3 with build-id: acb8faa681b8056b4f46f2cf19a81260131671eb#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstcoreelements.so with build-id: b947939188ba501ac5a472610f0a9fb3714ade62#012Found module /usr/lib/x86_64-linux-gnu/libvorbis.so.0.4.9 with build-id: 0d7195241b4c1960d676e4d3c9d61934bc65af46#012Found module /usr/lib/x86_64-linux-gnu/libgsttag-1.0.so.0.2007.0 with build-id: ad2ca9a36db145aa51a7fc9538e5aaa7d8360573#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstpulseaudio.so with build-id: 9b59ce765d5477097f0aadd162091c5d51a26b7d#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioresample.so with build-id: 7674175ce1d4b8f38480e1db689a6c3f2a6e3e5c#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudioconvert.so with build-id: 8ee62158ee5d18f54fa5225f8f6ddd69946266dc#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvolume.so with build-id: d4ae8f3ce43875a7c80ddb0e3f961a6df186b042#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstvorbis.so with build-id: ea56825c800a1d55a290ef1322f59ab981da5479#012Found module /usr/lib/x86_64-linux-gnu/libgstriff-1.0.so.0.2007.0 with build-id: 987adbaaf88c2d3aa6e19b6714a4132f6050ad0a#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstogg.so with build-id: 5c3490b204a1de6d7d63eecdf6db2a8fc3c92792#012Found module /usr/lib/x86_64-linux-gnu/libogg.so.0.8.5 with build-id: 45333a35c0c6b75e9dca30dbf49638851b492004#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstaudiofx.so with build-id: 90ff1bcce640715b71f04e17e5ffac44336f9531#012Found module /usr/lib/x86_64-linux-gnu/libgstpbutils-1.0.so.0.2007.0 with build-id: 297904d8dd068cdb9d54253af0d1e3daf95b94ba#012Found module /usr/lib/x86_64-linux-gnu/libgstfft-1.0.so.0.2007.0 with build-id: 85075ec7f561430d93f72b6bec35c5c35d19b4c7#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstautodetect.so with build-id: edc19e90527ba3685fc237be437eb61481811295#012Found module /app/lib/libapp.so with build-id: 46d89a0183d2f274562734e724bdb2ba#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/libLLVM-15.so with build-id: 5034952e3e61052115fadd0f7511a59ba7b6b7b5#012Found module /usr/lib/x86_64-linux-gnu/libwayland-server.so.0.22.0 with build-id: 786fb4fcb7e3c39017e32356b50a0f586b7cc458#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/libgbm.so.1.0.0 with build-id: feb6b12b7886a5664b59695a5a799430dfe0b434#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/libEGL_mesa.so.0.0.0 with build-id: ebe0882562101b5a74ac7cc9aca786f08bf4ac66#012Found module /usr/lib/x86_64-linux-gnu/libEGL.so.1.1.0 with build-id: 7f86fc6baa41a0315acb442bfcf2b5f20168b0e0#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/dri/libgallium_dri.so with build-id: 41dd67249bbe11fce685a5a9766205d463b36656#012Found module /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-cedilla.so with build-id: 3062a55b2cc9b2c98c860780ce9f6f2a0f226d36#012Found module /usr/lib/x86_64-linux-gnu/libpciaccess.so.0.11.1 with build-id: 1198e96858a3115c71cde69807002a2c5f4a1f56#012Found module /usr/lib/x86_64-linux-gnu/libtinfo.so.6.3 with build-id: 59832cfedb50a7158b2772bb5838f26a68085f47#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/libdrm_intel.so.1.0.0 with build-id: f65df373f6e37559c7bd07317df46c7fb6aad4ac#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/libdrm_amdgpu.so.1.0.0 with build-id: 3c83d8f4eeb9ee661e7586d4078579e0a9528e0d#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/libdrm_radeon.so.1.0.1 with build-id: 31958cf2aa1221f78c26c68a7690df8131052bf3#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/libdrm_nouveau.so.2.0.0 with build-id: e80aafc0f6111779827e5f5c13bf1281fe596cec#012Found module /usr/lib/x86_64-linux-gnu/libxcb-xfixes.so.0.0.0 with build-id: c2762a2e2e9ee48064cf0b53f5b14307a1b9f361#012Found module /usr/lib/x86_64-linux-gnu/libxcb-sync.so.1.0.0 with build-id: 3e956fb3321c55338a33a23204f4e0a3406a1eab#012Found module /usr/lib/x86_64-linux-gnu/libxcb-randr.so.0.1.0 with build-id: 7f91e7178d3e73653056c568ccb36540cb3076d9#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/libGLX_mesa.so.0.0.0 with build-id: 646890a485d568138bb4ea23f8ccb27aab6e399c#012Found module /usr/lib/x86_64-linux-gnu/libGLdispatch.so.0.0.0 with build-id: bbdd82767aad4245030fa92e11f919283661fbf1#012Found module /usr/lib/x86_64-linux-gnu/libGL.so.1.7.0 with build-id: ea248d3541f273553a5504d156cf8e49de8fcee8#012Found module /usr/lib/x86_64-linux-gnu/libxcb-present.so.0.0.0 with build-id: be90716506e86c36dcdf81aa1142a98d5b5711ae#012Found module /usr/lib/x86_64-linux-gnu/libxcb-dri3.so.0.1.0 with build-id: 0753d388146eadc1b0cd9fb405d985e8223ea5d3#012Found module /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0 with build-id: a46b975d16e2bd8cfed3e04b13773fe4c89e0ce9#012Found module /usr/lib/x86_64-linux-gnu/libxcb-glx.so.0.0.0 with build-id: 3b78412a81c04ed90ae76406c0a72f410ea93531#012Found module /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 with build-id: 7ea0dcce47a2af20d8d5dadf928600f7d3cffd4d#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/libglapi.so.0.0.0 with build-id: 59f1eda5e2aacf8aee35895feae10229632f0454#012Found module /usr/lib/x86_64-linux-gnu/libGLX.so.0.0.0 with build-id: 61aeadd36ab2160ab12870c3045f012ae90b8e9f#012Found module [dso] with build-id: 46d89a0183d2f274562734e724bdb2ba#012Found module /usr/lib/x86_64-linux-gnu/libz.so.1.3.1 with build-id: 273f02a71c310f92a3c16af4e3a903c3a2bf06b3#012Found module /usr/lib/x86_64-linux-gnu/libXrender.so.1.3.0 with build-id: 91d8d22f30402124e1f5e6ce8436f37f1b4780be#012Found module /usr/lib/x86_64-linux-gnu/libxcb-render.so.0.0.0 with build-id: 5cdae00bc1331278c21abfaf3bfd8e1ea6af63d0#012Found module /usr/lib/x86_64-linux-gnu/libxcb.so.1.1.0 with build-id: b36e762ada3eaa156f48fad4091f93c491cb002a#012Found module /usr/lib/x86_64-linux-gnu/libxcb-shm.so.0.0.0 with build-id: b9f6bd2b7268fb7a338e5df0e84c8fa516e8bac8#012Found module /usr/lib/x86_64-linux-gnu/libpng16.so.16.43.0 with build-id: db1cf4691e6d2028bfc6bdba4f8941662fe7c1bd#012Found module /usr/lib/x86_64-linux-gnu/libpixman-1.so.0.42.2 with build-id: 0c144cf0bccc560a24fef34b3ac2eac14f98a8f5#012Found module /usr/lib/x86_64-linux-gnu/libgraphite2.so.3.2.1 with build-id: aa771cc2d55bcca34db2d532b814ee03d08a7fdb#012Found module /usr/lib/x86_64-linux-gnu/libfreetype.so.6.18.3 with build-id: cef910b1d32e1390ce2921670f40e3c3330decdd#012Found module /usr/lib/x86_64-linux-gnu/libthai.so.0.3.1 with b
Jun  5 22:23:49 HP-G8 systemd[1]: systemd-coredump@14-382007-0.service: Deactivated successfully.
Jun  5 22:23:49 HP-G8 systemd[1366]: app-flatpak-com.adilhanney.saber-381914.scope: Consumed 3.955s CPU time.             (First)

To reproduce

When I save the file

Expected behavior

Application does not close unexpectedly

Saber version

v0.23.2 (23020)

Device

  • Device: Laptop HP G8
  • OS: Linux Mint Virginia 21.3 x86_64

Anything else?

No response

I also experience this crash of the application. Maybe it is related. In order to reproduce it:

  • Create a new document
  • Create a checklist and write something into this checklist
  • switch to pen mode and draw something
  • wait until document gets saved. Which will crash the app.

I never experienced this crash apart from creating a checklist and then draw something with the pen. I only get a "Segmentation fault (core dumped)" error.

Hey! I have Linux Mint 21.3 Cinnamon. I had a similar problem to you, though it wouldn't happen at any particular time, such as saving a file. A segmentation fault would happen randomly. Rather than installing it through Appimage or Flathub, I downloaded it through Snapd and it worked perfectly. I'd recommend downloading Saber through Snapd rather than any other download process. If you have any questions regarding the process, let me know and I'd be happy to help.

Hey! I have Linux Mint 21.3 Cinnamon. I had a similar problem to you, though it wouldn't happen at any particular time, such as saving a file. A segmentation fault would happen randomly. Rather than installing it through Appimage or Flathub, I downloaded it through Snapd and it worked perfectly. I'd recommend downloading Saber through Snapd rather than any other download process. If you have any questions regarding the process, let me know and I'd be happy to help.

The problem is that I have to configure Snapd only for an application, I do not use snap today, while I do not fix the problem I will try to collect more data about the problem and update this issue.

I downloaded it through Snapd and it worked perfectly

The snap version is quite outdated (https://snapcraft.io/saber). It is currently version 0.21.4 and the issue particularly exists in version 0.23.2. So maybe it only works perfectly, because of an older version of saber.

That's a really good point about the snap version. Any outstanding features that were implemented btwn 0.21.4 and 0.23.2 that might impact the performance so strongly?

Nvm, I have the same issue with the snap version too. Doesn't matter what version, still has a segmentation fault.