Closed Bug 1503715 Opened 6 years ago Closed 5 years ago

Two NavigationDelegateTest crashed after enabling AccessibleCaret

Categories

(GeckoView :: General, defect, P3)

defect

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: TYLin, Unassigned)

References

Details

After enabling AccessibleCaret in bug 1493317, geckoview.test.NavigationDelegateTest.goBackAndForward and geckoview.test.NavigationDelegateTest.load_dataUri will crash like

https://treeherder.mozilla.org/#/jobs?repo=try&revision=cbc96c27507ab18ff4a65cbb726d1e43385498c6&selectedJob=208729749

This bug tracks
This bug tracks the work to enable AccessibleCaret or to investigate the root cause about that.
Ting-Yu are you taking this bug?
Assignee: nobody → aethanyc
Flags: needinfo?(eitan)
Flags: needinfo?(aethanyc)
Priority: -- → P3
TEST-UNEXPECTED-FAIL | org.mozilla.geckoview.test.NavigationDelegateTest.goBackAndForward | status -2

PROCESS-CRASH | org.mozilla.geckoview.test.NavigationDelegateTest.load_dataUri | application crashed [@ nsWindow::GeckoViewSupport::Open(mozilla::jni::LocalRef<mozilla::jni::TypedObject<_jclass*> > const&, mozilla::jni::Ref<mozilla::java::GeckoSession::Window, _jobject*> const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*> const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*> const&, mozilla::jni::Ref<mozilla::jni::Object, _jobject*
Flags: needinfo?(eitan)
Per Jim's comment in https://phabricator.services.mozilla.com/D10299#252254,

I do saw "MOZ_Assert: Assertion failure: IsSafeToRun(), at /builds/worker/workspace/build/src/obj-firefox/dist/include/mozilla/SchedulerGroup.h:78" in logcat-emulator-5554.log

 (This log is from "Job Details" panel on the treeherder https://treeherder.mozilla.org/#/jobs?repo=try&revision=b17d2039c91dbcf78d2b1c3350c2bcef578f96ad&selectedJob=209006333)

I've followed https://developer.mozilla.org/en-US/docs/Mozilla/Geckoview-Junit_Tests to reproduce it locally, and tried to do the following.

1. adb install -r obj-fennec/gradle/build/mobile/android/geckoview/outputs/apk/androidTest/officialWithGeckoBinaries/debug/geckoview-official-withGeckoBinaries-debug-androidTest.apk
Success
2. ./mach geckoview-junit org.mozilla.geckoview.test.NavigationDelegateTest

But I had no luck to produce the crash on my Mac with the Android emulator.
Assignee: aethanyc → nobody
Flags: needinfo?(aethanyc)
Product: Firefox for Android → GeckoView

Bug 1493317 has enabled AccessibleCaret in unit tests without any crashes. This bug can be closed.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.