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] App crash while backing-up and unable to open app #40

Open
ghost opened this issue Oct 17, 2024 · 3 comments
Open

🐞: [BUG] App crash while backing-up and unable to open app #40

ghost opened this issue Oct 17, 2024 · 3 comments
Labels
bug Something isn't working
Milestone

Comments

@ghost
Copy link

ghost commented Oct 17, 2024

Describe the bug
The application crash after few minutes, after have initiated a backup. (cf. "TimeMachineStatus_While_Backup")
Still while the backup is in progress, the application crash immediately at the opening. (cf. "TimeMachineStatus_Reopening_App.txt")

To Reproduce
Steps to reproduce the behavior:

  1. Open "System Settings" > General > Time Machine > Right Click on volume > Back Up to ...

Expected behavior
N/A

Screenshots
N/A

Additional context
Operating System:

  • Sequoia 15.0.1 - 24A348

Time Machine configuration:

  • Backup Frequency: "Automatically Every Week"
  • Back up on battery power: No
  • Number of back up disks: 1
  • Way of back up: Network Drive (SMB)

TimeMachineStatus_While_Backup.txt
TimeMachineStatus_Reopening_App.txt

@ghost ghost added bug Something isn't working triage needed labels Oct 17, 2024
@lukepistrol
Copy link
Owner

Please open your Terminal.app and type in the following command to save the logs to a file on your Desktop. Ideally right after you restarted the app. Make sure to change the time stamp to before the error occurred.

log show --predicate 'sender == "TimeMachineStatus"' --start '2024-10-18 00:05:00' > ~/Desktop/TMS.log

Then please attach the file here.

@ghost
Copy link
Author

ghost commented Oct 18, 2024

Hello,

There is the log as you asked:
TMS.log

The command you provided give me an empty file, so I've edit to:
(Just have change the sender by process)
log show --predicate 'process == "TimeMachineStatus"' --start '2024-10-18 16:17:30' > ~/Desktop/TMS.log

Timestamp of user actions:

  • 16:17:50: Open App
  • 16:18:00: Press "Back Up to ..." in "System Settings" > General > Time Machine > Right Click on volume
  • 16:18:21: Crash
  • 16:18:40: 1st relaunch App and crash
  • 16:18:55: 2nd relaunch App and crash

Have a nice day!

@ghost
Copy link
Author

ghost commented Oct 20, 2024

Hi,

After the update 0.2.3 the problem is still persistent.

So, I've try to download an open your project in Xcode.

After a run and a back up launched the app crash at the file:
TimeMachineStatus > Model > BackupState > BackupState.swift

At the line 52: let state = try decoder.decode(BackupState._State.self, from: data)

I suppose its a problem when decoding the property list 🤷‍♂️

I stay available for any complementary informations.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Development

No branches or pull requests

1 participant