Closed
Bug 892908
Opened 11 years ago
Closed 11 years ago
[STK]When the user input 'ENTER KEY' in the GET_INPUT of the STK Command, the B2G is reboot.
Categories
(Firefox OS Graveyard :: Gaia::System, defect, P1)
Tracking
(blocking-b2g:leo+, b2g18 fixed, b2g-v1.1hd fixed)
People
(Reporter: leo.bugzilla.gaia, Assigned: gerard-majax)
Details
(Whiteboard: [u=commsapps-user c=stk p=1][leoVB+])
Attachments
(1 file)
When the user input 'ENTER KEY' in the GET_INPUT of the the STK Command, the B2G process is reboot. Gaia : 0d5a9a7577f16b6a72a982148c6f509ee1714ea2 Gecko : 499c1f8ea7ad0cdaa7086214278e2944b8a2ea33 Frequence rate : 100%
Assignee | ||
Comment 1•11 years ago
|
||
I'm reproducing this :)
Assignee | ||
Comment 2•11 years ago
|
||
logcat shows: E/GeckoConsole( 717): [JavaScript Error: "[Exception... "Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIObserverService.removeObserver]" nsresult: "0x80004005 (NS_ERROR_FAILURE)" location: "JS frame :: resource://gre/modules/DOMRequestHelper.jsm :: DOMRequestIpcHelperMessageListener.prototype.destroy :: line 85" data: no]" {file: "resource://gre/modules/DOMRequestHelper.jsm" line: 85}] Also, putting gdb on all running process, there seem to be no segfault or crash. And while homescreen and settings process are restarted, the b2g process itself keeps the same pid.
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → lissyx+mozillians
Whiteboard: [u=commsapps-user c=stk p=1]
Assignee | ||
Comment 3•11 years ago
|
||
In the end this was quite trivial. Discussing with :etienne, he pointed me at old similar issues. What happens here is that there is a <form> with no submit. Hence, when tapping the Enter key, the user triggers onsubmit, which in the case of no submit action defined decides to reload the application. And STK code lives in system application.
Assignee | ||
Comment 4•11 years ago
|
||
Please find attached a link to Github pull request https://github.com/mozilla-b2g/gaia/pull/10944
Attachment #774637 -
Flags: review?(frsela)
Comment 5•11 years ago
|
||
Comment on attachment 774637 [details] Link to Github https://github.com/mozilla-b2g/gaia/pull/10944 r+ but since this issue can happen with other forms too, I suggest to modify all forms under 'icc-view'
Attachment #774637 -
Flags: review?(frsela) → review+
Assignee | ||
Comment 6•11 years ago
|
||
Could you please merge this one ? Thanks !
Assignee | ||
Updated•11 years ago
|
Keywords: checkin-needed
Comment 7•11 years ago
|
||
PUSH ZEE BUTTON! https://github.com/mozilla-b2g/gaia/commit/fa6a7d2530ce4a383ee440d8197930afbf03b3f9
Status: NEW → RESOLVED
Closed: 11 years ago
status-b2g18:
--- → affected
Keywords: checkin-needed
Resolution: --- → FIXED
Comment 8•11 years ago
|
||
Uplifted fa6a7d2530ce4a383ee440d8197930afbf03b3f9 to: v1-train: 210107c8bee0b6b4de05c65d9956d7b3028ce763
Comment 9•11 years ago
|
||
v1.1.0hd: 210107c8bee0b6b4de05c65d9956d7b3028ce763
status-b2g-v1.1hd:
--- → fixed
Whiteboard: [u=commsapps-user c=stk p=1] → [u=commsapps-user c=stk p=1][leoVB+]
You need to log in
before you can comment on or make changes to this bug.
Description
•