Closed Bug 923369 Opened 12 years ago Closed 12 years ago

b2g may crash if b2g process restarts with bluetooth enabled

Categories

(Firefox OS Graveyard :: Bluetooth, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: echou, Assigned: echou)

Details

(Keywords: crash, regression, Whiteboard: [b2g-crash])

Attachments

(1 file)

STR: 1. Leave Bluetooth enabled and restart b2g process. 2. Navigate to Settings->Bluetooth 3. b2g crash It crashes because Gaia calls StartDiscovery() but Gecko cannot find valid sAdapterPath. I traced the code and found that GetDefaultAdapterPath() always returned false, which is because function RawDBusConnection::SendWithError() always returns false. This is a regression of bug 919913. Patch incoming.
Keywords: regression
blocking-b2g: --- → 1.3?
Keywords: crash
Whiteboard: [b2g-crash]
Comment on attachment 813438 [details] [diff] [review] patch 1: v1: Return true when RawDBusConnection::SendWithError() executed without any error Yeah, this looks much better. Sorry for making such an obvious mistake. BTW: I'm not officially allowed to r+ this. In case someone cares, you might want to ask Kyle as well.
Attachment #813438 - Flags: review?(tzimmermann) → review+
(In reply to Thomas Zimmermann [:tzimmermann] [:tdz] from comment #2) > Comment on attachment 813438 [details] [diff] [review] > patch 1: v1: Return true when RawDBusConnection::SendWithError() executed > without any error > > Yeah, this looks much better. Sorry for making such an obvious mistake. > > BTW: I'm not officially allowed to r+ this. In case someone cares, you might > want to ask Kyle as well. Sure. Thanks. :)
Comment on attachment 813438 [details] [diff] [review] patch 1: v1: Return true when RawDBusConnection::SendWithError() executed without any error Hi Kyle, Please review my patch. It's a simple one-line patch. Thanks!
Attachment #813438 - Flags: review?(kyle)
Attachment #813438 - Flags: review?(kyle) → review+
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
only impacting master already fixed in v1.3 master clear flag
blocking-b2g: 1.3? → ---
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: