[PBAP] Assertion failure: (mType) == (aType(unexpected type tag) at BluetoothTypes.h:248

RESOLVED FIXED in Firefox 45, Firefox OS v2.2r

Status

RESOLVED FIXED
3 years ago
3 years ago

People

(Reporter: shawnjohnjr, Assigned: ben.tian)

Tracking

unspecified
FxOS-S11 (13Nov)
ARM
Gonk (Firefox OS)

Firefox Tracking Flags

(blocking-b2g:2.2r+, firefox45 fixed, b2g-v2.2r fixed)

Details

Attachments

(2 attachments)

Assertion failure: (mType) == (aType(unexpected type tag) 

https://dxr.mozilla.org/mozilla-central/source/dom/bluetooth/bluedroid/BluetoothPbapManager.cpp?case=true&from=BluetoothPbapManager.cpp#540

 nsCString text((char *) buf);
 AppendNamedValue(aValues, "searchText", text);

https://dxr.mozilla.org/mozilla-central/source/dom/bluetooth/common/webapi/BluetoothAdapter.capp?from=BluetoothAdapter.cpp#1302
    } else if (name.EqualsLiteral("searchText")) {
      init.mSearchValue = value.get_nsString();
(Assignee)

Updated

3 years ago
Blocks: 1199528
(Assignee)

Comment 1

3 years ago
Created attachment 8681810 [details] [diff] [review]
[final] Patch 1: Convert nsCString to nsString for BluetoothVCardListingEvent.mSearchValue, r=shuang
Assignee: nobody → btian
Attachment #8681810 - Flags: review?(shuang)
Comment on attachment 8681810 [details] [diff] [review]
[final] Patch 1: Convert nsCString to nsString for BluetoothVCardListingEvent.mSearchValue, r=shuang

Review of attachment 8681810 [details] [diff] [review]:
-----------------------------------------------------------------

LGTM
Attachment #8681810 - Flags: review?(shuang) → review+
(Assignee)

Updated

3 years ago
Attachment #8681810 - Attachment description: Patch 1 (v1): Convert nsCString to nsString for BluetoothVCardListingEvent.mSearchValue → [final] Patch 1: Convert nsCString to nsString for BluetoothVCardListingEvent.mSearchValue, r=shuang
(Assignee)

Comment 4

3 years ago
Created attachment 8682310 [details] [diff] [review]
[2.2r] Patch 1: Convert nsCString to nsString for BluetoothVCardListingEvent.mSearchValue, r=shuang
(Assignee)

Comment 5

3 years ago
Set 2.2r blocker since the bug impacts on functionality of required bluetooth feature PBAP.
blocking-b2g: --- → 2.2r+

Comment 6

3 years ago
bugherder
https://hg.mozilla.org/mozilla-central/rev/ea945385ee9d
Status: NEW → RESOLVED
Last Resolved: 3 years ago
status-firefox45: --- → fixed
Resolution: --- → FIXED
Target Milestone: --- → FxOS-S11 (13Nov)
(Assignee)

Updated

3 years ago
status-b2g-v2.2r: --- → affected

Comment 7

3 years ago
bugherderuplift
https://hg.mozilla.org/releases/mozilla-b2g44_v2_5/rev/ea945385ee9d
status-b2g-v2.5: --- → fixed
landed on 2.2r as https://hg.mozilla.org/releases/mozilla-b2g37_v2_2r/rev/2c3d9aa77346
status-b2g-v2.2r: affected → fixed
removing the b2g 2.5 flag since this commit has been reverted due to an incorrect merge, sorry for the confusion
status-b2g-v2.5: fixed → ---
You need to log in before you can comment on or make changes to this bug.