Silence app crashes and loses SMS on Nexus 5X #263

Closed
tobia opened this Issue May 15, 2016 · 23 comments

Comments

Projects
None yet
6 participants
@tobia

tobia commented May 15, 2016

The provided SMS app "Silence" crashes as soon as it's launched, on a brand new 5X, with OS releases 2016-05-08 and 2016-05-14.

As a consequence, I lost all SMS received in the few hours until I recognized the problem, disabled it, and installed a replacement from F-Droid (QKSMS.)

Because of the SMS loss, I recommend putting a different app in the images as the default SMS handler, until this issue is fixed.

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen May 15, 2016

I would try installing the same Silence version from F-Droid to make sure the issues are upstream.

Please add any app recommendations to #123. :)

polyzen commented May 15, 2016

I would try installing the same Silence version from F-Droid to make sure the issues are upstream.

Please add any app recommendations to #123. :)

@tobia

This comment has been minimized.

Show comment Hide comment
@tobia

tobia May 15, 2016

I would try installing the same Silence version from F-Droid to make sure the issues are upstream.

I'm not sure I understand. How can I install the same version from F-Droid, when I cannot uninstall the stock one? (I can only disable it.)

In any case my point was, whether the issue is upstream or not, I would ship a different SMS app, because on the 5X it loses messages, meaning you don't even know that people sent you messages, there is no notification or anything, until the user changes app. Even at that point, there is no way to recover the lost messages.

Please add any app recommendations to #123.

I will, but #123 is about "obsolete AOSP applications", while Silence seems to be specifically chosen by Copperhead as a secure / encrypted alternative. But it's broken on the 5X.

tobia commented May 15, 2016

I would try installing the same Silence version from F-Droid to make sure the issues are upstream.

I'm not sure I understand. How can I install the same version from F-Droid, when I cannot uninstall the stock one? (I can only disable it.)

In any case my point was, whether the issue is upstream or not, I would ship a different SMS app, because on the 5X it loses messages, meaning you don't even know that people sent you messages, there is no notification or anything, until the user changes app. Even at that point, there is no way to recover the lost messages.

Please add any app recommendations to #123.

I will, but #123 is about "obsolete AOSP applications", while Silence seems to be specifically chosen by Copperhead as a secure / encrypted alternative. But it's broken on the 5X.

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen May 15, 2016

Afaik it was simply chosen as a viable alt. to whatever SMS app may or may not be in AOSP -- the encryption just being a bonus. /shrug

Edit: Especially considering that TextSecure (now Signal) dropped encrypted SMS support for good reasons. (SMSSecure, now Silence, was forked from TextSecure at that point, in case this wasn't known.)

polyzen commented May 15, 2016

Afaik it was simply chosen as a viable alt. to whatever SMS app may or may not be in AOSP -- the encryption just being a bonus. /shrug

Edit: Especially considering that TextSecure (now Signal) dropped encrypted SMS support for good reasons. (SMSSecure, now Silence, was forked from TextSecure at that point, in case this wasn't known.)

@polyzen

This comment has been minimized.

Show comment Hide comment
@polyzen

polyzen May 15, 2016

How can I install the same version from F-Droid, when I cannot uninstall the stock one? (I can only disable it.)

Woops. Forgot about that. :p

polyzen commented May 15, 2016

How can I install the same version from F-Droid, when I cannot uninstall the stock one? (I can only disable it.)

Woops. Forgot about that. :p

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger May 15, 2016

Contributor

It works fine here. You need to provide logs. I won't be replacing it with something else.

Contributor

thestinger commented May 15, 2016

It works fine here. You need to provide logs. I won't be replacing it with something else.

@tobia

This comment has been minimized.

Show comment Hide comment
@tobia

tobia May 16, 2016

What the heck is going on? I just opened it after enabling debugging options, with the intent of taking a bug report, and it didn't crash! It started and I can read the messages I thought I had lost!

I did the exact same thing before filing this bug report a few hours ago and it crashed as it had always done. This is too freaky.

tobia commented May 16, 2016

What the heck is going on? I just opened it after enabling debugging options, with the intent of taking a bug report, and it didn't crash! It started and I can read the messages I thought I had lost!

I did the exact same thing before filing this bug report a few hours ago and it crashed as it had always done. This is too freaky.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger May 16, 2016

Contributor

If you can provide logs from adb logcat, it might be enough to determine the problem.

Contributor

thestinger commented May 16, 2016

If you can provide logs from adb logcat, it might be enough to determine the problem.

@n1m1

This comment has been minimized.

Show comment Hide comment
@n1m1

n1m1 May 16, 2016

Same phone, same release, I am not experiencing any kind of issues related to Silence.

Cheers.

n1m1 commented May 16, 2016

Same phone, same release, I am not experiencing any kind of issues related to Silence.

Cheers.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger May 19, 2016

Contributor

Silence has been upgraded to 0.14.3 from 0.14.1. Several issues that could have led to this have been fixed upstream. Needs testing again in the next release of CopperheadOS. If other issues come up, then there's a good chance they are not the same one. Either way, I need logs at a minimum to consider app crashes as bugs.

Contributor

thestinger commented May 19, 2016

Silence has been upgraded to 0.14.3 from 0.14.1. Several issues that could have led to this have been fixed upstream. Needs testing again in the next release of CopperheadOS. If other issues come up, then there's a good chance they are not the same one. Either way, I need logs at a minimum to consider app crashes as bugs.

@thestinger thestinger closed this May 19, 2016

@luther9

This comment has been minimized.

Show comment Hide comment
@luther9

luther9 May 26, 2016

I'm having this exact same problem. Build number MTC19T.2016.05.24.21.38.49. Silence version 0.14.3. I have no idea how to get logs.

luther9 commented May 26, 2016

I'm having this exact same problem. Build number MTC19T.2016.05.24.21.38.49. Silence version 0.14.3. I have no idea how to get logs.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger May 26, 2016

Contributor

Via adb logcat with the device attached to the computer and USB debugging enabled in developer settings.

Contributor

thestinger commented May 26, 2016

Via adb logcat with the device attached to the computer and USB debugging enabled in developer settings.

@luther9

This comment has been minimized.

Show comment Hide comment
@luther9

luther9 May 26, 2016

The Nexus 5X does not seem to have a USB port. I've never seen a charging cable like that before.

luther9 commented May 26, 2016

The Nexus 5X does not seem to have a USB port. I've never seen a charging cable like that before.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger May 26, 2016

Contributor

It's a USB C port. Need a USB C to USB A cable.

Contributor

thestinger commented May 26, 2016

It's a USB C port. Need a USB C to USB A cable.

@thestinger thestinger reopened this May 26, 2016

@luther9

This comment has been minimized.

Show comment Hide comment
@luther9

luther9 May 26, 2016

Thanks, I'll see if I can get one. (I guess I'll also have to download Android SDK.)

luther9 commented May 26, 2016

Thanks, I'll see if I can get one. (I guess I'll also have to download Android SDK.)

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger May 26, 2016

