[GH-ISSUE #8063] [Bug] App crashes after opening Linux #3526

Open
opened 2026-03-23 21:30:59 +00:00 by mirror · 8 comments
Owner

Originally created by @thomasboom on GitHub (Jun 14, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8063

Bug Description

When I try to open AppFlowy for Linux (via .deb or .AppImage file), you see a very short flash of a window opening, but it crashes directly after that.

How to Reproduce

Try to open AppFlowy on Linux via .deb or .AppImage file.

Expected Behavior

The app opening like normal.

Operating System

Linux (Ubuntu 25.04)

AppFlowy Version(s)

0.9.3

Screenshots

No response

Additional Context

Output of the terminal (afy.AppImage is the AppFlowy file):

myusername@mypc:~/Downloads$ ./afy.AppImage

(AppFlowy:9231): Gtk-WARNING **: 07:47:59.224: Could not load a pixbuf from icon theme.
This may indicate that pixbuf loaders or the mime database could not be found.
Gdk-Message: 07:48:00.305: Error 71 (Protocol error) dispatching to Wayland display.
myusername@mypc:~/Downloads$

Originally created by @thomasboom on GitHub (Jun 14, 2025). Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8063 ### Bug Description When I try to open AppFlowy for Linux (via .deb or .AppImage file), you see a very short flash of a window opening, but it crashes directly after that. ### How to Reproduce Try to open AppFlowy on Linux via .deb or .AppImage file. ### Expected Behavior The app opening like normal. ### Operating System Linux (Ubuntu 25.04) ### AppFlowy Version(s) 0.9.3 ### Screenshots _No response_ ### Additional Context Output of the terminal (afy.AppImage is the AppFlowy file): myusername@mypc:~/Downloads$ ./afy.AppImage (AppFlowy:9231): Gtk-WARNING **: 07:47:59.224: Could not load a pixbuf from icon theme. This may indicate that pixbuf loaders or the mime database could not be found. Gdk-Message: 07:48:00.305: Error 71 (Protocol error) dispatching to Wayland display. myusername@mypc:~/Downloads$
Author
Owner
<!-- gh-comment-id:2974848836 --> @khorshuheng commented on GitHub (Jun 16, 2025): Seems similar to this: https://discussion.fedoraproject.org/t/gdk-message-error-71-protocol-error-dispatching-to-wayland-display/127927/13
Author
Owner

@fwinn commented on GitHub (Jun 24, 2025):

For me, something similar happens.
Starting the app works, but when I go into settings from the initial screen, it crashes. Starting into anonymous mode as well as opening settings from within there works.

Last error message is Segmentation fault (core dumped)
And before there was (AppFlowy:79728): Gdk-CRITICAL **: 23:39:48.655: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed for a couple of times.

openSUSE Tumbleweed, Plasma 6.4.0 [KF 6.15.0] [Qt 6.9.1] (wayland)

<!-- gh-comment-id:3001975124 --> @fwinn commented on GitHub (Jun 24, 2025): For me, something similar happens. Starting the app works, but when I go into settings from the initial screen, it crashes. Starting into anonymous mode as well as opening settings from within there works. Last error message is `Segmentation fault (core dumped)` And before there was `(AppFlowy:79728): Gdk-CRITICAL **: 23:39:48.655: gdk_device_get_source: assertion 'GDK_IS_DEVICE (device)' failed` for a couple of times. openSUSE Tumbleweed, Plasma 6.4.0 [KF 6.15.0] [Qt 6.9.1] (wayland)
Author
Owner

@blacklight commented on GitHub (Jun 27, 2025):

Same here.

I'm working on a new fresh installation on a new laptop (I didn't have any issues on my previous installation, but I also hadn't updated it in a few weeks).

Testing on Arch Linux + Sway. The crashes occur both with the Flatpak version and with the appflowy-bin AUR package.

In my specific case it happens as soon as the application starts, when I click on Settings.

strace doesn't give anything meaningful at the time the application crashes:

read(3, "\1\0\0\0\0\0\0\0", 8)          = 8
timerfd_settime(19, TFD_TIMER_ABSTIME, {it_interval={tv_sec=41786, tv_nsec=523886786}, it_value={tv_sec=41786, tv_nsec=523886786}}, NULL) = 0
sendmsg(7, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\0\0\377\0\0,\0#\22\0\0\31\0\0\0text/plain;chars"..., iov_len=44}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 44
ppoll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}], 3, {tv_sec=0, tv_nsec=0}, NULL, 8) = 0 (Timeout)
ppoll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}], 3, {tv_sec=0, tv_nsec=311855000}, NULL, 8 <unfinished ...>) = ?
+++ killed by SIGSEGV (core dumped) +++

I've also tried to downgrade the Flatpak image to earlier versions (up to commit eda817eefbb33eab5ce781f7fb3a94fb86bafb77ee232c42b8ae0409affbce2f) to check if it's a regression introduced somewhere, but at least on this new installation also earlier versions fail the same way.

<!-- gh-comment-id:3014212241 --> @blacklight commented on GitHub (Jun 27, 2025): Same here. I'm working on a new fresh installation on a new laptop (I didn't have any issues on my previous installation, but I also hadn't updated it in a few weeks). Testing on Arch Linux + Sway. The crashes occur both with the Flatpak version and with the `appflowy-bin` AUR package. In my specific case it happens as soon as the application starts, when I click on _Settings_. `strace` doesn't give anything meaningful at the time the application crashes: ``` read(3, "\1\0\0\0\0\0\0\0", 8) = 8 timerfd_settime(19, TFD_TIMER_ABSTIME, {it_interval={tv_sec=41786, tv_nsec=523886786}, it_value={tv_sec=41786, tv_nsec=523886786}}, NULL) = 0 sendmsg(7, {msg_name=NULL, msg_namelen=0, msg_iov=[{iov_base="\0\0\0\377\0\0,\0#\22\0\0\31\0\0\0text/plain;chars"..., iov_len=44}], msg_iovlen=1, msg_controllen=0, msg_flags=0}, MSG_DONTWAIT|MSG_NOSIGNAL) = 44 ppoll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}], 3, {tv_sec=0, tv_nsec=0}, NULL, 8) = 0 (Timeout) ppoll([{fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=11, events=POLLIN}], 3, {tv_sec=0, tv_nsec=311855000}, NULL, 8 <unfinished ...>) = ? +++ killed by SIGSEGV (core dumped) +++ ``` I've also tried to downgrade the Flatpak image to earlier versions (up to commit `eda817eefbb33eab5ce781f7fb3a94fb86bafb77ee232c42b8ae0409affbce2f`) to check if it's a regression introduced somewhere, but at least on this new installation also earlier versions fail the same way.
Author
Owner

@blacklight commented on GitHub (Jul 10, 2025):

Could someone please look into this? It replicates even on a vanilla AppFlowy Flatpak installation on Arch.

<!-- gh-comment-id:3056388303 --> @blacklight commented on GitHub (Jul 10, 2025): Could someone please look into this? It replicates even on a vanilla AppFlowy Flatpak installation on Arch.
Author
Owner

@linux4life798 commented on GitHub (Aug 4, 2025):

Issue still exist with version 0.9.4 and 0.9.5 deb packages on Debian 13/trixie, which makes the AppFlowy desktop app unusable. I receive a Segmentation Fault right after the GUI window launches. Rolling back, even to version 0.9.2, does not resolve the issue.

Releases

Full Crash Info for AppFlowy-0.9.5-linux-x86_64.deb
sudo apt install -f ./AppFlowy-0.9.5-linux-x86_64.deb
export DEBUGINFOD_URLS="https://debuginfod.debian.net"
gdb /usr/lib/AppFlowy/AppFlowy

