Autophone - Fennec on Nexus 6P 6.0.1 SEGVs and fails to create profile

RESOLVED FIXED

Status

Testing
Autophone
RESOLVED FIXED
2 years ago
2 years ago

People

(Reporter: bc, Assigned: bc)

Tracking

(Blocks: 1 bug, {crash})

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments, 1 obsolete attachment)

(Assignee)

Description

2 years ago
Created attachment 8710095 [details]
tombstone_00

While testing other patches, I found that Nexus 6P running Android 6.0.1 started failing with the merge to mozilla-inbound this morning.

https://treeherder.allizom.org/#/jobs?filter-searchStr=autophone&exclusion_profile=false&repo=mozilla-inbound&filter-tier=1&filter-tier=2&filter-tier=3&fromchange=cbb0ad1e2118&tochange=8b78eccf2c29

https://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?changeset=0c3fe09df5f1

This *appears* to be related to the Android 6.0 runtime permissions bug 1212830 though I haven't tested fx-team yet to determine which changeset is to blame *yet*.

No minidumps are produced but tombstones are. See attached for one of several. It appears to be related to 

> 2016-01-20 12:13:31,042|16100|MainThread|phonetest|DEBUG|nexus-6p-3|20160120063719|remote-tsvg|analyze_logcat: 01-20 15:13:27.646 E/SQLiteLog(12170): (14) cannot open file at line 31278 of [2ef4f3a5b1]
> 2016-01-20 12:13:31,043|16100|MainThread|phonetest|DEBUG|nexus-6p-3|20160120063719|remote-tsvg|analyze_logcat: 01-20 15:13:27.646 E/SQLiteLog(12170): (14) os_unix.c:31278: (2) open(/sdcard/tests/autophone/profile/browser.db) -
> 2016-01-20 12:13:31,043|16100|MainThread|phonetest|DEBUG|nexus-6p-3|20160120063719|remote-tsvg|analyze_logcat: 01-20 15:13:27.648 E/SQLiteDatabase(12170): Failed to open database '/sdcard/tests/autophone/profile/browser.db'.
> 2016-01-20 12:13:31,043|16100|MainThread|phonetest|DEBUG|nexus-6p-3|20160120063719|remote-tsvg|analyze_logcat: 01-20 15:13:27.648 E/SQLiteDatabase(12170): android.database.sqlite.SQLiteCantOpenDatabaseException: unknown error (code 14): Could not open database
(Assignee)

Updated

2 years ago
tracking-fennec: --- → ?
In case it is runtime permissions, let's check if "install -g" avoids the crash.

Updated

2 years ago
See Also: → bug 1234799
(Assignee)

Comment 2

2 years ago
gbrown: Thanks! I completely forgot about that. Testing a patch now.

https://treeherder.allizom.org/#/jobs?repo=fx-team&exclusion_profile=false&filter-searchStr=autophone&filter-tier=1&filter-tier=2&filter-tier=3&fromchange=4824324ae869&tochange=041549a67f09
(Assignee)

Comment 3

2 years ago
Looking good for the install -g so far.
Assignee: nobody → bob
Status: NEW → ASSIGNED
tracking-fennec: ? → ---
Component: General → Autophone
Product: Firefox for Android → Testing
(Assignee)

Comment 4

2 years ago
Created attachment 8710130 [details] [diff] [review]
bug-1241267-install-g-v1.patch
Attachment #8710130 - Flags: review?(gbrown)

Updated

2 years ago
Attachment #8710130 - Flags: review?(gbrown) → review+
(Assignee)

Comment 5

2 years ago
Attempting on neuxs-one-3 android 2.3.6 gives

Error: Unknown option: -g

with Android Debug Bridge version 1.0.32
Revision eac51f2bb6a8-android

so, need to detect the version before using -g.
(Assignee)

Comment 6

2 years ago
Created attachment 8710439 [details] [diff] [review]
bug-1241267-install-g-v2.patch

Check sdk version >= 23.
Attachment #8710130 - Attachment is obsolete: true
Attachment #8710439 - Flags: review?(gbrown)

Updated

2 years ago
Attachment #8710439 - Flags: review?(gbrown) → review+
(Assignee)

Comment 7

2 years ago
https://github.com/mozilla/autophone/commit/7d2dc4af69cc9b1f8549673f178f84eaacf928f4
(Assignee)

Updated

2 years ago
Blocks: 1241553
(Assignee)

Updated

2 years ago
Status: ASSIGNED → RESOLVED
Last Resolved: 2 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.