mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #8047] [Bug] AppFlowy 0.9.3 crashes when paired with Cloud 0.9.59 #3521
Labels
No labels
2024
2025
2026
acct mgmt
AI
automation
bug
calendar
ci
CJK
cloud
code-block
collaboration
copy-paste
database
data migration
data sync
deploy
desktop
develop
develop
documentation
duplicate
editor
editor-plugin
emoji
export
files
flutter-only
follow-up
formula
good first issue for devs
good first issue for experienced devs
grid
hacktoberfest
HACKTOBERFEST-ACCEPTED
help wanted
i18n
icons
images
importer
improvements
infra
install
integrations
IR
kanban board
login
look and joy
mentorship
mobile
mobile
needs design
new feature
new feature
non-coding
notes
notifications
onboarding
organization
P0+
permission
platform-linux
platform-mac
platform-windows
plugins
program
pull-request
Q1 25
Q1 26
Q2 24
Q2 25
Q3 24
Q3 25
Q4 24
Q4 25
react
regression
rust
rust
Rust-only
Rust-only
Rust-starter
Rust-starter
self-hosted
shortcuts
side panel
slash-menu
sync v2
table
tablet
task
tauri
templates
tests
themes
translation
v0.5.6
v0.5.8
v0.5.9
v0.6.0
v0.6.1
v0.6.4
v0.6.7
v0.6.8
v0.7.1
v0.7.4
v0.7.4
v0.7.5
v0.7.6
v0.7.7
v0.7.8
v0.8.0
v0.8.4
v0.8.5
v0.8.9
web
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AppFlowy-IO/AppFlowy#3521
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @rockerest on GitHub (Jun 9, 2025).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/8047
Bug Description
AppFlowy was working fine, but then I upgraded AppFlowy-Cloud to 0.9.59.
AppFlowy is now guaranteed to crash to the desktop, but the timing is not predictable.
Here is a complete crash log via
docker compose logs -ffrom starting AppFlowy to the crash, which is only reported to the server as a client disconnect.Log text
How to Reproduce
Environment
A previous version of AppFlowy-Cloud did not cause this crash, but I'm not sure what the version was. Somewhere around 0.9.50, probably.
Steps
Expected Behavior
No crashes to desktop.
Operating System
Windows 11
AppFlowy Version(s)
0.9.3 (but it's definitely the interaction with some later version of AppFlowy-Cloud, because this didn't happen until I upgraded)
Screenshots
No response
Additional Context
I'm happy to provide additional logs if there are any from the client. I only know how to access the Docker logs from the hosted server, so maybe there's A) something from the client or B) other logs from the server not via Docker.
@rockerest commented on GitHub (Jun 9, 2025):
I searched the Windows Event Viewer logs for AppFlowy crashes, and they're all basically identical.
Here's the latest:
Could
c0000409be pointing to https://doc.rust-lang.org/beta/error_codes/E0409.html?@khorshuheng commented on GitHub (Jun 10, 2025):
To obtain the client application log, go to manage data - export logs (or navigate to the folder location that stores the data).
Does it always crash right after the websocket connection?
As for the error code, it's likely stack buffer overrun.
@khorshuheng commented on GitHub (Jun 10, 2025):
Also, if you downgrade to an earlier version of appflowy cloud, does it still crash?
@khorshuheng commented on GitHub (Jun 10, 2025):
Ok, i can reproduce this, debugging now.
@rockerest commented on GitHub (Jun 10, 2025):
I am able to reproduce on 0.9.57-0.9.59 but NOT on 0.9.55 (as far as I can tell).
0.9.56 is missing a Docker manifest so I had to build from source and that hard locked the RPi 😬, so I haven't been able to verify.
Something tells me it's AppFlowy-Cloud 0.9.56.
@rockerest commented on GitHub (Jun 10, 2025):
Based on the logs (thanks for the info), here's a pretty typical crash:
I can provide the full log, but would prefer to do so privately if possible, as it would be a hassle to redact anything potentially private.
@khorshuheng commented on GitHub (Jun 10, 2025):
It's alright, we have reproduce it. Some bugs have caused abnormal memory allocation.
For now, the safest way will be to revert back to older version.
@khorshuheng commented on GitHub (Jun 10, 2025):
@rockerest We have identified the issue, and will fix this in 0.9.60.
Also, it is indeed 0.9.56 that cause the issue.
@rockerest commented on GitHub (Jun 11, 2025):
Confirmed that Cloud 0.9.60 resolves this crash. Good job!