Signal-iOS icon indicating copy to clipboard operation
Signal-iOS copied to clipboard

Crash on Launch (Launch Failure)

Open radix007 opened this issue 3 years ago • 70 comments

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

Bug description

Whenever I am opening Signal iOS app it is showing me Couldn't Open Signal. Signal had a problem while trying to open. Please send a debug log to [email protected] to help troubleshoot this issue.

Steps to reproduce

  • Open Signal App
  • Small Prompt in the bottom shows the message "Couldn't Open Signal"
  • Two options shown at this point: Submit Debug Log or Open Signal Instead
  • When I click on Open Signal instead app crashes and I return back to home screen
  • When I click on submit debug log, it creates the log and gives various options to share the log like: Email Support, Copy Link, Open a Bug Report, Share and Cancel
  • After clicking on either of these options in no case does the app open. It is only crashing and then we repeat the whole process again
  • I also tried to uninstall the app and install again. It was working then but after 5-6 hours the bug started to show up again.

Actual result: The app does not open and crashes every time

Expected result: The app should open when I click on use signal app instead or after I close it. Not really sure why this is happening.

Screenshot

Signal App Launch Crash

Device info

Device: iPhone 6

iOS version: 12.5.5 (16H62)

Signal version: 5.42.0.12

Link to debug log

https://debuglogs.org/ios/5.42.0/1827923fba28c363a2d491730d8b11ef55524d521220bf4d98cfefdf3b85f94f.zip

radix007 avatar Jul 05 '22 08:07 radix007

It looks like your database is getting corrupted. This is something we're trying to figure out but haven't been able to.

Have you been hard-resetting your device or doing anything unusual with it?

EvanHahn-Signal avatar Jul 05 '22 13:07 EvanHahn-Signal

Hi @EvanHahn-Signal, I did hard-reset my phone but it was like 1.5-2 months ago. And no I am not doing anything unusual other than use signal regularly. I will reset my Iphone again if that helps resolve the problem. Will let you know.

radix007 avatar Jul 05 '22 17:07 radix007

