signalapp / Signal-iOS

A private messenger for iOS.
https://signal.org
GNU Affero General Public License v3.0
10.72k stars 3k forks source link

Crashes when opening app versions 5.29.0 & 5.30 & 5.31 & 5.33 two iPhones #5279

Closed pierreboudes closed 1 year ago

pierreboudes commented 2 years ago

Bug description

App crashes almost instantly on opening, various versions. Two devices.

Steps to reproduce

Actual result: the app won't launch Expected result: obviously we hope to see a reactive UI like we had before

Device info

Device: iPhone 8 (model: iPhone10,4), iPhone 7 (model: iPhone9,3) iOS version: iPhone OS 14.8.1 (18H107), iPhone OS 15.1 (19B74), iPhone OS 15.3.1 (19D52) Signal version: 5.29.0, 5.30.0

Two different telecom operators / numbers.

Link to debug log

I email to support@signal.org 4 different crash reports (2 per iPhone).

Here some exerpts.

Thread 2 crashed with ARM Thread State (64-bit):
   esr: 0xf2000001  Address size fault
"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":6556073580,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.root.default-qos","frames":[{"imageOffset":208492,"symbol":"_assertionFailure(_:_:file:line:flags:)","symbolLocation":300,"imageIndex":8},{"imageOffset":208492,"symbol":"_assertionFailure(_:_:file:line:flags:)","symbolLocation":300,"imageIndex":8},{"imageOffset":541660,"symbol":"swift_unexpectedError","symbolLocation":556,"imageIndex":8},{"imageOffset":2298692,"imageIndex":9},{"imageOffset":5383616,"imageIndex":9},{"imageOffset":5384580,"imageIndex":9},{"imageOffset":118468,"symbol":"__54+[VersionMigrations performUpdateCheckWithCompletion:]_block_invoke","symbolLocation":60,"imageIndex":10}
"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":6567378604,"matchesCrashFrame":1},"far":{"value":6905358648}},"queue":"com.apple.root.default-qos","frames":[{"imageOffset":208556,"symbol":"_assertionFailure(_:_:file:line:flags:)","symbolLocation":300,"imageIndex":7},{"imageOffset":208556,"symbol":"_assertionFailure(_:_:file:line:flags:)","symbolLocation":300,"imageIndex":7},{"imageOffset":541736,"symbol":"swift_unexpectedError","symbolLocation":556,"imageIndex":7},{"imageOffset":2245580,"imageIndex":8},{"imageOffset":5306272,"imageIndex":8},{"imageOffset":5307236,"imageIndex":8},{"imageOffset":127360,"symbol":"__54+[VersionMigrations performUpdateCheckWithCompletion:]_block_invoke","symbolLocation":60,"imageIndex":9
"esr":{"value":4060086273,"description":"(Breakpoint) brk 1"},"pc":{"value":6542065260,"matchesCrashFrame":1},"far":{"value":0}},"queue":"com.apple.root.default-qos","frames":[{"imageOffset":208492,"symbol":"_assertionFailure(_:_:file:line:flags:)","symbolLocation":300,"imageIndex":7},{"imageOffset":208492,"symbol":"_assertionFailure(_:_:file:line:flags:)","symbolLocation":300,"imageIndex":7},{"imageOffset":541660,"symbol":"swift_unexpectedError","symbolLocation":556,"imageIndex":7},{"imageOffset":2245580,"imageIndex":8},{"imageOffset":5306272,"imageIndex":8},{"imageOffset":5307236,"imageIndex":8},{"imageOffset":127360,"symbol":"__54+[VersionMigrations performUpdateCheckWithCompletion:]_block_invoke","symbolLocation":60,"imageIndex":9}
pierreboudes commented 2 years ago

Same problem occurs with the 5.31 version. I think that Signal cannot process its older datas and crashes somewhere here https://github.com/signalapp/Signal-iOS/blob/master/SignalMessaging/environment/VersionMigrations.m.

I don't know what can help to figure out the problem besides the crash reports I have already sent last week. I can surely restart from a fresh install and say goodbye to older messages.

Signal is the only app for which I am giving money (not much, 5€/month to the foundation). I don't rely on it for my communication and currently my only usage is discussing with a couple of friends.

I think this is important for people to have such services but we need some reliability before disseminating its usage. It it crashes on a basic use case how to convice people and myself to use it more? I am quite sure that our problem (two users on two phones) happens to other persons. I am here to participate so please tell me how I can help improve the reliability of the version migration process. Is there a way I can share faulty data? I am on GNU/Linux, but I can find a Mac OS and a developer account, if necessary.

Altonss commented 2 years ago

Several users reported me also that their Signal app crashes at startup (several different iphones!). This bug is really a problem as users can only access Signal on their desktop if they have linked it. I know I am not supposed to ping the Signal team, and I am really sorry to do it, but this seem to be a serious bug @michelle-signal Unfortunately I cannot send any debug logs :(

pierreboudes commented 2 years ago

Thanks for your concern! I have sent my crash reports to support@signal.org with #5279 in subject. I can surely produce more. I am not use to IOS debugging but I think some database extraction would be useful to debug. Do not hesitate to be directive and drive me on the way to produce more logs and share some data if necessary.

michelle-signal commented 2 years ago

Thanks for your concern! I have sent my crash reports to support@signal.org with #5279 in subject. I can surely produce more. I am not use to IOS debugging but I think some database extraction would be useful to debug. Do not hesitate to be directive and drive me on the way to produce more logs and share some data if necessary.

Sorry for the delay here. I've been traveling a bit the past couple of days. I will reach out to our support team and see if they've received this email. Thanks for the report!

Altonss commented 2 years ago

Sorry for the delay here. I've been traveling a bit the past couple of days.

No worries, take care of yourself! :smiley:

Altonss commented 2 years ago

Several users reported me also that their Signal app crashes at startup (several different iphones!).

One of the users informed me again that she could not open Signal for about 3 hours. (I'm sorry I don't know the version number, nor the iOs version, nor have a debug log)

pierreboudes commented 2 years ago

Still stuck after an update : app still crashes on launch with 5.33. I am thinking about doing a fresh install to recover the ability to communicate at the expense of keeping some faulty local data for debugging purpose.

pierreboudes commented 2 years ago

5.33.1 also crashes. I have reinstalled Signal. I have lost my data (my conversations) but I now can use this app again.

Flamity commented 2 years ago

I’ve had this bug happen to me twice now. Currently happening on my iPhone XS, signal version 5.33.1. I refuse to delete the app because I really don’t wanna lose all my chat history. I sent my crash log to the signal support email and they told me it’s been filed but I decided to come here and put a bit more information out on this issue. This bug is a pretty big problem, people can’t use the app entirely. And it’s pretty common.

pierreboudes commented 2 years ago

To clarify what happened.

Mad-at commented 2 years ago

I would like to support this, I have the same issue and have sent my crash reports to the developers. I have been without signal now since january, because I can't afford to loose my conversations. I have tried to move signal into the iCloud and bring it back, but that did not help.

Mad-at commented 2 years ago

I have to stress that this is not yet fixed in the current version 5.37.1. Please please stop adding useless features or enhancing performance when there are bugs out there that render Signal unusable for some users. This is unbelievable, where is your work ethics?

DiagonalArg commented 2 years ago

"No One Assigned"? Why don't we have any activity on this? Please, focus on the key issues!

Mad-at commented 2 years ago

Yesterday a new version (Version 5.37.2) was released which supposedly fixes the crash issue, but not for me.

KatieG285 commented 2 years ago

I’m having the same issue. I’ve deleted and reinstalled 4 different times since January. I don’t want to lose my data yet again. Anyone ever get a “Fix” for this?? Thank You

sorcerix commented 2 years ago

still facing this issue on my iphone 7, and have been since march.

Mad-at commented 2 years ago

Problem persists wit 5.40. but hey, the reminder if your sponsoring subscription fails is now fixed and videocalls use less bandwith

stale[bot] commented 2 years ago

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[bot] commented 1 year ago

This issue has been closed due to inactivity.