Closed Bug 1286946 Opened 9 years ago Closed 9 years ago

Certain reg exp makes the browser very slow

Categories

(Core :: JavaScript Engine, defect)

50 Branch
All
Unspecified
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1276626

People

(Reporter: iammaxmaxmaximus, Unassigned)

Details

(Keywords: crash)

User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.103 Safari/537.36 Steps to reproduce: this is work "qqqqqqqqqqqqqqqq wwwwwwwwwwwwwww".replace(/\w+(\w+(=('|").*\3)?\s*)*/, '') this crash browser (i add > to the regExp end) "qqqqqqqqqqqqqqqq wwwwwwwwwwwwwww".replace(/\w+(\w+(=('|").*\3)?\s*)*>/, '')
Keywords: crash
Hardware: Unspecified → All
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
it takes long time and pops up "slow script dialog", and it could result in executing RegExp in interpreter, and takes much more time. so it should be related to bug 1276626. but It doesn't cause crash for me.
See Also: → 1276626
Do you have crash report ID for the crash? https://support.mozilla.org/en-US/kb/mozillacrashreporter
Flags: needinfo?(iammaxmaxmaximus)
no, this chash charhed in all browsers
(In reply to iammaxmaxmaximus from comment #3) > no, this chash charhed in all browsers Sorry, what do you mean?
Sorry, i from Russia, and use translator), i no understand your question =)
I want a "Crash Report" of the RegExp crash. Please follow this document. https://support.mozilla.org/ru/kb/otchet-o-padeniyah-mozilla Then 1. do comment #0 in browser 2. (when browser crash) submit a crash report 3. post the "Report ID" here
its not crash its very slow, and user needs restart browser, cuz another tabs not works TOO
Thank you :) Then, it is the same bug as bug 1276626.
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Flags: needinfo?(iammaxmaxmaximus)
Resolution: --- → DUPLICATE
See Also: 1276626
Summary: reg exp crash the browser → Certain reg exp makes the browser very slow
You need to log in before you can comment on or make changes to this bug.