Closed
Bug 1067026
Opened 10 years ago
Closed 10 years ago
crash in java.lang.IllegalStateException: Error reading list.txt at org.mozilla.search.providers.SearchEngineManager.getAllEngines(SearchEngineManager.java)
Categories
(Firefox for Android Graveyard :: Search Activity, defect)
Tracking
(firefox35 verified, fennec35+)
VERIFIED
FIXED
Firefox 35
People
(Reporter: aaronmt, Assigned: Margaret)
References
Details
(Keywords: crash, reproducible)
Crash Data
Attachments
(1 file)
2.16 KB,
patch
|
rnewman
:
review+
|
Details | Diff | Splinter Review |
This bug was filed from the Socorro interface and is report bp-c800884e-b259-4058-b8ab-b32882140911. ============================================================= java.lang.IllegalStateException: Error reading list.txt at org.mozilla.search.providers.SearchEngineManager.getAllEngines(SearchEngineManager.java:139) at org.mozilla.search.SearchPreferenceActivity$2.doInBackground(SearchPreferenceActivity.java:120) at android.os.AsyncTask$2.call(AsyncTask.java:288) at java.util.concurrent.FutureTask.run(FutureTask.java:237) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:231) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1112) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:587) at java.lang.Thread.run(Thread.java:841) Comments "tried opening the settings of the search app"
Assignee | ||
Comment 3•10 years ago
|
||
This reminds me of the conversation in bug 1065123. This will happen if we can't find the list.txt files, which could happen if we're somehow creating the wrong path for the locale. Maybe we should land a patch to add some more logging to see what locale we're getting here. It would be really nice if someone could reproduce this, perhaps by trying out different locales.
Keywords: steps-wanted
Comment 4•10 years ago
|
||
My guess: they're using an OS locale that we don't ship. E.g., es_US. That'll result in a Fennec displayed in English, but the Java locale is still es_US. That'll give us a path of /es-US/, which doesn't exist. See also Bug 1045053, which is addressing a similar split.
Comment 5•10 years ago
|
||
So, STR for you to try: * Android settings. Language. Pick Español (Estados Unidos). * Launch Nightly. Verify that it's showing you English, not Spanish. * Open the search activity and hit settings.
Reporter | ||
Comment 6•10 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #5) > So, STR for you to try: > > * Android settings. Language. Pick Español (Estados Unidos). > * Launch Nightly. Verify that it's showing you English, not Spanish. > * Open the search activity and hit settings. Yep that did it.
Keywords: steps-wanted → reproducible
Assignee | ||
Comment 7•10 years ago
|
||
How does Fennec deal with this case? Does it just fall back to en-US? We could make the search activity just fall back to en-US instead of crashing.
Flags: needinfo?(rnewman)
Comment 8•10 years ago
|
||
If Gecko doesn't understand the OS locale, it believes it's in en-US (which is the source of Bug 1045053). Falling back to en-US seems like a reasonable choice, yeah :D
Flags: needinfo?(rnewman)
Assignee | ||
Comment 9•10 years ago
|
||
Attachment #8490358 -
Flags: review?(rnewman)
Updated•10 years ago
|
Attachment #8490358 -
Flags: review?(rnewman) → review+
Assignee | ||
Comment 10•10 years ago
|
||
https://github.com/mozilla/fennec-search/commit/a923dbbc198a805d499f63254b052abb56eedbf1 https://hg.mozilla.org/integration/fx-team/rev/b58ffeb810cd
Comment 11•10 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/b58ffeb810cd
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 35
Updated•10 years ago
|
tracking-fennec: ? → 35+
Comment 12•10 years ago
|
||
There's been 0 crashes reported in the last week but I'm flagging it for QE verification given this has a reproducible case.
Flags: qe-verify+
Comment 13•10 years ago
|
||
Verified as fixed in Firefox for Android 35 Beta 1 with Nexus 4 (Android 4.4.4), using steps from comment 5.
Status: RESOLVED → VERIFIED
Updated•6 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•