Closed
Bug 1449177
Opened 6 years ago
Closed 6 years ago
Crash in java.lang.ClassCastException: android.widget.FrameLayout cannot be cast to org.mozilla.gecko.activitystream.homepanel.stream.StreamOverridablePageIconLayout at org.mozilla.gecko.activitystream.homepanel.stream.WebpageItemRow.<init>(WebpageItem...
Categories
(Firefox for Android Graveyard :: Activity Stream, defect)
Tracking
(firefox59+ wontfix)
RESOLVED
WONTFIX
People
(Reporter: marcia, Unassigned)
References
Details
(Keywords: crash, regression)
Crash Data
This bug was filed from the Socorro interface and is report bp-7fb528a3-9bba-4cfe-b8a1-90d560180327. ============================================================= Seen while looking at crash stats - this signature is new to 59.0.2: https://bit.ly/2IYy2Ae. Top 10 frames of crashing thread: 0 libxul.so GeckoAppShellSupport::ReportJavaCrash widget/android/nsAppShell.cpp:276 1 libxul.so mozilla::jni::NativeStub<mozilla::java::GeckoAppShell::ReportJavaCrash_t, GeckoAppShellSupport, mozilla::jni::Args<const mozilla::jni::Ref<mozilla::jni::TypedObject<_jthrowable*>, _jthrowable*>&, const mozilla::jni::StringParam&> >::Wrap<&GeckoAppShellSupport::ReportJavaCrash> widget/android/jni/Natives.h:778 2 dalvik-LinearAlloc (deleted) dalvik-LinearAlloc @0x528a 3 dalvik-LinearAlloc (deleted) dalvik-LinearAlloc @0x528a 4 base.odex base.odex@0x909115 5 dalvik-LinearAlloc (deleted) dalvik-LinearAlloc @0x528a 6 dalvik-main space (deleted) dalvik-main space @0x1a23e 7 dalvik-main space (deleted) dalvik-main space @0x60a0de 8 dalvik-main space (deleted) dalvik-main space @0x63cffe 9 dalvik-main space (deleted) dalvik-main space @0x5fee66 =============================================================
Reporter | ||
Comment 1•6 years ago
|
||
mcomella: Any ideas what might have introduced this?
Flags: needinfo?(michael.l.comella)
No, afaik, this code isn't changing. I'll keep an eye on this. java.lang.ClassCastException: android.widget.FrameLayout cannot be cast to org.mozilla.gecko.activitystream.homepanel.stream.StreamOverridablePageIconLayout at org.mozilla.gecko.activitystream.homepanel.stream.WebpageItemRow.<init>(WebpageItemRow.java:50) at org.mozilla.gecko.activitystream.homepanel.StreamRecyclerAdapter.onCreateViewHolder(StreamRecyclerAdapter.java:151) at org.mozilla.gecko.activitystream.homepanel.StreamRecyclerAdapter.onCreateViewHolder(StreamRecyclerAdapter.java:51) at android.support.v7.widget.RecyclerView$Adapter.createViewHolder(RecyclerView.java:5482) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4707) at android.support.v7.widget.RecyclerView$Recycler.getViewForPosition(RecyclerView.java:4617) at android.support.v7.widget.LinearLayoutManager$LayoutState.next(LinearLayoutManager.java:1994) at android.support.v7.widget.LinearLayoutManager.layoutChunk(LinearLayoutManager.java:1390) at android.support.v7.widget.LinearLayoutManager.fill(LinearLayoutManager.java:1353) at android.support.v7.widget.LinearLayoutManager.onLayoutChildren(LinearLayoutManager.java:574) at android.support.v7.widget.RecyclerView.dispatchLayoutStep2(RecyclerView.java:3028) at android.support.v7.widget.RecyclerView.dispatchLayout(RecyclerView.java:2906) at android.support.v7.widget.RecyclerView.onLayout(RecyclerView.java:3283) at android.view.View.layout(View.java:19692)
Actually, this is impossible: It crashes here [1]: pageIconLayout = (StreamOverridablePageIconLayout) itemView.findViewById(R.id.page_icon); But the XML defines page_icon as [2]: <org.mozilla.gecko.activitystream.homepanel.stream.StreamOverridablePageIconLayout android:id="@+id/page_icon" ... Snorp, you mentioned APK corruption in another inexplicable bug: what did you mean by that? Do we see that often? I wonder if someone has forked our code base but never bothered to remove our crash reporter. [1]: https://searchfox.org/mozilla-central/rev/49cc27555d5b7ed2eb06baf156693dd578daa06f/mobile/android/base/java/org/mozilla/gecko/activitystream/homepanel/stream/WebpageItemRow.java#50 [2]: https://searchfox.org/mozilla-central/rev/49cc27555d5b7ed2eb06baf156693dd578daa06f/mobile/android/app/src/main/res/layout/activity_stream_webpage_item_row.xml#20
Flags: needinfo?(snorp)
I don't know if we see if *often*, but we have seen an alarming number of problems that look like this. We really have no idea what the possible cause could be right now.
Flags: needinfo?(snorp)
Comment 5•6 years ago
|
||
Tracking this since it's a new problem in 59 and it seems concerning.
tracking-firefox59:
--- → +
Comment 6•6 years ago
|
||
It sounds like this isn't a regression from bug 1444549 though that's what we first suspected...
Reporter | ||
Updated•6 years ago
|
Depends on: 1450105
I'm tracking this unexplainable crash and others in bug 1450105.
Flags: needinfo?(michael.l.comella)
Updated•6 years ago
|
Assignee: nobody → vlad.baicu
Updated•6 years ago
|
Assignee: vlad.baicu → nobody
Reporter | ||
Comment 8•6 years ago
|
||
Just a quick note this signature is primarily a mix of Samsung, Pixel, and OnePlus devices. Highest % of crashes comes from ONEPLUS A3003 device.
Comment 9•6 years ago
|
||
While this is significant volume, it isn't so high as to drive a dot release for 59 and we don't have a fix or any good leads yet.
Comment 10•6 years ago
|
||
Closing because no crash reported since 12 weeks.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
Comment 11•6 years ago
|
||
Closing because no crash reported since 12 weeks.
Updated•3 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
•