| From: | Emond Papegaaij <emond(dot)papegaaij(at)gmail(dot)com> |
|---|---|
| To: | pgpool-hackers(at)lists(dot)postgresql(dot)org |
| Subject: | Use-after-free crash |
| Date: | 2026-06-11 07:59:38 |
| Message-ID: | CAGXsc+aFfv2_PUrEdCt8TousYP9dPmty3i+0mkJpWwVg=fVN+Q@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgpool-hackers |
Hi,
Yesterday one of our tests detected a segmentation fault in pgpool,
caused by a use-after-free. It is triggered during the shutdown of the
process, so it probably isn't too harmful, but still I think it should
be fixed. I've worked with Claude Code to build a patch (against 4.7)
and a reproducer of the problem. The patch also contains a detailed
explanation of how this crashes in the commit message. To run the
reproducer:
tar xzf pgpool-uaf-repro.tar.gz
cd pgpool-uaf-repro
PGPOOL=/path/to/their/pgpool ./reproduce.sh
Best regards,
Emond
| Attachment | Content-Type | Size |
|---|---|---|
| 0001-Fix-use-after-free-of-query-context-after-a-backend-.patch | text/x-patch | 4.4 KB |
| pgpool-uaf-repro.tar.gz | application/gzip | 9.6 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tatsuo Ishii | 2026-06-11 23:34:01 | Re: Use-after-free crash |
| Previous Message | Tatsuo Ishii | 2026-06-08 01:33:12 | Fix signal handler in pgpool main |