RedReader icon indicating copy to clipboard operation
RedReader copied to clipboard

Crash while scrolling

Open nanangp opened this issue 3 years ago • 1 comments

Version: 1.18 onwards / Alpha 292 onwards

Steps to reproduce:

  • Go to a sub
  • Scrolling posts work fine
  • Go to comments of any post
  • Start scrolling down
  • Crashes.
    • Not at a particular comment. Timing and location seems random, but it always crashes while scrolling (not when left idle).
  • RR automatically returns to post list on the last sub
  • Go to any comments list
  • Scroll
  • Crashes again.

I could only find one other instance of someone reporting a similar issue, and they (coincidentally?) also happen to be running crDroid. After tracing it back a bit, it looks like the last version that worked without crashing for me was Alpha 291.

I captured the logcat after 2 consecutive crashes on A292, showing segfaults, which may or may not be helpful. Do you have a particular list of commits between A291 and 292?

Thanks.

nanangp avatar Jun 15 '22 02:06 nanangp

Thanks for the report and the logcat! Looks like the crash is caused by the OS, specifically libart-compiler.so, so unfortunately it's likely there's nothing I can do.

Alpha 291 was https://github.com/QuantumBadger/RedReader/commit/4db4b6b74cc02211ad564f63f71344d39ecb08c1, and 292 was https://github.com/QuantumBadger/RedReader/commit/8605000278b461bf7adb4ce6aa3b15ad41a5874b. Unfortunately there are lots of commits between those, but if you have time you could do a git bisect to identify the specific one.

QuantumBadger avatar Jun 15 '22 07:06 QuantumBadger