I have a try catch when I call resolve but it seems to still crash and abort the program:
#0 0x00007f6e2cabbd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
(gdb) bt
#0 0x00007f6e2cabbd05 in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f6e2cabfab6 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f6e2d6a7795 in Poco::SignalHandler::handleSignal(int) () from /usr/local/lib/libPocoFoundation.so.11
#3 <signal handler called>
#4 0x00007f6e2ef99759 in Poco::Net::IPAddress::tryParse(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, Poco::Net::IPAddress&) () from /usr/local/lib/libPocoNet.so.11
#5 0x00007f6e2ef8d054 in Poco::Net::DNS::resolve(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
from /usr/local/lib/libPocoNet.so.11
Any ideas?





