[Bug 2078602] [NEW] one-liner from upstream fixes plocate free() crash
Scott Mcdermott
2078602 at bugs.launchpad.net
Sun Sep 1 04:23:57 UTC 2024
Public bug reported:
My `plocate 1.1.15-1ubuntu2` on ubuntu22 amd64 with all patches applied is now crashing with:
```
free(): invalid pointer
Aborted
```
on any `locate` (which is `/usr/bin/plocate` via `alternatives`). After getting the source and applying sole upstream patch 7f39444 on top of 1.1.15 (see attached) it fixes the issue and locate succeeds (no need to regen db). This patch changes a single `free()` call in IOUringEngine() to a `io_uring_free_probe()`.
Please apply to ubuntu22 or bump upstream base to minimum 1.1.19 which
is the first tag to contain 7f39444. Thanks.
** Affects: plocate (Ubuntu)
Importance: Undecided
Status: New
** Patch added: "upstream patch from git"
https://bugs.launchpad.net/bugs/2078602/+attachment/5811742/+files/upstream-uring.patch
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to plocate in Ubuntu.
https://bugs.launchpad.net/bugs/2078602
Title:
one-liner from upstream fixes plocate free() crash
Status in plocate package in Ubuntu:
New
Bug description:
My `plocate 1.1.15-1ubuntu2` on ubuntu22 amd64 with all patches applied is now crashing with:
```
free(): invalid pointer
Aborted
```
on any `locate` (which is `/usr/bin/plocate` via `alternatives`). After getting the source and applying sole upstream patch 7f39444 on top of 1.1.15 (see attached) it fixes the issue and locate succeeds (no need to regen db). This patch changes a single `free()` call in IOUringEngine() to a `io_uring_free_probe()`.
Please apply to ubuntu22 or bump upstream base to minimum 1.1.19 which
is the first tag to contain 7f39444. Thanks.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/plocate/+bug/2078602/+subscriptions
More information about the foundations-bugs
mailing list