Page MenuHomePhabricator

Crash on tree depth of ~4k
Closed, DuplicatePublic

Description

https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2018.02.01/parsoid?id=AWFTjfua-dBYI47OhG4I&_g=()

From, http://localhost:8000/en.wikipedia.org/v3/page/html/User_talk%3AZsnap99z/443841156

RangeError: Maximum call stack size exceeded
    at ParsoidLogger.Logger.log (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/logger/Logger.js:103:3)
    at trace (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:171:7)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:191:2)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)
    at computeNodeDSR (/srv/deployment/parsoid/deploy-cache/revs/cc1574ba41ee106ddae28a8876b7cd306610edaa/src/lib/wt2html/pp/processors/computeDSR.js:446:15)

Event Timeline

Arlolra created this task.Feb 2 2018, 4:02 AM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 2 2018, 4:02 AM
Arlolra triaged this task as High priority.Feb 2 2018, 4:03 AM
Arlolra added a project: Parsoid.
Arlolra claimed this task.Feb 6 2018, 2:35 AM
Arlolra lowered the priority of this task from High to Low.Feb 7 2018, 10:08 PM

The page nests 4216 <big> tags

Arlolra removed Arlolra as the assignee of this task.Feb 7 2018, 10:08 PM
ssastry moved this task from Backlog to Performance on the Parsoid board.Feb 12 2018, 5:52 PM
Arlolra renamed this task from Maximum call stack size exceeded to Crash on tree depth of ~4k.Feb 14 2018, 9:56 PM

Similarly, from https://logstash.wikimedia.org/app/kibana#/doc/logstash-*/logstash-2018.10.29/parsoid?id=AWbAICLxN-apXXYudh8Y&_g=h@44136fa

The source of https://en.wikipedia.org/w/index.php?title=Wikipedia:Sandbox&oldid=865435766 is 6405 colons.

RangeError: Maximum call stack size exceeded
    at Object.getJSONAttribute (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMUtils.js:516:4)
    at Object.loadDataAttribs (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMUtils.js:386:15)
    at DOMPostProcessor.prepareDOM (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/wt2html/DOMPostProcessor.js:371:6)
    at DOMTraverser.callHandlers (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:63:32)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:128:27)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)
    at DOMTraverser.traverse (/srv/deployment/parsoid/deploy-cache/revs/babf1daaef5dbe71d431ea228b71a887ba770f43/src/lib/utils/DOMTraverser.js:139:10)