Closed Bug 1345579 Opened 8 years ago Closed 8 years ago

Crash near null [@ PLDHashTable::Iterator::Iterator | mozilla::CSSVariableDeclarations::AddVariablesToResolver]

Categories

(Core :: DOM: Animation, defect)

defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1356601
Tracking Status
firefox55 --- affected

People

(Reporter: truber, Unassigned)

References

Details

(4 keywords)

Crash Data

Attachments

(3 files)

Attached file testcase.xhtml
The attached testcase crashes near null in mozilla-central rev 58753259bfeb. ==24539==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000018 (pc 0x7fc299e6050f bp 0x7ffd5b4d8a90 sp 0x7ffd5b4d8a30 T0) #0 PLDHashTable::Iterator::Iterator(PLDHashTable*) src/xpcom/ds/PLDHashTable.cpp:717:5 #1 Iterator src/obj-firefox/dist/include/nsBaseHashtable.h:182:50 #2 ConstIter src/obj-firefox/dist/include/nsBaseHashtable.h:204 #3 mozilla::CSSVariableDeclarations::AddVariablesToResolver(mozilla::CSSVariableResolver*) const src/layout/style/CSSVariableDeclarations.cpp:153
Attached file log.txt
ASan log from mozilla-central rev 58753259bfeb
Attached file debug.txt
Debug log from mozilla-central rev 575e82f15c29. Assertion failure: aRuleData->mVariables (shouldn't be in ComputeVariablesData if there were no variable declarations specified), at /home/worker/workspace/build/src/layout/style/nsRuleNode.cpp:10198
I guess this is caused by bug 1339332.
Component: CSS Parsing and Computation → DOM: Animation
Flags: needinfo?(dakatsuka)
Thanks, Hiro. But I could reproduce this crash using attached testcase in Firefox 51 (release) on OSX. https://crash-stats.mozilla.com/report/index/9f524950-882d-4095-b1b3-9b0862170308
Flags: needinfo?(dakatsuka)
Gah. Thanks. Then this has been there since bug 1166500? I will check this later.
Flags: needinfo?(hikezoe)
I can't reproduce this crash locally. Tried reivision is 193989276571a5bd19bc669c6ca42828abe7b4f1.
Flags: needinfo?(hikezoe)
Jesse, does the test case still cause the crash on the latest nightly?
Flags: needinfo?(jschwartzentruber)
(In reply to Hiroyuki Ikezoe (:hiro) from comment #7) > Jesse, does the test case still cause the crash on the latest nightly? No. I bisected this and it doesn't crash after bug 1339332.
Flags: needinfo?(jschwartzentruber)
Thank you Jesse for tracking it down. I will check whether we can provide a smaller fix for aurora or other release channels.
Flags: needinfo?(hikezoe)
Status: NEW → RESOLVED
Closed: 8 years ago
Flags: needinfo?(hikezoe)
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: