[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-bugs] #32342 [Applications/Tor Browser]: Tor Browser for Android crashes when opening the locale pane in the settings
#32342: Tor Browser for Android crashes when opening the locale pane in the
settings
-------------------------------------+-------------------------------------
Reporter: gk | Owner: tbb-team
Type: defect | Status: new
Priority: High | Milestone:
Component: Applications/Tor | Version:
Browser | Keywords: tbb-mobile, tbb-crash,
Severity: Major | tbb-9.0-issues, tbb-regression,
| tbb-9.0.1-can, TorBrowserTeam201910
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
-------------------------------------+-------------------------------------
Try changing the locale via the settings. The result is the app crashing:
{{{
10-30 11:06:17.176 18942 18942 D GeckoLocaleList: Building locales list.
Current locale: sv_SE
10-30 11:06:17.191 18942 18942 E GeckoJarReader: !!! BUG 849589 !!!
origUrl=jar:jar:file:/data/app/org.torproject.torbrowser-1/base.apk!/assets/omni.ja!/res/multilocale.txt
10-30 11:06:17.191 18942 18942 E GeckoJarReader:
java.lang.IllegalArgumentException: Got class
java.util.zip.InflaterInputStream, but expected ByteBufferInputStream!
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
org.mozilla.gecko.mozglue.NativeZip.<init>(NativeZip.java:30)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
org.mozilla.gecko.util.GeckoJarReader.getStream(GeckoJarReader.java:208)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
org.mozilla.gecko.util.GeckoJarReader.getText(GeckoJarReader.java:86)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
org.mozilla.gecko.BrowserLocaleManager.getPackagedLocaleTags(BrowserLocaleManager.java:425)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
org.mozilla.gecko.preferences.LocaleListPreference.getUsableLocales(LocaleListPreference.java:222)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
org.mozilla.gecko.preferences.LocaleListPreference.buildList(LocaleListPreference.java:293)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
org.mozilla.gecko.preferences.LocaleListPreference.<init>(LocaleListPreference.java:110)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
java.lang.reflect.Constructor.newInstance(Native Method)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.preference.GenericInflater.createItem(GenericInflater.java:385)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.preference.GenericInflater.createItemFromTag(GenericInflater.java:432)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.preference.GenericInflater.rInflate(GenericInflater.java:483)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.preference.GenericInflater.rInflate(GenericInflater.java:495)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.preference.GenericInflater.inflate(GenericInflater.java:327)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.preference.GenericInflater.inflate(GenericInflater.java:264)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:274)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:302)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
org.mozilla.gecko.preferences.GeckoPreferenceFragment.loadPreferences(GeckoPreferenceFragment.java:201)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
org.mozilla.gecko.preferences.GeckoPreferenceFragment.onCreate(GeckoPreferenceFragment.java:73)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.Fragment.performCreate(Fragment.java:2242)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.FragmentManagerImpl.moveToState(FragmentManager.java:948)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1164)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.BackStackRecord.run(BackStackRecord.java:793)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1557)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.FragmentController.execPendingActions(FragmentController.java:326)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.Activity.performStart(Activity.java:6942)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3276)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3415)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.ActivityThread.access$1100(ActivityThread.java:229)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.os.Handler.dispatchMessage(Handler.java:102)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.os.Looper.loop(Looper.java:148)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
android.app.ActivityThread.main(ActivityThread.java:7331)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
java.lang.reflect.Method.invoke(Native Method)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
10-30 11:06:17.191 18942 18942 E GeckoJarReader: at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
10-30 11:06:17.191 18942 18942 D AndroidRuntime: Shutting down VM
10-30 11:06:17.191 18942 18942 E AndroidRuntime: FATAL EXCEPTION: main
10-30 11:06:17.191 18942 18942 E AndroidRuntime: Process:
org.torproject.torbrowser, PID: 18942
10-30 11:06:17.191 18942 18942 E AndroidRuntime:
java.lang.RuntimeException: Unable to start activity
ComponentInfo{org.torproject.torbrowser/org.mozilla.gecko.preferences.GeckoPreferences}:
android.view.InflateException: Binary XML file line #5: Error inflating
class java.lang.reflect.Constructor
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3319)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3415)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.ActivityThread.access$1100(ActivityThread.java:229)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.ActivityThread$H.handleMessage(ActivityThread.java:1821)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.os.Handler.dispatchMessage(Handler.java:102)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.os.Looper.loop(Looper.java:148)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.ActivityThread.main(ActivityThread.java:7331)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
java.lang.reflect.Method.invoke(Native Method)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1230)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1120)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: Caused by:
android.view.InflateException: Binary XML file line #5: Error inflating
class java.lang.reflect.Constructor
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.preference.GenericInflater.createItem(GenericInflater.java:399)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.preference.GenericInflater.createItemFromTag(GenericInflater.java:432)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.preference.GenericInflater.rInflate(GenericInflater.java:483)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.preference.GenericInflater.rInflate(GenericInflater.java:495)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.preference.GenericInflater.inflate(GenericInflater.java:327)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.preference.GenericInflater.inflate(GenericInflater.java:264)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.preference.PreferenceManager.inflateFromResource(PreferenceManager.java:274)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.preference.PreferenceFragment.addPreferencesFromResource(PreferenceFragment.java:302)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
org.mozilla.gecko.preferences.GeckoPreferenceFragment.loadPreferences(GeckoPreferenceFragment.java:201)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
org.mozilla.gecko.preferences.GeckoPreferenceFragment.onCreate(GeckoPreferenceFragment.java:73)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.Fragment.performCreate(Fragment.java:2242)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.FragmentManagerImpl.moveToState(FragmentManager.java:948)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.FragmentManagerImpl.moveToState(FragmentManager.java:1164)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.BackStackRecord.run(BackStackRecord.java:793)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.FragmentManagerImpl.execPendingActions(FragmentManager.java:1557)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.FragmentController.execPendingActions(FragmentController.java:326)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.Activity.performStart(Activity.java:6942)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3276)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: ... 9 more
10-30 11:06:17.191 18942 18942 E AndroidRuntime: Caused by:
java.lang.reflect.InvocationTargetException
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
java.lang.reflect.Constructor.newInstance(Native Method)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
android.preference.GenericInflater.createItem(GenericInflater.java:385)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: ... 26 more
10-30 11:06:17.191 18942 18942 E AndroidRuntime: Caused by:
java.lang.IllegalArgumentException: !!! BUG 849589 !!!
origUrl=jar:jar:file:/data/app/org.torproject.torbrowser-1/base.apk!/assets/omni.ja!/res/multilocale.txt
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
org.mozilla.gecko.util.GeckoJarReader.getStream(GeckoJarReader.java:212)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
org.mozilla.gecko.util.GeckoJarReader.getText(GeckoJarReader.java:86)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
org.mozilla.gecko.BrowserLocaleManager.getPackagedLocaleTags(BrowserLocaleManager.java:425)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
org.mozilla.gecko.preferences.LocaleListPreference.getUsableLocales(LocaleListPreference.java:222)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
org.mozilla.gecko.preferences.LocaleListPreference.buildList(LocaleListPreference.java:293)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: at
org.mozilla.gecko.preferences.LocaleListPreference.<init>(LocaleListPreference.java:110)
10-30 11:06:17.191 18942 18942 E AndroidRuntime: ... 28 more
}}}
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/32342>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
_______________________________________________
tor-bugs mailing list
tor-bugs@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-bugs