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

Signal keeps crashing a second after opening #13814

Open
3 tasks done
wpank opened this issue Nov 23, 2024 · 4 comments
Open
3 tasks done

Signal keeps crashing a second after opening #13814

wpank opened this issue Nov 23, 2024 · 4 comments

Comments

@wpank
Copy link

wpank commented Nov 23, 2024

Guidelines

  • I have searched searched open and closed issues for duplicates
  • I am submitting a bug report for existing functionality that does not work as intended
  • This isn't a feature request or a discussion topic

Bug description

Since yesterday, signal keeps crashing a second or two after opening it. It will be able to open the list of messages (with new messages), and can click into them, however after a second or two will back out of the current screen, then eventually the list of messages and crash with Signal keeps stopping.

I tried updating to the latest 7.26.1 and this still occurs.

Something that might be related: the past few days have been having an issue with sending pictures and videos. Sometimes it's intermittent. It originally had a hard time sending videos files over 100mb (it would fail), but was able to send them by compressing them. At some point sending new videos would just not work, it would hang at "processing". (I think I may have run out of device storage at some point around here, but have since freed up device storage). Sometimes sending things would eventually work, perhaps this was after clearing device storage. I tried to "delete for me" and "delete for everyone" the failed messages that didn't send so they didnt cloud up the chat history with failed attempts. Some of these could not be removed, and I think after trying this the crashing may have started.

I tried searching through other issues and similar things people mentioned, though most of the issues were either resolved with a new release or were sightly different. Something suspect might me the job manager for sending pending messages related to the video compressing or something, but that's just a shot in the dark, as was some of the only related things right before it started continuously crashing.

Relatedly - is there a way to backup messages to another device without losing history? I currently have it linked to my computer and ipad. I haven't tried clearing cache or app data since I'm reluctant to lose anything.

Screenshots

No response

Device

No response

Android version

15

Signal version

version 7.26.1

Link to debug log

No response

@wpank
Copy link
Author

wpank commented Nov 23, 2024

I've tried to submit a debug log, but it keeps crashing before it works to submit :/

The closest I can get is taking a screenshot like this:

Screenshot_20241123-094147

Also wanted to mention the crashing still occurs on airplane mode, as that was something suggested to try in other issues that were slightly related.

@greyson-signal
Copy link
Contributor

The only remaining way to get logs would be to use the android logcat tool. You can download it here, and then run logcat > logs.txt, reproduce the crash, and then share the log file. Apologies, I know it's a lot!

@wpank
Copy link
Author

wpank commented Nov 28, 2024

log.txt

@greyson-signal thanks, I ran adb logcat > log.txt, opened the app, waited for it to crash, then stopped. Let me know if the above logs suffice.

Looks like some kind of db corruption related to deleting the messages that failed to send (per the context of my first post)?

11-23 15:34:21.358 24438 24510 E AndroidRuntime: FATAL EXCEPTION: pool-14-thread-1
11-23 15:34:21.358 24438 24510 E AndroidRuntime: Process: org.thoughtcrime.securesms, PID: 24438
11-23 15:34:21.358 24438 24510 E AndroidRuntime: org.thoughtcrime.securesms.database.SqlCipherErrorHandler$DatabaseCorruptedError_BothChecksPass
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.database.SqlCipherErrorHandler.onCorruption(SqlCipherErrorHandler.kt:52)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at net.zetetic.database.sqlcipher.SQLiteDatabase.onCorruption(SQLiteDatabase.java:348)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at net.zetetic.database.sqlcipher.SQLiteProgram.onCorruption(SQLiteProgram.java:117)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at net.zetetic.database.sqlcipher.SQLiteStatement.executeUpdateDelete(SQLiteStatement.java:93)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at net.zetetic.database.sqlcipher.SQLiteDatabase.delete(SQLiteDatabase.java:1794)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.database.SQLiteDatabase.lambda$delete$14(SQLiteDatabase.java:394)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.database.SQLiteDatabase.$r8$lambda$tw0Fv9xDoZzgnkzgX2fwZPNTwog(SQLiteDatabase.java:0)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.database.SQLiteDatabase$$ExternalSyntheticLambda1.run(R8$$SyntheticClass:0)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.database.SQLiteDatabase.traceSql(SQLiteDatabase.java:113)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.database.SQLiteDatabase.delete(SQLiteDatabase.java:394)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.database.SQLiteDatabase.delete(SQLiteDatabase.java:256)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.signal.core.util.DeleteBuilderPart2.run(SQLiteDatabaseExtensions.kt:493)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.database.MessageTable.deleteMessage(MessageTable.kt:3298)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.database.MessageTable.deleteMessage$default(MessageTable.kt:3288)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.database.MessageTable.deleteMessage(MessageTable.kt:3284)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at org.thoughtcrime.securesms.service.ExpiringMessageManager$ProcessTask.run(ExpiringMessageManager.java:112)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:644)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at java.lang.Thread.run(Thread.java:1012)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at [[ ↑↑ Original Trace ↑↑ ]].(:0)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at [[ ↓↓ Inferred Trace ↓↓ ]].(:0)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at Database 'signal.db' corrupted!.(:0)
11-23 15:34:21.358 24438 24510 E AndroidRuntime: 	at [sqlite] FullCode: 267 | ErrorCode: 11 | ExtendedErrorCode: 1 | Message: database disk image is malformed | ExtraMessage: null.(:0)

@md-weber
Copy link

md-weber commented Nov 28, 2024

I have the same behavior on my Google Pixel 8. I did not do anything out of the ordinary but now the behavior is like this:

  1. Starting the app
  2. Select a Chat
  3. Crash

Following link contains my logcat:
https://privatebin.net/?992297d4e722f7b5#AHtvDkqtimwVV9YQ6KqRkAXVKcHm4D8qmNXjPpwzddCD

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants