Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Crash on Windows in Development #5305

Closed
Xazin opened this issue May 9, 2024 · 1 comment
Closed

[Bug] Crash on Windows in Development #5305

Xazin opened this issue May 9, 2024 · 1 comment
Labels
desktop documentation Improvements or additions to documentation

Comments

@Xazin
Copy link
Collaborator

Xazin commented May 9, 2024

Bug Description

I was trying to sign in with Google SSO, when the deeplink opened AppFlowy for the last step, the application crashed. Now the application crashes on open...

How to Reproduce

This happens to me after I've signed in for the first time on Windows 11, I'm not able to open the application either as it will just instantly crash with the same message.

I'm running Windows 11 x64.

Do note that this does NOT happen when downloading the release version separately, only happens when building in development/debug mode.

Expected Behavior

Can run the application without crashing.

Operating System

Microsoft Windows 11 Home (10.0.22631 Build 22631) - 10.0.22621.2506

AppFlowy Version(s)

main / 0.5.6

Screenshots

No response

Additional Context

Logs from VSCode with RUST_BACKTRACE=full
Launching lib\main.dart on Windows in debug mode...
Nuget.exe not found, trying to download or use cached version.

√  Built build\windows\x64\runner\Debug\AppFlowy.exe.
P ATTACH
Connecting to VM Service at ws://127.0.0.1:55109/rksvN6HzykE=/ws
flutter: [🌎 Easy Localization] [DEBUG] Localization initialized
flutter: application path: C:\Users\mathi\AppData\Roaming\io.appflowy\AppFlowy\data_dev
  2024-05-10 00:41:18  INFO flowy_core: 💡Some("Windows 11 Home"), platform: Windows
    at flowy-core\src\lib.rs:86

{"msg":"💡Some(\"Windows 11 Home\"), platform: Windows","time":"05-10 00:41:18","target":"flowy_core"}
{"msg":"[🟢 INIT - START]","time":"05-10 00:41:18","target":"flowy_core"}
  2024-05-10 00:41:18  INFO flowy_core: AppFlowy Configuration { app_version: "0.5.6", storage_path: "C:\\Users\\mathi\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk", application_path: "C:\\Users\\mathi\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_dev", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud:443/ws/v1", gotrue_url: "https://beta.appflowy.cloud/gotrue" }
    at flowy-core\src\lib.rs:103
    in flowy_coreinit

{"msg":"[INIT - EVENT] AppFlowy Configuration { app_version: \"0.5.6\", storage_path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk\", application_path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev\", base_url: \"https://beta.appflowy.cloud\", ws_url: \"wss://beta.appflowy.cloud:443/ws/v1\", gotrue_url: \"https://beta.appflowy.cloud/gotrue\" }","time":"05-10 00:41:18","target":"flowy_core"}
  2024-05-10 00:41:18 DEBUG flowy_core: runtime:Runtime(multi_thread), server:AppFlowyCloud
    at flowy-core\src\lib.rs:124
    in flowy_coreinit

{"msg":"[INIT - EVENT] runtime:Runtime(multi_thread), server:AppFlowyCloud","time":"05-10 00:41:18","target":"flowy_core"}
  2024-05-10 00:41:18 DEBUG flowy_core: Init managers
    at flowy-core\src\lib.rs:133
    in flowy_coreinit

{"msg":"[INIT - EVENT] Init managers","time":"05-10 00:41:18","target":"flowy_core"}
{"msg":"[🟢 INIT_WITH_CALLBACK - START]","time":"05-10 00:41:18","target":"flowy_user::user_manager::manager"}
  2024-05-10 00:41:18 DEBUG flowy_user::services::db: open sqlite db 281099812332376064 at path: "C:\\Users\\mathi\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/281099812332376064"
    at flowy-user\src\services\db.rs:156
    in flowy_user::user_manager::managerinit_with_callback
    in flowy_coreinit

{"msg":"[INIT_WITH_CALLBACK - EVENT] open sqlite db 281099812332376064 at path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/281099812332376064\"","time":"05-10 00:41:18","target":"flowy_user::services::db"}
  2024-05-10 00:41:18  INFO flowy_user::user_manager::manager: init user session: 281099812332376064:[email protected], authenticator: AppFlowyCloud
    at flowy-user\src\user_manager\manager.rs:151
    in flowy_user::user_manager::managerinit_with_callback
    in flowy_coreinit

{"msg":"[INIT_WITH_CALLBACK - EVENT] init user session: 281099812332376064:[email protected], authenticator: AppFlowyCloud","time":"05-10 00:41:18","target":"flowy_user::user_manager::manager"}
{"msg":"[🟢 BACKUP_OR_RESTORE - START]","time":"05-10 00:41:18","target":"flowy_user::services::db"}
  2024-05-10 00:41:18  INFO flowy_user::services::db: open collab db for user 281099812332376064 at path: "C:\\Users\\mathi\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/281099812332376064\\collab_db"
    at flowy-user\src\services\db.rs:203
    in flowy_user::services::dbbackup_or_restore
    in flowy_user::user_manager::managerinit_with_callback
    in flowy_coreinit

{"msg":"[BACKUP_OR_RESTORE - EVENT] open collab db for user 281099812332376064 at path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/281099812332376064\\\\collab_db\"","time":"05-10 00:41:18","target":"flowy_user::services::db"}
thread '<unnamed>' panicked at library\core\src\panicking.rs:156:5:
unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap
stack backtrace:
   0:     0x7fff8c744dba - <unknown>
   1:     0x7fff8c7632bb - <unknown>
   2:     0x7fff8c740ac1 - <unknown>
   3:     0x7fff8c744ba6 - <unknown>
   4:     0x7fff8c746d4f - <unknown>
   5:     0x7fff8c7469e7 - <unknown>
   6:     0x7fff8c74728d - <unknown>
   7:     0x7fff8c74710b - <unknown>
   8:     0x7fff8c745449 - <unknown>
   9:     0x7fff8c746e06 - <unknown>
  10:     0x7fff8cbc6a91 - <unknown>
  11:     0x7fff8cbc6b58 - <unknown>
  12:     0x7fff8b8a6223 - <unknown>
  13:     0x7fff8b8cb933 - <unknown>
  14:     0x7fff8b8b01f0 - <unknown>
  15:     0x7fff8b88bfb1 - <unknown>
  16:     0x7fff8ad4f0c2 - <unknown>
  17:     0x7fff8ad4d94a - <unknown>
  18:     0x7fff8ad58d56 - <unknown>
  19:     0x7fff8ad4a23c - <unknown>
  20:     0x7fff8ad58ee6 - <unknown>
  21:     0x7fff8ad42603 - <unknown>
  22:     0x7fff8ad9cb1f - <unknown>
  23:     0x7fff8ad7fcd5 - <unknown>
  24:     0x7fff8ad217aa - <unknown>
  25:      0x270669068bf - <unknown>
  26:      0x270012c0acf - <unknown>
  27:      0x270012c0813 - <unknown>
  28:      0x270012bc258 - <unknown>
  29:      0x270012aac0a - <unknown>
  30:      0x27000700dbc - <unknown>
  31:      0x27000700c93 - <unknown>
  32:      0x27000703366 - <unknown>
  33:      0x2700070308b - <unknown>
  34:      0x27000702331 - <unknown>
  35:      0x270007010c6 - <unknown>
  36:      0x27069dcec54 - <unknown>
  37:      0x270669089de - <unknown>
  38:      0x27000700dbc - <unknown>
  39:      0x27000700c93 - <unknown>
  40:      0x27000703366 - <unknown>
  41:      0x2700070308b - <unknown>
  42:      0x27000702331 - <unknown>
  43:      0x270007010c6 - <unknown>
  44:      0x27069dcec54 - <unknown>
  45:      0x270669089de - <unknown>
  46:      0x27000700dbc - <unknown>
  47:      0x27000700c93 - <unknown>
  48:      0x27000703366 - <unknown>
  49:      0x2700070308b - <unknown>
  50:      0x27000702331 - <unknown>
  51:      0x270007010c6 - <unknown>
  52:      0x27000711baa - <unknown>
  53:      0x2700070024d - <unknown>
  54:      0x27069dffd15 - <unknown>
  55:      0x27069dffc46 - <unknown>
  56:      0x27066902bcf - <unknown>
  57:     0x7fff8e26c682 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
  58:     0x7fff8e26cc43 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
  59:     0x7fff8e26d065 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
  60:     0x7fff8e928ada - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
  61:     0x7fff8e1a0856 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
  62:     0x7fff8db7220d - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
  63:     0x7fff8db7c22a - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
  64:     0x7fff8db720eb - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
  65:     0x7fff8db76534 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
  66:     0x7fff8eaad5d2 - FlutterDesktopTextureRegistrarMarkExternalTextureFrameAvailable
  67:     0x7ff83e94257d - BaseThreadInitThunk
  68:     0x7ff840c4aa48 - RtlUserThreadStart
thread caused non-unwinding panic. aborting.
Lost connection to device.

Exited.

Logs directly from VSCode
Launching lib\main.dart on Windows in debug mode...
windows/flutter/CMakeLists.txt does not use FLUTTER_TARGET_PLATFORM, updating.
Nuget.exe not found, trying to download or use cached version.

√  Built build\windows\x64\runner\Debug\AppFlowy.exe.
P ATTACH
Connecting to VM Service at ws://127.0.0.1:54571/hU3ewfglqrg=/ws
flutter: [🌎 Easy Localization] [DEBUG] Localization initialized
flutter: application path: C:\Users\mathi\AppData\Roaming\io.appflowy\AppFlowy\data_dev
  2024-05-10 00:27:22  INFO flowy_core: 💡Some("Windows 11 Home"), platform: Windows
    at flowy-core\src\lib.rs:86

{"msg":"💡Some(\"Windows 11 Home\"), platform: Windows","time":"05-10 00:27:22","target":"flowy_core"}
{"msg":"[🟢 INIT - START]","time":"05-10 00:27:22","target":"flowy_core"}
  2024-05-10 00:27:22  INFO flowy_core: AppFlowy Configuration { app_version: "0.5.6", storage_path: "C:\\Users\\mathi\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk", application_path: "C:\\Users\\mathi\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_dev", base_url: "https://beta.appflowy.cloud", ws_url: "wss://beta.appflowy.cloud:443/ws/v1", gotrue_url: "https://beta.appflowy.cloud/gotrue" }
    at flowy-core\src\lib.rs:103
    in flowy_coreinit

{"msg":"[INIT - EVENT] AppFlowy Configuration { app_version: \"0.5.6\", storage_path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk\", application_path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev\", base_url: \"https://beta.appflowy.cloud\", ws_url: \"wss://beta.appflowy.cloud:443/ws/v1\", gotrue_url: \"https://beta.appflowy.cloud/gotrue\" }","time":"05-10 00:27:22","target":"flowy_core"}
  2024-05-10 00:27:22 DEBUG flowy_core: runtime:Runtime(multi_thread), server:AppFlowyCloud
    at flowy-core\src\lib.rs:124
    in flowy_coreinit

{"msg":"[INIT - EVENT] runtime:Runtime(multi_thread), server:AppFlowyCloud","time":"05-10 00:27:22","target":"flowy_core"}
  2024-05-10 00:27:22 DEBUG flowy_core: Init managers
    at flowy-core\src\lib.rs:133
    in flowy_coreinit

{"msg":"[INIT - EVENT] Init managers","time":"05-10 00:27:22","target":"flowy_core"}
  2024-05-10 00:27:22 TRACE client_api::http: Client version: 0.5.6, features: ["sync_verbose_log", "enable_brotli"]
    at C:\Users\mathi\.cargo\git\checkouts\appflowy-cloud-875aed6322f3953d\ef8e6f3\libs\client-api\src\http.rs:152
    in flowy_coreinit

{"msg":"[INIT - EVENT] Client version: 0.5.6, features: [\"sync_verbose_log\", \"enable_brotli\"]","time":"05-10 00:27:22","target":"client_api::http"}
{"msg":"[🟢 INIT_WITH_CALLBACK - START]","time":"05-10 00:27:22","target":"flowy_user::user_manager::manager"}
{"msg":"[INIT_WITH_CALLBACK - END]","time":"05-10 00:27:22","target":"flowy_user::user_manager::manager"}
{"msg":"[INIT - END]","time":"05-10 00:27:22","target":"flowy_core"}
Default App User Model Id: AppFlowy
Default shell link path: C:\Users\mathi\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\
Default shell link file path: C:\Users\mathi\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\AppFlowy.lnk
Error, shell link not found. Try to create a new one in: C:\Users\mathi\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\AppFlowy.lnk
Default shell link path: C:\Users\mathi\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\
Default shell link file path: C:\Users\mathi\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\AppFlowy.lnk
Default executable path: C:\dev\AppFlowy\frontend\appflowy_flutter\build\windows\x64\runner\Debug\AppFlowy.exe
{"msg":"[🟢 GET_APPEARANCE_SETTING - START]","time":"05-10 00:27:22","target":"flowy_user::event_handler"}
{"msg":"[GET_APPEARANCE_SETTING - END]","time":"05-10 00:27:22","target":"flowy_user::event_handler"}
{"msg":"[🟢 GET_DATE_TIME_SETTINGS - START]","time":"05-10 00:27:22","target":"flowy_user::event_handler"}
{"msg":"[GET_DATE_TIME_SETTINGS - END]","time":"05-10 00:27:22","target":"flowy_user::event_handler"}
{"msg":"[🟢 SET_APPEARANCE_SETTING - START]","time":"05-10 00:27:22","target":"flowy_user::event_handler"}
{"msg":"[SET_APPEARANCE_SETTING - END]","time":"05-10 00:27:22","target":"flowy_user::event_handler"}
  2024-05-10 00:27:22 ERROR dart_ffi: [Flutter]: Font family SF Mono is not available, using default font family instead
    at dart-ffi\src\lib.rs:243

{"msg":"[Flutter]: Font family SF Mono is not available, using default font family instead","time":"05-10 00:27:22","target":"dart_ffi"}
  2024-05-10 00:27:22 ERROR dart_ffi: [Flutter]: Font family SF Mono is not available, using default font family instead
    at dart-ffi\src\lib.rs:243

{"msg":"[Flutter]: Font family SF Mono is not available, using default font family instead","time":"05-10 00:27:22","target":"dart_ffi"}
{"msg":"[🟢 GET_ALL_REMINDER_EVENT_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
  2024-05-10 00:27:23 TRACE flowy_user::event_handler: number of reminders: 0
    at flowy-user\src\event_handler.rs:580
    in flowy_user::event_handlerget_all_reminder_event_handler

{"msg":"[GET_ALL_REMINDER_EVENT_HANDLER - EVENT] number of reminders: 0","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[GET_ALL_REMINDER_EVENT_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
  2024-05-10 00:27:23 ERROR dart_ffi: [Flutter]: Font family SF Mono is not available, using default font family instead
    at dart-ffi\src\lib.rs:243

{"msg":"[Flutter]: Font family SF Mono is not available, using default font family instead","time":"05-10 00:27:23","target":"dart_ffi"}
  2024-05-10 00:27:23 ERROR dart_ffi: [Flutter]: Font family SF Mono is not available, using default font family instead
    at dart-ffi\src\lib.rs:243

{"msg":"[Flutter]: Font family SF Mono is not available, using default font family instead","time":"05-10 00:27:23","target":"dart_ffi"}
{"msg":"[🟢 UPDATE_NETWORK_STATE_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[UPDATE_NETWORK_STATE_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[🟢 UPDATE_NETWORK_STATE_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[UPDATE_NETWORK_STATE_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
  2024-05-10 00:27:23  INFO dart_ffi: [Flutter]: [CachedRecentService] Initialized
    at dart-ffi\src\lib.rs:239

{"msg":"[Flutter]: [CachedRecentService] Initialized","time":"05-10 00:27:23","target":"dart_ffi"}
{"msg":"[🟢 GET_USER_PROFILE_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[GET_USER_PROFILE_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[🟢 GET_USER_PROFILE_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[GET_USER_PROFILE_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[🟢 GET_ANON_USER_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[GET_ANON_USER_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[🟢 SIGN_IN_WITH_PROVIDER_HANDLER - START]","time":"05-10 00:29:57","target":"flowy_user::event_handler"}
  2024-05-10 00:29:57 DEBUG flowy_user::event_handler: Sign in with provider: "google"
    at flowy-user\src\event_handler.rs:339
    in flowy_user::event_handlersign_in_with_provider_handler

{"msg":"[SIGN_IN_WITH_PROVIDER_HANDLER - EVENT] Sign in with provider: \"google\"","time":"05-10 00:29:57","target":"flowy_user::event_handler"}
{"msg":"[🟢 GENERATE_OAUTH_URL_WITH_PROVIDER - START]","time":"05-10 00:29:57","target":"client_api::http"}
{"msg":"[GENERATE_OAUTH_URL_WITH_PROVIDER - END]","time":"05-10 00:29:59","target":"client_api::http"}
  2024-05-10 00:29:59 DEBUG flowy_user::event_handler: Sign in url: https://beta.appflowy.cloud/gotrue/authorize?provider=google&redirect_to=appflowy-flutter%3A%2F%2Flogin-callback&access_type=offline&prompt=consent
    at flowy-user\src\event_handler.rs:341
    in flowy_user::event_handlersign_in_with_provider_handler

{"msg":"[SIGN_IN_WITH_PROVIDER_HANDLER - EVENT] Sign in url: https://beta.appflowy.cloud/gotrue/authorize?provider=google&redirect_to=appflowy-flutter%3A%2F%2Flogin-callback&access_type=offline&prompt=consent","time":"05-10 00:29:59","target":"flowy_user::event_handler"}
{"msg":"[SIGN_IN_WITH_PROVIDER_HANDLER - END]","time":"05-10 00:29:59","target":"flowy_user::event_handler"}
  2024-05-10 00:30:09  INFO dart_ffi: [Flutter]: onDeepLink: appflowy-flutter:///#access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTUyOTc0MDYsImlhdCI6MTcxNTI5MzgwNiwic3ViIjoiNzczZTkxNWQtZWQ2NC00NDQ5LWFhMjQtYjY1ZDRiYTEwZjc3IiwiZW1haWwiOiJtYXRoaWFzQGFwcGZsb3d5LmlvIiwicGhvbmUiOiIiLCJhcHBfbWV0YWRhdGEiOnsicHJvdmlkZXIiOiJlbWFpbCIsInByb3ZpZGVycyI6WyJlbWFpbCIsImdpdGh1YiIsImdvb2dsZSIsImdvb2dsZSJdfSwidXNlcl9tZXRhZGF0YSI6eyJhdmF0YXJfdXJsIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jSndibjVZVUt5N2d1QTVsSUVpaHdJM2lMMVVnSExpOHc1ZnhvMXYzallOQy13SkpRPXM5Ni1jIiwiY3VzdG9tX2NsYWltcyI6eyJoZCI6ImFwcGZsb3d5LmlvIn0sImVtYWlsIjoibWF0aGlhc0BhcHBmbG93eS5pbyIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJmdWxsX25hbWUiOiJNYXRoaWFzIE1vZ2Vuc2VuIiwiaXNzIjoiaHR0cHM6Ly9hY2NvdW50cy5nb29nbGUuY29tIiwibmFtZSI6Ik1hdGhpYXMgTW9nZW5zZW4iLCJwaG9uZV92ZXJpZmllZCI6ZmFsc2UsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS9BQ2c4b2NKd2JuNVlVS3k3Z3VBNWxJRWlod0kzaUwxVWdITGk4dzVmeG8xdjNqWU5DLXdKSlE9czk2LWMiLCJwcm92aWRlcl9pZCI6IjExMTEzMTc2NzE0NTI5OTY4MDEzMCIsInN1YiI6IjExMTEzMTc2NzE0NTI5OTY4MDEzMCJ9LCJyb2xlIjoiIiwiYWFsIjoiYWFsMSIsImFtciI6W3sibWV0aG9kIjoib2F1dGgiLCJ0aW1lc3RhbXAiOjE3MTUyOTM4MDZ9XSwic2Vzc2lvbl9pZCI6ImRmZmZjZDE4LTk3ZDgtNGFkZS1hNjc0LWYwZWJiMzM0NjM5OCJ9.06ycg1_zgDYQWhDx8WXRnx5E-izQfOYVk4vPS2gti7g&expires_at=1715297406&expires_in=3600&provider_refresh_token=1%2F%2F0goJ1UzVW6oHdCgYIARAAGBASNwF-L9IrevuYNh6dqyi8PxsO-IRld1l5bsKvnbxZmO0PEPBS1RxPbTbyYAwgyB6iVHvdwsEsOPc&provider_token=ya29.a0AXooCgvxl9NRtPGFvuGQVISaDaZpdMiQPuXs-aETFwrFpsIVArBWyIAeEZINZTpNbHWEaWA0ti3d6m85NPDZrL7yAtyPjwYRwAT67t3KwINcqT4ogP0c2Vd53QzbKcKRut0_APF6NKCTC02gck7L2ht7dHjbzaI-mYqqaCgYKARUSARASFQHGX2Mij0fGozRN8KKcBk9kMFacWg0171&refresh_token=kc1Hnig-01SH7Za1eHYCDA&token_type=bearer
    at dart-ffi\src\lib.rs:239

{"msg":"[Flutter]: onDeepLink: appflowy-flutter:///#access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTUyOTc0MDYsImlhdCI6MTcxNTI5MzgwNiwic3ViIjoiNzczZTkxNWQtZWQ2NC00NDQ5LWFhMjQtYjY1ZDRiYTEwZjc3IiwiZW1haWwiOiJtYXRoaWFzQGFwcGZsb3d5LmlvIiwicGhvbmUiOiIiLCJhcHBfbWV0YWRhdGEiOnsicHJvdmlkZXIiOiJlbWFpbCIsInByb3ZpZGVycyI6WyJlbWFpbCIsImdpdGh1YiIsImdvb2dsZSIsImdvb2dsZSJdfSwidXNlcl9tZXRhZGF0YSI6eyJhdmF0YXJfdXJsIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jSndibjVZVUt5N2d1QTVsSUVpaHdJM2lMMVVnSExpOHc1ZnhvMXYzallOQy13SkpRPXM5Ni1jIiwiY3VzdG9tX2NsYWltcyI6eyJoZCI6ImFwcGZsb3d5LmlvIn0sImVtYWlsIjoibWF0aGlhc0BhcHBmbG93eS5pbyIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJmdWxsX25hbWUiOiJNYXRoaWFzIE1vZ2Vuc2VuIiwiaXNzIjoiaHR0cHM6Ly9hY2NvdW50cy5nb29nbGUuY29tIiwibmFtZSI6Ik1hdGhpYXMgTW9nZW5zZW4iLCJwaG9uZV92ZXJpZmllZCI6ZmFsc2UsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS9BQ2c4b2NKd2JuNVlVS3k3Z3VBNWxJRWlod0kzaUwxVWdITGk4dzVmeG8xdjNqWU5DLXdKSlE9czk2LWMiLCJwcm92aWRlcl9pZCI6IjExMTEzMTc2NzE0NTI5OTY4MDEzMCIsInN1YiI6IjExMTEzMTc2NzE0NTI5OTY4MDEzMCJ9LCJyb2xlIjoiIiwiYWFsIjoiYWFsMSIsImFtciI6W3sibWV0aG9kIjoib2F1dGgiLCJ0aW1lc3RhbXAiOjE3MTUyOTM4MDZ9XSwic2Vzc2lvbl9pZCI6ImRmZmZjZDE4LTk3ZDgtNGFkZS1hNjc0LWYwZWJiMzM0NjM5OCJ9.06ycg1_zgDYQWhDx8WXRnx5E-izQfOYVk4vPS2gti7g&expires_at=1715297406&expires_in=3600&provider_refresh_token=1%2F%2F0goJ1UzVW6oHdCgYIARAAGBASNwF-L9IrevuYNh6dqyi8PxsO-IRld1l5bsKvnbxZmO0PEPBS1RxPbTbyYAwgyB6iVHvdwsEsOPc&provider_token=ya29.a0AXooCgvxl9NRtPGFvuGQVISaDaZpdMiQPuXs-aETFwrFpsIVArBWyIAeEZINZTpNbHWEaWA0ti3d6m85NPDZrL7yAtyPjwYRwAT67t3KwINcqT4ogP0c2Vd53QzbKcKRut0_APF6NKCTC02gck7L2ht7dHjbzaI-mYqqaCgYKARUSARASFQHGX2Mij0fGozRN8KKcBk9kMFacWg0171&refresh_token=kc1Hnig-01SH7Za1eHYCDA&token_type=bearer","time":"05-10 00:30:09","target":"dart_ffi"}
{"msg":"[🟢 OAUTH_SIGN_IN_HANDLER - START]","time":"05-10 00:30:09","target":"flowy_user::event_handler"}
{"msg":"[🟢 SIGN_UP - START]","time":"05-10 00:30:09","target":"flowy_user::user_manager::manager"}
{"msg":"[🟢 GET_MIGRATION_USER - START]","time":"05-10 00:30:09","target":"flowy_user::user_manager::manager_history_user"}
{"msg":"[GET_MIGRATION_USER - END]","time":"05-10 00:30:09","target":"flowy_user::user_manager::manager_history_user","authenticator":"AppFlowyCloud"}
{"msg":"[🟢 SIGN_IN_WITH_URL - START]","time":"05-10 00:30:09","target":"client_api::http"}
{"msg":"[🟢 VERIFY_TOKEN - START]","time":"05-10 00:30:09","target":"client_api::http"}
{"msg":"[🟢 VERIFY_TOKEN_CLOUD - START]","time":"05-10 00:30:10","target":"client_api::http"}
{"msg":"[VERIFY_TOKEN_CLOUD - END]","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[VERIFY_TOKEN - END]","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[SIGN_IN_WITH_URL - END]","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[🟢 GET_USER_WORKSPACE_INFO - START]","time":"05-10 00:30:11","target":"client_api::http"}
{"msg":"[🟢 HTTP_CLIENT_WITH_AUTH - START]","time":"05-10 00:30:11","target":"client_api::http"}
  2024-05-10 00:30:11 TRACE client_api::http: start request: https://beta.appflowy.cloud/api/user/workspace, method: GET
    at C:\Users\mathi\.cargo\git\checkouts\appflowy-cloud-875aed6322f3953d\ef8e6f3\libs\client-api\src\http.rs:1332
    in client_api::httphttp_client_with_auth
    in client_api::httpget_user_workspace_info
    in flowy_user::user_manager::managersign_up with authenticator: AppFlowyCloud
    in flowy_user::event_handleroauth_sign_in_handler

{"msg":"[HTTP_CLIENT_WITH_AUTH - EVENT] start request: https://beta.appflowy.cloud/api/user/workspace, method: GET","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[HTTP_CLIENT_WITH_AUTH - END]","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
  2024-05-10 00:30:11  INFO flowy_server::af_cloud::server: 🟢token state: Refresh
    at flowy-server\src\af_cloud\server.rs:297

{"msg":"🟢token state: Refresh","time":"05-10 00:30:11","target":"flowy_server::af_cloud::server"}
  2024-05-10 00:30:11  INFO client_api::http: request_id: "4ff7ddcd6becb685c2f6010c6a2d5b78"
    at C:\Users\mathi\.cargo\git\checkouts\appflowy-cloud-875aed6322f3953d\ef8e6f3\libs\client-api\src\http.rs:1395
    in client_api::httpget_user_workspace_info
    in flowy_user::user_manager::managersign_up with authenticator: AppFlowyCloud
    in flowy_user::event_handleroauth_sign_in_handler

{"msg":"[GET_USER_WORKSPACE_INFO - EVENT] request_id: \"4ff7ddcd6becb685c2f6010c6a2d5b78\"","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[GET_USER_WORKSPACE_INFO - END]","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[🟢 GET_TOKEN - START]","time":"05-10 00:30:11","target":"client_api::http"}
{"msg":"[GET_TOKEN - END]","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[🟢 CONTINUE_SIGN_UP - START]","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager"}
{"msg":"[🟢 SAVE_AUTH_DATA - START]","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager"}
  2024-05-10 00:30:11 DEBUG flowy_user::services::db: open sqlite db 281099812332376064 at path: "C:\\Users\\mathi\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/281099812332376064"
    at flowy-user\src\services\db.rs:156
    in flowy_user::user_manager::managersave_auth_data
    in flowy_user::user_manager::managercontinue_sign_up
    in flowy_user::user_manager::managersign_up with authenticator: AppFlowyCloud
    in flowy_user::event_handleroauth_sign_in_handler

{"msg":"[SAVE_AUTH_DATA - EVENT] open sqlite db 281099812332376064 at path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/281099812332376064\"","time":"05-10 00:30:11","target":"flowy_user::services::db","authenticator":"AppFlowyCloud"}
  2024-05-10 00:30:11  INFO flowy_user::user_manager::manager: Save new user profile to disk, authenticator: AppFlowyCloud
    at flowy-user\src\user_manager\manager.rs:712
    in flowy_user::user_manager::managersave_auth_data
    in flowy_user::user_manager::managercontinue_sign_up
    in flowy_user::user_manager::managersign_up with authenticator: AppFlowyCloud
    in flowy_user::event_handleroauth_sign_in_handler

{"msg":"[SAVE_AUTH_DATA - EVENT] Save new user profile to disk, authenticator: AppFlowyCloud","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager","authenticator":"AppFlowyCloud"}
  2024-05-10 00:30:11  INFO flowy_user::services::authenticate_user: Set current session: Session { user_id: 281099812332376064, user_uuid: 773e915d-ed64-4449-aa24-b65d4ba10f77, user_workspace: UserWorkspace { id: "a82f3ba5-30a9-41fa-b4c9-c38ade1a1f05", name: "Shared Workspaces", created_at: 2024-04-04T06:05:32.003293Z, database_indexer_id: "28848165-bfc6-4b17-8394-d36f0412b061", icon: "🥐" } }
    at flowy-user\src\services\authenticate_user.rs:109
    in flowy_user::user_manager::managersave_auth_data
    in flowy_user::user_manager::managercontinue_sign_up
    in flowy_user::user_manager::managersign_up with authenticator: AppFlowyCloud
    in flowy_user::event_handleroauth_sign_in_handler

{"msg":"[SAVE_AUTH_DATA - EVENT] Set current session: Session { user_id: 281099812332376064, user_uuid: 773e915d-ed64-4449-aa24-b65d4ba10f77, user_workspace: UserWorkspace { id: \"a82f3ba5-30a9-41fa-b4c9-c38ade1a1f05\", name: \"Shared Workspaces\", created_at: 2024-04-04T06:05:32.003293Z, database_indexer_id: \"28848165-bfc6-4b17-8394-d36f0412b061\", icon: \"🥐\" } }","time":"05-10 00:30:11","target":"flowy_user::services::authenticate_user","authenticator":"AppFlowyCloud"}
{"msg":"[SAVE_AUTH_DATA - END]","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager","authenticator":"AppFlowyCloud"}
{"msg":"[🟢 TRY_INITIAL_USER_AWARENESS - START]","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager_user_awareness"}
  2024-05-10 00:30:11 TRACE flowy_user::user_manager::manager_user_awareness: Initializing user awareness 3758e54b-f463-5e2d-abfd-fa880da67846
    at flowy-user\src\user_manager\manager_user_awareness.rs:138
    in flowy_user::user_manager::manager_user_awarenesstry_initial_user_awareness
    in flowy_user::user_manager::managercontinue_sign_up
    in flowy_user::user_manager::managersign_up with authenticator: AppFlowyCloud
    in flowy_user::event_handleroauth_sign_in_handler

{"msg":"[TRY_INITIAL_USER_AWARENESS - EVENT] Initializing user awareness 3758e54b-f463-5e2d-abfd-fa880da67846","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager_user_awareness","authenticator":"AppFlowyCloud"}
  2024-05-10 00:30:11  INFO flowy_user::services::db: open collab db for user 281099812332376064 at path: "C:\\Users\\mathi\\AppData\\Roaming\\io.appflowy\\AppFlowy\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/281099812332376064\\collab_db"
    at flowy-user\src\services\db.rs:203
    in flowy_user::user_manager::manager_user_awarenesstry_initial_user_awareness
    in flowy_user::user_manager::managercontinue_sign_up
    in flowy_user::user_manager::managersign_up with authenticator: AppFlowyCloud
    in flowy_user::event_handleroauth_sign_in_handler

{"msg":"[TRY_INITIAL_USER_AWARENESS - EVENT] open collab db for user 281099812332376064 at path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/281099812332376064\\\\collab_db\"","time":"05-10 00:30:11","target":"flowy_user::services::db","authenticator":"AppFlowyCloud"}
thread 'dispatch-rt-mt' panicked at library\core\src\panicking.rs:156:5:
unsafe precondition(s) violated: ptr::copy_nonoverlapping requires that both pointer arguments are aligned and non-null and the specified memory ranges do not overlap
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
thread caused non-unwinding panic. aborting.
Lost connection to device.

Exited.
Logs from log files
{"msg":"💡Some(\"Windows 11 Home\"), platform: Windows","time":"05-10 00:27:22","target":"flowy_core"}
{"msg":"[🟢 INIT - START]","time":"05-10 00:27:22","target":"flowy_core"}
{"msg":"[INIT - EVENT] 🔥AppFlowy Configuration { app_version: \"0.5.6\", storage_path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk\", application_path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev\", base_url: \"https://beta.appflowy.cloud\", ws_url: \"wss://beta.appflowy.cloud:443/ws/v1\", gotrue_url: \"https://beta.appflowy.cloud/gotrue\" }","time":"05-10 00:27:22","target":"flowy_core"}
{"msg":"[INIT - EVENT] 🔥runtime:Runtime(multi_thread), server:AppFlowyCloud","time":"05-10 00:27:22","target":"flowy_core"}
{"msg":"[INIT - EVENT] Init managers","time":"05-10 00:27:22","target":"flowy_core"}
{"msg":"[INIT - EVENT] Client version: 0.5.6, features: [\"sync_verbose_log\", \"enable_brotli\"]","time":"05-10 00:27:22","target":"client_api::http"}
{"msg":"[🟢 INIT_WITH_CALLBACK - START]","time":"05-10 00:27:22","target":"flowy_user::user_manager::manager"}
{"msg":"[INIT_WITH_CALLBACK - END]","time":"05-10 00:27:22","target":"flowy_user::user_manager::manager","elapsed_milliseconds":0}
{"msg":"[INIT - END]","time":"05-10 00:27:22","target":"flowy_core","elapsed_milliseconds":4}
{"msg":"[🟢 GET_APPEARANCE_SETTING - START]","time":"05-10 00:27:22","target":"flowy_user::event_handler"}
{"msg":"[GET_APPEARANCE_SETTING - END]","time":"05-10 00:27:22","target":"flowy_user::event_handler","elapsed_milliseconds":0}
{"msg":"[🟢 GET_DATE_TIME_SETTINGS - START]","time":"05-10 00:27:22","target":"flowy_user::event_handler"}
{"msg":"[GET_DATE_TIME_SETTINGS - END]","time":"05-10 00:27:22","target":"flowy_user::event_handler","elapsed_milliseconds":0}
{"msg":"[🟢 SET_APPEARANCE_SETTING - START]","time":"05-10 00:27:22","target":"flowy_user::event_handler"}
{"msg":"[SET_APPEARANCE_SETTING - END]","time":"05-10 00:27:22","target":"flowy_user::event_handler","elapsed_milliseconds":1}
{"msg":"[Flutter]: Font family SF Mono is not available, using default font family instead","time":"05-10 00:27:22","target":"dart_ffi"}
{"msg":"[Flutter]: Font family SF Mono is not available, using default font family instead","time":"05-10 00:27:22","target":"dart_ffi"}
{"msg":"[🟢 GET_ALL_REMINDER_EVENT_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[GET_ALL_REMINDER_EVENT_HANDLER - EVENT] number of reminders: 0","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[GET_ALL_REMINDER_EVENT_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler","elapsed_milliseconds":0}
{"msg":"[Flutter]: Font family SF Mono is not available, using default font family instead","time":"05-10 00:27:23","target":"dart_ffi"}
{"msg":"[Flutter]: Font family SF Mono is not available, using default font family instead","time":"05-10 00:27:23","target":"dart_ffi"}
{"msg":"[🟢 UPDATE_NETWORK_STATE_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[UPDATE_NETWORK_STATE_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler","elapsed_milliseconds":0}
{"msg":"[🟢 UPDATE_NETWORK_STATE_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[UPDATE_NETWORK_STATE_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler","elapsed_milliseconds":0}
{"msg":"[Flutter]: [CachedRecentService] Initialized","time":"05-10 00:27:23","target":"dart_ffi"}
{"msg":"[🟢 GET_USER_PROFILE_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[GET_USER_PROFILE_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler","elapsed_milliseconds":0}
{"msg":"[🟢 GET_USER_PROFILE_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[GET_USER_PROFILE_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler","elapsed_milliseconds":0}
{"msg":"[🟢 GET_ANON_USER_HANDLER - START]","time":"05-10 00:27:23","target":"flowy_user::event_handler"}
{"msg":"[GET_ANON_USER_HANDLER - END]","time":"05-10 00:27:23","target":"flowy_user::event_handler","elapsed_milliseconds":0}
{"msg":"[🟢 SIGN_IN_WITH_PROVIDER_HANDLER - START]","time":"05-10 00:29:57","target":"flowy_user::event_handler"}
{"msg":"[SIGN_IN_WITH_PROVIDER_HANDLER - EVENT] Sign in with provider: \"google\"","time":"05-10 00:29:57","target":"flowy_user::event_handler"}
{"msg":"[🟢 GENERATE_OAUTH_URL_WITH_PROVIDER - START]","time":"05-10 00:29:57","target":"client_api::http"}
{"msg":"[GENERATE_OAUTH_URL_WITH_PROVIDER - END]","time":"05-10 00:29:59","target":"client_api::http","elapsed_milliseconds":1295}
{"msg":"[SIGN_IN_WITH_PROVIDER_HANDLER - EVENT] Sign in url: https://beta.appflowy.cloud/gotrue/authorize?provider=google&redirect_to=appflowy-flutter%3A%2F%2Flogin-callback&access_type=offline&prompt=consent","time":"05-10 00:29:59","target":"flowy_user::event_handler"}
{"msg":"[SIGN_IN_WITH_PROVIDER_HANDLER - END]","time":"05-10 00:29:59","target":"flowy_user::event_handler","elapsed_milliseconds":1295}
{"msg":"[Flutter]: onDeepLink: appflowy-flutter:///#access_token=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJleHAiOjE3MTUyOTc0MDYsImlhdCI6MTcxNTI5MzgwNiwic3ViIjoiNzczZTkxNWQtZWQ2NC00NDQ5LWFhMjQtYjY1ZDRiYTEwZjc3IiwiZW1haWwiOiJtYXRoaWFzQGFwcGZsb3d5LmlvIiwicGhvbmUiOiIiLCJhcHBfbWV0YWRhdGEiOnsicHJvdmlkZXIiOiJlbWFpbCIsInByb3ZpZGVycyI6WyJlbWFpbCIsImdpdGh1YiIsImdvb2dsZSIsImdvb2dsZSJdfSwidXNlcl9tZXRhZGF0YSI6eyJhdmF0YXJfdXJsIjoiaHR0cHM6Ly9saDMuZ29vZ2xldXNlcmNvbnRlbnQuY29tL2EvQUNnOG9jSndibjVZVUt5N2d1QTVsSUVpaHdJM2lMMVVnSExpOHc1ZnhvMXYzallOQy13SkpRPXM5Ni1jIiwiY3VzdG9tX2NsYWltcyI6eyJoZCI6ImFwcGZsb3d5LmlvIn0sImVtYWlsIjoibWF0aGlhc0BhcHBmbG93eS5pbyIsImVtYWlsX3ZlcmlmaWVkIjp0cnVlLCJmdWxsX25hbWUiOiJNYXRoaWFzIE1vZ2Vuc2VuIiwiaXNzIjoiaHR0cHM6Ly9hY2NvdW50cy5nb29nbGUuY29tIiwibmFtZSI6Ik1hdGhpYXMgTW9nZW5zZW4iLCJwaG9uZV92ZXJpZmllZCI6ZmFsc2UsInBpY3R1cmUiOiJodHRwczovL2xoMy5nb29nbGV1c2VyY29udGVudC5jb20vYS9BQ2c4b2NKd2JuNVlVS3k3Z3VBNWxJRWlod0kzaUwxVWdITGk4dzVmeG8xdjNqWU5DLXdKSlE9czk2LWMiLCJwcm92aWRlcl9pZCI6IjExMTEzMTc2NzE0NTI5OTY4MDEzMCIsInN1YiI6IjExMTEzMTc2NzE0NTI5OTY4MDEzMCJ9LCJyb2xlIjoiIiwiYWFsIjoiYWFsMSIsImFtciI6W3sibWV0aG9kIjoib2F1dGgiLCJ0aW1lc3RhbXAiOjE3MTUyOTM4MDZ9XSwic2Vzc2lvbl9pZCI6ImRmZmZjZDE4LTk3ZDgtNGFkZS1hNjc0LWYwZWJiMzM0NjM5OCJ9.06ycg1_zgDYQWhDx8WXRnx5E-izQfOYVk4vPS2gti7g&expires_at=1715297406&expires_in=3600&provider_refresh_token=1%2F%2F0goJ1UzVW6oHdCgYIARAAGBASNwF-L9IrevuYNh6dqyi8PxsO-IRld1l5bsKvnbxZmO0PEPBS1RxPbTbyYAwgyB6iVHvdwsEsOPc&provider_token=ya29.a0AXooCgvxl9NRtPGFvuGQVISaDaZpdMiQPuXs-aETFwrFpsIVArBWyIAeEZINZTpNbHWEaWA0ti3d6m85NPDZrL7yAtyPjwYRwAT67t3KwINcqT4ogP0c2Vd53QzbKcKRut0_APF6NKCTC02gck7L2ht7dHjbzaI-mYqqaCgYKARUSARASFQHGX2Mij0fGozRN8KKcBk9kMFacWg0171&refresh_token=kc1Hnig-01SH7Za1eHYCDA&token_type=bearer","time":"05-10 00:30:09","target":"dart_ffi"}
{"msg":"[🟢 OAUTH_SIGN_IN_HANDLER - START]","time":"05-10 00:30:09","target":"flowy_user::event_handler"}
{"msg":"[🟢 SIGN_UP - START]","time":"05-10 00:30:09","target":"flowy_user::user_manager::manager","authenticator":"AppFlowyCloud"}
{"msg":"[🟢 GET_MIGRATION_USER - START]","time":"05-10 00:30:09","target":"flowy_user::user_manager::manager_history_user","authenticator":"AppFlowyCloud"}
{"msg":"[GET_MIGRATION_USER - END]","time":"05-10 00:30:09","target":"flowy_user::user_manager::manager_history_user","elapsed_milliseconds":0,"authenticator":"AppFlowyCloud"}
{"msg":"[🟢 SIGN_IN_WITH_URL - START]","time":"05-10 00:30:09","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[🟢 VERIFY_TOKEN - START]","time":"05-10 00:30:09","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[🟢 VERIFY_TOKEN_CLOUD - START]","time":"05-10 00:30:10","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[VERIFY_TOKEN_CLOUD - END]","time":"05-10 00:30:11","target":"client_api::http","elapsed_milliseconds":585,"authenticator":"AppFlowyCloud"}
{"msg":"[VERIFY_TOKEN - END]","time":"05-10 00:30:11","target":"client_api::http","elapsed_milliseconds":1164,"authenticator":"AppFlowyCloud"}
{"msg":"[SIGN_IN_WITH_URL - END]","time":"05-10 00:30:11","target":"client_api::http","elapsed_milliseconds":1521,"authenticator":"AppFlowyCloud"}
{"msg":"[🟢 GET_USER_WORKSPACE_INFO - START]","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[🟢 HTTP_CLIENT_WITH_AUTH - START]","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[HTTP_CLIENT_WITH_AUTH - EVENT] start request: https://beta.appflowy.cloud/api/user/workspace, method: GET","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[HTTP_CLIENT_WITH_AUTH - END]","time":"05-10 00:30:11","target":"client_api::http","elapsed_milliseconds":0,"authenticator":"AppFlowyCloud"}
{"msg":"🟢token state: Refresh","time":"05-10 00:30:11","target":"flowy_server::af_cloud::server"}
{"msg":"[GET_USER_WORKSPACE_INFO - EVENT] request_id: \"4ff7ddcd6becb685c2f6010c6a2d5b78\"","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[GET_USER_WORKSPACE_INFO - END]","time":"05-10 00:30:11","target":"client_api::http","elapsed_milliseconds":295,"authenticator":"AppFlowyCloud"}
{"msg":"[🟢 GET_TOKEN - START]","time":"05-10 00:30:11","target":"client_api::http","authenticator":"AppFlowyCloud"}
{"msg":"[GET_TOKEN - END]","time":"05-10 00:30:11","target":"client_api::http","elapsed_milliseconds":0,"authenticator":"AppFlowyCloud"}
{"msg":"[🟢 CONTINUE_SIGN_UP - START]","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager","authenticator":"AppFlowyCloud"}
{"msg":"[🟢 SAVE_AUTH_DATA - START]","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager","authenticator":"AppFlowyCloud"}
{"msg":"[SAVE_AUTH_DATA - EVENT] open sqlite db 281099812332376064 at path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/281099812332376064\"","time":"05-10 00:30:11","target":"flowy_user::services::db","authenticator":"AppFlowyCloud"}
{"msg":"[SAVE_AUTH_DATA - EVENT] Save new user profile to disk, authenticator: AppFlowyCloud","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager","authenticator":"AppFlowyCloud"}
{"msg":"[SAVE_AUTH_DATA - EVENT] Set current session: Session { user_id: 281099812332376064, user_uuid: 773e915d-ed64-4449-aa24-b65d4ba10f77, user_workspace: UserWorkspace { id: \"a82f3ba5-30a9-41fa-b4c9-c38ade1a1f05\", name: \"Shared Workspaces\", created_at: 2024-04-04T06:05:32.003293Z, database_indexer_id: \"28848165-bfc6-4b17-8394-d36f0412b061\", icon: \"🥐\" } }","time":"05-10 00:30:11","target":"flowy_user::services::authenticate_user","authenticator":"AppFlowyCloud"}
{"msg":"[SAVE_AUTH_DATA - END]","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager","elapsed_milliseconds":20,"authenticator":"AppFlowyCloud"}
{"msg":"[🟢 TRY_INITIAL_USER_AWARENESS - START]","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager_user_awareness","authenticator":"AppFlowyCloud"}
{"msg":"[TRY_INITIAL_USER_AWARENESS - EVENT] Initializing user awareness 3758e54b-f463-5e2d-abfd-fa880da67846","time":"05-10 00:30:11","target":"flowy_user::user_manager::manager_user_awareness","authenticator":"AppFlowyCloud"}
{"msg":"[TRY_INITIAL_USER_AWARENESS - EVENT] open collab db for user 281099812332376064 at path: \"C:\\\\Users\\\\mathi\\\\AppData\\\\Roaming\\\\io.appflowy\\\\AppFlowy\\\\data_dev_aHR0cHM6Ly9iZXRhLmFwcGZsb3d5LmNsb3Vk/281099812332376064\\\\collab_db\"","time":"05-10 00:30:11","target":"flowy_user::services::db","authenticator":"AppFlowyCloud"}

Windows crash log
Lognavn:       Application
Kilde:         Windows Error Reporting
Dato:          10-05-2024 00:26:12
Hændelses-id:  1001
Opgavekategori:Ingen
Niveau:        Oplysninger
Nøgleord:      
Bruger:        OSTEKLOKKE\mathi
Computer:      Osteklokke
Beskrivelse:
Fejlbucket 2149952532434822089, type 5
Hændelsesnavn: RADAR_PRE_LEAK_64
Svar: Ikke tilgængelig
Cab-id: 0

Problemsignatur:
P1: dartaotruntime.exe
P2: 0.0.0.0
P3: 10.0.22631.2.0.0
P4: 
P5: 
P6: 
P7: 
P8: 
P9: 
P10: 

Tilknyttede filer:
\\?\C:\Users\mathi\AppData\Local\Temp\RDR7DD9.tmp\empty.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.7d9f253b-c131-4d03-8a0d-606651440f31.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.d58ddac3-c544-458b-a947-d5fc4ed388ae.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.91fcc691-f5df-44a2-8a0a-170d13622351.tmp.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.f1f5873a-7ebf-41f1-aabc-16af979c664f.tmp.xml

Disse filer er muligvis tilgængelige her:
NULL

Analysesymbol: 
Søger efter løsning igen: 0
Rapport-id:d7891a5b-8492-412c-af8d-9f429731da28
Rapportstatus: 268435456
Hashbucket: 2deda32126c1b70c9dd62a6ff3baa3c9
Cab-guide: 0
Hændelses-Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Windows Error Reporting" Guid="{0ead09bd-2157-539a-8d6d-c87f95b64d70}" />
    <EventID>1001</EventID>
    <Version>0</Version>
    <Level>4</Level>
    <Task>0</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8000000000000000</Keywords>
    <TimeCreated SystemTime="2024-05-09T22:26:12.6969420Z" />
    <EventRecordID>13016</EventRecordID>
    <Correlation ActivityID="{9216cab4-5b51-43f4-a574-80d6acc392b7}" />
    <Execution ProcessID="21464" ThreadID="20580" />
    <Channel>Application</Channel>
    <Computer>Osteklokke</Computer>
    <Security UserID="S-1-5-21-1208269372-1143004718-12988982-1006" />
  </System>
  <EventData>
    <Data Name="Bucket">2149952532434822089</Data>
    <Data Name="BucketType">5</Data>
    <Data Name="EventName">RADAR_PRE_LEAK_64</Data>
    <Data Name="Response">Ikke tilgængelig</Data>
    <Data Name="CabId">0</Data>
    <Data Name="P1">dartaotruntime.exe</Data>
    <Data Name="P2">0.0.0.0</Data>
    <Data Name="P3">10.0.22631.2.0.0</Data>
    <Data Name="P4">
    </Data>
    <Data Name="P5">
    </Data>
    <Data Name="P6">
    </Data>
    <Data Name="P7">
    </Data>
    <Data Name="P8">
    </Data>
    <Data Name="P9">
    </Data>
    <Data Name="P10">
    </Data>
    <Data Name="AttachedFiles">
\\?\C:\Users\mathi\AppData\Local\Temp\RDR7DD9.tmp\empty.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.7d9f253b-c131-4d03-8a0d-606651440f31.tmp.WERInternalMetadata.xml
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.d58ddac3-c544-458b-a947-d5fc4ed388ae.tmp.csv
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.91fcc691-f5df-44a2-8a0a-170d13622351.tmp.txt
\\?\C:\ProgramData\Microsoft\Windows\WER\Temp\WER.f1f5873a-7ebf-41f1-aabc-16af979c664f.tmp.xml</Data>
    <Data Name="StorePath">NULL</Data>
    <Data Name="AnalysisSymbol">
    </Data>
    <Data Name="Rechecking">0</Data>
    <Data Name="ReportId">d7891a5b-8492-412c-af8d-9f429731da28</Data>
    <Data Name="ReportStatus">268435456</Data>
    <Data Name="HashedBucket">2deda32126c1b70c9dd62a6ff3baa3c9</Data>
    <Data Name="CabGuid">0</Data>
  </EventData>
</Event>
@Xazin Xazin added bug Something isn't working desktop labels May 9, 2024
@Xazin Xazin changed the title [Bug] Crash on Windows [Bug] Crash on Windows in Development May 9, 2024
@Xazin
Copy link
Collaborator Author

Xazin commented May 10, 2024

Resolution:
Add to troubleshooting and setting up on windows documentation, that you should double check Rust version (where to find the correct one, and how to downgrade).

@Xazin Xazin added documentation Improvements or additions to documentation and removed bug Something isn't working labels May 10, 2024
@Xazin Xazin closed this as completed May 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
desktop documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

1 participant