-
-
Notifications
You must be signed in to change notification settings - Fork 204
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
Pihole 6 docker / dnsmasq component segfaults during run #2219
Comments
Thank you for your report and the detailed |
Sorry for the trouble but "repeated crashes" is something that makes me hopeful we can fix this soon. To further investigate where this double free corruption comes from, could I ask you to run the steps of https://docs.pi-hole.net/ftldns/valgrind/ in addition as report this back? |
I'm unsure if that helps as I have no real experience with valgrind.
c19a95121dff:/# cat valgrind.log
|
We already have a proposed fix, could you please run
to check if this fixes the bug for you? |
I cannot use that command inside a Docker container, but I fetched the binary from here: https://github.com/pi-hole/FTL/actions/runs/13451409271 ("pihole-FTL-amd64-binary") and replaced the one inside the container with it. Maybe for reproduction purposes:
|
Okay, so this definitely includes the last fix. I will try about the same you did but I traveling right now so I cannot (read as: should not) reconfigure DNS resolution at home remotely and possibly get some people there upset because I break the Internet connection.
I ran the test three times now, it always returns only my residential IP address but never triggered a crash. |
No worries. My current setup is using caching on the unbound resolvers so it's not as if I have no connectivity at all. It's "only" that I can see the container restarting every once in a while - tough I cannot really say which request is causing this or if it's the amount of concurrent ones etc. |
Just as an FYI You can build local images with alternative FTL binaries like so: https://docs.pi-hole.net/docker/build-image/#as-an-alternative-to-pihole-checkout |
@reneploetz I pushed another commit, it'd be great if you could test this one, too. I am still failing to reproduce this crash myself. edit What you did with |
Since using Pihole 6 I'm experiencing repeated crashes - resulting in container restarts. The debug output was captured using the steps in https://docs.pi-hole.net/ftldns/gdb/
Versions
FTL commit: eaa7dbb
FTL date: 2025-02-18 17:19:26 +0000
Platform
Actual behavior / bug
GDB session inside Docker:
The text was updated successfully, but these errors were encountered: