I guess this could be avoided by setting http_hostname/http_hostname_display, but urlserver locked up when I did /disconnect -all and then /reconnect -all after I turned on a VPN. The backtrace is below. I don't know if there is any way to put a timeout in whatever python method does gethostbyname(), but it would be nice.
#0 0x0000003bf4eea9dd in poll () at ../sysdeps/unix/syscall-template.S:81
#1 0x0000003bf7a0ae29 in send_dg (resplen2=0x7fff6b809fc0, anssizp2=0x7fff6b809fb0, ansp2=0x7fff6b809ff0, anscp=0x7fff6b809fe0, gotsomewhere=<synthetic pointer>, v_circuit=<synthetic pointer>, ns=0, terrno=0x7fff6b808620, anssizp=0x7fff6b808760,
ansp=0x7fff6b808618, buflen2=24, buf2=0x7fff6b8087a8 ")\"\001", buflen=24, buf=0x7fff6b808790 "\203m\001", statp=0x3bf51bd3e0 <_res@GLIBC_2.2.5>) at res_send.c:1059
#2 __libc_res_nsend (statp=statp@entry=0x3bf51bd3e0 <_res@GLIBC_2.2.5>, buf=buf@entry=0x7fff6b808790 "\203m\001", buflen=<optimized out>, buf2=buf2@entry=0x7fff6b8087a8 ")\"\001", buflen2=buflen2@entry=24, ans=ans@entry=0x7fff6b809370 ")\"\201\205",
anssiz=anssiz@entry=2048, ansp=ansp@entry=0x7fff6b809fe0, ansp2=ansp2@entry=0x7fff6b809ff0, nansp2=nansp2@entry=0x7fff6b809fb0, resplen2=resplen2@entry=0x7fff6b809fc0) at res_send.c:556
#3 0x0000003bf7a08d47 in __GI___libc_res_nquery (statp=statp@entry=0x3bf51bd3e0 <_res@GLIBC_2.2.5>, name=0x1ddcbc4 "mithos", class=class@entry=1, type=type@entry=62321, answer=answer@entry=0x7fff6b809370 ")\"\201\205", anslen=anslen@entry=2048,
answerp=answerp@entry=0x7fff6b809fe0, answerp2=answerp2@entry=0x7fff6b809ff0, nanswerp2=nanswerp2@entry=0x7fff6b809fb0, resplen2=resplen2@entry=0x7fff6b809fc0) at res_query.c:226
#4 0x0000003bf7a098c7 in __libc_res_nquerydomain (domain=0x0, resplen2=0x7fff6b809fc0, nanswerp2=0x7fff6b809fb0, answerp2=0x7fff6b809ff0, answerp=0x7fff6b809fe0, anslen=2048, answer=0x7fff6b809370 ")\"\201\205", type=62321, class=1,
name=<optimized out>, statp=0x3bf51bd3e0 <_res@GLIBC_2.2.5>) at res_query.c:582
#5 __GI___libc_res_nsearch (statp=0x3bf51bd3e0 <_res@GLIBC_2.2.5>, name=name@entry=0x1ddcbc4 "mithos", class=class@entry=1, type=type@entry=62321, answer=answer@entry=0x7fff6b809370 ")\"\201\205", anslen=anslen@entry=2048,
answerp=answerp@entry=0x7fff6b809fe0, answerp2=answerp2@entry=0x7fff6b809ff0, nanswerp2=nanswerp2@entry=0x7fff6b809fb0, resplen2=resplen2@entry=0x7fff6b809fc0) at res_query.c:487
#6 0x00007f8b04077c2d in _nss_dns_gethostbyname4_r (name=name@entry=0x1ddcbc4 "mithos", pat=pat@entry=0x7fff6b80a680, buffer=buffer@entry=0x7fff6b80a090 "", buflen=buflen@entry=1064, errnop=errnop@entry=0x7fff6b80a650,
herrnop=herrnop@entry=0x7fff6b80a6b0, ttlp=ttlp@entry=0x0) at nss_dns/dns-host.c:314
#7 0x0000003bf4edb046 in gaih_inet (name=<optimized out>, name@entry=0x1ddcbc4 "mithos", service=<optimized out>, req=req@entry=0x7fff6b80a940, pai=pai@entry=0x7fff6b80a7c0, naddrs=naddrs@entry=0x7fff6b80a7b0) at ../sysdeps/posix/getaddrinfo.c:850
#8 0x0000003bf4ede64d in __GI_getaddrinfo (name=0x1ddcbc4 "mithos", service=0x0, hints=0x7fff6b80a940, pai=0x7fff6b80a938) at ../sysdeps/posix/getaddrinfo.c:2405
#9 0x00007f8b0610ad02 in ?? () from /usr/lib64/python2.7/lib-dynload/_socketmodule.so
#10 0x00007f8b0610d5b7 in ?? () from /usr/lib64/python2.7/lib-dynload/_socketmodule.so
#11 0x0000003a220e0bd4 in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#12 0x0000003a220e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#13 0x0000003a220e089f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#14 0x0000003a220e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#15 0x0000003a220e089f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#16 0x0000003a220e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#17 0x0000003a220e089f in PyEval_EvalFrameEx () from /lib64/libpython2.7.so.1.0
#18 0x0000003a220e21ed in PyEval_EvalCodeEx () from /lib64/libpython2.7.so.1.0
#19 0x0000003a2206f0f8 in ?? () from /lib64/libpython2.7.so.1.0
#20 0x0000003a2204a0c3 in PyObject_Call () from /lib64/libpython2.7.so.1.0
#21 0x0000003a2204a1a5 in ?? () from /lib64/libpython2.7.so.1.0
#22 0x0000003a2204a28e in PyObject_CallFunction () from /lib64/libpython2.7.so.1.0
#23 0x00007f8b06a8c1e0 in weechat_python_exec (script=0x1dd3fb0, ret_type=0, function=0x1984760 "urlserver_print_cb", format=0x7f8b06abb123 "ssssssss", argv=0x7fff6b80f690) at /home/agpotter/git/weechat/src/plugins/python/weechat-python.c:352
#24 0x00007f8b06a9ee46 in weechat_python_api_hook_print_cb (data=0x1dd5c90, buffer=0x1a8cce0, date=1396209485, tags_count=4, tags=0x1a90050, displayed=1, highlight=0, prefix=0x2c688e0 "--",
message=0x28ea890 "Global ([email protected]): [Logon News - Dec 16 2013] Own a large/active channel or plan to get one going? Please read http://s.rizon.net/authline") at /home/agpotter/git/weechat/src/plugins/python/weechat-python-api.c:2446
#25 0x000000000049828f in hook_print_exec (buffer=0x1a8cce0, line=0x2c991a0) at /home/agpotter/git/weechat/src/core/wee-hook.c:2181
#26 0x0000000000448f94 in gui_chat_printf_date_tags (buffer=0x1a8cce0, date=1396209485, tags=0x7f8b077e79c0 <string.6777> "irc_notice,notify_private,nick_Global,log1", message=0x7f8b075d96df "%s%s%s %s(%s%s%s)%s: %s")
at /home/agpotter/git/weechat/src/gui/gui-chat.c:770
#27 0x00007f8b075a0380 in irc_protocol_cb_notice (server=0x19bb5f0, date=0, nick=0x2e6af40 "Global", address=0x302ce00 "[email protected]", host=0x1b63190 "[email protected]", command=0x7f8b075d9090 "notice", ignored=0, argc=22, argv=0x302b100,
argv_eol=0x30015e0) at /home/agpotter/git/weechat/src/plugins/irc/irc-protocol.c:1310
#28 0x00007f8b075b0974 in irc_protocol_recv_command (server=0x19bb5f0,
irc_message=0x28dd400 ":[email protected] NOTICE talisein :[\002Logon News\002 - Dec 16 2013] Own a large/active channel or plan to get one going? Please read http://s.rizon.net/authline", msg_tags=0x0, msg_command=0x2ceee20 "NOTICE",
msg_channel=0x2d47280 "talisein") at /home/agpotter/git/weechat/src/plugins/irc/irc-protocol.c:5343
#29 0x00007f8b075baee1 in irc_server_msgq_flush () at /home/agpotter/git/weechat/src/plugins/irc/irc-server.c:2541
#30 0x00007f8b075bb13a in irc_server_recv_cb (data=0x19bb5f0, fd=67) at /home/agpotter/git/weechat/src/plugins/irc/irc-server.c:2627
#31 0x00000000004969e3 in hook_fd_exec (read_fds=0x7fff6b810ca0, write_fds=0x7fff6b810c20, exception_fds=0x7fff6b810ba0) at /home/agpotter/git/weechat/src/core/wee-hook.c:1329
#32 0x000000000042c2fd in gui_main_loop () at /home/agpotter/git/weechat/src/gui/curses/gui-curses-main.c:503
#33 0x000000000046b727 in main (argc=1, argv=0x7fff6b810e68) at /home/agpotter/git/weechat/src/core/weechat.c:477