Closed Bug 1471027 Opened 7 years ago Closed 1 year ago

Crash in xul.dll@0x5f3b62 | static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse

Categories

(Core :: CSS Parsing and Computation, defect, P3)

x86
Windows 7
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
firefox61 --- unaffected
firefox62 --- wontfix
firefox63 --- wontfix
firefox64 --- ?

People

(Reporter: marcia, Unassigned)

References

Details

(Keywords: crash, regression, Whiteboard: qa-not-actionable)

Crash Data

This bug was filed from the Socorro interface and is report bp-39d810a0-81e0-4228-a740-ba5890180623. ============================================================= Seen while looking at crash stats - crashes look to have started using 20180619102337: https://bit.ly/2Irj2K2. Looks like about 11 crashes since it started, various flavors of Windows. Possible regression window based on Build ID: https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=f804cc575bba9c6dcb4e3770f7dafe4d8934e73c&tochange=e429320fcdd2d5236bb4713e6c435456146e42b9 Top 10 frames of crashing thread: 0 xul.dll xul.dll@0x5f3b62 1 xul.dll static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse servo/components/style/media_queries/media_list.rs:58 2 xul.dll void geckoservo::glue::Servo_MediaList_SetText servo/ports/geckolib/glue.rs:3762 3 xul.dll mozilla::dom::MediaList::SetTextInternal layout/style/MediaList.cpp:115 4 xul.dll mozilla::dom::MediaList::Create layout/style/MediaList.cpp:95 5 xul.dll mozilla::dom::MediaQueryList::MediaQueryList layout/style/MediaQueryList.cpp:30 6 xul.dll nsIDocument::MatchMedia dom/base/nsDocument.cpp:6436 7 xul.dll nsGlobalWindowOuter::MatchMediaOuter dom/base/nsGlobalWindowOuter.cpp:3499 8 xul.dll nsGlobalWindowInner::MatchMedia dom/base/nsGlobalWindowInner.cpp:3532 9 xul.dll static bool mozilla::dom::WindowBinding::matchMedia dom/bindings/WindowBinding.cpp:3025 =============================================================
Any ideas here Emilio?
Crash Signature: style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse<T>] → style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse<T>] [@ xul.dll@0x641dd6 | static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse] [@ xul.dll@0x5a50e2 |…
perhaps a continuation/signature change from bug 1448868?
(In reply to [:philipp] from comment #2) > perhaps a continuation/signature change from bug 1448868? Emilio, Cameron -- shall we dup this to bug 1448868 (which is believed to be a dup of OOM_SMALL)? It looks like the volume has increased.
Flags: needinfo?(cam)
Priority: -- → P3
Yeah, this is an OOM. The "regressing" bug is bug 1468846, which moved the parse_media_query_list function to MediaList::parse. Regarding what to do here, we could try to avoid the Latin1 -> UTF16 -> UTF8 string conversion from the DOM bindings. Nika, I remember Boris, you and I discussed such a thing during the all hands (having a UTF8 string in the bindings for stylo). Do you know if there's a bug for that?
Flags: needinfo?(emilio) → needinfo?(nika)
Flags: needinfo?(cam)
Found it :)
Flags: needinfo?(nika)
Crash Signature: | static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse] [@ xul.dll@0x5f8322 | static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse] → | static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse] [@ xul.dll@0x5f8322 | static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse] [@ xul.d…
Crash Signature: [@ xul.dll@0x5f3b62 | static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse] [@ xul.dll@0x621692 | static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaLis… → [@ xul.dll@0x5ad2f2 | style::media_queries::media_list::MediaList::parse] [@ xul.dll@0x5f2466 | style::media_queries::media_list::MediaList::parse] [@ xul.dll@0x5ad3c2 | style::media_queries::media_list::MediaList::parse] [@ xul.dll@0x5d0622 | style::m…
Crash Signature: style::media_queries::media_list::MediaList::parse] [@ static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse] → style::media_queries::media_list::MediaList::parse] [@ static struct style::media_queries::media_list::MediaList style::media_queries::media_list::MediaList::parse] [@ style::media_queries::media_list::MediaList::parse]
Almost all crashes disappeared with 63 and we don't have crashes in pre-release versions so it's likely that the signature changed, maybe this is now the one in bug 1508617?
Whiteboard: qa-not-actionable
Severity: critical → S2

Since the crash volume is low (less than 5 per week), the severity is downgraded to S3. Feel free to change it back if you think the bug is still critical.

For more information, please visit auto_nag documentation.

Severity: S2 → S3

Closing because no crashes reported for 12 weeks.

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