Closed Bug 721266 Opened 13 years ago Closed 13 years ago

B2G Telephony - not possible to call in to b2g device immediately after reboot

Categories

(Core :: DOM: Device Interfaces, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 720811

People

(Reporter: jhammink, Assigned: philikon)

References

Details

from https://github.com/jonallengriffin/B2G pulled and merged approx 10 a.m. p.s.t 1/25/2012 Samsung Galaxy S2 with working SIM card installed. It is not possible to call into a B2G phone immediately after reboot - or before a call out has been made to the calling phone in question FROM the B2G device. To repro: 1. Reboot the device: $ adb reboot 2. Grep in logcat for all telephony originating from a particular remote number: $ adb logcat | grep 12163393297 3. Try to call into the B2G phone from that remote number. NOTE: Call does not terminate. Message does not even show up on ADB logcat that call originates from that number. Incoming caller gets provider message about mailbox that's not configured. 4. Call out from B2G phone to the remote phone. 5. Call terminates and can be picked up on remote phone. Logcat shows information about the call. 6. NOW call into the B2G device from the remote phone. Call goes through, can be answered on remote phone. Logcat shows information about the call.
this is the total $adb logcat output after that errant first call: --------- beginning of /dev/log/main E/AudioHardwareYamaha( 2563): ### wbamrStatus = 0### I/Gecko ( 2587): RIL Worker: Received 184 bytes. I/Gecko ( 2587): RIL Worker: Already read 0 I/Gecko ( 2587): RIL Worker: New incoming parcel of size 8 I/Gecko ( 2587): RIL Worker: Parcel (size 8): 1,0,0,0,250,3,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Unsolicited response for request type 1018 I/Gecko ( 2587): RIL Worker: Handling parcel as UNSOLICITED_CALL_RING I/Gecko ( 2587): RIL Worker: New incoming parcel of size 8 I/Gecko ( 2587): RIL Worker: Parcel (size 8): 1,0,0,0,233,3,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Unsolicited response for request type 1001 I/Gecko ( 2587): RIL Worker: Handling parcel as UNSOLICITED_RESPONSE_CALL_STATE_CHANGED I/Gecko ( 2587): RIL Worker: Outgoing parcel: 0,0,0,8,9,0,0,0,39,1,0,0 I/Gecko ( 2587): RIL Worker: New incoming parcel of size 16 I/Gecko ( 2587): RIL Worker: Parcel (size 16): 1,0,0,0,9,43,0,0,1,0,0,0,0,0,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Unsolicited response for request type 11017 I/Gecko ( 2587): RIL Worker: Parcel handler didn't consume whole parcel, 8 bytes left over I/Gecko ( 2587): RIL Worker: New incoming parcel of size 136 I/Gecko ( 2587): RIL Worker: Parcel (size 136): 1,0,0,0,2,43,0,0,60,0,0,0,98,0,114,0,111,0,97,0,100,0,99,0,97,0,115,0,116,0,32,0,45,0,97,0,32,0,97,0,110,0,100,0,114,0,111,0,105,0,100,0,46,0,105,0,110,0,116,0,101,0,110,0,116,0,46,0,97,0,99,0,116,0,105,0,111,0,110,0,46,0,87,0,66,0,95,0,65,0,77,0,82,0,32,0,45,0,45,0,101,0,105,0,32,0,69,0,88,0,84,0,82,0,65,0,95,0,83,0,84,0,65,0,84,0,69,0,32,0,48,0,0,0,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Unsolicited response for request type 11010 I/Gecko ( 2587): RIL Worker: Parcel handler didn't consume whole parcel, 128 bytes left over I/Gecko ( 2587): RIL Worker: Next parcel size unknown, going to sleep. I/Gecko ( 2587): RIL Worker: Received 100 bytes. I/Gecko ( 2587): RIL Worker: Already read 0 I/Gecko ( 2587): RIL Worker: New incoming parcel of size 96 I/Gecko ( 2587): RIL Worker: Parcel (size 96): 0,0,0,0,39,1,0,0,0,0,0,0,1,0,0,0,4,0,0,0,1,0,0,0,129,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,1,0,0,0,0,0,0,0,0,0,0,0,10,0,0,0,50,0,49,0,54,0,51,0,51,0,57,0,51,0,50,0,57,0,55,0,0,0,0,0,0,0,0,0,255,255,255,255,0,0,0,0,0,0,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Solicited response for request type 9, token 295 I/Gecko ( 2587): RIL Worker: Handling parcel as REQUEST_GET_CURRENT_CALLS I/Gecko ( 2587): RIL Worker: Outgoing parcel: 0,0,0,16,53,0,0,0,40,1,0,0,1,0,0,0,0,0,0,0 I/Gecko ( 2587): RIL Worker: Next parcel size unknown, going to sleep. I/Gecko ( 2587): RIL Worker: Received 16 bytes. I/Gecko ( 2587): RIL Worker: Already read 0 I/Gecko ( 2587): RIL Worker: New incoming parcel of size 12 I/Gecko ( 2587): RIL Worker: Parcel (size 12): 0,0,0,0,40,1,0,0,0,0,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Solicited response for request type 53, token 296 I/Gecko ( 2587): RIL Worker: Handling parcel as REQUEST_SET_MUTE I/Gecko ( 2587): RIL Worker: Next parcel size unknown, going to sleep. I/Gecko ( 2587): -- TelephonyWorker component: Received message: {"type":"callStateChange","call":{"callIndex":1,"state":4,"number":"2163393297","name":null}} I/Gecko ( 2587): -- TelephonyWorker component: handleCallStateChange: {"callIndex":1,"state":4,"number":"2163393297","name":null} I/ServiceManager( 2563): (B2G) Returning fake true permission: android.permission.MODIFY_AUDIO_SETTINGS from uid=0 pid=2587 I/ServiceManager( 2563): (B2G) Returning fake true permission: android.permission.MODIFY_AUDIO_SETTINGS from uid=0 pid=2587 V/AudioHardwareYamaha( 2563): AudioHardware::setMode(mode=0) W/AudioPolicyManager( 2563): setPhoneState() setting same state 0 I/Gecko ( 2587): -- TelephonyWorker component: No active call, put audio system into PHONE_STATE_NORMAL. E/AudioHardwareYamaha( 2563): ### wbamrStatus = 0### I/Gecko ( 2587): RIL Worker: Received 160 bytes. I/Gecko ( 2587): RIL Worker: Already read 0 I/Gecko ( 2587): RIL Worker: New incoming parcel of size 16 I/Gecko ( 2587): RIL Worker: Parcel (size 16): 1,0,0,0,9,43,0,0,1,0,0,0,0,0,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Unsolicited response for request type 11017 I/Gecko ( 2587): RIL Worker: Parcel handler didn't consume whole parcel, 8 bytes left over I/Gecko ( 2587): RIL Worker: New incoming parcel of size 136 I/Gecko ( 2587): RIL Worker: Parcel (size 136): 1,0,0,0,2,43,0,0,60,0,0,0,98,0,114,0,111,0,97,0,100,0,99,0,97,0,115,0,116,0,32,0,45,0,97,0,32,0,97,0,110,0,100,0,114,0,111,0,105,0,100,0,46,0,105,0,110,0,116,0,101,0,110,0,116,0,46,0,97,0,99,0,116,0,105,0,111,0,110,0,46,0,87,0,66,0,95,0,65,0,77,0,82,0,32,0,45,0,45,0,101,0,105,0,32,0,69,0,88,0,84,0,82,0,65,0,95,0,83,0,84,0,65,0,84,0,69,0,32,0,48,0,0,0,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Unsolicited response for request type 11010 I/Gecko ( 2587): RIL Worker: Parcel handler didn't consume whole parcel, 128 bytes left over I/Gecko ( 2587): RIL Worker: Next parcel size unknown, going to sleep. I/Gecko ( 2587): RIL Worker: Received 12 bytes. I/Gecko ( 2587): RIL Worker: Already read 0 I/Gecko ( 2587): RIL Worker: New incoming parcel of size 8 I/Gecko ( 2587): RIL Worker: Parcel (size 8): 1,0,0,0,233,3,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Unsolicited response for request type 1001 I/Gecko ( 2587): RIL Worker: Handling parcel as UNSOLICITED_RESPONSE_CALL_STATE_CHANGED I/Gecko ( 2587): RIL Worker: Outgoing parcel: 0,0,0,8,9,0,0,0,41,1,0,0 I/Gecko ( 2587): RIL Worker: Next parcel size unknown, going to sleep. I/Gecko ( 2587): RIL Worker: Received 16 bytes. I/Gecko ( 2587): RIL Worker: Already read 0 I/Gecko ( 2587): RIL Worker: New incoming parcel of size 12 I/Gecko ( 2587): RIL Worker: Parcel (size 12): 0,0,0,0,41,1,0,0,0,0,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Solicited response for request type 9, token 297 I/Gecko ( 2587): RIL Worker: Handling parcel as REQUEST_GET_CURRENT_CALLS I/Gecko ( 2587): RIL Worker: Outgoing parcel: 0,0,0,16,53,0,0,0,42,1,0,0,1,0,0,0,1,0,0,0 I/Gecko ( 2587): RIL Worker: Next parcel size unknown, going to sleep. I/Gecko ( 2587): RIL Worker: Received 16 bytes. I/Gecko ( 2587): RIL Worker: Already read 0 I/Gecko ( 2587): RIL Worker: New incoming parcel of size 12 I/Gecko ( 2587): RIL Worker: Parcel (size 12): 0,0,0,0,42,1,0,0,0,0,0,0 I/Gecko ( 2587): RIL Worker: We have at least one complete parcel. I/Gecko ( 2587): RIL Worker: Solicited response for request type 53, token 298 I/Gecko ( 2587): RIL Worker: Handling parcel as REQUEST_SET_MUTE I/Gecko ( 2587): RIL Worker: Next parcel size unknown, going to sleep. I/Gecko ( 2587): -- TelephonyWorker component: Received message: {"type":"callDisconnected","call":{"callIndex":1}} I/Gecko ( 2587): -*- TelephonyWorker component: handleCallDisconnected: {"callIndex":1} E/GeckoConsole( 2587): [JavaScript Error: "this._activeCall is null" {file: "jar:file:///system/b2g/omni.ja!/components/nsTelephonyWorker.js" line: 235}]
Assignee: nobody → philipp
Status: NEW → ASSIGNED
This is still appearing in the latest gonk/gaia pull from 1/26 But now, this first incoming call appears in adb logcat, even though call terminates to unconfigured voicemailbox as before: mozilla@ubuntu:~/gits/B2G/gecko$ adb logcat | grep 216 I/Gecko ( 2801): -*- RadioInterfaceLayer: Received message: {"type":"callStateChange","call":{"callIndex":1,"state":4,"number":"2163393297","name":null}} I/Gecko ( 2801): -*- RadioInterfaceLayer: handleCallStateChange: {"callIndex":1,"state":4,"number":"2163393297","name":null} Also, as before, the second incoming-to-b2g call (after first calling to remote phone from b2g phone) terminates to the phone correctly and can be answered normally. Here is adb logcat | grep 216 output: I/Gecko ( 2801): -*- RadioInterfaceLayer: handleCallStateChange: {"callIndex":1,"state":0,"number":"2163393297","name":null}
Status: ASSIGNED → NEW
(In reply to John Hammink from comment #1) > E/GeckoConsole( 2587): [JavaScript Error: "this._activeCall is null" {file: > "jar:file:///system/b2g/omni.ja!/components/nsTelephonyWorker.js" line: 235}] That looks like bug 720811. It has been fixed already, but probably not bubbled up yet to B2G's gecko fork. I can't reproduce the bug with the patch applied.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.