Closed
Bug 925067
Opened 11 years ago
Closed 11 years ago
Firefox freezes on Joomla! PHP Editor
Categories
(Core :: JavaScript Engine: JIT, defect)
Tracking
()
VERIFIED
FIXED
mozilla27
Tracking | Status | |
---|---|---|
firefox25 | --- | unaffected |
firefox26 | + | verified |
firefox27 | + | verified |
People
(Reporter: sjw+bugzilla, Assigned: jandem)
References
Details
(Keywords: hang, regression)
Attachments
(1 file, 1 obsolete file)
2.29 KB,
patch
|
bhackett1024
:
review+
lsblakk
:
approval-mozilla-aurora+
|
Details | Diff | Splinter Review |
Firefox Aurora 26 and Nightly 27 freezes if you try to edit a PHP site inside Joomla! 3.1 and you have to kill the process.
I think this bug is not because of Joomla! so it may affect other Sites / Scripts, too?
Could you post a testcase (demo website maybe), please.
Flags: needinfo?(sjw)
http://joomla31.cloudaccess.net/administrator/index.php?option=com_templates&task=source.edit&id=NTAzOmluZGV4LnBocA%3D%3D
Login: demo
Password: demo
Flags: needinfo?(sjw)
Hangs on Joomla! 2.5, too:
http://joomla25.cloudaccess.net/administrator/index.php?option=com_templates&task=source.edit&id=NTAzOmluZGV4LnBocA==
Login: demo
Password: demo
It's just the PHP syntax highlighting JavaScript, the CSS Editor works fine.
Thanks, it's instant hang with your link in comment #2.
Regression range:
good=2013-08-28
bad=2013-08-29
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=416075f77249&tochange=aebdc69b02e5
Status: UNCONFIRMED → NEW
status-firefox25:
--- → unaffected
tracking-firefox26:
--- → ?
tracking-firefox27:
--- → ?
Component: General → Untriaged
Ever confirmed: true
Keywords: regression,
regressionwindow-wanted
![]() |
||
Comment 5•11 years ago
|
||
stack of hang:
bp-ab1dc806-927a-480e-91ea-780f42131011
bp-b1958812-9dd2-4cea-8c8a-c9e212131011
Regression window(m-i)
Good:
http://hg.mozilla.org/integration/mozilla-inbound/rev/9cc68dacc74c
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 ID:20130828024139
Bad:
http://hg.mozilla.org/integration/mozilla-inbound/rev/e473c952d233
Mozilla/5.0 (Windows NT 6.1; WOW64; rv:26.0) Gecko/20100101 Firefox/26.0 ID:20130828041620
Pushlog:
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=9cc68dacc74c&tochange=e473c952d233
Component: Untriaged → JavaScript Engine
Product: Firefox → Core
Keywords: regressionwindow-wanted
![]() |
||
Updated•11 years ago
|
Severity: major → critical
Assignee | ||
Updated•11 years ago
|
Assignee: nobody → jdemooij
Status: NEW → ASSIGNED
Flags: needinfo?(jdemooij)
Assignee | ||
Updated•11 years ago
|
Component: JavaScript Engine → JavaScript Engine: JIT
Flags: needinfo?(jdemooij)
Comment 6•11 years ago
|
||
Tracking since Joomla is probably still widely used enough that this might blow up once it gets to Beta.
status-firefox26:
--- → affected
status-firefox27:
--- → affected
Assignee | ||
Comment 7•11 years ago
|
||
The browser freezes because BlockMightReach gets into an infinite loop and the main thread is waiting for the compilation thread to finish.
Bug 909389 exposed this but it's a regression from bug 824275. As the second testcase I added demonstrates, it was possible to trigger this without try-catch compilation.
Attachment #816231 -
Flags: review?(bhackett1024)
Assignee | ||
Comment 8•11 years ago
|
||
Comment on attachment 816231 [details] [diff] [review]
Patch
[Approval Request Comment]
> Bug caused by (feature/regressing bug #):
Bug 824275, with bug 909389 it breaks Joomla's code editor.
> User impact if declined:
Browser freezes.
> Testing completed (on m-c, etc.):
Browser does not freeze with the patch applied. Very low risk.
> Risk to taking this patch (and alternatives if risky):
Very low.
> String or IDL/UUID changes made by this patch:
None.
Attachment #816231 -
Flags: approval-mozilla-aurora?
Assignee | ||
Updated•11 years ago
|
Attachment #816231 -
Flags: review?(bhackett1024)
Attachment #816231 -
Flags: approval-mozilla-aurora?
Assignee | ||
Comment 9•11 years ago
|
||
This fix is a bit more robust. I also verified that on SS/V8/Kraken BlockMightReach returns the same value as before in all cases, so this shouldn't affect performance.
Attachment #816231 -
Attachment is obsolete: true
Attachment #816234 -
Flags: review?(bhackett1024)
Updated•11 years ago
|
Attachment #816234 -
Flags: review?(bhackett1024) → review+
Assignee | ||
Comment 10•11 years ago
|
||
Assignee | ||
Comment 11•11 years ago
|
||
Thanks a lot for the bug report btw! And Loic and Alice0775 White, thanks for bisecting :)
Assignee | ||
Comment 12•11 years ago
|
||
Comment on attachment 816234 [details] [diff] [review]
Patch v2
[Approval Request Comment]
> Bug caused by (feature/regressing bug #):
Bug 824275, with bug 909389 it breaks Joomla's code editor.
> User impact if declined:
Browser freezes.
> Testing completed (on m-c, etc.):
On m-i. Browser does not freeze with the patch applied.
> Risk to taking this patch (and alternatives if risky):
Very low.
> String or IDL/UUID changes made by this patch:
None.
Attachment #816234 -
Flags: approval-mozilla-aurora?
Comment 13•11 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla27
Updated•11 years ago
|
Attachment #816234 -
Flags: approval-mozilla-aurora? → approval-mozilla-aurora+
Comment 14•11 years ago
|
||
![]() |
||
Comment 15•11 years ago
|
||
Verified on Aurora 26.0a2 buildid 20131015004002 and Nightly 27.0a1 buildid 20131015030319 using link in comment 2.
Status: RESOLVED → VERIFIED
QA Contact: ananuti
![]() |
Reporter | |
Comment 16•11 years ago
|
||
Thanks for fixing this so fast, it was a really annoying bug for me.
You need to log in
before you can comment on or make changes to this bug.
Description
•