Beliathal / QFILHelper

QFIL Helper - Partition/LUN backup automation utility for LG v50/G8
GNU General Public License v3.0
21 stars 8 forks source link

Crash when restoring a backup #8

Closed s4704 closed 9 months ago

s4704 commented 9 months ago

Program version v1.0.1.23b in version v1.0.1.51b too Device Motorola Edge X30 port_trace.txt

s4704 commented 9 months ago

LuL version 1.0.1.14b completely restored my backup without crashing.

Beliathal commented 9 months ago

Thank you for reporting and sorry for any inconvenience. Those all are beta versions, I've tested them with my own phone before uploading. I'll double check v1.0.1.14b against v1.0.1.23b when I have time. The issue could be specific to your device, tho.

s4704 commented 9 months ago

Just in case, here's a picture of the error

Desktop 2024 01 06 - 13 31 36 01 mp4_snapshot_00 47_ 2024 01 06_13 35 25

Error text: Unprocessed Exception: System.OverflowException: Buffer overflow as a result of arithmetic operation.

Beliathal commented 9 months ago

Would it be possible to get your phone's GPT headers? so I could emulate your Motorola Edge X30 on my end...

You'll need to run the app in advanced mode, like so:

QFILHelperGPT -advanced

select option (4): Quick backup (partitions) select option (5): Dump GPT Headers

s4704 commented 9 months ago

Backup-2024-01-08-202111.zip

Beliathal commented 9 months ago

Thank you!

Unfortunately, I was unable to reproduce this error with the emulation. The app run without any issues on my side. However, I've added the old LookUpNames function from v1.0.1.14b as a fallback, so even if the new version fails, the app still should be able to continue without crashing.

s4704 commented 9 months ago

New error in v1.0.1.73b ee port_trace.txt errors.txt

s4704 commented 9 months ago

After I clicked continue, the recovery process completed with no errors.

Beliathal commented 9 months ago

Thank you again. I finally found what was causing the crash and hopefully fixed it.