mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2026-03-24 04:46:56 +00:00
[GH-ISSUE #4808] [Bug] Appflowy crashed when try to open it #2151
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#2151
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 @buxingzhe on GitHub (Mar 4, 2024).
Original GitHub issue: https://github.com/AppFlowy-IO/AppFlowy/issues/4808
Bug Description
Appflowy exits at startup.
Here are the stack traces:
`C:\Applications\AppFlowy>AppFlowy.exe --verbose
C:\Applications\AppFlowy> 2024-03-04 10:12:38 INFO flowy_core: 🔥AppFlowy Configuration { app_version: "0.5.0", storage_path: "C:\Workspace\Notes\AppFlowyDataDoNotRename_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk", application_path: "C:\Users\nealh\AppData\Roaming\io.appflowy\AppFlowy\data", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud/ws", gotrue_url: "https://beta.appflowy.cloud/gotrue" }
at flowy-core\src\lib.rs:82
2024-03-04T02:12:38.121887Z INFO flowy_core: 🔥AppFlowy Configuration { app_version: "0.5.0", storage_path: "C:\Workspace\Notes\AppFlowyDataDoNotRename_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk", application_path: "C:\Users\nealh\AppData\Roaming\io.appflowy\AppFlowy\data", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud/ws", gotrue_url: "https://beta.appflowy.cloud/gotrue" }
at flowy-core\src\lib.rs:82
2024-03-04 10:12:38 INFO flowy_core: 💡System info: Some("Windows 11 Enterprise")
at flowy-core\src\lib.rs:83
2024-03-04T02:12:38.122463Z INFO flowy_core: 💡System info: Some("Windows 11 Enterprise")
at flowy-core\src\lib.rs:83
2024-03-04 10:12:38 INFO flowy_user::user_manager::manager: init user session: 272288429763465216:ced9455a-e10d-4dd8-88eb-9bafb2d54ea5@appflowy.io
at flowy-user\src\user_manager\manager.rs:148
2024-03-04T02:12:38.325774Z INFO flowy_user::user_manager::manager: init user session: 272288429763465216:ced9455a-e10d-4dd8-88eb-9bafb2d54ea5@appflowy.io
at flowy-user\src\user_manager\manager.rs:148
2024-03-04 10:12:38 INFO flowy_user::services::db: open collab db for user 272288429763465216 at path: "C:\Workspace\Notes\AppFlowyDataDoNotRename_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/272288429763465216\collab_db"
at flowy-user\src\services\db.rs:203
2024-03-04T02:12:38.326210Z INFO flowy_user::services::db: open collab db for user 272288429763465216 at path: "C:\Workspace\Notes\AppFlowyDataDoNotRename_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/272288429763465216\collab_db"
at flowy-user\src\services\db.rs:203
2024-03-04 10:12:38 INFO flowy_user::services::db: open collab db to validate data integration for user 272288429763465216
at flowy-user\src\services\db.rs:382
2024-03-04T02:12:38.400362Z INFO flowy_user::services::db: open collab db to validate data integration for user 272288429763465216
at flowy-user\src\services\db.rs:382
2024-03-04 10:12:38 INFO flowy_user::user_manager::manager: Prepare user data migration
at flowy-user\src\user_manager\manager.rs:239
2024-03-04T02:12:38.400741Z INFO flowy_user::user_manager::manager: Prepare user data migration
at flowy-user\src\user_manager\manager.rs:239
2024-03-04 10:12:38 INFO flowy_user::services::db: Current backup: 10
at flowy-user\src\services\db.rs:348
in flowy_user::services::db::backup_collab_db
2024-03-04T02:12:38.402404Z INFO flowy_user::services::db: Current backup: 10
at flowy-user\src\services\db.rs:348
in flowy_user::services::db::backup_collab_db
thread '' panicked at library\std\src\time.rs:433:33:
overflow when subtracting duration from instant
stack backtrace:
0: 0x7ffc0072ed8a -
1: 0x7ffbff87a83d -
2: 0x7ffc0071fa01 -
3: 0x7ffc0073065a -
4: 0x7ffc0072ff49 -
5: 0x7ffc00730d7b -
6: 0x7ffc00730885 -
7: 0x7ffc007307c9 -
8: 0x7ffc007307b4 -
9: 0x7ffc00d61c97 -
10: 0x7ffc00d622b2 -
11: 0x7ffbffa0ca16 -
12: 0x7ffbffa05c47 -
13: 0x7ffbff4c4b36 -
14: 0x7ffbff4c9a56 -
15: 0x7ffbff4cfe6b -
16: 0x7ffbff4cb289 -
17: 0x7ffbff4b67cb -
18: 0x7ffbff525666 -
19: 0x7ffbff51a391 -
20: 0x218cd6fa8e0 -
21: 0x218cd6fa87f -
22: 0x218cd6fa786 -
23: 0x218cd6fa6f4 -
24: 0x218cd6fa5f2 -
25: 0x218cd8c068a -
26: 0x218cca2d64c -
27: 0x218cca2db28 -
28: 0x218cca2da04 -
29: 0x218cca2c1c8 -
30: 0x218cca2be32 -
31: 0x218cd8c0abc -
32: 0x218cca2a1ad -
33: 0x218cd8c068a -
34: 0x218cca2d64c -
35: 0x218cca2db28 -
36: 0x218cca2da04 -
37: 0x218cca2c1c8 -
38: 0x218cca2be32 -
39: 0x218cd8c0abc -
40: 0x218cca2a1ad -
41: 0x218cd8c068a -
42: 0x218cca2d64c -
43: 0x218cca2db28 -
44: 0x218cca2da04 -
45: 0x218cca2c1c8 -
46: 0x218cca2be32 -
47: 0x218cca2bda0 -
48: 0x218cca1c7e7 -
49: 0x218cca1c6be -
50: 0x218cca1c687 -
51: 0x218cca14522 -
52: 0x7ffc01e95b85 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
53: 0x7ffc01e96143 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
54: 0x7ffc01e96565 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
55: 0x7ffc0232b4ee - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
56: 0x7ffc01de4ef2 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
57: 0x7ffc017c21f1 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
58: 0x7ffc017cb60a - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
59: 0x7ffc017c20cf - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
60: 0x7ffc017c6518 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
61: 0x7ffc024af632 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
62: 0x7ffc7921257d - BaseThreadInitThunk
63: 0x7ffc79d8aa58 - RtlUserThreadStart
`
How to Reproduce
Just try to open Appflowy.
Expected Behavior
Open successfully
Operating System
Windows
AppFlowy Version(s)
0.5.0
Screenshots
No response
Additional Context
No response
@LucasXu0 commented on GitHub (Mar 4, 2024):
Hi, @buxingzhe. Did you perform any other operations before launching the app?
@JettChen12 commented on GitHub (Mar 6, 2024):
same here
Platform:
windows10
How to Reproduce:
The first time I opened the it I selected offline mode and then crashed, every time I opened this app after that it stopped at a weird page then crashed again, even I reinstalled it.
Screenshots:

@LucasXu0 commented on GitHub (Mar 6, 2024):
Hi there. Here's the pre-release version. Can you try installing it and check if the crash has been fixed?
@JettChen12 commented on GitHub (Mar 6, 2024):
Thanks for the quick reply. It's working fine on my machine.
@LucasXu0 commented on GitHub (Mar 6, 2024):
Good news! I appreciate that. We will release a new version that includes this bug fix asap.
@Leo5661 commented on GitHub (Mar 10, 2024):
I am still facing the same problem while trying to open it.
Environment:
How to Reproduce:
I attempted to login using GitHub but the app got stuck on the loading screen, so I closed and reopened it, but it still froze and crashed. I tried reinstalling the app, but the issue persisted.
screenshot

@buxingzhe commented on GitHub (Mar 12, 2024):
The issue is disappeared with latest release 0.5.1