Closed Bug 1412773 Opened 7 years ago Closed 7 years ago

Too much recursion on Lenovo shopping website

Categories

(Core :: JavaScript Engine, defect, P1)

x86_64
Linux
defect

Tracking

()

RESOLVED DUPLICATE of bug 1244280
Tracking Status
firefox56 --- wontfix
firefox57 --- wontfix
firefox58 --- fixed

People

(Reporter: arai, Assigned: arai)

References

Details

Attachments

(5 files)

Attached file stack trace
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.
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
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
Flags: needinfo?(arai.unmht)
happened also on debian VM. and here's full backtrace.
Yes our recursion limits on Linux are too low. See also bug 1244280.
See Also: → 1244280
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
Attached file singlePage.js
Attachment #8923796 - Attachment mime type: application/x-javascript → text/plain
Too late for a fix for 57, but we could still take a patch for 58.
this should be fixed by bug 1244280. I'll check again once nightly with it is out.
ni? myself to check again on linux env with latest nightly.
Flags: needinfo?(arai.unmht)
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
(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.
sorry for spam :P
See Also: → 1449950
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: