Reported threadpool segfault in pacman with curl 8.20 turns out to be a pacman issue.
-
Reported threadpool segfault in pacman with curl 8.20 turns out to be a pacman issue.
Applications cannot expect curl handles to work the same in a forked child. While his may have "just worked" with earlier curl versions, it now becomes noticeable with the new threadpool resolver.
segmentation fault with threaded resolver · Issue #21466 · curl/curl
I did this I built a package for curl 7.20.0 earlier today and pushed it to Arch's testing repositories. With that package installed pacman started to misbehave, crashing with segmentation faults. Easiest way is to run pacstrap, which is...
GitHub (github.com)
-
Reported threadpool segfault in pacman with curl 8.20 turns out to be a pacman issue.
Applications cannot expect curl handles to work the same in a forked child. While his may have "just worked" with earlier curl versions, it now becomes noticeable with the new threadpool resolver.
segmentation fault with threaded resolver · Issue #21466 · curl/curl
I did this I built a package for curl 7.20.0 earlier today and pushed it to Arch's testing repositories. With that package installed pacman started to misbehave, crashing with segmentation faults. Easiest way is to run pacstrap, which is...
GitHub (github.com)
Started a discussion if curl should detect such situations and fail it in a controlled way.
-
Reported threadpool segfault in pacman with curl 8.20 turns out to be a pacman issue.
Applications cannot expect curl handles to work the same in a forked child. While his may have "just worked" with earlier curl versions, it now becomes noticeable with the new threadpool resolver.
segmentation fault with threaded resolver · Issue #21466 · curl/curl
I did this I built a package for curl 7.20.0 earlier today and pushed it to Arch's testing repositories. With that package installed pacman started to misbehave, crashing with segmentation faults. Easiest way is to run pacstrap, which is...
GitHub (github.com)
@icing TIL Pac-Man contained curl. Oh, wait
-
@icing TIL Pac-Man contained curl. Oh, wait
@jpmens it's one of the ghosts!
-
Reported threadpool segfault in pacman with curl 8.20 turns out to be a pacman issue.
Applications cannot expect curl handles to work the same in a forked child. While his may have "just worked" with earlier curl versions, it now becomes noticeable with the new threadpool resolver.
segmentation fault with threaded resolver · Issue #21466 · curl/curl
I did this I built a package for curl 7.20.0 earlier today and pushed it to Arch's testing repositories. With that package installed pacman started to misbehave, crashing with segmentation faults. Easiest way is to run pacstrap, which is...
GitHub (github.com)
@icing so basically it was always broken but because curl is "more correct" now this bug revealed itself? Fascinating.
-
@icing so basically it was always broken but because curl is "more correct" now this bug revealed itself? Fascinating.
@bitbraindev The trigger was that we now have a thread pool that gets shutdown on `curl_multi_cleanup()` and that crashes in a forked child as threads are not forked.
Before that, such threads were joined on `curl_easy_cleanup()`, which seems to happen in pacman before the fork.
-
R relay@relay.publicsquare.global shared this topic