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

Crash (password request) OR call activity fails to stop OR call screen does not close after hanging up a call immediately

Open Rolf558 opened this issue 9 years ago • 12 comments

Hi,

If I make a call (both devices WebRTC enabled) and hang up immediately (before the recipient's phone rings) I often (but not always) get to Signal's login screen and have to enter the password again. I am not sure what happens. Perhaps Signal crashes and re-starts.

Found with build 3.31.0 for Android.

Rolf558 avatar Mar 09 '17 07:03 Rolf558

Hey @Rolf558, thanks for the report but please follow the issue template and include a debug log if possible.

moxie0 avatar Mar 09 '17 16:03 moxie0

Hi @moxie0,

please have a look at https://gist.github.com/9f5a33191c8391d6bae787ada75f6da6 and let me know if this one helps. (If not I could try to make a fresh cat.log directly after such a password request.)

Rolf558 avatar Mar 10 '17 07:03 Rolf558

I twitched a while between the call and hang-up button. I finally got Signal crashed. https://gist.github.com/McLoo/e38a7d645c1071cb7d3b83ef6e8888ba

Also sent the crash report (not sure if it really got sent...)

Will do some more twitching there, as I observed another bug. The first two times I did the rapid call and hang-up the call activity was not closed. Then the other 7 to 10 attempts all was fine, until the crash.

EDIT: Just noticed the handleLocalIceCandidate part. The called contact is a ICE contact, but not that called number

Log from the emulator, where the/a crash is reproducible: https://gist.github.com/McLoo/ac2f537c96c034c235b4667084396d10#file-gistfile1-txt-L448

McLoo avatar Mar 12 '17 18:03 McLoo

...hang-up the call activity was not closed.

I experienced this bug several times too. I had to force close Signal.

I have adjusted the summary.

Rolf558 avatar Mar 12 '17 19:03 Rolf558

Possibly related: #6305

cascheberg avatar Mar 13 '17 07:03 cascheberg

In build 3.31.3 (same with build 3.31.4) a new (third) phenomenon has been introduced:

After hanging up immediately the call screen often does no more close. (I have to hit the back button to get rid of the call screen).

Now we have either: a) crash (password request) b) call activity does not stop c) call screen does not close

Rolf558 avatar Mar 13 '17 21:03 Rolf558

Build 4.2.4 is still affected by these problems. Is additional information needed?

Rolf558 avatar Apr 05 '17 19:04 Rolf558

Signal 4.6.0 is still affected by these issues.

Is additional information required? I wonder why this bug report has no developer attention.

Rolf558 avatar May 16 '17 19:05 Rolf558

@moxie0 I would appreciate If would drop a note if I can do anything to support fixing this issues (without software development skills).

Rolf558 avatar May 16 '17 19:05 Rolf558

@moxie0 according to your request I have added a better description of the issue following the template. In addition I have added a cat.log.

Bug description

If I make a call (both devices WebRTC enabled) and hang up immediately (before the recipient's phone rings) I often (but not always) Signal shows unexpected behavior (refer to section Actual result).

Steps to reproduce

  • Call someone using Signal's built in WebRTC VoIP feature
  • Immediately hit the hang-up button

Actual result:

Now we have either: a) crash (password request because of app re-start) b) call activity does not stop c) call screen does not close

Epected result:

No crash. Call screen should close.

Screenshots

n/a

Device info

Device: LG G5 SE Android version: 7.0 Signal version: 4.6.1

Link to debug log https://gist.github.com/d4f21970266ee06f2c56033bfea18305

Rolf558 avatar May 28 '17 17:05 Rolf558

@moxie0 I cannot reproduce these issues anymore with Signal 4.9.x. It looks like it has been fixed. I think you can close it. Thanks.

Rolf558 avatar Aug 04 '17 08:08 Rolf558

Yeah, looks good now. :)

McLoo avatar Aug 04 '17 09:08 McLoo