Open Bug 1325470 Opened 8 years ago Updated 3 years ago

Allocator mismatch: libstdc++ operator new freed by mozalloc operator delete

Categories

(Core :: Memory Allocator, defect, P3)

defect

Tracking

()

Tracking Status
firefox53 --- affected

People

(Reporter: jseward, Unassigned)

References

Details

Attachments

(1 file)

This was observed whilst chasing allocator mismatches in the unrelated bug 1320905. There appear to be allocations made by std::__cxx11::basic_string<..>::_M_construct --> operator new(unsigned long) [in libstdc++] freed by deallocate [in libstdc++] --> operator delete [in mozalloc.h] Test case is dom/promise/tests/test_webassembly_compile.html. STR: DISPLAY=:1.0 ./mach mochitest --keep-open=no -f plain \ --valgrind=/home/sewardj/VgTRUNK/progress/Inst/bin/valgrind \ --valgrind-args=--num-transtab-sectors=24,--px-default=allregs-at-mem-access,--px-file-backed=unwindregs-at-mem-access,--fair-sched=yes,--fullpath-after=/MOZ/,--trace-children=yes,--show-mismatched-frees=yes \ dom/promise/tests/test_webassembly_compile.html 2>&1 | tee spew-20-02-mc for a build using gcc-6.3.0 with "-Og -g".
Attached file Valgrind complaint
Component: mozglue → Memory Allocator
See Also: → 1340576
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: