Closed Bug 928186 Opened 6 years ago Closed 6 years ago

Crash in the nuwa process

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: cyu, Assigned: cyu)

Details

Attachments

(1 file)

LibcAllocator in Nuwa.cpp doesn't implement allocate() correctly:
in parameter typename std::allocator<T>::size_type n
the unit of n is elements, not bytes. The bug makes the allocator not allocating enough memory and gets crash when the container frees the memory (in this case, to grow the vector).
Assignee: nobody → cyu
Attachment #818786 - Flags: review?(khuey)
Try submission: https://tbpl.mozilla.org/?tree=Try&rev=a9263aef1f23

The orange browser-chrome tests is not relevant since the patch is not enabled not the platforms in question.
Keywords: checkin-needed
https://hg.mozilla.org/mozilla-central/rev/782fbf61cd59
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.