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

Crash on Launch (Launch Failure) #5395

Closed
3 tasks done
radix007 opened this issue Jul 5, 2022 · 72 comments
Closed
3 tasks done

Crash on Launch (Launch Failure) #5395

radix007 opened this issue Jul 5, 2022 · 72 comments
Labels

Comments

@radix007
Copy link

radix007 commented Jul 5, 2022

  • I have 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

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 support@signal.org 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

@EvanHahn-Signal
Copy link
Contributor

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?

@radix007
Copy link
Author

radix007 commented Jul 5, 2022

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.

@cgoutaland
Copy link

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. :(

@EvanHahn-Signal
Copy link
Contributor

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?

@foxtongue
Copy link

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.

@radix007
Copy link
Author

radix007 commented Jul 11, 2022

@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.

@pvernon1
Copy link

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

logs

@radix007
Copy link
Author

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

@rocodes
Copy link

rocodes commented Jul 18, 2022

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

@radix007
Copy link
Author

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

@EvanHahn-Signal
Copy link
Contributor

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

@inspektorBear
Copy link

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.

@EvanHahn-Signal
Copy link
Contributor

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

@pixel2920
Copy link

pixel2920 commented Aug 8, 2022

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.

@vcrtech
Copy link

vcrtech commented Sep 13, 2022

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.

@senlamy
Copy link

senlamy commented Sep 21, 2022

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

@vcrtech
Copy link

vcrtech commented Sep 21, 2022 via email

@superschlundi
Copy link

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.

@vcrtech
Copy link

vcrtech commented Sep 25, 2022

@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!!

@EvanHahn-Signal
Copy link
Contributor

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

@senlamy
Copy link

senlamy commented Oct 6, 2022

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

any progress?

@vcrtech
Copy link

vcrtech commented Oct 7, 2022

@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.

@EvanHahn-Signal
Copy link
Contributor

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.

@vcrtech
Copy link

vcrtech commented Oct 7, 2022

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
Copy link

vcrtech commented Oct 7, 2022

@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

@stegmannt
Copy link

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?

@vcrtech
Copy link

vcrtech commented Oct 9, 2022

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.

@stegmannt
Copy link

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.

@vcrtech
Copy link

vcrtech commented Oct 10, 2022 via email

@stegmannt
Copy link

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.

@S-Sudarsan
Copy link

Good news, upgrading to latest version 6.16 fixed it for me. Upon opening the app after upgrade, it prompted me with a message that it is going to attempt recovering the database that looks corrupted and it indeed recovered everything up until when I first encountered the issue (9 months ago). Only bit that the recovery mentioned that it could not was, not able to deliver any messages that were sent to me during the last 9 months but I suppose that is not too big an issue given I have not lost any data that I already had. Thanks to the team that resolved the bug (at least for me) with 6.16.

@GalileoGalileo
Copy link

same problem here, crashes on start up, can't resolve with Uninstal and reinstal,
, iPhone 11 Pro iOS 16.2, current version is 6.16 as was updated a few days ago. Still don't work

https://debuglogs.org/ios/6.16.0/ed3bb2bc3cb333932437f4e3e5762fd01adc86004940c8a6fe14f9449f79f937.zip

@EvanHahn-Signal
Copy link
Contributor

I know this is very frustrating.

It's a really tricky issue and we've done a ton of work to try to mitigate it (e871e20, 941284f, e40e449, 543f86f, d36a7f5, 3892b9e, dc9637b, 418ac9a, 349681f, 4da042c, 11c2cf0, e5f3367, 9d8e6b7, 4cde41d, 68b6f92, among others). We're still prioritizing fixing this, it's just very hard.

Please keep your app updated. If you run into this, please reach out to our support team with a debug log and a crash log.

@gonultasbu
Copy link

I am also suffering from this problem on iPhone 13 Pro, the app shows a prompt saying Problem Retrieving Data and the only button to press is continue. After pressing that, the app tries to recover the messages but crashes at 0%. Cannot use the app on my phone anymore.

@Miguel-Signal
Copy link

@gonultasbu Could you please email support@signal.org? There are some additional logs we'd like for you to send us from your device.

@gonultasbu
Copy link

Hey @Miguel-Signal, where can I find a list of those additional logs so I can append them to the email?

@Miguel-Signal
Copy link

@gonultasbu We'll respond to your initial email with those instructions!

@bychaos
Copy link

bychaos commented Jun 27, 2023

Is this issue not solved yet? I hard reset my iphone few days ago and after that everytime I tried to open it crashed. I reinstall it several times even tried to beta version but no luck. I mailed to support and send the additional crash logs but havent got a reply yet. I dont care about previous chat logs or anything I just want to use the app again. Any recommendations?

@gonultasbu
Copy link

I have been waiting for a fix for about a month as well.

@mklinger
Copy link

Same problem here, according to support@signal.org. Have sent latest debug logs, can't use Signal app anymore.

Copy link

stale bot commented Nov 19, 2023

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.

@stale stale bot added the stale label Nov 19, 2023
@gonultasbu
Copy link

still active

@stale stale bot removed the stale label Nov 19, 2023
Copy link

stale bot commented Feb 18, 2024

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.

@stale stale bot added the stale label Feb 18, 2024
@gonultasbu
Copy link

active

@stale stale bot removed the stale label Feb 18, 2024
Copy link

stale bot commented May 18, 2024

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.

@stale stale bot added the stale label May 18, 2024
@stefan2904
Copy link

I think this is still not solved

@gonultasbu
Copy link

For me it is, the app somehow hard reset itself, wiped everything clean and decided to give me a fresh start. I have not changed phones or wiped anything myself.

@3nitycross
Copy link

3nitycross commented May 20, 2024 via email

@stale stale bot removed the stale label May 21, 2024
Copy link

stale bot commented Aug 20, 2024

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.

@stale stale bot added the stale label Aug 20, 2024
Copy link

stale bot commented Sep 7, 2024

This issue has been closed due to inactivity.

@stale stale bot closed this as completed Sep 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests