2fast icon indicating copy to clipboard operation
2fast copied to clipboard

Application crashing after log-in after adding a 2FA code

Open infinotiver opened this issue 8 months ago • 4 comments

Describe the bug

The application freezes after I log-in and the screen goes blank without any codes once I login and then the app crashes and closes down after a while.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Given the following environment
    • Application: 2Fast
    • Application Version: 1.3.5.0
    • Operating System: Windows 10 Home
  2. Add a new 2FA Code
  3. Close the app successfully
  4. Next time, open the app
  5. Enter password
  6. Screen open ups with blank page and no code
  7. App freezes and closes after a few seconds

Expected behavior

The application should allow me to change the password and access my 2FA codes without crashing.

Screenshots

Due to security reasons, can't take a screenshot but nothing is visible except the top ribbon and sidebar

Environment

App Version(s): 1.3.5.0

Windows 10/11 Build Number:

  • [x] Windows 10 > May 2020 Update (19041)
  • [ ] Windows 11 21H2 Update (22000)
  • [ ] Windows 11 22H2/23H2 Update (22621)
  • [ ] Insider Build ({build_number})

Additional context

infinotiver avatar Apr 27 '25 07:04 infinotiver

Is the problem reproducible in another data file, for example a copy of the file backup?

The log entry would be useful to narrow down the potential problem. The log is accessible as a menu item via settings/functions or via cmd: https://github.com/2fast-team/2fast/wiki/Open-(error)-log-via-cmd

or via explorer: When the app.log is created, the file is saved in the local folder:

%LOCALAPPDATA%\Packages\38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_nxr4mypqfqb9c\LocalState

jp-weber avatar Apr 27 '25 12:04 jp-weber

Is the problem reproducible in another data file, for example a copy of the file backup?

I can not test with other data files as the application crashes just after a few seconds

The log entry would be useful to narrow down the potential problem. The log is accessible as a menu item via settings/functions or via cmd: https://github.com/2fast-team/2fast/wiki/Open-(error)-log-via-cmd

Apparently this doesn't seem to work. The application just shows the welcome blue screen with logo when I open it through cmd. However, I managed to catch some errors in the Event Manager

Faulting application name: Project2FA.UWP.exe, version: 1.0.0.0, time stamp: 0x67b4d81a
Faulting module name: Windows.UI.Xaml.dll, version: 10.0.19041.5737, time stamp: 0xf4f91260
Exception code: 0xc000027b
Fault offset: 0x0000000000723870
Faulting process id: 0x132c
Faulting application start time: 0x01dbb790638bb3fa
Faulting application path: C:\Program Files\WindowsApps\38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_1.3.5.0_x64__nxr4mypqfqb9c\Project2FA.UWP.exe
Faulting module path: C:\Windows\System32\Windows.UI.Xaml.dll
Report Id: 1c51096b-6fc5-4ed7-a6e3-384ef579b2e1
Faulting package full name: 38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_1.3.5.0_x64__nxr4mypqfqb9c
Faulting package-relative application ID: App

infinotiver avatar Apr 27 '25 16:04 infinotiver

Thanks for the event log. Do you have tested, if you double click on your data file, if the app also will be crash?

Can you verify in the app folder, if a file with the name "app.log" is exists?

App folder:

%LOCALAPPDATA%\Packages\38343JanPhilippWeber.2fastTwoFactorAuthenticatorSu_nxr4mypqfqb9c\LocalState

jp-weber avatar Apr 29 '25 16:04 jp-weber

Do you have tested, if you double click on your data file, if the app also will be crash?

Yes, the app still crashes. I tried doubling clicking on the original data file as well as its copy, same behavior.

Can you verify in the app folder, if a file with the name "app.log" is exists?

The log exists but it is very outdated.

infinotiver avatar May 04 '25 16:05 infinotiver