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

call not dropped but one party can't hear other

Open corbett opened this issue 12 years ago • 43 comments

"I used Signal on a call yesterday with an Android user, worked great for about 5 minutes, very low latency. Then he couldn't hear me any more, though I heard him. "

regarding the person who could not be heard whether they could have accidentally pushed the mute button "Guess I can't rule it out but I was using wired earbud/mic setup so unlikely. "

corbett avatar Jul 12 '14 13:07 corbett

Given the state of the Android client, if it involves the Android client, it's probably a problem with the Android client. =(

On 07/12/2014 06:41 AM, Christine Corbett Moran wrote:

"I used Signal on a call yesterday with an Android user, worked great for about 5 minutes, very low latency. Then he couldn't hear me any more, though I heard him. "

regarding the person who could not be heard whether they could have accidentally pushed the mute button "Guess I can't rule it out but I was using wired earbud/mic setup so unlikely. "

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22.

http://www.thoughtcrime.org

moxie0 avatar Jul 12 '14 15:07 moxie0

yea, we are lucky to run into the bugs not caused by us finally, perhaps! c

On Sat, Jul 12, 2014 at 5:53 PM, Moxie Marlinspike <[email protected]

wrote:

Given the state of the Android client, if it involves the Android client, it's probably a problem with the Android client. =(

On 07/12/2014 06:41 AM, Christine Corbett Moran wrote:

"I used Signal on a call yesterday with an Android user, worked great for about 5 minutes, very low latency. Then he couldn't hear me any more, though I heard him. "

regarding the person who could not be heard whether they could have accidentally pushed the mute button "Guess I can't rule it out but I was using wired earbud/mic setup so unlikely. "

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22.

http://www.thoughtcrime.org

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22#issuecomment-48815877 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 12 '14 15:07 corbett

this is unfortunately not an Android only thing, and seems systemic when iOS is involved anywhere. so far I've experienced all of the following in just 2 sets of calls with 2 people!

their iOS originates->Mine accepts (can't hear eachother) my iOS originates->Theirs accepts (can't hear earchother) their iOS originates->My droid accepts (can't hear eachother)

I have reports of one party being able to hear, but the other party not) The report from my mom, said that initially she accidentally didn't enable the microphone permission (which I think would only result in asymmetric lack of hearing, I hope!), but even after we changed that, we got nothing. Still it's something to look into whether an incorrect tap of this permission could have long term issues even when later changed within Settings.app

C

corbett avatar Jul 12 '14 19:07 corbett

OH, and the their iOS originates->My droid accepts (can't hear eachother) case resulted in us having a great conversation for 3 whole minutes, until mysteriously a lack of hearing on both parties occurred, and we never managed in any configuration to ever be able to hear eachother again :(

corbett avatar Jul 12 '14 19:07 corbett

this is the "Barton bug"

corbett avatar Jul 12 '14 19:07 corbett

OK so more investigating, I was able to have conversations with several other testers without this happening (one dropped call however), but it seems that once I had the Barton bug with a tester with those for whom it occurred, no amount of switching things up with them would get us out of Barton bug territory. so may be specific to a pair of testers. Though there is the one unlucky tester with whom I got it with iOS AND Droid :(.

corbett avatar Jul 12 '14 19:07 corbett

Uhm, not sure why this happens. It's important to double check with users that the microphone permission is allowed, I will add some extra checks for that.

Did they all re-register?

FredericJacobs avatar Jul 12 '14 20:07 FredericJacobs

I triple checked this with my mom, it is not the issue. I found it within my OWN calls as well between my two phones (some not all of the time!), and my permission is definitely enabled. Also it isn't consistent for a client, sometimes it happens and sometimes it doesn't. Sometimes it begins happening in the middle of a call, and then happens with every subsequent call. Thus this has very little to do with the permission for the majority of cases I have had it reported (my mom initially did not have the permission set, so there is at least one case where the user initially did not have the permission set but went back and changed it).

This will always happen with a pair of users where 1/2 of the pair doesn't have the microphone permission set, clearly.

On Sat, Jul 12, 2014 at 10:35 PM, Frederic Jacobs [email protected] wrote:

Uhm, not sure why this happens. It's important to double check with users that the microphone permission is allowed, I will add some extra checks for that.

Did they all re-register?

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22#issuecomment-48823349 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 12 '14 20:07 corbett

I can verify my mom reregistered after reinstall the app after wiping the app, at least. Myself as well, and I have experienced the Barton bug many a time firsthand.

C

On Sat, Jul 12, 2014 at 10:42 PM, Christine Corbett Moran < [email protected]> wrote:

I triple checked this with my mom, it is not the issue. I found it within my OWN calls as well between my two phones (some not all of the time!), and my permission is definitely enabled. Also it isn't consistent for a client, sometimes it happens and sometimes it doesn't. Sometimes it begins happening in the middle of a call, and then happens with every subsequent call. Thus this has very little to do with the permission for the majority of cases I have had it reported (my mom initially did not have the permission set, so there is at least one case where the user initially did not have the permission set but went back and changed it).

This will always happen with a pair of users where 1/2 of the pair doesn't have the microphone permission set, clearly.

On Sat, Jul 12, 2014 at 10:35 PM, Frederic Jacobs < [email protected]> wrote:

Uhm, not sure why this happens. It's important to double check with users that the microphone permission is allowed, I will add some extra checks for that.

Did they all re-register?

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22#issuecomment-48823349 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 12 '14 20:07 corbett

Uhm, I have a lead. Looking into it.

FredericJacobs avatar Jul 12 '14 20:07 FredericJacobs

I see some input and outputstream errors but I will have to add more fine-grained debugging to grasp a better understanding of what's going on since I can't reproduce now.

This issue has probably been there and was not introduced by changes I did in the key storage.

FredericJacobs avatar Jul 12 '14 21:07 FredericJacobs

Yes Barton, for whom the bug is named, said he has seen it in the past.

However I had never seen it (in probably 40-50 calls?), and now it has happened about 50% of the time for me. Could be a fluke.

C

On Sat, Jul 12, 2014 at 11:02 PM, Frederic Jacobs [email protected] wrote:

I see some input and outputstream errors but I will have to add more fine-grained debugging to grasp a better understanding of what's going on since I can't reproduce now.

This issue has probably been there and was not introduced by changes I did in the key storage.

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22#issuecomment-48823962 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 12 '14 21:07 corbett

Feel free to call me Fred, especially iOS->iOS as I think you test less often for that. I'm available at least 9pm-10pm everyday, but also call anytime and I might be able to pick up.

before the next build to beta I'll insist we have 10 calls. so get ready =)

C

On Sat, Jul 12, 2014 at 11:03 PM, Christine Corbett Moran < [email protected]> wrote:

Yes Barton, for whom the bug is named, said he has seen it in the past.

However I had never seen it (in probably 40-50 calls?), and now it has happened about 50% of the time for me. Could be a fluke.

C

On Sat, Jul 12, 2014 at 11:02 PM, Frederic Jacobs < [email protected]> wrote:

I see some input and outputstream errors but I will have to add more fine-grained debugging to grasp a better understanding of what's going on since I can't reproduce now.

This issue has probably been there and was not introduced by changes I did in the key storage.

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22#issuecomment-48823962 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 12 '14 21:07 corbett

Alright. I'll work a little on the NetworkStream and SRTPStream classes and get back at you.

FredericJacobs avatar Jul 12 '14 21:07 FredericJacobs

good news is no Andy bugs so far, so we can work our way through the alphabet.

On Sat, Jul 12, 2014 at 11:05 PM, Christine Corbett Moran < [email protected]> wrote:

Feel free to call me Fred, especially iOS->iOS as I think you test less often for that. I'm available at least 9pm-10pm everyday, but also call anytime and I might be able to pick up.

before the next build to beta I'll insist we have 10 calls. so get ready =)

C

On Sat, Jul 12, 2014 at 11:03 PM, Christine Corbett Moran < [email protected]> wrote:

Yes Barton, for whom the bug is named, said he has seen it in the past.

However I had never seen it (in probably 40-50 calls?), and now it has happened about 50% of the time for me. Could be a fluke.

C

On Sat, Jul 12, 2014 at 11:02 PM, Frederic Jacobs < [email protected]> wrote:

I see some input and outputstream errors but I will have to add more fine-grained debugging to grasp a better understanding of what's going on since I can't reproduce now.

This issue has probably been there and was not introduced by changes I did in the key storage.

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22#issuecomment-48823962 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 12 '14 21:07 corbett

Code for build with more logging for this issue is on a branch.

FredericJacobs avatar Jul 12 '14 22:07 FredericJacobs

cool, let me know when and if I should deploy, but should we do a limited beta between us (and maybe Barton) before going out to the full menagerie? are we ready for that? c

On Sun, Jul 13, 2014 at 12:39 AM, Frederic Jacobs [email protected] wrote:

Code for build with more logging for this issue is on a branch.

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22#issuecomment-48826001 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 13 '14 05:07 corbett

What's the status of the other testers? Are most of them affected by the Barton bug?

FredericJacobs avatar Jul 13 '14 08:07 FredericJacobs

as I mentioned it has been about 50% of all calls I have had lately (probably 15 calls total), spread over 5 testers, including myself, since deploy yesterday. but I'm not willing to spam people with a new beta every day, since I am able to reproduce the bug on my end (namely, as it happens in some fraction of calls, I make enough Signal calls to reliably have it once a day I believe without deploying a new beta).

C

On Sun, Jul 13, 2014 at 10:33 AM, Frederic Jacobs [email protected] wrote:

What's the status of the other testers? Are most of them affected by the Barton bug?

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22#issuecomment-48834910 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 13 '14 08:07 corbett

to be clearly 2/5 testers I spoke with since I named the Barton bug never reported experiencing the Barton bug.

On Sun, Jul 13, 2014 at 10:38 AM, Christine Corbett Moran < [email protected]> wrote:

as I mentioned it has been about 50% of all calls I have had lately (probably 15 calls total), spread over 5 testers, including myself, since deploy yesterday. but I'm not willing to spam people with a new beta every day, since I am able to reproduce the bug on my end (namely, as it happens in some fraction of calls, I make enough Signal calls to reliably have it once a day I believe without deploying a new beta).

C

On Sun, Jul 13, 2014 at 10:33 AM, Frederic Jacobs < [email protected]> wrote:

What's the status of the other testers? Are most of them affected by the Barton bug?

— Reply to this email directly or view it on GitHub https://github.com/WhisperSystems/Signal-iOS/issues/22#issuecomment-48834910 .

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

Christine Corbett Moran [email protected] Physics @ ICS.uzh.ch // Zurich: +41 79 962 4499 Dev @ http://circleof6app.com // Boston: +1 (617) 398-0452 Dev @ https://whispersystems.org // SF: +1 (415) 670 9629 www.christinecorbettmoran.com

corbett avatar Jul 13 '14 08:07 corbett