Skip to content

iconv: Fix memory management in autoconf test for //IGNORE#22620

Merged
TimWolla merged 1 commit into
php:masterfrom
TimWolla:iconv-config-asan
Jul 6, 2026
Merged

iconv: Fix memory management in autoconf test for //IGNORE#22620
TimWolla merged 1 commit into
php:masterfrom
TimWolla:iconv-config-asan

Conversation

@TimWolla

@TimWolla TimWolla commented Jul 6, 2026

Copy link
Copy Markdown
Member

Sometimes running ./configure for ASAN hangs on my machine. This is reproducible when compiling and running the program manually using

clang-16 -g -fsanitize=undefined,address test.c

It seems this is related to the LLVM symbolizer getting stuck, and the symbolizer is likely required to report the memory leak. After adding the memory management functions it seems to work (or rather fail) reliably.

Sometimes running `./configure` for ASAN hangs on my machine. This is
reproducible when compiling and running the program manually using

    clang-16 -g -fsanitize=undefined,address test.c

It seems this is related to the LLVM symbolizer getting stuck, and the
symbolizer is likely required to report the memory leak. After adding the
memory management functions it seems to work (or rather fail) reliably.
@TimWolla
TimWolla merged commit d6be30e into php:master Jul 6, 2026
18 checks passed
@TimWolla
TimWolla deleted the iconv-config-asan branch July 7, 2026 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants