Closed Bug 1475495 Opened 7 years ago Closed 2 years ago

Crash with unknown variable in XPath, <meta charset="UTF-8"/> and uBlock Origin

Categories

(Core :: XSLT, defect, P2)

63 Branch
x86_64
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox63 --- affected

People

(Reporter: johnchen902, Assigned: peterv)

Details

(Keywords: crash)

Open a.xml: <?xml version="1.0" encoding="UTF-8"?> <?xml-stylesheet href="a.xslt" type="text/xml"?> <a></a> This is the content of a.xslt: <?xml version="1.0" encoding="UTF-8"?> <xsl:transform version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns="http://www.w3.org/1999/xhtml"> <xsl:output method="xml" encoding="UTF-8"/> <xsl:template match="/"> <meta charset="utf-8"/> <xsl:value-of select="$unknown_variable"/> </xsl:template> </xsl:transform> The text "Error during XSLT transformation: An unknown error has occurred ()" and a "spinning wheel" is shown. If uBlock Origin is installed, the tab crashes after roughly 10 seconds. Otherwise, the spinning wheel just spins forever.
Thanks for the report. If you look in about:crashes, do you see anything that's been submitted to crash-stats.mozilla.com that would include a stack trace? It sounds like an OOM crash, maybe.
Flags: needinfo?(peterv)
Flags: needinfo?(johnchen902)
Priority: -- → P2
Thanks!
Keywords: crash
Marking as new as we have a crash ID
Status: UNCONFIRMED → NEW
Ever confirmed: true

There's something going wrong with propagating out the error.

Assignee: nobody → peterv
Flags: needinfo?(peterv)
Severity: critical → S2

I couldn't reproduce a hang without ublock origin or a crash with it. Maybe I did something wrong.

Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.