Project

General

Profile

Actions

Bug #1229

open

Crash when opening the bookmarks/folders list or main menu

Added by Daniele Gobbetti about 2 months ago. Updated about 1 month ago.

Status:
Feedback
Priority:
3.x
Start date:
10/06/2024
Due date:
% Done:

0%

Estimated time:

Description

Thanks for privacy browser, it's my main browser since quite some time. The stack trace below refers to the latest version available from f-droid.

Lately (since a few months at least) I am experiencing an issue when opening the bookmarks or the menu upon staring the application. The application immediately crashes with the following stack trace:

```
10:25:14.598 E FATAL EXCEPTION: main
Process: com.stoutner.privacybrowser.standard, PID: 27104
java.lang.IllegalStateException: ViewHolder views must not be attached when created. Ensure that you are not passing 'true' to the attachToRoot parameter of LayoutInflater.inflate(..., boolean attachToRoot)
at k0.O.i(Unknown Source:930)
at k0.s.b(Unknown Source:62)
at androidx.recyclerview.widget.LinearLayoutManager.Y0
at androidx.recyclerview.widget.LinearLayoutManager.L0
at androidx.recyclerview.widget.LinearLayoutManager.c0(Unknown Source:920)
at androidx.recyclerview.widget.RecyclerView.r(Unknown Source:34)
at androidx.recyclerview.widget.RecyclerView.p(Unknown Source:42)
at androidx.recyclerview.widget.RecyclerView.onLayout(Unknown Source:7)
at android.view.View.layout(View.java:25159)
at android.view.ViewGroup.layout(ViewGroup.java:6460)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:25159)
at android.view.ViewGroup.layout(ViewGroup.java:6460)
at androidx.drawerlayout.widget.DrawerLayout.onLayout(Unknown Source:125)
at android.view.View.layout(View.java:25159)
at android.view.ViewGroup.layout(ViewGroup.java:6460)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:25159)
at android.view.ViewGroup.layout(ViewGroup.java:6460)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:25159)
at android.view.ViewGroup.layout(ViewGroup.java:6460)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1891)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1729)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1638)
at android.view.View.layout(View.java:25159)
at android.view.ViewGroup.layout(ViewGroup.java:6460)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at android.view.View.layout(View.java:25159)
at android.view.ViewGroup.layout(ViewGroup.java:6460)
at android.widget.LinearLayout.setChildFrame(LinearLayout.java:1891)
at android.widget.LinearLayout.layoutVertical(LinearLayout.java:1729)
at android.widget.LinearLayout.onLayout(LinearLayout.java:1638)
at android.view.View.layout(View.java:25159)
at android.view.ViewGroup.layout(ViewGroup.java:6460)
at android.widget.FrameLayout.layoutChildren(FrameLayout.java:332)
at android.widget.FrameLayout.onLayout(FrameLayout.java:270)
at com.android.internal.policy.DecorView.onLayout(DecorView.java:807)
at android.view.View.layout(View.java:25159)
at android.view.ViewGroup.layout(ViewGroup.java:6460)
at android.view.ViewRootImpl.performLayout(ViewRootImpl.java:4562)
at android.view.ViewRootImpl.performTraversals(ViewRootImpl.java:3830)
at android.view.ViewRootImpl.doTraversal(ViewRootImpl.java:2718)
at android.view.ViewRootImpl$TraversalRunnable.run(ViewRootImpl.java:9937)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1406)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:1415)
at android.view.Choreographer.doCallbacks(Choreographer.java:1015)
at android.view.Choreographer.doFrame(Choreographer.java:945)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:1389)
at android.os.Handler.handleCallback(Handler.java:959)
at android.os.Handler.dispatchMessage(Handler.java:100)
at android.os.Looper.loopOnce(Looper.java:232)
at android.os.Looper.loop(Looper.java:317)
at android.app.ActivityThread.main(ActivityThread.java:8592)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:878)
```

After manually entering any url and opening a first webpage, the app behaves correctly.

In the settings I have "" (an empty string) as homepage, in case it helps with reproducing the bug.


Files

recording.mp4 (2.04 MB) recording.mp4 Daniele Gobbetti, 10/11/2024 02:07 AM
Actions

Also available in: Atom PDF