-
-
Notifications
You must be signed in to change notification settings - Fork 6.2k
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
Signal crashes few seconds after Launch. Cause corrupted signal-jobmanager.db #13762
Comments
Hi there, sorry if this sounds obvious but have you tried to clear the cache? The logs seem to indicate that the issue is related to Encryption key/DB corruption. Clearing cache seems to be the only way you can safely force the app to reset tables without losing data. If you're looking to wipe |
I have tried clearing the cache, however, it did not help. I just tired again. I haven't tired something like this yet, because I think Android protectes against that. |
Hey @greyson-signal is this a common occurrence? If so it could be affecting the UX on a larger scale. Quoting you from #12435 .
Implies that in general we don't expect From what I could tell by looking at the code briefly, deleting this DB would not be "ideal"(Especially if it is deleted too often). However, in the rare case it does get corrupted then it needs to be deleted to protect everything else. In case |
It's definitely not great to lose that data, but I think you're right that it might be better here to reset that table. I'll make that change. |
…handling Previously, JobDatabase used SqlCipherErrorHandler, which did not delete corrupted `signal-jobmanager.db`. This fix ensures that SqlCipherDeletingErrorHandler is used, which deletes the database upon corruption. Closes signalapp#13762
Apologies for the direct PR. I spent some time on this issue sometime back and figured this might be a decent fix. Just added a couple of tests to my version of the fix i.e. delete the |
I tried the latest version and Signal seems to be working fine again and I was able to make a backup and move Signal successfully to my new phone. Thank you very much. |
Fix mark registration complete flag. Add extra catch to adding system contact links. Update translations and other static files. Bump version to 7.25.1 Fix bad active state check for subscriptions. Bump version to 7.25.2 Remove old donation jobs. Update libsignal-net integration to match libsignal v0.62.0. Add MediaTTL to subscriptions configuration and wire in. Normalize receipt labeling. Add a .tool-versions to indicate which version of java should be used. Add backup specific strings for token redemption error. Add copy for paid-tier-pending dialog. Update to actions/upload-artifact v4. Include unregistered users in blocked sync message. Detect storage space issues during restore. Hardcode auto-provisioning in Gradle to off. Fix restore/transfer string typos. Resolve some gradle 8 deprecations. Resolves signalapp#13788 Remove unreachable dependencies from verification-metadata.xml I did this by clearing the components entries: perl -i -0777 -pe 's/<components>.*?<\/components>//gs' gradle/verification-metadata.xml And then regenerating them: ./gradlew --write-verification-metadata sha256 qa --rerun-tasks Resolves signalapp#13791 Convert some Java tests to Kotlin. Resolves signalapp#13792 Switch to using toml version catalogs. Resolves signalapp#13792 Prevent displaying AppSettings content until self is non-null. Display proper error when call link deletion fails due to call link being in use. Convert InternalValues to kotlin. Implement checkin job for backups. Change the JobDatabase to use a different error handler. Relates to signalapp#13762 Remove redundant zkcCredential=true Add deletion method to ArchiveApi. Sync the MediaRootBackupKey during linking. Fix link+sync uploads. Update link+sync ui. Remove mockito usage from android tests. Rotate the link+sync flag. Update bug_report.yaml Resolves signalapp#13803 Remove junit.framework Resolves signalapp#13805 Remove BaseUnitTest.java Resolves signalapp#13804 Make LibSignalChatConnection Only Use Each ChatService Once Introduce AEP and SSRE2. Added a Storage Service Playground screen. Update backup string (digit -> character). Utilize fixed test address for mockwebserver. Improve error reporting in storage service playground. Allow stories to be embedded with link previews that do not have titles. Update translations and other static files.
Guidelines
Bug description
Since a recent Signal update, probably 7.17.4, Signal Crashes a few seconds after launch. Currently the phone runs 7.21.5. I have uploaded a log already in #13697, which shows that the
signal-jobmanager.db
is corrupted. I have uploaded the log again here:log.txt. I am starting a new issue since is was stated that this is unrelated the bug in that issue.
Signal at first seems to start fine. It loads the full GUI and shows all recently received messages, even those received after Signals started crashing. However, few seconds later it crashes. New messages are also shown in the notifications bar, however, replying or "Mark as read" do not work. I was able to connect Signal to a PC, by being fast.
This leads me to believe that the database containing my messages is not affected. In #12435 it was stated, that the
signal-jobmanager.db
is used for pending message, which I now interpret as pending outgoing messages. As root it can be deleted, however, I am not root on this device.I am looking for a way to fix the issue by deleting or recreating the affected database.
Screenshots
No response
Device
Samsung S7
Android version
8
Signal version
7.21.5
Link to debug log
https://github.com/user-attachments/files/17598807/log.txt
The text was updated successfully, but these errors were encountered: