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)
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.
Comment 1•7 years ago
|
||
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
| Reporter | ||
Comment 2•7 years ago
|
||
Just let me reproduce and submit.
https://crash-stats.mozilla.com/report/index/9d56c4ae-c9dc-435b-bd6f-781410180719
https://crash-stats.mozilla.com/report/index/e9aa9563-115b-45ff-80d3-f03800180719 (seems identical)
I forgot to mention it can also be reproduced on 61.0.1.
https://crash-stats.mozilla.com/report/index/ad215ee0-764b-448e-952f-fe7be1180719
https://crash-stats.mozilla.com/report/index/8b9ddfe9-8fde-43e1-9943-5ce901180719
Flags: needinfo?(johnchen902)
Comment 3•7 years ago
|
||
Thanks!
Comment 4•7 years ago
|
||
Marking as new as we have a crash ID
Status: UNCONFIRMED → NEW
Ever confirmed: true
| Assignee | ||
Comment 5•6 years ago
|
||
There's something going wrong with propagating out the error.
Assignee: nobody → peterv
Flags: needinfo?(peterv)
Updated•3 years ago
|
Severity: critical → S2
Comment 6•2 years ago
|
||
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.
Description
•