Actions
Bug #11954
closedPango (libfontconfig) memory leaks
Start date:
09/15/2023
Due date:
% Done:
100%
Estimated time:
Description
When using Pango with Address Sanitizer, a lot of leaks are reported, a lot of them coming from libfontconfig.
Some of them may be inherent to this library, but some of them could be caused by Wt's use.
A report for a small wt example that renders text to a PDF, using Pango
Wt::WPdfImage pdfImage("4cm", "3cm");
{
Wt::WPainter p(&pdfImage);
p.drawText(Wt::WRectF(0, 0, 20, 20), { Wt::AlignmentFlag::Left }, "Some text");
}
std::ofstream f("output.pdf", std::ios::out | std::ios::binary);
pdfImage.write(f);
results in a lot of leaks: SUMMARY: AddressSanitizer: 599399 byte(s) leaked in 14274 allocation(s).
Updated by Matthias Van Ceulebroeck about 1 year ago
- Target version changed from 4.10.2 to 4.10.3
Updated by Matthias Van Ceulebroeck 4 months ago
- Status changed from New to InProgress
- Assignee set to Matthias Van Ceulebroeck
- Target version changed from 4.10.3 to 4.11.0
Updated by Matthias Van Ceulebroeck 4 months ago
- Status changed from InProgress to Review
- Assignee deleted (
Matthias Van Ceulebroeck)
Updated by Matthias Van Ceulebroeck 4 months ago
- Related to Bug #12844: Further investigate remaining libfontconfig memory leak added
Updated by Matthias Van Ceulebroeck 4 months ago
- Status changed from Review to Implemented @Emweb
- Assignee changed from Marnik Roosen to Matthias Van Ceulebroeck
- % Done changed from 0 to 100
Updated by Matthias Van Ceulebroeck about 2 months ago
- Status changed from Implemented @Emweb to Closed
Actions