duckduckgo / duckduckgo/Android

[Bug] Text search of bookmarks crashes app

Open
#2,344 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug needs triage
Dominant language
Kotlin
Stars
4.8k
Forks
1.4k
Avg merge
2d 17h
Merged PRs (30d)
170

Description

Describe the bug

Having a huge bookmark list +5000 records, after latest update 5.137.5 app crashes when trying to do a text search - error message. Downgraded to 5.135.0, and imported bookmarks to the app (previously exported from it), but out of 1MB file only ~300kB imported, rest got dropped.

How to Reproduce

Go to bookmarks
Click search
Start inserting text
App crashes - error message

Expected behavior

Expected to get search results.

Environment
- DDG App Version: 5.137.5
- Device: Pocophone F1
- OS: Android 9

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash in the bookmarks search flow with a large bookmark list on the reported Android versions, then inspect the bookmark search entry point and the linked error message. Done means entering search text no longer crashes and search results are returned without dropping imported bookmark data.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, kotlin
Domain
mobile-dev, search
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.