Closed Bug 1275256 Opened 8 years ago Closed 8 years ago

Crash in nsHTTPCompressConv::BrotliHandler

Categories

(Core :: Networking, defect)

49 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 1274732
Tracking Status
firefox49 --- affected

People

(Reporter: dragana, Unassigned)

Details

(Whiteboard: [necko-next])

Crash Data

There are not a lot of them.

I am not sure if there is something wrong with Brotli or with nsHTTPCompressConv in general.


https://crash-stats.mozilla.com/report/index/3c2d3400-0ee5-4f76-84e4-700612160515
https://crash-stats.mozilla.com/report/index/d9d94f0b-98e8-4d7d-a658-86cd82160511
Whiteboard: [necko-backlog]
see https://bugzilla.mozilla.org/show_bug.cgi?id=1274732 .. maybe a dup .. maybe a str.. maybe just a non-official toolchain with a problem
Crash Signature: [@ mozilla::net::nsHTTPCompressConv::BrotliHandler]
It looks like this runs out of stack space: https://crash-stats.mozilla.com/report/index/d9d94f0b-98e8-4d7d-a658-86cd82160511

Might be an idea to allocate 128kb buffer with malloc instead of placing it on the stack.
https://hg.mozilla.org/releases/mozilla-aurora/annotate/9a64ae897313/netwerk/streamconv/converters/nsHTTPCompressConv.cpp#l169

Or maybe use a significantly smaller buffer.
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.