Closed Bug 1482830 Opened 6 years ago Closed 6 years ago

Crash in static union core::option::Option<T> encoding_rs::Decoder::max_utf16_buffer_length

Categories

(Core :: DOM: Core & HTML, defect)

Unspecified
Windows 7
defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 1482640
Tracking Status
firefox-esr52 --- unaffected
firefox-esr60 --- unaffected
firefox61 --- unaffected
firefox62 --- unaffected
firefox63 --- fixed

People

(Reporter: calixte, Unassigned)

References

(Blocks 1 open bug)

Details

(Keywords: crash, regression)

This bug was filed from the Socorro interface and is
report bp-cc4bcecd-2e46-4da1-9d30-fcd340180813.
=============================================================

Top 10 frames of crashing thread:

0 xul.dll static void std::panicking::rust_panic_with_hook src/libstd/panicking.rs:521
1 xul.dll static <NoType> std::panicking::begin_panic<str*> src/libstd/panicking.rs:445
2 xul.dll static union core::option::Option<usize> encoding_rs::Decoder::max_utf16_buffer_length third_party/rust/encoding_rs/src/lib.rs:4110
3 xul.dll unsigned __int64 encoding_c::decoder_max_utf16_buffer_length third_party/rust/encoding_c/src/lib.rs:797
4 xul.dll nsresult mozilla::dom::XMLHttpRequestMainThread::AppendToResponseText dom/xhr/XMLHttpRequestMainThread.cpp:506
5 xul.dll void mozilla::dom::XMLHttpRequestMainThread::GetResponseText dom/xhr/XMLHttpRequestMainThread.cpp:592
6 xul.dll mozilla::dom::XMLHttpRequestMainThread::GetResponseText dom/xhr/XMLHttpRequestMainThread.cpp:545
7 xul.dll static bool mozilla::dom::XMLHttpRequest_Binding::get_responseText dom/bindings/XMLHttpRequestBinding.cpp:1693
8 xul.dll mozilla::dom::binding_detail::GenericGetter<mozilla::dom::binding_detail::NormalThisPolicy, mozilla::dom::binding_detail::ThrowExceptions> dom/bindings/BindingUtils.cpp:3187
9 xul.dll js::InternalCallOrConstruct js/src/vm/Interpreter.cpp:533

=============================================================

There are 29 crashes (from 3 installations) in nightly 63 with buildid 20180812220618. In analyzing the backtrace, the regression may have been introduced by patch [1] to fix bug 1070763.

[1] https://hg.mozilla.org/mozilla-central/rev?node=8b97d3b93472
Flags: needinfo?(wisniewskit)
MOZ_CRASH Reason 	Must not use a decoder that has finished.
Status: NEW → RESOLVED
Crash Signature: [@ static union core::option::Option<T> encoding_rs::Decoder::max_utf16_buffer_length]
Closed: 6 years ago
Resolution: --- → DUPLICATE
Flags: needinfo?(wisniewskit)
You need to log in before you can comment on or make changes to this bug.