-
-
Notifications
You must be signed in to change notification settings - Fork 342
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
unbound.service: Main process exited, code=killed, status=11/SEGV #925
Comments
Could you perhaps run |
don't have valgrind on the system.
|
Could you run |
as requested, "sudo gdb --args /usr/sbin/unbound -dd -vvvv" , "run", "bt"
|
That is really useful, thanks! So |
status=11/SEGV. Fixes cachedb configuration handling.
The committed fix helps the stack trace that was reported from crashing, based on NULL pointers and would allow an empty backend to turn off the cachedb. However, the 0x80 pointer in the stack trace is not something that seems possible. Is it possible to perform a clean recompile to make sure, eg, |
fixed!, thanks for your time, effort and very quick response, much appreciated. |
* nlnet/master: (44 commits) - Fix NLnetLabs#927: unbound 1.18.0 make test error. Fix make test without SHA1. - Fix autoconf 2.69 warnings in configure. - Fix for WKS call to getservbyname that creates allocation on exit in unit test by testing numbers first and testing from the services list later. Tag 1.18.0rc1 became the 1.18.0 release on 30 aug 2023, with the fix from 25 aug, fix compile on NetBSD included. The repository continues with version 1.18.1. - Fix for version generation race condition that ignored changes. - Fix compile error on NetBSD in util/netevent.h. - Tag for 1.18.0rc1 release. - Set version number to 1.18.0. - Fix unit test for unbound-control to work when threads are disabled, and fix cache dump check. - Fix NLnetLabs#923: processQueryResponse() THROWAWAY should be mindful of fail_reply. - Fix for NLnetLabs#925: unbound.service: Main process exited, code=killed, status=11/SEGV. Fixes cachedb configuration handling. - Fix windows ci workflow to install bison and flex. Further debug for windows ci workflow. - Debug Windows ci workflow. - Fix stat_values test to work with dig that enables DNS cookies. - Fix uninitialized memory passed in padding bytes of cmsg to sendmsg. Changelog for commit. - Fix for iter_dec_attempts that could cause a hang, part of capsforid and qname minimisation, depending on the settings. - Fix for iter_dec_attempts that could cause a hang, part of capsforid and qname minimisation, depending on the settings. - Fix ip_ratelimit test to work with dig that enables DNS cookies. - Fix regional_alloc_init for potential unaligned source of the copy. ...
Describe the bug
unbound doesn't start
sudo service unbound status returns:
ExecStart=/usr/sbin/unbound -d -v (code=killed, signal=SEGV)
To reproduce
compile master from github (cloned today (19/08/23)
sudo ./configure --prefix=/usr --sysconfdir=/etc --disable-static --enable-tfo-client --enable-tfo-server --with-libevent --with-libhiredis --enable-cachedb --with-pidfile=/run/unbound.pid
sudo make
sudo make install
System:
The text was updated successfully, but these errors were encountered: