Closed Bug 1091528 Opened 10 years ago Closed 10 years ago

[B2G][RIL] when receiving 'rilRequestType: 12', Error: Don't know about this message type: undefined" {file: "jar:file:///system/b2g/omni.ja!/components/RadioInterfaceL ayer.js" line: 1961}]

Categories

(Firefox OS Graveyard :: RIL, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hsinyi, Assigned: hsinyi)

Details

Attachments

(1 file, 1 obsolete file)

I/Gecko   ( 7478): -*- RadioInterface[0]: Received message from worker: {"rilRequestType":12,"rilRequestError":0,"success":true,"errorMsg":null,"rilMessageClientId     ":0}
W/GeckoConsole( 7478): [JavaScript Error: "Error: Don't know about this message type: undefined" {file: "jar:file:///system/b2g/omni.ja!/components/RadioInterfaceL     ayer.js" line: 1961}]


STR:Hang up a single call

root cause in [1]: we should keep options (specifically, rilMessageToken) because in [2] we will determine unsolicited message type by "rilMessageToken." 
[3] might sendChromeMessage without rilMessageToken that causes this error.

[1] dxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js?from=ril_worker.js#5469
[2] http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/RadioInterfaceLayer.js?from=RadioInterfaceLayer.js#1572
[3] http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js?from=ril_worker.js#5469
(In reply to Hsin-Yi Tsai [:hsinyi] from comment #0)
> I/Gecko   ( 7478): -*- RadioInterface[0]: Received message from worker:
> {"rilRequestType":12,"rilRequestError":0,"success":true,"errorMsg":null,
> "rilMessageClientId     ":0}
> W/GeckoConsole( 7478): [JavaScript Error: "Error: Don't know about this
> message type: undefined" {file:
> "jar:file:///system/b2g/omni.ja!/components/RadioInterfaceL     ayer.js"
> line: 1961}]
> 
> 
> STR:Hang up a single call
> 
> root cause in [1]: we should keep options (specifically, rilMessageToken)
> because in [2] we will determine unsolicited message type by
> "rilMessageToken." 
> [3] might sendChromeMessage without rilMessageToken that causes this error.
> 
> [1]
> dxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.
> js?from=ril_worker.js#5469

[1] should be here: http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.js?from=ril_worker.js#1776

> [2]
> http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/
> RadioInterfaceLayer.js?from=RadioInterfaceLayer.js#1572
> [3]
> http://dxr.mozilla.org/mozilla-central/source/dom/system/gonk/ril_worker.
> js?from=ril_worker.js#5469
Assignee: nobody → htsai
Attached patch WIP (obsolete) — Splinter Review
Attached patch WIPSplinter Review
Attachment #8514208 - Attachment is obsolete: true
Attachment #8514837 - Flags: review?(szchen)
Attachment #8514837 - Flags: review?(szchen) → review+
In your commit messages, please describe the code change, not the bug symptom. Thanks.
(In reply to :dmajor (back November 3) from comment #5)
> In your commit messages, please describe the code change, not the bug
> symptom. Thanks.

Thanks, will do next time.
https://hg.mozilla.org/mozilla-central/rev/70f2c7eabb86
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: