Skip to content
New issue

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

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

Already on GitHub? # to your account

Crashing the parser #2267

Open
exrhizo opened this issue Aug 5, 2022 · 0 comments
Open

Crashing the parser #2267

exrhizo opened this issue Aug 5, 2022 · 0 comments

Comments

@exrhizo
Copy link

exrhizo commented Aug 5, 2022

Problem
When I paste the below into the editor, the the app freezes:

**F**luorine > **O**xygen > **Chl**orine > **N**itrogen > **Br**omine > **I**odine > **S**ulfur > **C**arbon > **H**ydrogen ≥ **Ph**osphorus

(These are the Electronegativity relationships)

This is fine:

**F** > **O** > **Chl** > **N** > **Br** > **I** > **S** > **C** > **H** ≥ **Ph**

But not this:

**F** **O** **Chl** **N**ew **Br**ohio **I**llinois **S**al **C**aligor **H**uwaii **Ph**ensulvania

Not this either:

**F**lorida > **O**regon > **Chl**orilina > **N**ew > **Br**ohio > **I** > **S** > **C** > **H** ≥ **Ph**

So it is something to do with the bold and the non bold

Screenshots/Demo

I notice, as I paste subsets into the app that it gets progressively slower, I think there is an exponential blow up, I was running the parser locally and it Out of Memoried my node.

Athens Version

"2.0.0-beta.3"

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant