Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash while scrolling feed #1082

Open
EricBAndrews opened this issue Jun 3, 2024 · 1 comment
Open

Crash while scrolling feed #1082

EricBAndrews opened this issue Jun 3, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@EricBAndrews
Copy link
Member

From community: https://discuss.tchncs.de/post/16758880

@EricBAndrews EricBAndrews added the bug Something isn't working label Jun 3, 2024
@Sjmarf
Copy link
Contributor

Sjmarf commented Jun 3, 2024

Some observations:

  • It only happens when .lineLimit() is attached, which we only do when viewing a feed with 'large' posts. Therefore it's a problem with the rendering, not with the parsing logic.
  • It happens in both SwiftMarkdownUI and LemmyMarkdownUI (when using MarkdownText).
  • The crash occurs most of the time, but not always.
  • The text contains non-ascii characters, but removing them doesn't fix the issue.
  • A similar-length string of a single repeated character does not cause a crash.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: To Triage
Development

No branches or pull requests

2 participants