Skip to content

Instantly share code, notes, and snippets.

@renaudallard
Created October 24, 2025 10:16
Show Gist options
  • Select an option

  • Save renaudallard/d0e2b3e184ff1ca15165a27abfa8c51e to your computer and use it in GitHub Desktop.

Select an option

Save renaudallard/d0e2b3e184ff1ca15165a27abfa8c51e to your computer and use it in GitHub Desktop.
(gdb) run
Starting program: /usr/local/bin/dnsdist -vC /etc/dnsdist/dnsdist.yml
dnsdist 2.0.1 comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it according to the terms of the GPL version 2
Loading configuration from YAML file /etc/dnsdist/dnsdist.yml
libc++abi: terminating due to uncaught exception of type PDNSException
[New thread 123321 of process 63911]
Thread 1 received signal SIGABRT, Aborted.
thrkill () at /tmp/-:2
warning: 2 /tmp/-: No such file or directory
(gdb) bt
#0 thrkill () at /tmp/-:2
#1 0xf7e410ad5b70bfde in ?? ()
#2 0x000001851e1756ab in _libc_abort () at /usr/src/lib/libc/stdlib/abort.c:51
#3 0x00000184f7e4e298 in abort_message (format=0x184f7e424b9 "terminating due to %s exception of type %s")
at /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/abort_message.cpp:78
#4 0x00000184f7e4e076 in demangling_terminate_handler ()
at /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_default_handlers.cpp:77
#5 0x00000184f7e4deea in std::__terminate (func=0x0)
at /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_handlers.cpp:59
#6 0x00000184f7e4de5b in std::terminate ()
at /usr/src/gnu/lib/libcxxabi/../../../gnu/llvm/libcxxabi/src/cxa_handlers.cpp:88
#7 0x0000018288a00f22 in __clang_call_terminate ()
#8 0x0000018289a7d3ed in dnsdist$rust$settings$cxxbridge1$getRegexSelector ()
#9 0x0000018289ac3660 in dnsdist_rust::get_one_selector_from_serde ()
#10 0x0000018289ac31bf in dnsdist_rust::get_one_selector_from_serde ()
#11 0x0000018289ac3a0d in dnsdist_rust::get_query_rules_from_serde ()
#12 0x0000018289ac4f70 in dnsdist_rust::from_yaml_string ()
#13 0x0000018289ab69d5 in cxx::unwind::prevent_unwind ()
#14 0x0000018289a9a5e1 in dnsdist$rust$settings$cxxbridge1$from_yaml_string ()
#15 0x0000018289a7ece8 in dnsdist::rust::settings::from_yaml_string(rust::cxxbridge1::Str) ()
#16 0x0000018288b5ff50 in dnsdist::configuration::yaml::loadConfigurationFromFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool) ()
#17 0x00000182889cac60 in loadConfigurationFromFile(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool, bool) ()
#18 0x00000182889c8e0b in main ()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment