Closed
Bug 995860
Opened 10 years ago
Closed 10 years ago
[tarako] b2g process restart when make a call with BT headset connected
Categories
(Firefox OS Graveyard :: Bluetooth, defect, P1)
Tracking
(blocking-b2g:1.3T+, b2g-v1.3T fixed)
Tracking | Status | |
---|---|---|
b2g-v1.3T | --- | fixed |
People
(Reporter: angelc04, Assigned: xinhe.yan)
References
Details
(Keywords: perf, Whiteboard: [c=memory p= s=2014.04.25 u=tarako] [MemShrink:P2] 1.3tarakorun2, OOM, )
Attachments
(2 files)
211.52 KB,
text/x-log
|
Details | |
1.16 KB,
patch
|
Details | Diff | Splinter Review |
Steps to reproduce ------------------------------------------------------------------ 1. Pair and connect tarako to a BT headset 2. Make a MO call --> You will see b2g process restarts. Attached is adb logcat. Test starts: 04-14 03:50:56.430 Test build -------------------------------------------------------------------- URL: https://pvtbuilds.mozilla.org/pvt/mozilla.org/b2gotoro/nightly/mozilla-b2g/28_v1_3t-tarako/latest/ Gaia b2802627a974795ccba989cede0540f20fadc633 Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/c8491a42d4e8 BuildID 20140413164001 Version 28.1 ro.build.version.incremental=eng.cltbld.20140413.210357
Reporter | ||
Updated•10 years ago
|
blocking-b2g: --- → 1.3T?
Reporter | ||
Comment 2•10 years ago
|
||
It seems to be specific to BT headset. The one I used to reproduce this problem is Jabra BT2045. I also tried on another one Jabra Talk, it could not reproduce this issue.
Reporter | ||
Comment 3•10 years ago
|
||
(In reply to pcheng from comment #2) > It seems to be specific to BT headset. > The one I used to reproduce this problem is Jabra BT2045. I also tried on > another one Jabra Talk, it could not reproduce this issue. Please ignore above comment. I reproduced again with Jabra Talk.
Comment 4•10 years ago
|
||
shawn, is this related to the other bug you are looking at? bug 994411?
Flags: needinfo?(shuang)
Flags: needinfo?(shuang)
See Also: → 989572
(In reply to Joe Cheng [:jcheng] from comment #4) > shawn, is this related to the other bug you are looking at? bug 994411? Yes, for bug 994411 tarako part (v1.3t), but not master branch. Can we discuss this bug for tarako and leave bug 994411 to master only?
Whiteboard: [c=memory p= s= u=tarako] [MemShrink] 1.3tarakorun2
It's clear that b2g was been killed due to low memory. 04-14 03:51:46.100 I/log ( 2950): <4>0[ 2900.705203] lowmem_shrink select 2678 (Homescreen), adj 8, size 5309, to kill 04-14 03:51:47.800 I/log ( 2951): <4>0[ 2902.569964] lowmem_shrink select 2609 (b2g), adj 0, size 23166, to kill
Updated•10 years ago
|
Whiteboard: [c=memory p= s= u=tarako] [MemShrink] 1.3tarakorun2 → [c=memory p= s= u=tarako] [MemShrink] 1.3tarakorun2, OOM
Updated•10 years ago
|
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → DUPLICATE
Comment 8•10 years ago
|
||
reopening per #: https://bugzilla.mozilla.org/show_bug.cgi?id=994411#c20
Status: RESOLVED → REOPENED
Resolution: DUPLICATE → ---
Comment 9•10 years ago
|
||
triage: it seems like there is some problem in the Bluetooth firmware upgrade. to James for now. thanks
Assignee: nobody → james.zhang
Whiteboard: [c=memory p= s= u=tarako] [MemShrink] 1.3tarakorun2, OOM → [c=memory p= s= u=tarako] [MemShrink] 1.3tarakorun2, OOM, [POVB]
Comment 10•10 years ago
|
||
This issue is caused by update of BT fw/binary. We cannot reproduce it w/ image on 3/31.
(In reply to Danny Liang [:dliang] from comment #10) > This issue is caused by update of BT fw/binary. We cannot reproduce it w/ > image on 3/31. Thanks for clarification. I hope we can know the root cause why memory is low after using bluetooth.
Updated•10 years ago
|
Assignee: james.zhang → xinhe.yan
Updated•10 years ago
|
Whiteboard: [c=memory p= s= u=tarako] [MemShrink] 1.3tarakorun2, OOM, [POVB] → [c=memory p= s= u=tarako] [MemShrink:P2] 1.3tarakorun2, OOM, [POVB]
(In reply to Danny Liang [:dliang] from comment #10) > This issue is caused by update of BT fw/binary. We cannot reproduce it w/ > image on 3/31. Hi Danny, Can you clarify how to do you make the problem
Component: RIL → Bluetooth
(In reply to Danny Liang [:dliang] from comment #10) > This issue is caused by update of BT fw/binary. We cannot reproduce it w/ > image on 3/31. Hi Danny, Can you clarify how to do you have the conclusion that this bug caused by BT fw/binary update?
Flags: needinfo?(dliang)
Assignee | ||
Comment 14•10 years ago
|
||
(In reply to Shawn Huang [:shuang] [:shawnjohnjr] from comment #12) > (In reply to Danny Liang [:dliang] from comment #10) > > This issue is caused by update of BT fw/binary. We cannot reproduce it w/ > > image on 3/31. > > Hi Danny, > Can you clarify how to do you make the problem device/sprd/partner/trout/bluetooth$ git log ./bt_ram_code.bin commit 18303da7f8898cca861b451a8e8de89760d92d0e Author: bing.li <bing.li@spreadtrum.com> Date: Tue Apr 8 19:47:02 2014 +0800 Bug#295133 merge the xunrui patch. [bug number ]295133 [root cause ] [changes ] [side effects] [self test ] smoke test ok. [reviewers ] Change-Id: I23c36e1a8cf2592b51da652884c486905956242a You can revert this commit and push bt_ram_code.bin to system/lib/modules/
Updated•10 years ago
|
Flags: needinfo?(dliang)
Assignee | ||
Comment 15•10 years ago
|
||
Just talk with BT guy. Bluetooth only need set up SCO link in this case. bt_ram_code.bin is for controller. Controller running in a separate ARM core. So We need find out why and who consume memory in this case.
Xinhe, I'm not sure why revert bluetooth firmware could make differences. But I dig into bug 994411 (for master branch) and found out the root cause. I'm not sure this is the case for tarako, since revert bt_ram_code.bin indeed make memory consumption problem disappear. Does bt_ram_code.bin affect modem?
Flags: needinfo?(xinhe.yan)
Comment 17•10 years ago
|
||
(In reply to Shawn Huang [:shuang] [:shawnjohnjr] from comment #16) > Xinhe, > I'm not sure why revert bluetooth firmware could make differences. But I dig > into bug 994411 (for master branch) and found out the root cause. I'm not > sure this is the case for tarako, since revert bt_ram_code.bin indeed make > memory consumption problem disappear. Does bt_ram_code.bin affect modem? Xinhe, Please try Shawn's patch (which is attached in bug 994411) with the latest bt firmware. Both Shawn and I consider that patch should be able to fix the issue w/o rolling back bt firmware version.
Assignee | ||
Comment 18•10 years ago
|
||
Yes, that patch can fix this bug without revert firmware. Can you rebase that patch to v1.3t branch?
Flags: needinfo?(xinhe.yan)
Comment 19•10 years ago
|
||
(In reply to Xinhe Yan from comment #18) > Yes, that patch can fix this bug without revert firmware. > > Can you rebase that patch to v1.3t branch? Please land bug 994411 patch on v1.3t.
Flags: needinfo?(echou)
Attachment #8408200 -
Attachment description: Bug995860.patch → Bug 995860 - [tarako] b2g process restart when make a call with BT headset connected, r=echou, a=1.3t+
Keywords: checkin-needed
Comment 21•10 years ago
|
||
(In reply to Shawn Huang [:shuang] [:shawnjohnjr] from comment #20) > Created attachment 8408200 [details] [diff] [review] > Bug 995860 - [tarako] b2g process restart when make a call with BT headset > connected, r=echou, a=1.3t+ Hi Sheriff, Please notice that this is a 1.3T-specific patch. The patch for m-c has landed in bug 994411. Thanks.
Flags: needinfo?(echou)
Comment 22•10 years ago
|
||
> Please notice that this is a 1.3T-specific patch. The patch for m-c has
s/notice/note
Comment 23•10 years ago
|
||
https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/9ff031daa73c
status-b2g-v1.3T:
--- → fixed
Updated•10 years ago
|
Keywords: checkin-needed
Comment 24•10 years ago
|
||
Xinhe will verify it on my side and close it.
Whiteboard: [c=memory p= s= u=tarako] [MemShrink:P2] 1.3tarakorun2, OOM, [POVB] → [c=memory p= s= u=tarako] [MemShrink:P2] 1.3tarakorun2, OOM,
Assignee | ||
Comment 25•10 years ago
|
||
Peipei, this patch already merge to our branch and fix this bug. Can you close this bug?
Reporter | ||
Comment 26•10 years ago
|
||
(In reply to Xinhe Yan from comment #25) > Peipei, > this patch already merge to our branch and fix this bug. > Can you close this bug? I will verify on mozilla build and the close it.
Reporter | ||
Updated•10 years ago
|
Flags: needinfo?(pcheng)
Reporter | ||
Comment 27•10 years ago
|
||
Verified on following build. MO and MT calls via BT headset could work now. Gaia f0872318d46781bb59d0a13a2e1fffb115b8ca2b Gecko https://hg.mozilla.org/releases/mozilla-b2g28_v1_3t/rev/9ff031daa73c BuildID 20140417164004 Version 28.1 ro.build.version.incremental=eng.cltbld.20140417.201933 ro.build.date=Thu Apr 17 20:19:40 EDT 2014
Status: REOPENED → RESOLVED
Closed: 10 years ago → 10 years ago
Flags: needinfo?(pcheng)
Resolution: --- → FIXED
Updated•10 years ago
|
Severity: normal → blocker
Keywords: perf
Priority: -- → P1
Whiteboard: [c=memory p= s= u=tarako] [MemShrink:P2] 1.3tarakorun2, OOM, → [c=memory p= s=2014.04.25 u=tarako] [MemShrink:P2] 1.3tarakorun2, OOM,
Updated•10 years ago
|
Target Milestone: --- → 1.4 S6 (25apr)
You need to log in
before you can comment on or make changes to this bug.
Description
•