[Bug 2078602] Re: one-liner from upstream fixes plocate free() crash
Ubuntu Foundations Team Bug Bot
2078602 at bugs.launchpad.net
Sun Sep 1 12:31:30 UTC 2024
The attachment "upstream patch from git" seems to be a patch. If it
isn't, please remove the "patch" flag from the attachment, remove the
"patch" tag, and if you are a member of the ~ubuntu-reviewers,
unsubscribe the team.
[This is an automated message performed by a Launchpad user owned by
~brian-murray, for any issues please contact him.]
** Tags added: 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