Page MenuHomePhabricator

Maximum call stack size exceeded
Closed, DuplicatePublic

Description

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

http://localhost:8000/ru.wikipedia.org/v3/page/html/%D0%9F%D1%80%D0%BE%D0%B5%D0%BA%D1%82%3A%D0%98%D1%81%D1%82%D0%BE%D1%80%D0%B8%D1%8F/90225599

RangeError: Maximum call stack size exceeded
    at AFE.HTMLParser.ActiveFormattingElements.remove (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/node_modules/domino/lib/HTMLParser.js:1901:15)
    at adoptionAgency (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/node_modules/domino/lib/HTMLParser.js:2913:13)
    at in_body_mode (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/node_modules/domino/lib/HTMLParser.js:6124:22)
    at in_cell_mode (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/node_modules/domino/lib/HTMLParser.js:6632:5)
    at Object.insertToken (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/node_modules/domino/lib/HTMLParser.js:2510:7)
    at TreeBuilder.insertToken (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/src/lib/wt2html/HTML5TreeBuilder.js:116:14)
    at TreeBuilder.processToken (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/src/lib/wt2html/HTML5TreeBuilder.js:287:9)
    at TreeBuilder.onChunk (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/src/lib/wt2html/HTML5TreeBuilder.js:123:8)
    at emitOne (events.js:96:13)
    at SyncTokenTransformManager.emit (events.js:188:7)
    at SyncTokenTransformManager.onChunk (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/src/lib/wt2html/TokenTransformManager.js:995:7)
    at emitOne (events.js:96:13)
    at AsyncTokenTransformManager.emit (events.js:188:7)
    at AsyncTokenTransformManager.emitChunk (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/src/lib/wt2html/TokenTransformManager.js:377:8)
    at TokenAccumulator._callParentCB (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/src/lib/wt2html/TokenTransformManager.js:1309:16)
    at TokenAccumulator.receiveToksFromChild (/srv/deployment/parsoid/deploy-cache/revs/1367057edce8c4813aa60b5715e5219a32c82611/src/lib/wt2html/TokenTransformManager.js:1240:7)

Event Timeline

Arlolra created this task.Feb 14 2018, 9:19 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptFeb 14 2018, 9:19 PM
cscott added a subscriber: cscott.Feb 14 2018, 9:36 PM

That stack trace looks much too short for a "maximum call stack size exceeded" exception. What's shown much be just the random tip of the tree. where's the recursive call stack underneath it?