(gdb) run
Starting program: /usr/lib/AppFlowy/AppFlowy 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
(gdb) [New Thread 0x7ffff4e666c0 (LWP 858350)]
[New Thread 0x7ffff46656c0 (LWP 858351)]
[New Thread 0x7ffff3e646c0 (LWP 858352)]
[New Thread 0x7ffff31ff6c0 (LWP 858353)]
[New Thread 0x7ffff29fe6c0 (LWP 858354)]
[New Thread 0x7ffff219b6c0 (LWP 858355)]
[New Thread 0x7ffff0a836c0 (LWP 858391)]
[New Thread 0x7fffd93ff6c0 (LWP 858392)]
[New Thread 0x7fffd8bfe6c0 (LWP 858393)]
[New Thread 0x7fffca5ff6c0 (LWP 858394)]
[New Thread 0x7fffc9bfe6c0 (LWP 858395)]
[New Thread 0x7fffc93fd6c0 (LWP 858396)]
[New Thread 0x7fffc8bfc6c0 (LWP 858397)]
[New Thread 0x7fffabfff6c0 (LWP 858398)]
[New Thread 0x7fffa35ff6c0 (LWP 858399)]
[New Thread 0x7fffab7fe6c0 (LWP 858400)]
[New Thread 0x7fffaaffd6c0 (LWP 858401)]
[New Thread 0x7fffaa7fc6c0 (LWP 858402)]
[New Thread 0x7fffa9ffb6c0 (LWP 858403)]
[New Thread 0x7fffa97fa6c0 (LWP 858404)]
[New Thread 0x7fffa8ff96c0 (LWP 858405)]
[New Thread 0x7fffa3fff6c0 (LWP 858406)]
[New Thread 0x7fffa2dfe6c0 (LWP 858407)]
[New Thread 0x7fffa25fd6c0 (LWP 858408)]
[New Thread 0x7fffa1dfc6c0 (LWP 858409)]
[New Thread 0x7fffc83fb6c0 (LWP 858410)]
[New Thread 0x7fffa87f86c0 (LWP 858411)]
[New Thread 0x7fffa15fb6c0 (LWP 858412)]
[New Thread 0x7fffa0dfa6c0 (LWP 858413)]
[New Thread 0x7fff721da6c0 (LWP 858414)]
[New Thread 0x7fff719d96c0 (LWP 858415)]
[New Thread 0x7fffcc1ff6c0 (LWP 858416)]
[New Thread 0x7fff519ce6c0 (LWP 858418)]

Thread 1 "AppFlowy" received signal SIGSEGV, Segmentation fault.
Download failed: Invalid argument.  Continuing without source file ./build/../src/gallium/frontends/dri/dri2.c.
dri2_query_image (image=image@entry=0x0, attrib=attrib@entry=8196, value=value@entry=0x7fffffffd184) at ../src/gallium/frontends/dri/dri2.c:1368
warning: 1368	../src/gallium/frontends/dri/dri2.c: No such file or directory

(gdb) info threads 
  Id   Target Id                                            Frame 
* 1    Thread 0x7ffff4e6c100 (LWP 858269) "AppFlowy"        dri2_query_image (image=image@entry=0x0, attrib=attrib@entry=8196, value=value@entry=0x7fffffffd184) at ../src/gallium/frontends/dri/dri2.c:1368
  2    Thread 0x7ffff4e666c0 (LWP 858350) "pool-spawner"    syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  3    Thread 0x7ffff46656c0 (LWP 858351) "gmain"           __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  4    Thread 0x7ffff3e646c0 (LWP 858352) "gdbus"           __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  5    Thread 0x7ffff31ff6c0 (LWP 858353) "pool-0"          syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  6    Thread 0x7ffff29fe6c0 (LWP 858354) "dconf worker"    __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  7    Thread 0x7ffff219b6c0 (LWP 858355) "[pango] fontcon" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38
  8    Thread 0x7ffff0a836c0 (LWP 858391) "AppFlowy:cs0"    __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  9    Thread 0x7fffd93ff6c0 (LWP 858392) "AppFlow:disk$0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  10   Thread 0x7fffd8bfe6c0 (LWP 858393) "AppFlowy:sh0"    __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  11   Thread 0x7fffca5ff6c0 (LWP 858394) "AppFlo:sh_opt0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  12   Thread 0x7fffc9bfe6c0 (LWP 858395) "AppFlo:traceq0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  13   Thread 0x7fffc93fd6c0 (LWP 858396) "AppFlo:traceq0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  14   Thread 0x7fffc8bfc6c0 (LWP 858397) "AppFlo:traceq0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  15   Thread 0x7fffabfff6c0 (LWP 858398) "AppFlo:traceq0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  16   Thread 0x7fffa35ff6c0 (LWP 858399) "AppFlowy:gdrv0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  17   Thread 0x7fffab7fe6c0 (LWP 858400) "AppFlowy:gl0"    __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  18   Thread 0x7fffaaffd6c0 (LWP 858401) "AppFlo:traceq0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  19   Thread 0x7fffaa7fc6c0 (LWP 858402) "AppFlowy:gdrv0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  20   Thread 0x7fffa9ffb6c0 (LWP 858403) "AppFlowy:gl0"    __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  21   Thread 0x7fffa97fa6c0 (LWP 858404) "AppFlo:traceq0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  22   Thread 0x7fffa8ff96c0 (LWP 858405) "AppFlowy:gdrv0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  23   Thread 0x7fffa3fff6c0 (LWP 858406) "AppFlowy:gl0"    __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  24   Thread 0x7fffa2dfe6c0 (LWP 858407) "AppFlo:traceq0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  25   Thread 0x7fffa25fd6c0 (LWP 858408) "AppFlowy:gdrv0"  __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  26   Thread 0x7fffa1dfc6c0 (LWP 858409) "AppFlowy:gl0"    __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  27   Thread 0x7fffc83fb6c0 (LWP 858410) "io.flutter.ui"   __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  28   Thread 0x7fffa87f86c0 (LWP 858411) "io.flutter.io"   __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  29   Thread 0x7fffa15fb6c0 (LWP 858412) "io.worker.1"     __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  30   Thread 0x7fffa0dfa6c0 (LWP 858413) "io.worker.2"     __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  31   Thread 0x7fff721da6c0 (LWP 858414) "io.worker.3"     __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  32   Thread 0x7fff719d96c0 (LWP 858415) "io.worker.4"     __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  33   Thread 0x7fffcc1ff6c0 (LWP 858416) "dart:io EventHa" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56
  34   Thread 0x7fff519ce6c0 (LWP 858418) "DartWorker"      __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56

