crash in java.lang.IllegalStateException: Couldn''t move cursor to position -1 at org.mozilla.gecko.home.MultiTypeCursorAdapter.getCursor(MultiTypeCursorAdapter.java)

RESOLVED INCOMPLETE

Status

()

--
critical
RESOLVED INCOMPLETE
5 years ago
6 months ago

People

(Reporter: aaronmt, Unassigned)

Tracking

({crash, steps-wanted})

27 Branch
All
Android
crash, steps-wanted
Points:
---

Firefox Tracking Flags

(firefox30 affected, firefox43 affected)

Details

(crash signature)

(Reporter)

Description

5 years ago
This bug was filed from the Socorro interface and is 
report bp-ce9fa20c-505b-422e-8503-39cb52130925.
=============================================================

I hit this while monkey fuzzing, not sure what the steps are manually. Thought this was fixed with bug 911828 :/

--
Nightly (09/25) | LG Nexus 4 (Android 4.3)
(Reporter)

Comment 1

5 years ago
java.lang.IllegalStateException: Couldn't move cursor to position -1
	at org.mozilla.gecko.home.MultiTypeCursorAdapter.getCursor(MultiTypeCursorAdapter.java:49)
	at org.mozilla.gecko.home.MostRecentPage$1.onItemClick(MostRecentPage.java:108)
	at org.mozilla.gecko.home.HomeListView$1.onItemClick(HomeListView.java:112)
	at android.widget.AdapterView.performItemClick(AdapterView.java:298)
	at android.widget.AbsListView.performItemClick(AbsListView.java:1100)
	at android.widget.AbsListView.onKeyUp(AbsListView.java:2929)
	at android.widget.ListView.commonKey(ListView.java:2267)
	at android.widget.ListView.onKeyUp(ListView.java:2122)
	at android.view.KeyEvent.dispatch(KeyEvent.java:2647)
(Reporter)

Comment 2

5 years ago
Can consistently hit this multiple times with just doing '$ monkey -p org.mozilla.fennec -v 3000'
I don't think I have this monkey fuzzing tool... where do I get it? Also, can you watch Fennec in action while this is happening? Maybe that would give some hint as to manual steps to reproduce.
(Reporter)

Comment 4

5 years ago
(In reply to :Margaret Leibovic from comment #3)
> I don't think I have this monkey fuzzing tool... where do I get it? Also,
> can you watch Fennec in action while this is happening? Maybe that would
> give some hint as to manual steps to reproduce.

$ adb shell monkey -p org.mozilla.fennec -v <number> - where number is the number of pseudo-random number of events to send the the package supplied on command line.

You can watch but it's really fast and random each time.

If you click the crash report and go to reports it looks like I'm not the only one hitting this so far. It is low volume though.

Comment 5

5 years ago
I've reproduced this crash 14 times in an hour interval, performing monkey testing on a Motorola RAZR XT910 (Android 2.3.5) / Aurora 26.0a2 (2013-10-03)

Comment 6

5 years ago
Thanks!
(Reporter)

Comment 8

5 years ago
This crash continues to frequently comes up on my devices during UI fuzzing.

https://crash-stats.mozilla.com/report/index/5db85d5e-f4ac-45de-8207-8f07b2140218
status-firefox30: --- → affected
Playing with Monkey, I had the same crash with nightly
// CRASH: org.mozilla.fennec_sylvestre (pid 280)
// Short Msg: java.lang.IllegalStateException
// Long Msg: java.lang.IllegalStateException: Couldn't move cursor to position -1
// Build Label: generic/sdk/generic:2.3.7/GINGERBREAD/eng.ubuntu.20140123.014351:eng/test-keys
// Build Changelist: eng.ubuntu.20140123.014351
// Build Time: 1390441494000
// java.lang.IllegalStateException: Couldn't move cursor to position -1
//      at org.mozilla.gecko.home.MultiTypeCursorAdapter.getCursor(MultiTypeCursorAdapter.java:49)
//      at org.mozilla.gecko.home.HistoryPanel$1.onItemClick(HistoryPanel.java:97)
//      at org.mozilla.gecko.home.HomeListView$1.onItemClick(HomeListView.java:122)
status-firefox43: --- → affected

Updated

3 years ago
Crash Signature: [@ java.lang.IllegalStateException: Couldn''t move cursor to position -1 at org.mozilla.gecko.home.MultiTypeCursorAdapter.getCursor(MultiTypeCursorAdapter.java)] → [@ java.lang.IllegalStateException: Couldn''t move cursor to position -1 at org.mozilla.gecko.home.MultiTypeCursorAdapter.getCursor(MultiTypeCursorAdapter.java)] [@ java.lang.IllegalStateException: Couldn''t move cursor to position -1 at org.mozilla.geck…
No recent crashes in crash stats.
Status: NEW → RESOLVED
Last Resolved: 6 months ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.