Closed Bug 1241267 Opened 4 years ago Closed 4 years ago

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

Categories

(Testing :: Autophone, defect)

defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: bc, Assigned: bc)

References

(Blocks 1 open bug)

Details

(Keywords: crash)

Attachments

(2 files, 1 obsolete file)

Attached file 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
tracking-fennec: --- → ?
In case it is runtime permissions, let's check if "install -g" avoids the crash.
See Also: → 1234799
Looking good for the install -g so far.
Assignee: nobody → bob
Status: NEW → ASSIGNED
tracking-fennec: ? → ---
Component: General → Autophone
Product: Firefox for Android → Testing
Attached patch bug-1241267-install-g-v1.patch (obsolete) — Splinter Review
Attachment #8710130 - Flags: review?(gbrown)
Attachment #8710130 - Flags: review?(gbrown) → review+
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.
Check sdk version >= 23.
Attachment #8710130 - Attachment is obsolete: true
Attachment #8710439 - Flags: review?(gbrown)
Attachment #8710439 - Flags: review?(gbrown) → review+
Blocks: 1241553
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.