regarding unbound library

SUJATHA SHANMUGAM -X (sujashan - HCL TECHNOLOGIES LIMITED at Cisco) sujashan at cisco.com
Wed Oct 20 00:18:14 UTC 2021


Hi Team,

I am using unbound package in my project. I am facing one issue at customer place.  We have used asynchronous unbound calls,

Below is the code snippet.



  1.  count = 0
  2.              while (status == 0) and (not my_data['done_flag']):
  3.                  val = ctx.poll()
  4.                  if val:
  5.                      status = ctx.process()
  6.                  coro.sleep_relative(0.1)
  7.                  count = count + 1
  8.                  #30 seconds timeout value is set
  9.                  if count > 300:
  10.                     self.dnssec_del()
  11.                     raise DNSSEC_Error(qname, qtype, resolver, \
  12.                     "SERVER TIMEOUT")


Below are the errors observed at customer place.

[New Thread 82404400 (LWP 100120)]
(gdb) bt
#0  tube_poll (tube=0xffffffffffffffff) at ./util/tube.c:402
#1  0x000000009200ceca in _wrap_ub_poll (self=Variable "self" is not available.
) at libunbound/python/libunbound_wrap.c:5245
#2  0x00000000004c0bf9 in PyEval_EvalFrameEx (f=0x9d0f3e60, throwflag=Variable "throwflag" is not available.
) at Python/ceval.c:3706
#3  0x00000000004c3202 in fast_function (func=Variable "func" is not available.
) at Python/ceval.c:3792
#4  0x00000000004bf38d in PyEval_EvalFrameEx (f=0x9b6bc620, throwflag=Variable "throwflag" is not available.
) at Python/ceval.c:3727
#5  0x00000000004bc512 in PyEval_EvalCodeEx (co=Variable "co" is not available.
) at Python/ceval.c:2968
#6  0x00000000004c3269 in fast_function (func=Variable "func" is not available.
) at Python/ceval.c:3802
#7  0x00000000004bf38d in PyEval_EvalFrameEx (f=0x9fbe9720, throwflag=Variable "throwflag" is not available.
) at Python/ceval.c:3727
#8  0x00000000004bc512 in PyEval_EvalCodeEx (co=Variable "co" is not available.
) at Python/ceval.c:2968


I need the help on this. Any help will be really appreciated.


Thanks & Regards,
Sujatha Shanmugam
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nlnetlabs.nl/pipermail/unbound-users/attachments/20211020/1f7d3d1b/attachment.htm>


More information about the Unbound-users mailing list