AppFlowy icon indicating copy to clipboard operation
AppFlowy copied to clipboard

[Bug] Appflowy crashed when try to open it

Open buxingzhe opened this issue 11 months ago • 5 comments

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:[email protected] 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:[email protected] 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

buxingzhe avatar Mar 04 '24 02:03 buxingzhe

Hi, @buxingzhe. Did you perform any other operations before launching the app?

LucasXu0 avatar Mar 04 '24 05:03 LucasXu0

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: 图片

JettChen12 avatar Mar 06 '24 01:03 JettChen12

Hi there. Here's the pre-release version. Can you try installing it and check if the crash has been fixed?

LucasXu0 avatar Mar 06 '24 05:03 LucasXu0

Hi there. Here's the pre-release version. Can you try installing it and check if the crash has been fixed?

Thanks for the quick reply. It's working fine on my machine.

JettChen12 avatar Mar 06 '24 05:03 JettChen12

Good news! I appreciate that. We will release a new version that includes this bug fix asap.

LucasXu0 avatar Mar 06 '24 06:03 LucasXu0

I am still facing the same problem while trying to open it.

Environment:

  • AppFlowy version (0.5.0)
  • Windows 11

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 appFlowy_bug

Leo5661 avatar Mar 10 '24 09:03 Leo5661

The issue is disappeared with latest release 0.5.1

buxingzhe avatar Mar 12 '24 01:03 buxingzhe