Closed Bug 782566 Opened 14 years ago Closed 5 years ago

java.lang.SecurityException: at android.os.Parcel.readException(Parcel.java) in Permission Denial: opening provider org.mozilla.gecko.db.PasswordsProvider

Categories

(Firefox for Android Graveyard :: General, defect)

23 Branch
ARM
Android
defect
Not set
critical

Tracking

(firefox23 wontfix, firefox25 wontfix, firefox38 wontfix, firefox38.0.5 wontfix, firefox39+ wontfix, firefox40 wontfix)

RESOLVED INCOMPLETE
Tracking Status
firefox23 --- wontfix
firefox25 --- wontfix
firefox38 --- wontfix
firefox38.0.5 --- wontfix
firefox39 + wontfix
firefox40 --- wontfix

People

(Reporter: scoobidiver, Unassigned)

Details

(Keywords: crash, Whiteboard: [native-crash])

Crash Data

It's #172 top crasher in 14.0.1 and #96 in 15.0b4. Here is a crash report: bp-535178c3-9794-470f-b08c-bd7032120814. java.lang.SecurityException: Permission Denial: starting Intent { act=android.intent.action.SEND typ=text/plain flg=0x3000000 cmp=it.tolelab.fvd/.VideoDownloaderBrowserActivity (has extras) } from ProcessRecord{409c8a70 22005:org.mozilla.firefox_beta/10111} (pid=22005, uid=10111) requires null at android.os.Parcel.readException(Parcel.java:1322) at android.os.Parcel.readException(Parcel.java:1276) at android.app.ActivityManagerProxy.startActivity(ActivityManagerNative.java:1351) at android.app.Instrumentation.execStartActivity(Instrumentation.java:1374) at android.app.Activity.startActivityForResult(Activity.java:2833) at android.app.Activity.startActivity(Activity.java:2959) at com.android.internal.app.ResolverActivity.onClick(ResolverActivity.java:220) at com.android.internal.app.AlertController$AlertParams$3.onItemClick(AlertController.java:903) at android.widget.AdapterView.performItemClick(AdapterView.java:284) at android.widget.ListView.performItemClick(ListView.java:3763) at android.widget.AbsListView$PerformClick.run(AbsListView.java:1936) at android.os.Handler.handleCallback(Handler.java:587) at android.os.Handler.dispatchMessage(Handler.java:92) at android.os.Looper.loop(Looper.java:123) at android.app.ActivityThread.main(ActivityThread.java:3691) at java.lang.reflect.Method.invokeNative(Native Method) at java.lang.reflect.Method.invoke(Method.java:507) at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:847) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:605) at dalvik.system.NativeStart.main(Native Method) More reports at: https://crash-stats.mozilla.com/report/list?signature=java.lang.SecurityException%3A+at+android.os.Parcel.readException%28Parcel.java%29
There have been no crashes after 15.0 for the last four weeks.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → WORKSFORME
There are a few crashes in 23.0 Beta and 25.0a2 fig. The new message is: "Permission Denial: opening provider org.mozilla.gecko.db.PasswordsProvider from ProcessRecord{40a0d848 20146:org.mozilla.firefox/10216} (pid=20146, uid=10216) requires org.mozilla.firefox_beta.permissions.PASSWORD_PROVIDER or org.mozilla.firefox_beta.permissions.PASSWORD_PROVIDER"
Status: RESOLVED → REOPENED
Resolution: WORKSFORME → ---
Version: Firefox 14 → Firefox 23
I'm able to reproduce this crash on Firefox 25 beta 4 and Acer Iconia A500 running Android 3.2.1 Steps: 1. install an app from marketplace.mozilla.org 2. minimize firefox 3. start tha app from the home screen shortcut Result: Firefox crashes https://crash-stats.mozilla.com/report/index/bp-1cc69d3c-85e1-4e4b-aa88-884492131001 https://crash-stats.mozilla.com/report/index/bp-b023b408-dd33-4e93-8ba5-f66462131001 Not reproducible on Samsung Galaxy Tab 2 (Android 4.1) and Samsung Galsxy Tab (Android 4.0.4)
Blocks: 1031569
Sylvestre, Do you know if anyone is working on this? Its causing Firefox on Android to crash whenever downloading a pdf
Flags: needinfo?(sledru)
[Tracking Requested - why for this release]: #12 in 38.0.5. #44 in 39 but I guess it will spike when moving to release. Benjamin: Dunno. Richard, is that something you can help with?
Flags: needinfo?(sledru) → needinfo?(rnewman)
Keywords: topcrash
Do we know it's this bug (passwordsprovider) and not Bug 989057 (browserprovider) or Bug 1031569 (external intent)? Comment 2 indicates that this is a collision between release and beta on the same device, just like Bug 989057. Nick probably has thoughts on that.
Flags: needinfo?(rnewman) → needinfo?(nalexander)
Summary: java.lang.SecurityException: at android.os.Parcel.readException(Parcel.java) → java.lang.SecurityException: at android.os.Parcel.readException(Parcel.java) in Permission Denial: opening provider org.mozilla.gecko.db.PasswordsProvider
Just tried this out from beta, since I have both release and beta on my Nexus 5. I didn't hit the crash though.
This bug (as redefined by Comment 2) is not a topcrash; there is no way that we have enough users running both Beta and Release and in some broken state in order to cause this. I'm pretty sure Comment 4 is about Bug 1031569, not this bug. If anything should track it should be that one, unless someone wants to run some crashstats queries to prove me wrong.
No longer blocks: 1031569
(In reply to Richard Newman [:rnewman] from comment #6) > Do we know it's this bug (passwordsprovider) and not Bug 989057 > (browserprovider) or Bug 1031569 (external intent)? > > Comment 2 indicates that this is a collision between release and beta on the > same device, just like Bug 989057. Nick probably has thoughts on that. I wish I did have thoughts on this, but I can't mine crash-stats at all. I can't find a single instance of the cross-matched release/beta issue that we theorize in Bug 989057. However, looking at https://dxr.mozilla.org/mozilla-central/source/mobile/android/base/AndroidManifest.xml.in#448 and http://developer.android.com/guide/topics/manifest/provider-element.html suggests that /all/ of our ContentProvider's are exported="false". (That's good.) But they could still be shared in the same process. I think we want to make the provider name itself depend on the package as well.
Flags: needinfo?(nalexander)
Crash Signature: [@ java.lang.SecurityException: at android.os.Parcel.readException(Parcel.java)] → [@ java.lang.SecurityException: at android.os.Parcel.readException(Parcel.java)] [@ java.lang.SecurityException: at android.os.Parcel.readException]
We have completed our launch of our new Firefox on Android. The development of the new versions use GitHub for issue tracking. If the bug report still reproduces in a current version of [Firefox on Android nightly](https://play.google.com/store/apps/details?id=org.mozilla.fenix) an issue can be reported at the [Fenix GitHub project](https://github.com/mozilla-mobile/fenix/). If you want to discuss your report please use [Mozilla's chat](https://wiki.mozilla.org/Matrix#Connect_to_Matrix) server https://chat.mozilla.org and join the [#fenix](https://chat.mozilla.org/#/room/#fenix:mozilla.org) channel.
Status: REOPENED → RESOLVED
Closed: 13 years ago5 years ago
Resolution: --- → INCOMPLETE
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in before you can comment on or make changes to this bug.