-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Description / Steps to reproduce the issue
When using Application Verifier on Windows to test a program that uses librsvg, a VERIFIER STOP 0000000000000202: pid 0x864: Freeing heap block containing an active critical section. is frequently emitted when inside cairo_surface_destroy. Further investigation shows that the critical section was initialized inside cairo_recording_surface_create: https://gitlab.freedesktop.org/cairo/cairo/-/blob/04656d7450e229622546fd2b11496aa58c44181d/src/cairo-recording-surface.c#L442
- Install
mingw-w64-ucrt-x86_64-librsvg - Open Application Verifier from winsdk
- Add
rsvg-convert.exeand save - Run
gdb -ex r --args rsvg-convert.exe -o rsvg.png /ucrt64/share/doc/xz/api/doc.svg
Expected behavior
Program finishes without verifier stop.
Actual behavior
Verifier stop is emitted:
VERIFIER STOP 0000000000000202: pid [...]: Freeing heap block containing an active critical section.
Verification
- I have verified that my MSYS2 is up-to-date before submitting the report (see https://www.msys2.org/docs/updating/)
Windows Version
MINGW64_NT-10.0-19045
MINGW environments affected
- MINGW64
- MINGW32
- UCRT64
- CLANG64
- CLANGARM64
Are you willing to submit a PR?
No response
Also reported upstream as https://gitlab.freedesktop.org/cairo/cairo/-/issues/922