signalapp / Signal-Android

A private messenger for Android.
https://signal.org
GNU Affero General Public License v3.0
25.15k stars 6.06k forks source link

Signal crashes on restoring backup #13506

Open asdfjkl opened 2 months ago

asdfjkl commented 2 months ago

Bug description

Signal crashes on restoring a (valid) backup file. In particular when starting restoring from a file backup, messages seems to be processed and imported correctly. However afterwards, Signal crashes repeatedly on startup and cannot be started anymore, i.e. Android reports that the app is crashing repeatedly responding.

I've verified that the backup is intact with 3rd party tools (signal-backup-tools). I've also verified that the passphrase is correct; in particular I was able to extract all messages with signal-backup-tools (https://github.com/bepaald/signalbackup-tools) to text format and verified that all information is present. I've also tried to (re)write the backup using backup-tools in order to check that the backup file is not corrupted.

The database version as reported from signal-backup-tools: 136 Signal-Version: 7.2.4

The backup is from 2022; so I suspect that there is some issues when handling such "old" backups. The backup contains personal information, but I am willing to help w.r.t. debugging this issue in any way I can

Steps to reproduce

Actual result: Signal crashes and can't be started anymore Expected result: Should restore the backup and start as expected

Screenshots

unfortunately I have no screenshot

Device info

Device: Pixel 6a Android version: 14 Signal version: 7.2.4

Link to debug log

signal-log-1712506609190.zip attached to this report

stale[bot] commented 4 weeks ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

asdfjkl commented 3 weeks ago

any news on this? I think this should not be closed, as there is apparently an issue with old backups, likely affecting other users as well.