Closed
Bug 1412773
Opened 7 years ago
Closed 7 years ago
Too much recursion on Lenovo shopping website
Categories
(Core :: JavaScript Engine, defect, P1)
Tracking
()
RESOLVED
DUPLICATE
of bug 1244280
People
(Reporter: arai, Assigned: arai)
References
Details
Attachments
(5 files)
Steps to reproduce:
1. Open Nightly 58.0a1 2017-10-29 (64 bit) on linux (ubuntu)
2. Open https://www3.lenovo.com/jp/ja/jpad/notebooks/thinkpad/t-series/T470s/p/20HGCTO1WWJAJP8/customize
3. Wait for a while for network requests
Actual result:
'too much recursion' singlePage.js:5977:22
shown in web console, and throbber keeps rolling
attached web console output
Expected result:
no error and throbber disappears
this might be region specific (since the website offers different locales), I'm testing from Japan.
Comment 1•7 years ago
|
||
Wow, that is not that many stack frames. Doesn't happen for me (using Nightly 2017-10-30 on MacOS).
Arai, do you have time to debug this?
Flags: needinfo?(arai.unmht)
Priority: -- → P1
Assignee | ||
Comment 2•7 years ago
|
||
Yes, I'll try.
forgot to mention:
* this doesn't happen for me on macOS
* this happens on 2 linux machines (both ubuntu)
* this happens also on 56.0.2
Assignee: nobody → arai.unmht
Status: NEW → ASSIGNED
status-firefox56:
--- → affected
status-firefox57:
--- → affected
Flags: needinfo?(arai.unmht)
Assignee | ||
Comment 3•7 years ago
|
||
happened also on debian VM.
and here's full backtrace.
Assignee | ||
Comment 4•7 years ago
|
||
Comment 5•7 years ago
|
||
Yes our recursion limits on Linux are too low. See also bug 1244280.
See Also: → 1244280
Assignee | ||
Comment 6•7 years ago
|
||
so, in the full backtrace, there's at least 805 frames, and frame 0-795 consist of only 16 places in singlePage.js.
the call happens like the following:
+---+
| |
| Backbone.loadTemplate @ singlePage.js:11254
| ^
| |
| this.renderTemplate @ singlePage.js:9796
| ^ ^
| | |
| | +---------------+
| | |
| appendNextSubGroup @ singlePage.js:27655 |
| ^ |
| | |
| renderGroup @ singlePage.js:26693 |
| ^ |
| | |
| renderGroups @ singlePage.js:26415 |
| ^ |
| | |
| renderGroup callback @ singlePage.js:26423 |
| ^ |
| | |
| appendNextSubGroup callback @ singlePage.js:26694 |
| ^ |
| | |
| renderRadioGroup callback @ singlePage.js:27719 |
| ^ |
| | |
| renderCallback @ singlePage.js:28112 |
| ^ |
| | |
| | +---------------------------+
| | |
| | renderRadioGroup @ singlePage.js:28106
| | ^
| | |
| | renderCallback @ singlePage.js:27715
| | ^
| | | "Too much recursion"
| | | ^
| | | |
| | | template @ singlePage.js:5977
| | | ^
| render @ singlePage.js:10026 |
| ^ render @ singlePage.js:10001
| | ^
| | |
| Backbone.loadTemplate callback @ singlePage.js:9803
| ^ ^
| | |
+---+ |
|
success in ajax callback in Backbone.loadTemplate @ singlePage.js:11239
^
|
somewhere in dtagent.js
Assignee | ||
Comment 7•7 years ago
|
||
Assignee | ||
Updated•7 years ago
|
Attachment #8923796 -
Attachment mime type: application/x-javascript → text/plain
Assignee | ||
Comment 8•7 years ago
|
||
Comment 9•7 years ago
|
||
Too late for a fix for 56.
Comment 10•7 years ago
|
||
Too late for a fix for 57, but we could still take a patch for 58.
Assignee | ||
Comment 11•7 years ago
|
||
this should be fixed by bug 1244280.
I'll check again once nightly with it is out.
Assignee | ||
Comment 12•7 years ago
|
||
ni? myself to check again on linux env with latest nightly.
Flags: needinfo?(arai.unmht)
Assignee | ||
Comment 13•7 years ago
|
||
confirmed this is fixed by bug 1244280.
I'll ask uplift there.
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Flags: needinfo?(arai.unmht)
Resolution: --- → DUPLICATE
Assignee | ||
Comment 14•7 years ago
|
||
(In reply to Liz Henry (:lizzard) (needinfo? me) from comment #10)
> Too late for a fix for 57, but we could still take a patch for 58.
oops, I misinterpret the comment.
so, bug 1244280 patch is landed to 58, and there's nothing remaining to do.
Comment hidden (obsolete) |
Assignee | ||
Comment 16•7 years ago
|
||
sorry for spam :P
You need to log in
before you can comment on or make changes to this bug.
Description
•