saber-notes / saber

The cross-platform open-source app built for handwriting
https://saber.adil.hanney.org
GNU General Public License v3.0
1.94k stars 118 forks source link

App crashes at random time with libgl error #1292

Closed Jan-NiklasB closed 2 hours ago

Jan-NiklasB commented 2 weeks ago

Before submitting an issue, please check the following

Describe the bug

Since the last update the App crashes after a random amount of time under Linux. After looking into the syslog I found that it seems to be related to a libGL segfault.

The bug exists in the appimage and flatpack version

Syslog messages:


Jun 16 12:29:03 kein-pc-linux kernel: [85688.162652] saber[156155]: segfault at 0 ip 00007fc0529a0180 sp 00007ffefd327148 error 4 in libnvidia-glcore.so.535.171.04[7fc0516e8000+269e000]
Jun 16 12:29:03 kein-pc-linux kernel: [85688.162675] Code: c0 04 48 01 d6 f3 0f 11 40 fc 48 39 c8 75 eb c3 66 2e 0f 1f 84 00 00 00 00 00 83 e9 01 48 89 f8 48 63 d2 48 8d 4c cf 08 66 90 <f3> 0f 10 06 48 83 c0 08 f3 0f 11 40 f8 f3 0f 10 46 04 48 01 d6 f3
Jun 16 12:29:03 kein-pc-linux systemd[1]: Started Process Core Dump (PID 161004/UID 0).
Jun 16 12:29:04 kein-pc-linux systemd-coredump[161005]: Process 156155 (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/gstreamer-1.0/libgstplayback.so with build-id: 23d45e28f778aeeaf8a7aface25ac58eaa31bb4d#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/gstreamer-1.0/libgstogg.so with build-id: 5c3490b204a1de6d7d63eecdf6db2a8fc3c92792#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/libopus.so.0.9.0 with build-id: adfc9861ea4fa12c80274f5e9b2ff32956089eef#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/libFLAC.so.8.3.0 with build-id: d070e0bfd787b4652d85b77e8317d4265d2903d3#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/libgsttypefindfunctions.so with build-id: aa08842abe3da531bd5bb77f7faec8f2bb660596#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/GL/nvidia-535-171-04/extra/libnvidia-egl-gbm.so.1.1.0 with build-id: 4e9508e96c4b43155e4ee69666d5af0a60afdc0b#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/libgstpulseaudio.so with build-id: 9b59ce765d5477097f0aadd162091c5d51a26b7d#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/GL/nvidia-535-171-04/extra/libnvidia-eglcore.so.535.171.04 with build-id: ee71bd902457146a2e6109e981fa94fcd61c5a20#012Found module /usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstautodetect.so with build-id: edc19e90527ba3685fc237be437eb61481811295#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/GL/nvidia-535-171-04/extra/libEGL_nvidia.so.535.171.04 with build-id: d5a3cd79867bf3fd7d1ac9a1fa6eb9cb0da69ceb#012Found module /app/lib/libapp.so with build-id: 46d89a0183d2f274562734e724bdb2ba#012Found module /usr/lib/x86_64-linux-gnu/GL/nvidia-535-171-04/extra/libnvidia-egl-wayland.so.1.1.11 with build-id: 0b346d2774df595e02355a342454afcded590165#012Found module /usr/lib/x86_64-linux-gnu/GL/nvidia-535-171-04/extra/libnvidia-glvkspirv.so.535.171.04 with build-id: 4f3925cf6b6818d860f68f4961ad746b04371997#012Found module /usr/lib/x86_64-linux-gnu/libxshmfence.so.1.0.0 with build-id: 5bd2f07ce458e57a6f85832cc59d494eb1a2b750#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-dri3.so.0.1.0 with build-id: 0753d388146eadc1b0cd9fb405d985e8223ea5d3#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/GL/default/lib/libglapi.so.0.0.0 with build-id: 59f1eda5e2aacf8aee35895feae10229632f0454#012Found module /usr/lib/x86_64-linux-gnu/GL/default/lib/libEGL_mesa.so.0.0.0 with build-id: cb4961b01b7fb978c2fed2d15629a0a9baa41448#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-dri2.so.0.0.0 with build-id: 870db450512f5a3907e717c209c16d97a6775368#012Found module /usr/lib/x86_64-linux-gnu/libX11-xcb.so.1.0.0 with build-id: a81cd4134289f5f9ebca248d6ce7172612b21a42#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/libgbm.so.1.0.0 with build-id: 33a4c58f2bba202787bae94be90e0e2bbf6b42cb#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/libEGL.so.1.1.0 with build-id: 7f86fc6baa41a0315acb442bfcf2b5f20168b0e0#012Found module /usr/lib/x86_64-linux-gnu/GL/nvidia-535-171-04/extra/libnvidia-glcore.so.535.171.04 with build-id: a57effe19ecc994d98b04c69f405b8416337ae21#012Found module /usr/lib/x86_64-linux-gnu/libibus-1.0.so.5.0.526 with build-id: 0d479f370637b1e87565b145327eeb22f95c238e#012Found module /usr/lib/x86_64-linux-gnu/gtk-3.0/3.0.0/immodules/im-ibus.so with build-id: 16a6abff7eaffbd9237c33d89bd676479ddfcd47#012Found module /usr/lib/x86_64-linux-gnu/GL/nvidia-535-171-04/extra/libnvidia-glsi.so.535.171.04 with build-id: 9758e5b13f7e2e2fc44474a592f12cdb41e1711f#012Found module /usr/lib/x86_64-linux-gnu/libdrm.so.2.4.0 with build-id: 9787828247adbad2c52f9778e8eb3776610d3c4c#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/GL/nvidia-535-171-04/extra/libGLX_nvidia.so.535.171.04 with build-id: 562c3b86eb7400e381b91ba762871cd4758545f1#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 [dso] with build-id: 46d89a0183d2f274562734e724bdb2ba#012Found module /usr/lib/x86_64-linux-gnu/liblz4.so.1.9.4 with build-id: 501957d1078a8d0d58903aae838012abf62bcb8e#012Found module /usr/lib/x86_64-linux-gnu/libzstd.so.1.5.5 with build-id: 5e3f94285105d2999b89e094a161bbcdbd69cbef#012Found module /usr/lib/x86_64-linux-gnu/libcap.so.2.70 with build-id: 533488f319e05845fbba3c7685b0a743d58b9230#012Found module /usr/lib/x86_64-linux-gnu/libbrotlicommon.so.1.0.9 with build-id: cb0a672bd52870d877b431c1fbf9c2e28593ef0b#012Found module /usr/lib/x86_64-linux-gnu/libsystemd.so.0.34.0 with build-id: 7b6470efe333cb8befc8ec890015ed463a33b133#012Found module /usr/lib/x86_64-linux-gnu/libgpg-error.so.0.34.0 with build-id: 36808d1cbc0ff8dba114b708242d23e08c2580c9#012Found module /usr/lib/x86_64-linux-gnu/libelf-0.187.so with build-id: e366b10e874a7586364a01c1d94ad1086a75578f#012Found module /usr/lib/x86_64-linux-gnu/liblzma.so.5.2.9 with build-id: 8377cff8cfc158e18a1348b085742c21ae564ca8#012
Jun 16 12:29:04 kein-pc-linux systemd[1]: systemd-coredump@2-161004-0.service: Deactivated successfully.
Jun 16 12:29:04 kein-pc-linux systemd[1]: systemd-coredump@2-161004-0.service: Consumed 1.190s CPU time.
Jun 16 12:29:04 kein-pc-linux systemd[2043]: app-flatpak-com.adilhanney.saber-156138.scope: Consumed 54.067s CPU time.

To reproduce

  1. Download the Flatpack version via the app manager or download the appimage version vrom Github
  2. Install one of the versions
  3. Start writing
  4. After random amount of time the app crashes

Expected behavior

Well, I guess it should run till I close it... ;)

Saber version

v0.23.2 (23020)

Device

Anything else?

No response

Jan-NiklasB commented 2 weeks ago

P.S. I made sure that all drivers are up to date

Jan-NiklasB commented 2 hours ago

Problem persists after updating to the current version (0.24.1)

Jan-NiklasB commented 2 hours ago

After googling the error I found that it's most probably related to the nvidia driver which seems to be bugged...

See: https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-535/+bug/2063827