Hi, I’ve been having the exact same issue since late June on my iPhone 11 Pro iOS 15.5. I had not done anything special before this started, other than using Signal with more people. Please help! This is taking way too long to fix. Don’t want to abandon signal but it’s literally unusable on iOS. :(

cgoutaland avatar Jul 06 '22 13:07 cgoutaland

Sorry to everyone running into this. This is a top priority for us, but it's difficult to diagnose which is why it's taking a long time.

I did hard-reset my phone but it was like 1.5-2 months ago. And no I am not doing anything unusual other than use signal regularly. I will reset my Iphone again if that helps resolve the problem. Will let you know.

@radix007 We think that hard resets might be the cause of database corruption problems, which might cause the issues you're seeing. If you experience this again, please include a crash file and debug logs so we can take a look.

Hi, I’ve been having the exact same issue since late June on my iPhone 11 Pro iOS 15.5. I had not done anything special before this started, other than using Signal with more people. Please help! This is taking way too long to fix. Don’t want to abandon signal but it’s literally unusable on iOS. :(

@cgoutaland Could you please send us debug logs so we can figure out the problem?

EvanHahn-Signal avatar Jul 07 '22 15:07 EvanHahn-Signal

I'm having the same issue. Got a new phone last week, a Motorola motorola one 5G ace. Signal was fine on install, then as of yesterday will not open. I don't have an option to send logs, that I'm aware of, as there's no error pop-up.

foxtongue avatar Jul 08 '22 13:07 foxtongue

@EvanHahn-Signal Please find attached the crash file and the new debug logs :

Crash File

Debug Logs

Please let me know if you want the updated version of the logs again or if you want to perform some specific tests with the app. I can also get on a call and work on this with you.

radix007 avatar Jul 11 '22 09:07 radix007

Same issue. I did a hard reset today for something unrelated after which the app doesn’t want to open.

logs

pvernon1 avatar Jul 15 '22 10:07 pvernon1

I am now sure that this issue is related to the database, because when you go to the photos app, you can share photos and then it opens the signal app, then you can select the contact, but when you click on send, it crashes. So accessing the database is causing it to crash maybe. @EvanHahn-Signal

radix007 avatar Jul 17 '22 06:07 radix007

Have run into the same issue. STR: on iOS 15.5, I attempted to reset all settings (without wiping app data), but did not complete the reset because I was prompted for the screentime password. I think Signal may have been open in the background.

Logs are below (locale info redacted)--the database is indeed corrupted, the application cannot be opened and I see the same error as @radix007 indicated in the screenshot. @EvanHahn-Signal I'm happy to help troubleshoot if I can.

signal_logs.zip

rocodes avatar Jul 18 '22 18:07 rocodes

@EvanHahn-Signal I uninstalled the app and tried to open it again and it has now been working fine for almost a week now.

radix007 avatar Jul 24 '22 10:07 radix007

Thanks for these logs, everyone. This is still a top priority for us and these logs will be helpful.

EvanHahn-Signal avatar Jul 25 '22 13:07 EvanHahn-Signal

I have the same issue. After I did a hard-reset because of an unrelated problem, Signal fails to open. The logs say the database is corrupted.

Logs: 0e546b7143c94df9dc239eac2a6d67899e2fced316b3618c98ff5f6a61f94f16.zip

Is it possible that my messages can be recovered by a new signal version? I just want to know my chances if I can get my messages back.

inspektorBear avatar Aug 04 '22 08:08 inspektorBear

@Dakotaw0lf Yes, it's possible. We're working hard to solve these issues. Please stay updated—hopefully a new version will help.

EvanHahn-Signal avatar Aug 04 '22 14:08 EvanHahn-Signal

Count me in who has recently experienced this on 5.47. Upgraded to 5.48 and no dice. Hoping a new version will fix the database issue. I submitted debuglogs already.

pixel2920 avatar Aug 08 '22 15:08 pixel2920

I am in the same boat. I did hard reset the device (after iOS 16 upgrade) right as a message came in (just my luck). I have tried completely uninstalling the app and reinstalling (with data deleting warning) and as soon as I reinstall the app, it still shows as having 2GB of usage and immediately complains of a corrupted database on launch. Can you please add an option to completely clear or reset the database if it's corrupted because reinstalling the app is not fixing it and I cannot use Signal at all.

Losing all of my messages will suck, but at least I will be able to use the app again. It is worth noting that the linked desktop is still working fine.

To reproduce the issue, I would have a bot spam the crap out of a test iPhone and continuously hard reset it.

vcrtech avatar Sep 13 '22 16:09 vcrtech

I have the same issue. It happend after Signal hard froze my iPhone after trying to send a picture in a chat, I had to hard reset it and now it is stuck at this screen all the time. I'm on Iphone 10, latest iOS

senlamy avatar Sep 21 '22 13:09 senlamy

I really hope this gets prioritized. I’m dead in the water from this, and I’d honestly be happy to lose all my messages and everything in Signal to get it working again. A simple “wipe database” button on the “Database corrupted” dialog would be easy to implement until Apple can fix the storage bug. If I can’t get Signal working soon, I’m gonna have to switch my remote teams over to Threema.On Sep 21, 2022, at 08:08, Petr Pinkas @.***> wrote: I have the same issue. It happend after Signal hard froze my iPhone after trying to send a picture in a chat, I had to hard reset it and now it is stuck at this screen all the time. I'm on Iphone 10, latest iOS

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you commented.Message ID: @.***>

vcrtech avatar Sep 21 '22 14:09 vcrtech

I am in the same boat. I did hard reset the device (after iOS 16 upgrade) right as a message came in (just my luck). I have tried completely uninstalling the app and reinstalling (with data deleting warning) and as soon as I reinstall the app, it still shows as having 2GB of usage and immediately complains of a corrupted database on launch. Can you please add an option to completely clear or reset the database if it's corrupted because reinstalling the app is not fixing it and I cannot use Signal at all.

Losing all of my messages will suck, but at least I will be able to use the app again. It is worth noting that the linked desktop is still working fine.

To reproduce the issue, I would have a bot spam the crap out of a test iPhone and continuously hard reset it.

Same issue here. I had an Signal Audio Call with some weird hung up (iOS said microphone was still in use by unknown app) until restart. Hard reset the iPhone, signal stopped working completely. Crashes every time at startup, reinstalling doesn't change anything. Same behavior like yours.

iOS 16.0, iPhone XS.

superschlundi avatar Sep 22 '22 14:09 superschlundi

@EvanHahn-Signal @max-signal This issue has been present for several months. As a developer myself, I can completely understand how hard it is to fix unreproducible bugs.

As such, can we please have a workaround such as a database reset option on the corrupted database dialog?

The Signal app clearly has access to the corrupted files, so it should be able to delete them rather trivially. Signal is completely unusable despite reinstalls, and this problem is starting to creep up for others on my team as well. If a solution is not on the horizon, I'd happily accept a nuclear workaround and throw away my messages. I'm desperate to get this running again.

Thank you!!

vcrtech avatar Sep 25 '22 15:09 vcrtech

@vcrtech Yes. Actively working on it as of last week and today.

EvanHahn-Signal avatar Sep 26 '22 16:09 EvanHahn-Signal

@vcrtech Yes. Actively working on it as of last week and today.

any progress?

senlamy avatar Oct 06 '22 07:10 senlamy

@vcrtech Yes. Actively working on it as of last week and today.

any progress?

I just noticed an update through TestFlight which has a different notification about the corrupted data. It said it will attempt to recover, but then crashes :( But hey, it looks like they're going in the right direction!! :) Been without Signal for weeks; I'm ready to be back in the game! Thanks to all the developers working this.

vcrtech avatar Oct 07 '22 00:10 vcrtech

The latest beta will attempt to recover corrupted databases.

@vcrtech and anyone else using this: are you able to get debug logs from your crash? I also want to hear from people who have different experiences—e.g., people who successfully have their data recovered.

EvanHahn-Signal avatar Oct 07 '22 01:10 EvanHahn-Signal

The latest beta will attempt to recover corrupted databases.

@vcrtech and anyone else using this: are you able to get debug logs from your crash? I also want to hear from people who have different experiences—e.g., people who successfully have their data recovered.

Edit: I linked in the following message as well; thanks!

I submitted the crash logs through the Apple feedback prompt that pops up at ~2100CST from my username as the email. Please let me know if these don't make it through and I'll do whatever it takes to collect the logs an alternative way.

Thanks again!!

vcrtech avatar Oct 07 '22 02:10 vcrtech

@EvanHahn-Signal I am linking two crashlogs: One from the very first launch/recovery attempt with the latest beta, and another more recent attempt. I have these set to expire after a week but can collect more if needed. Thanks!

https://pastebin.com/pHQCBx0t https://pastebin.com/0ryCwzXT

vcrtech avatar Oct 07 '22 12:10 vcrtech

I'm also affected by this issue.

Plus uninstalling Signal for iOS via app drawer oder device storage ui doesn't delete the app data. So I can't even reset Signal to a new database. There is no debug log available. Any ideas?

stegmannt avatar Oct 09 '22 06:10 stegmannt

I'm also affected by this issue.

Plus uninstalling Signal for iOS via app drawer oder device storage ui doesn't delete the app data. So I can't even reset Signal to a new database. There is no debug log available. Any ideas?

Try signing up for the Signal beta/TestFlight and see if it can recover your data. Evan Hahn is currently working this issue and the beta version may work for you (didn't for me, but hey it's progress).

I'm glad to see I'm not alone in the fact that reinstalling doesn't delete the app data. I'd also recommend reporting the bug to Apple since it's partially their fault too for not wiping the data on uninstall.

vcrtech avatar Oct 09 '22 15:10 vcrtech

I tried newer and older versions but nothing worked. 5.54 didn't crash but reported and unsupported database.

The only way to reset the data was to delete Signal, take an itunes backup, hard reset the phone and reload the backup. After that the data was gone and Signal installable again.

stegmannt avatar Oct 10 '22 04:10 stegmannt

Slightly off-topic to Signal (but relatable considering the nuclear option), but in general, do you know if 2FA/MFA apps backed up as part of an iTunes backup will work after reloading or will they all need setting up again? I think that's my biggest hesitation to this; IRS 2FA, Twilio, BitWarden, work 2FA, Microsoft Authenticaor, etc etc... I can't imagine having to set all those up again :O

On Sun, Oct 9, 2022 at 11:24 PM Tobias Stegmann @.***> wrote:

I tried newer and older versions but nothing worked. 5.54 didn't crash but reported and unsupported database.

The only way to reset the data was to delete Signal, take an itunes backup, hard reset the phone and reload the backup. After that the data was gone and Signal installable again.

— Reply to this email directly, view it on GitHub https://github.com/signalapp/Signal-iOS/issues/5395#issuecomment-1272771339, or unsubscribe https://github.com/notifications/unsubscribe-auth/AEEF42K47IAYCL2YSCT5OI3WCOK7BANCNFSM52VM34RQ . You are receiving this because you were mentioned.Message ID: @.***>

vcrtech avatar Oct 10 '22 16:10 vcrtech

Slightly off-topic to Signal (but relatable considering the nuclear option), but in general, do you know if 2FA/MFA apps backed up as part of an iTunes backup will work after reloading or will they all need setting up again? I think that's my biggest hesitation to this; IRS 2FA, Twilio, BitWarden, work 2FA, Microsoft Authenticaor, etc etc... I can't imagine having to set all those up again :O

Depends on the app. Banking 2FA apps are usually not backed up by an iTunes/iCloud backup, but e.g. Google Authenticator will be restored. I used a second phone to transfer all 2FA apps to be sure. Some banks also allow to register multiple phones at the same time. That's always a good idea, if your phone gets lost or breaks.

stegmannt avatar Oct 11 '22 05:10 stegmannt