(gdb) bt
#0  dri2_query_image (image=image@entry=0x0, attrib=attrib@entry=8196, value=value@entry=0x7fffffffd184) at ../src/gallium/frontends/dri/dri2.c:1368
#1  0x00007ffff0cef077 in create_wl_buffer (dri2_dpy=dri2_dpy@entry=0x5555556ca860, dri2_surf=dri2_surf@entry=0x555555ddb570, image=0x0) at ../src/egl/drivers/dri2/platform_wayland.c:1507
#2  0x00007ffff0cef97a in dri2_wl_swap_buffers_with_damage (disp=<optimized out>, draw=0x555555ddb570, rects=0x555555e9a1d0, n_rects=1) at ../src/egl/drivers/dri2/platform_wayland.c:1710
#3  0x00007ffff0ce53dd in dri2_swap_buffers_with_damage (disp=0x5555557da400, surf=0x555555ddb570, rects=0x555555e9a1d0, n_rects=1) at ../src/egl/drivers/dri2/egl_dri2.c:1678
#4  0x00007ffff0cd4fe7 in _eglSwapBuffersWithDamageCommon (disp=0x5555557da400, surf=0x555555ddb570, rects=0x555555e9a1d0, n_rects=1) at ../src/egl/main/eglapi.c:1493
#5  0x00007ffff676660f in gdk_wayland_gl_context_end_frame (context=<optimized out>, painted=<optimized out>, damage=<optimized out>) at ../../../gdk/wayland/gdkglcontext-wayland.c:253
#6  0x00007ffff6749c82 in gdk_window_end_paint_internal (window=window@entry=0x555555673d00 [GdkWaylandWindow]) at ../../../gdk/gdkwindow.c:3072
#7  0x00007ffff6749dd7 in gdk_window_end_draw_frame (window=0x555555673d00 [GdkWaylandWindow], context=0x7fff6c0c7830 [GdkDrawingContext]) at ../../../gdk/gdkwindow.c:3311
#8  0x00007ffff6a08095 in gtk_main_do_event (event=0x7fffffffd460) at ../../../gtk/gtkmain.c:1844
#9  gtk_main_do_event (event=<optimized out>) at ../../../gtk/gtkmain.c:1691
#10 0x00007ffff67305c9 in _gdk_event_emit (event=event@entry=0x7fffffffd460) at ../../../gdk/gdkevents.c:73
#11 0x00007ffff673f739 in _gdk_window_process_updates_recurse_helper (window=0x555555673d00 [GdkWaylandWindow], expose_region=<optimized out>) at ../../../gdk/gdkwindow.c:3874
#12 0x00007ffff6741356 in gdk_window_process_updates_internal (window=window@entry=0x555555673d00 [GdkWaylandWindow]) at ../../../gdk/gdkwindow.c:4020
#13 0x00007ffff674156c in gdk_window_process_updates_with_mode (window=<optimized out>, recurse_mode=<optimized out>) at ../../../gdk/gdkwindow.c:4215
#14 gdk_window_process_updates_with_mode (window=<optimized out>, recurse_mode=<optimized out>) at ../../../gdk/gdkwindow.c:4186
#18 0x00007ffff620b663 in <emit signal 'paint' on instance 0x555555634280 [GdkFrameClockIdle]> (instance=instance@entry=0x555555634280, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3597
    #15 0x00007ffff61efb81 in _g_closure_invoke_va (closure=closure@entry=0x555555695d60, return_value=return_value@entry=0x0, instance=instance@entry=0x555555634280, args=args@entry=0x7fffffffd800, n_params=n_params@entry=0, param_types=param_types@entry=0x0) at ../../../gobject/gclosure.c:898
    #16 0x00007ffff62058b8 in signal_emit_valist_unlocked (instance=instance@entry=0x555555634280, signal_id=signal_id@entry=59, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffd800) at ../../../gobject/gsignal.c:3438
    #17 0x00007ffff620b5a6 in g_signal_emit_valist (instance=0x555555634280, signal_id=59, detail=0, var_args=0x7fffffffd800) at ../../../gobject/gsignal.c:3277
#19 0x00007ffff6738c03 in _gdk_frame_clock_emit_paint (frame_clock=frame_clock@entry=0x555555634280 [GdkFrameClockIdle]) at ../../../gdk/gdkframeclock.c:657
#20 0x00007ffff673943e in gdk_frame_clock_paint_idle (data=0x555555634280) at ../../../gdk/gdkframeclockidle.c:597
#21 0x00007ffff672527b in gdk_threads_dispatch (data=0x555555e8ae50, data@entry=<error reading variable: value has been optimized out>) at ../../../gdk/gdk.c:769
#22 0x00007ffff60df44e in g_timeout_dispatch (source=0x7fff6c10d260, callback=<optimized out>, user_data=<optimized out>) at ../../../glib/gmain.c:5111
#23 0x00007ffff60dc3c5 in g_main_dispatch (context=context@entry=0x555555591020) at ../../../glib/gmain.c:3398
#24 0x00007ffff60de5f7 in g_main_context_dispatch_unlocked (context=0x555555591020) at ../../../glib/gmain.c:4249
#25 g_main_context_iterate_unlocked (context=context@entry=0x555555591020, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4314
#26 0x00007ffff60ded60 in g_main_context_iteration (context=context@entry=0x555555591020, may_block=may_block@entry=1) at ../../../glib/gmain.c:4379
#27 0x00007ffff6325edd in g_application_run (application=0x55555558f640 [MyApplication], argc=<optimized out>, argv=0x7fffffffdc38) at ../../../gio/gapplication.c:2715
#28 0x000055555555647e in main ()
(gdb) 
<!-- gh-comment-id:3152791469 --> @linux4life798 commented on GitHub (Aug 4, 2025): Issue still exist with version `0.9.4` and `0.9.5` deb packages on Debian 13/trixie, which makes the AppFlowy desktop app unusable. I receive a Segmentation Fault right after the GUI window launches. Rolling back, even to version 0.9.2, does not resolve the issue. [Releases](https://github.com/AppFlowy-IO/AppFlowy/releases) <details> <summary>Full Crash Info for <b>AppFlowy-0.9.5-linux-x86_64.deb</b></summary> ```bash sudo apt install -f ./AppFlowy-0.9.5-linux-x86_64.deb export DEBUGINFOD_URLS="https://debuginfod.debian.net" gdb /usr/lib/AppFlowy/AppFlowy (gdb) run Starting program: /usr/lib/AppFlowy/AppFlowy [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1". (gdb) [New Thread 0x7ffff4e666c0 (LWP 858350)] [New Thread 0x7ffff46656c0 (LWP 858351)] [New Thread 0x7ffff3e646c0 (LWP 858352)] [New Thread 0x7ffff31ff6c0 (LWP 858353)] [New Thread 0x7ffff29fe6c0 (LWP 858354)] [New Thread 0x7ffff219b6c0 (LWP 858355)] [New Thread 0x7ffff0a836c0 (LWP 858391)] [New Thread 0x7fffd93ff6c0 (LWP 858392)] [New Thread 0x7fffd8bfe6c0 (LWP 858393)] [New Thread 0x7fffca5ff6c0 (LWP 858394)] [New Thread 0x7fffc9bfe6c0 (LWP 858395)] [New Thread 0x7fffc93fd6c0 (LWP 858396)] [New Thread 0x7fffc8bfc6c0 (LWP 858397)] [New Thread 0x7fffabfff6c0 (LWP 858398)] [New Thread 0x7fffa35ff6c0 (LWP 858399)] [New Thread 0x7fffab7fe6c0 (LWP 858400)] [New Thread 0x7fffaaffd6c0 (LWP 858401)] [New Thread 0x7fffaa7fc6c0 (LWP 858402)] [New Thread 0x7fffa9ffb6c0 (LWP 858403)] [New Thread 0x7fffa97fa6c0 (LWP 858404)] [New Thread 0x7fffa8ff96c0 (LWP 858405)] [New Thread 0x7fffa3fff6c0 (LWP 858406)] [New Thread 0x7fffa2dfe6c0 (LWP 858407)] [New Thread 0x7fffa25fd6c0 (LWP 858408)] [New Thread 0x7fffa1dfc6c0 (LWP 858409)] [New Thread 0x7fffc83fb6c0 (LWP 858410)] [New Thread 0x7fffa87f86c0 (LWP 858411)] [New Thread 0x7fffa15fb6c0 (LWP 858412)] [New Thread 0x7fffa0dfa6c0 (LWP 858413)] [New Thread 0x7fff721da6c0 (LWP 858414)] [New Thread 0x7fff719d96c0 (LWP 858415)] [New Thread 0x7fffcc1ff6c0 (LWP 858416)] [New Thread 0x7fff519ce6c0 (LWP 858418)] Thread 1 "AppFlowy" received signal SIGSEGV, Segmentation fault. Download failed: Invalid argument. Continuing without source file ./build/../src/gallium/frontends/dri/dri2.c. dri2_query_image (image=image@entry=0x0, attrib=attrib@entry=8196, value=value@entry=0x7fffffffd184) at ../src/gallium/frontends/dri/dri2.c:1368 warning: 1368 ../src/gallium/frontends/dri/dri2.c: No such file or directory (gdb) info threads Id Target Id Frame * 1 Thread 0x7ffff4e6c100 (LWP 858269) "AppFlowy" dri2_query_image (image=image@entry=0x0, attrib=attrib@entry=8196, value=value@entry=0x7fffffffd184) at ../src/gallium/frontends/dri/dri2.c:1368 2 Thread 0x7ffff4e666c0 (LWP 858350) "pool-spawner" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 3 Thread 0x7ffff46656c0 (LWP 858351) "gmain" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 4 Thread 0x7ffff3e646c0 (LWP 858352) "gdbus" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 5 Thread 0x7ffff31ff6c0 (LWP 858353) "pool-0" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 6 Thread 0x7ffff29fe6c0 (LWP 858354) "dconf worker" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 7 Thread 0x7ffff219b6c0 (LWP 858355) "[pango] fontcon" syscall () at ../sysdeps/unix/sysv/linux/x86_64/syscall.S:38 8 Thread 0x7ffff0a836c0 (LWP 858391) "AppFlowy:cs0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 9 Thread 0x7fffd93ff6c0 (LWP 858392) "AppFlow:disk$0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 10 Thread 0x7fffd8bfe6c0 (LWP 858393) "AppFlowy:sh0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 11 Thread 0x7fffca5ff6c0 (LWP 858394) "AppFlo:sh_opt0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 12 Thread 0x7fffc9bfe6c0 (LWP 858395) "AppFlo:traceq0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 13 Thread 0x7fffc93fd6c0 (LWP 858396) "AppFlo:traceq0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 14 Thread 0x7fffc8bfc6c0 (LWP 858397) "AppFlo:traceq0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 15 Thread 0x7fffabfff6c0 (LWP 858398) "AppFlo:traceq0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 16 Thread 0x7fffa35ff6c0 (LWP 858399) "AppFlowy:gdrv0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 17 Thread 0x7fffab7fe6c0 (LWP 858400) "AppFlowy:gl0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 18 Thread 0x7fffaaffd6c0 (LWP 858401) "AppFlo:traceq0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 19 Thread 0x7fffaa7fc6c0 (LWP 858402) "AppFlowy:gdrv0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 20 Thread 0x7fffa9ffb6c0 (LWP 858403) "AppFlowy:gl0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 21 Thread 0x7fffa97fa6c0 (LWP 858404) "AppFlo:traceq0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 22 Thread 0x7fffa8ff96c0 (LWP 858405) "AppFlowy:gdrv0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 23 Thread 0x7fffa3fff6c0 (LWP 858406) "AppFlowy:gl0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 24 Thread 0x7fffa2dfe6c0 (LWP 858407) "AppFlo:traceq0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 25 Thread 0x7fffa25fd6c0 (LWP 858408) "AppFlowy:gdrv0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 26 Thread 0x7fffa1dfc6c0 (LWP 858409) "AppFlowy:gl0" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 27 Thread 0x7fffc83fb6c0 (LWP 858410) "io.flutter.ui" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 28 Thread 0x7fffa87f86c0 (LWP 858411) "io.flutter.io" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 29 Thread 0x7fffa15fb6c0 (LWP 858412) "io.worker.1" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 30 Thread 0x7fffa0dfa6c0 (LWP 858413) "io.worker.2" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 31 Thread 0x7fff721da6c0 (LWP 858414) "io.worker.3" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 32 Thread 0x7fff719d96c0 (LWP 858415) "io.worker.4" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 33 Thread 0x7fffcc1ff6c0 (LWP 858416) "dart:io EventHa" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 34 Thread 0x7fff519ce6c0 (LWP 858418) "DartWorker" __syscall_cancel_arch () at ../sysdeps/unix/sysv/linux/x86_64/syscall_cancel.S:56 (gdb) bt #0 dri2_query_image (image=image@entry=0x0, attrib=attrib@entry=8196, value=value@entry=0x7fffffffd184) at ../src/gallium/frontends/dri/dri2.c:1368 #1 0x00007ffff0cef077 in create_wl_buffer (dri2_dpy=dri2_dpy@entry=0x5555556ca860, dri2_surf=dri2_surf@entry=0x555555ddb570, image=0x0) at ../src/egl/drivers/dri2/platform_wayland.c:1507 #2 0x00007ffff0cef97a in dri2_wl_swap_buffers_with_damage (disp=<optimized out>, draw=0x555555ddb570, rects=0x555555e9a1d0, n_rects=1) at ../src/egl/drivers/dri2/platform_wayland.c:1710 #3 0x00007ffff0ce53dd in dri2_swap_buffers_with_damage (disp=0x5555557da400, surf=0x555555ddb570, rects=0x555555e9a1d0, n_rects=1) at ../src/egl/drivers/dri2/egl_dri2.c:1678 #4 0x00007ffff0cd4fe7 in _eglSwapBuffersWithDamageCommon (disp=0x5555557da400, surf=0x555555ddb570, rects=0x555555e9a1d0, n_rects=1) at ../src/egl/main/eglapi.c:1493 #5 0x00007ffff676660f in gdk_wayland_gl_context_end_frame (context=<optimized out>, painted=<optimized out>, damage=<optimized out>) at ../../../gdk/wayland/gdkglcontext-wayland.c:253 #6 0x00007ffff6749c82 in gdk_window_end_paint_internal (window=window@entry=0x555555673d00 [GdkWaylandWindow]) at ../../../gdk/gdkwindow.c:3072 #7 0x00007ffff6749dd7 in gdk_window_end_draw_frame (window=0x555555673d00 [GdkWaylandWindow], context=0x7fff6c0c7830 [GdkDrawingContext]) at ../../../gdk/gdkwindow.c:3311 #8 0x00007ffff6a08095 in gtk_main_do_event (event=0x7fffffffd460) at ../../../gtk/gtkmain.c:1844 #9 gtk_main_do_event (event=<optimized out>) at ../../../gtk/gtkmain.c:1691 #10 0x00007ffff67305c9 in _gdk_event_emit (event=event@entry=0x7fffffffd460) at ../../../gdk/gdkevents.c:73 #11 0x00007ffff673f739 in _gdk_window_process_updates_recurse_helper (window=0x555555673d00 [GdkWaylandWindow], expose_region=<optimized out>) at ../../../gdk/gdkwindow.c:3874 #12 0x00007ffff6741356 in gdk_window_process_updates_internal (window=window@entry=0x555555673d00 [GdkWaylandWindow]) at ../../../gdk/gdkwindow.c:4020 #13 0x00007ffff674156c in gdk_window_process_updates_with_mode (window=<optimized out>, recurse_mode=<optimized out>) at ../../../gdk/gdkwindow.c:4215 #14 gdk_window_process_updates_with_mode (window=<optimized out>, recurse_mode=<optimized out>) at ../../../gdk/gdkwindow.c:4186 #18 0x00007ffff620b663 in <emit signal 'paint' on instance 0x555555634280 [GdkFrameClockIdle]> (instance=instance@entry=0x555555634280, signal_id=<optimized out>, detail=detail@entry=0) at ../../../gobject/gsignal.c:3597 #15 0x00007ffff61efb81 in _g_closure_invoke_va (closure=closure@entry=0x555555695d60, return_value=return_value@entry=0x0, instance=instance@entry=0x555555634280, args=args@entry=0x7fffffffd800, n_params=n_params@entry=0, param_types=param_types@entry=0x0) at ../../../gobject/gclosure.c:898 #16 0x00007ffff62058b8 in signal_emit_valist_unlocked (instance=instance@entry=0x555555634280, signal_id=signal_id@entry=59, detail=detail@entry=0, var_args=var_args@entry=0x7fffffffd800) at ../../../gobject/gsignal.c:3438 #17 0x00007ffff620b5a6 in g_signal_emit_valist (instance=0x555555634280, signal_id=59, detail=0, var_args=0x7fffffffd800) at ../../../gobject/gsignal.c:3277 #19 0x00007ffff6738c03 in _gdk_frame_clock_emit_paint (frame_clock=frame_clock@entry=0x555555634280 [GdkFrameClockIdle]) at ../../../gdk/gdkframeclock.c:657 #20 0x00007ffff673943e in gdk_frame_clock_paint_idle (data=0x555555634280) at ../../../gdk/gdkframeclockidle.c:597 #21 0x00007ffff672527b in gdk_threads_dispatch (data=0x555555e8ae50, data@entry=<error reading variable: value has been optimized out>) at ../../../gdk/gdk.c:769 #22 0x00007ffff60df44e in g_timeout_dispatch (source=0x7fff6c10d260, callback=<optimized out>, user_data=<optimized out>) at ../../../glib/gmain.c:5111 #23 0x00007ffff60dc3c5 in g_main_dispatch (context=context@entry=0x555555591020) at ../../../glib/gmain.c:3398 #24 0x00007ffff60de5f7 in g_main_context_dispatch_unlocked (context=0x555555591020) at ../../../glib/gmain.c:4249 #25 g_main_context_iterate_unlocked (context=context@entry=0x555555591020, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../../../glib/gmain.c:4314 #26 0x00007ffff60ded60 in g_main_context_iteration (context=context@entry=0x555555591020, may_block=may_block@entry=1) at ../../../glib/gmain.c:4379 #27 0x00007ffff6325edd in g_application_run (application=0x55555558f640 [MyApplication], argc=<optimized out>, argv=0x7fffffffdc38) at ../../../gio/gapplication.c:2715 #28 0x000055555555647e in main () (gdb) ``` </details>
Author
Owner

@linux4life798 commented on GitHub (Aug 5, 2025):

Still broken on v0.9.6.

<!-- gh-comment-id:3156819550 --> @linux4life798 commented on GitHub (Aug 5, 2025): Still broken on `v0.9.6`.
Author
Owner

@linux4life798 commented on GitHub (Aug 5, 2025):

WORKAROUND

I'm not sure what caused the original issue, but I was able to get the desktop client working again by just clearing the local state and re-authenticating.

# Delete ~/.local/share/io.appflowy.appflowy
gio trash ~/.local/share/io.appflowy.appflowy
# or use rm -rf 

# Launch and re-authenticate
AppFlowy
<!-- gh-comment-id:3156835558 --> @linux4life798 commented on GitHub (Aug 5, 2025): # WORKAROUND I'm not sure what caused the original issue, but I was able to get the desktop client working again by just clearing the local state and re-authenticating. ```bash # Delete ~/.local/share/io.appflowy.appflowy gio trash ~/.local/share/io.appflowy.appflowy # or use rm -rf # Launch and re-authenticate AppFlowy ```
Author
Owner

@blacklight commented on GitHub (Aug 10, 2025):

Sorry but the workaround doesn't work in my case.

The crash consistently reproduces both with:

  • A fresh Flatpak installation (after wiping the previous Flatpak folder)
  • appflowy-bin installed via AUR (after wiping ~/.local/share/AppFlowy)

However, the fact that such a serious and easily reproducible issue skipped all the levels of QA, made it into an official release, and then users were left with a broken application for weeks/months without an official response from the maintainers, makes me believe that this product is awfully immature to store my data. I'll go for alternatives.

<!-- gh-comment-id:3172501960 --> @blacklight commented on GitHub (Aug 10, 2025): Sorry but the workaround doesn't work in my case. The crash consistently reproduces both with: - A fresh Flatpak installation (after wiping the previous Flatpak folder) - `appflowy-bin` installed via AUR (after wiping `~/.local/share/AppFlowy`) However, the fact that such a serious and easily reproducible issue skipped all the levels of QA, made it into an official release, and then users were left with a broken application for weeks/months without an official response from the maintainers, makes me believe that this product is awfully immature to store my data. I'll go for alternatives.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
AppFlowy-IO/AppFlowy#3526
No description provided.