-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Immediate crash on startup (5.10) #4980
Comments
Can confirm this bug on iPhone 12 Pro with iOS 14.5 and previous one. I have handed in multiple crash reports via Apple as well. |
I'm experiencing the same issue since the update.
|
Unfortunately, upgrading to 5.11 has not resolved the issue for me. This is on iOS 14.5.1. |
I'm experiencing the same issue. iPhone 7 |
Still happening on 5.11.1 |
Crash occurs immediately after upgrade from Signal 3.9.1 to Signal 5.11.1 on a fresh restore to iOS 14.4 - iPhone SE (Gen 1) This message database was recently transferred from another 3.9.1 device. Following migration data was accessible. First launch of 5.11.1 showed database upgrade progress bar which did make some progress, followed by the first attached crash. One example subsequent crash at launch (after a device restart) also attached. Issue also remains on TestFlight Beta 5.12.0.46, which on first launch briefly shows pulsing text for optimizing database, and then crashes to springboard. Subsequent background launches also immediately show a crash notice. Safe workaround: Use Signal Desktop if already setup. DANGEROUS
|
I am experiencing the same issue with Signal 5.11.1 on iOS 14.5.1, iPhone 12 mini. I think the problem started after an automatic upgrade to Signal 5.11. When launched, the app crashes immediately and therefore is completely unusable. |
After communicating with Signal 2 weeks ago on this issue, I think this issue won’t be fixed anytime soon. It seems to be an old bug related to transferring data from one device to another. The suggested solution was to re-install Signal incl. the loss of history. |
Darn, that’s concerning. Especially since this seems like a pretty clear regression from 5.9 which I can confirm works without issue without any change to user data. I do see a recent closed issue #4963 with the database at launch, but that was not a crash, and was supposedly fixed in 5.9.
… On May 16, 2021, at 11:14 AM, Julian Mair ***@***.***> wrote:
After communicating with Signal 2 weeks ago on this issue, I think this issue won’t be fixed anytime soon. It seems to be an old bug related to transferring data from one device to another. The suggested solution was to re-install Signal incl. the loss of history.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thanks for the feedback. I have reinstalled Signal now. Though I have lost my messaging history, the app works now again at least. |
Workaround Update: Data migration from Signal 5.9 on an iOS device (A) to another iOS device (B) running Signal 5.9 is successful but does not resolve the issue. Any update to 5.10+ again results in crashes on B. Migration also completes from device B (Signal downgraded back to 5.9) to device A running Signal 5.15 (Test Flight.) Signal 5.15 then immediately crashes on first launch, but the data is accessible on device A after it is again downgraded to 5.9. I now have debug logs of some of these crashes as well. I have also reproduced this these crashes (using the same data) on an iPhone 12 Pro on iOS 14.6 by doing a device to device migration in Signal, and then migrating back to the original iPhone SE (gen 1) iOS 14.6. Crash behavior is identical on both. Debug logs are pulled from the iPhone SE. Relevant debug log file: org.whispersystems.signal.2021-06-30--01-02-41-469.log Related time stamps, sequence notes are below:2021/06/30 01:02:43:848 - Crash after device to device migration 2021/06/30 02:02:39:880 - Crash after app updated Tested ScenariosDevice A (SE) - Signal 5.9 > Device B (12 Pro) - Signal 5.9 Upgrade Signal on Device B (12 Pro) - Signal 5.9 to Signal 5.15 Downgrade Signal on Device B (12 Pro) - Signal 5.15 to Signal 5.9 Device B (12 Pro) - Signal 5.9 > Device A (SE) - Signal 5.15 Downgrade Signal on Device A (SE) - Signal 5.15 to Signal 5.9 Upgrade Signal on Device A (SE) - Signal 5.9 to Signal 5.15 Downgrade Signal on Device A (SE) - Signal 5.15 to Signal 5.9 |
This is still happening, any potential fixes for this? |
Based on my reading of the crash logs I posted above, it looks like this is likely something inside of group chat tables in the database, but there’s a number of commits changing those parts in 5.10.
So it’s definitely fixable but I have no idea if it’s being worked on. (I did also email the updated crash logs and debug (much more useful) logs to support last week.)
The test flight hack can at least buy you a few days of functionality until it expires again.
(Slightly less destructive than destroying all of your chats: while you’re in there you could try nuking group chats until the ones that are mishandled are removed? But that’s gross and not really a solution since there’s fundamentally nothing wrong with our databases… It’s just a fixable regression.)
… On Jul 4, 2021, at 8:02 AM, Ahmet Novalić ***@***.***> wrote:
This is still happening, any potential fixes for this?
Signal-2021-03-15-020901.ips.zip
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
In my case its not applicable, as the app crashes as soon it starts. This has happened a few months ago, requiring a reinstallation, and now it is happening again. This has never happened with other services I have been using for 5-6 years, so its quite a major bug preventing widespread adoption of Signal. |
Yeah, I have those exact crashes on startup when I’m on 5.10 or newer. I’ve been working around it for the past few months by picking the older 5.9 version in the test flight beta program. (See above) But that expires in a couple days and then we’ll just be stuck using desktop signal unless we want to destroy years of data.
… On Jul 4, 2021, at 10:51 AM, Ahmet Novalić ***@***.***> wrote:
In my case its not applicable, as the app crashes as soon it starts. This has happened a few months ago, requiring a reinstallation, and now it is happening again. This has never happened with other services I have been using for 5-6 years, so its quite a major bug preventing widespread adoption of Signal.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Issue remains in versions past 5.10. Common signatures in crash logs:Start of migration at launch:
When stacktrace is logged, about a second later: Related commits in 5.10bf660c8 Adding The Unfortunately I don't have debug logs for others in thread, or a testing harness to safely work against my actual data, but this does appear to be a tractable issue scope considering full data access when on 5.9. |
I’ve identified my crash in the CauseMy issue was that Signal crashes with the IDR exactly how my initial 5.9 > 5.10 migration happened, but I was using an iPhone SE Gen 1, and it was likely just high resource competition during the upgrade causing a termination. RecoveryI did recovery via a jailbroken phone (thanks @seb2point0!), used AppStore++ for arbitrary Signal testing upgrades/downgrades, copied off the DB and keychain key, inspected and tested queries against a decrypted copy, modified the encrypted sqliteDB with
Changes were manually dropping the Upon putting in the fully repaired DB, the migrator created Caveats
Permissions: mobile:mobile 644 file/755 directory For about one or two weeks I had slow message sends on launch, as on each launch Signal would apparently try to retrieve missing Interactions and would churn the CPU reprocessing the whole DB. It appears this mitigated itself after maybe those attempts all timed out. Some data (about the most recent month) was synced back from my desktop Signal client (I think) onto my phone. Older messages in that span remain desktop only. This DB has now completed round-trip migrations between iPhones without issue. I disabled background updates for Signal and force-killed it in Springboard to minimize the risk of data inconsistency. Airplane mode may not hurt either. YMMV. Low risk since 5.9 is already blocked from the Signal network. As this timespan overlaps with some group upgrades, some of my old and inactive groups finally got upgraded. People who had already lost references to these groups saw new messages that I had added them and others to "group name." No other known impacts for conversation partners. FYI @Imperiopolis-Signal - Since this relates to bf660c8 |
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward? This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. |
Bug description
After updating the Signal iOS app to v5.10.0.49, the app immediately crashes on launch. I only see the splash screen for a fraction of a second.
Steps to reproduce
Actual result: Crashes to springboard
Expected result: Doesn't crash and shows list of chats
Device info
Device: iPhone 12 Mini
iOS version: 14.5 (but happened on 14.4.2 as well)
Signal version: 5.10.0.49
Link to debug log
Unfortunately, Signal no longer opens at all, so I cannot enable the debug log. However, please find the latest crash report here: Signal-2021-04-27-122343.ips.zip
The text was updated successfully, but these errors were encountered: