When using the shutdown command via the API, kea-ctrl-agent does not
segfault:
# kea-shell --auth-user kea-api --auth-password $(cat
/etc/kea/kea-api-password) --host localhost shutdown
[ { "result": 0, "text": "Control Agent is shutting down" } ]
I had the server running inside gdb:
(...)
DEBUG CTRL_AGENT_RUN_EXIT application is exiting the event loop
INFO DCTL_SHUTDOWN Control-agent has shut down, pid: 460849, version: 2.4.1
[Thread 0x7ffff4fcf0e0 (LWP 460854) exited]
[Thread 0x7ffff57df0e0 (LWP 460853) exited]
[Thread 0x7ffff5fef0e0 (LWP 460852) exited]
[Thread 0x7ffff67ff0e0 (LWP 460851) exited]
[Inferior 1 (process 460849) exited normally]
(gdb)
So, normal exit. But when reacting to the TERM signal, it segfaults:
Thread 1 "kea-ctrl-agent" received signal SIGTERM, Terminated.
Download failed: Invalid argument. Continuing without source file
./misc/../sysdeps/unix/sysv/linux/epoll_wait.c.
0x00007ffff7091444 in epoll_wait (epfd=<optimized out>, events=0x7fffffffde88,
maxevents=<optimized out>, timeout=<optimized out>)
at ../sysdeps/unix/sysv/linux/epoll_wait.c:30
warning: 30 ../sysdeps/unix/sysv/linux/epoll_wait.c: No such file or
directory
(gdb) c
Continuing.
Thread 1 "kea-ctrl-agent" received signal SIGSEGV, Segmentation fault.
0x00007ffff7bebafc in
boost::asio::detail::call_stack<boost::asio::detail::thread_context,
boost::asio::detail::thread_info_base>::contains (k=0x1000b6330)
at /usr/include/boost/asio/detail/call_stack.hpp:98
warning: Source file is more recent than executable.
98 if (elem->key_ == k)
(gdb)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2055151
Title:
kea-ctrl-agent segfault in ppc64el dep8 test
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/isc-kea/+bug/2055151/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs