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

Memory leak when trying to add an internal link in Chrome #21720

Open
1 task done
dkalpakchi opened this issue Nov 25, 2024 · 2 comments
Open
1 task done

Memory leak when trying to add an internal link in Chrome #21720

dkalpakchi opened this issue Nov 25, 2024 · 2 comments
Labels
🐛 Bug P3 - Medium [triage] Bugs which we'll fix soon

Comments

@dkalpakchi
Copy link

dkalpakchi commented Nov 25, 2024

Issue Summary

I am trying to add an internal bookmark in Chrome using a feature highlighted here: https://ghost.org/changelog/internal-linking/. By mistake I found my Chrome tab freeze and consuming a lot of memory (and using a lot of CPU) until the tab crashed with the segmentation fault.

Steps to Reproduce

  1. Start a new post in Ghost admin
  2. In a new paragraph type @. This should create a Find a post, tag or author menu
  3. Now click backspace
  4. Now type @ one more time
  5. The tab is frozen now

Ghost Version

5.101.4

Node.js Version

18.15.0

How did you install Ghost?

Via Ghost CLI

Database type

SQLite3

Browser & OS version

Chrome 131.0.6778.85, Ubuntu 24.04.1

Relevant log / error output

No response

Code of Conduct

  • I agree to be friendly and polite to people in this repository
@github-actions github-actions bot added the needs:triage [triage] this needs to be triaged by the Ghost team label Nov 25, 2024
@dkalpakchi
Copy link
Author

Potentially related to #20944 (comment)

@sagzy
Copy link
Contributor

sagzy commented Nov 26, 2024

Thanks @dkalpakchi for the report! Great catch, I can reproduce with the provided steps. Marking as bug, and pinging the team who worked on Internal Linking

@sagzy sagzy added the 🐛 Bug label Nov 26, 2024 — with Linear
@sagzy sagzy removed the needs:triage [triage] this needs to be triaged by the Ghost team label Nov 26, 2024
@sagzy sagzy added the P3 - Medium [triage] Bugs which we'll fix soon label Nov 26, 2024 — with Linear
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 Bug P3 - Medium [triage] Bugs which we'll fix soon
Projects
None yet
Development

No branches or pull requests

2 participants