Contributor

The 6P actually comes with a USB C <-> USB A cable, but LG was too cheap to include one with the 5X.

Contributor

thestinger commented May 26, 2016

The 6P actually comes with a USB C <-> USB A cable, but LG was too cheap to include one with the 5X.

@luther9

This comment has been minimized.

Show comment Hide comment
@luther9

luther9 May 28, 2016

Ok, this is a log of me attempting to open Silence. All I can tell is that it throws a NullPointerException. Hopefully, you can read this stuff better than me. Let me know if you need any more info.

log.txt

luther9 commented May 28, 2016

Ok, this is a log of me attempting to open Silence. All I can tell is that it throws a NullPointerException. Hopefully, you can read this stuff better than me. Let me know if you need any more info.

log.txt

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger May 30, 2016

Contributor

Maybe clearing the app data in Settings -> Apps -> Silence will fix it. Could be some kind of race condition in the initial setup.

Contributor

thestinger commented May 30, 2016

Maybe clearing the app data in Settings -> Apps -> Silence will fix it. Could be some kind of race condition in the initial setup.

@luther9

This comment has been minimized.

Show comment Hide comment
@luther9

luther9 May 30, 2016

That did indeed fix it!

To be clear, this is what I did to fix it:

Settings > Apps > Silence > Storage > Clear Data

luther9 commented May 30, 2016

That did indeed fix it!

To be clear, this is what I did to fix it:

Settings > Apps > Silence > Storage > Clear Data

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger May 30, 2016

Contributor

It's possible that this is actually fixed by the new version of Silence, but it's hard to confirm it. I'm not sure what causes the problem to be triggered in the first place.

Contributor

thestinger commented May 30, 2016

It's possible that this is actually fixed by the new version of Silence, but it's hard to confirm it. I'm not sure what causes the problem to be triggered in the first place.

@luther9

This comment has been minimized.

Show comment Hide comment
@luther9

luther9 May 30, 2016

Well, in my case, I got the phone on Wednesday and installed both of the two most recent system updates (in chronological order; I have most recent one installed.) before trying to start Silence.

luther9 commented May 30, 2016

Well, in my case, I got the phone on Wednesday and installed both of the two most recent system updates (in chronological order; I have most recent one installed.) before trying to start Silence.

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger May 30, 2016

Contributor

I think it runs automatically as a service even before then though.

Contributor

thestinger commented May 30, 2016

I think it runs automatically as a service even before then though.

@thestinger thestinger closed this Jun 4, 2016

@thestinger

This comment has been minimized.

Show comment Hide comment
@thestinger

thestinger Jun 4, 2016

Contributor

There's still no known way to reproduce this, and I doubt it's a CopperheadOS bug.

Contributor

thestinger commented Jun 4, 2016

There's still no known way to reproduce this, and I doubt it's a CopperheadOS bug.

@SamYaple

This comment has been minimized.

Show comment Hide comment
@SamYaple

SamYaple Oct 5, 2016

I don't think this is a CopperheadOS bug either, however I can reproduce it. Powering off the system immediately after it starts on a fresh install seemed to break it for me. I have linked the related failure I had. Seems to do with it creating the initial encryption keys? Either way I was able to reproduce this 3 times in a row by flashing fresh install, rebooting as soon as android starts, before opening Silence.

Workaround for me was to simply use Silence before the first reboot. Alternatively, waiting 10 minutes before rebooting was also successful.

WhisperSystems/Signal-Android#4155

SamYaple commented Oct 5, 2016

I don't think this is a CopperheadOS bug either, however I can reproduce it. Powering off the system immediately after it starts on a fresh install seemed to break it for me. I have linked the related failure I had. Seems to do with it creating the initial encryption keys? Either way I was able to reproduce this 3 times in a row by flashing fresh install, rebooting as soon as android starts, before opening Silence.

Workaround for me was to simply use Silence before the first reboot. Alternatively, waiting 10 minutes before rebooting was also successful.

WhisperSystems/Signal-Android#4155

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