-
Notifications
You must be signed in to change notification settings - Fork 35.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newer libevent causes http_request
fuzz target failure
#30096
Comments
For more details, see bitcoin#30096.
Is there something for this repo to do here? If that patch should be applied, then this should be a PR? If not, I guess close this? |
I'm in the middle of the investigation. |
The crash is reproducible on Linux as well. |
http_request
fuzz target failurehttp_request
fuzz target failure
Can you post steps to reproduce. What version of libevent. |
Compiling with depends in this branch. Then:
|
Ok, then I think this can be closed. The problem here primarily seems to be that Microsoft/vcpkg is shipping unreleased code into production. |
(I deleted my comment, because the fuzz CI config does not use depends, but the |
Ok. Edited my comment as well. This can still be closed. Maybe an issue can be filed with vcpkg to only ship stable code in production. |
I agree. I opened this issue to document hebasto#199. Closing. |
49d4c30 cmake, vcpkg: Pin `libevent` version (Hennadii Stepanov) Pull request description: For more details, see bitcoin#30096. Top commit has no ACKs. Tree-SHA512: 38697ac78899feece1ae4dd375c7061e7a2f3ac7b1428e880f6942fc1a8614bc256c3c04b280e2841de760459826e77dce20986f86a06e8072382a4314cfa9b1
For more details, see bitcoin#30096.
For more details, see bitcoin#30096.
For more details, see bitcoin#30096.
When building with MSVC, the
libevent
dependency package is provided by the vcpkg package manager.The #27335 pinned the
libevent
version to2.1.12#7
to avoid issues with the changed signature of theevhttp_connection_get_peer
function.Then, #29774 introduced the
fuzz.exe
binary.It turned out that the newer
libevent
version2.1.12+20230128
leads to failures in thehttp_request
fuzz target.To accommodate the newer
libevent
version, the following diff can be applied:Here is an example of a CI log demonstrating the issue: https://github.com/hebasto/bitcoin/actions/runs/9064987376/job/24904490588:
The text was updated successfully, but these errors were encountered: