<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<span style="color: rgb(0, 0, 0); font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt;">Hi Team,</span><br>
</div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I am using unbound package in my project. I am facing one issue at customer place. We have used asynchronous unbound calls, </div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Below is the code snippet.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<ol class="x_x_x_linenums" style="margin:0px 0px 0px 53px; color:rgb(51,51,51); font-family:"Cousine Web Font",monospace; font-size:13px">
<li class="x_x_x_L3" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)">count </span><span class="x_x_x_pun" style="color:rgb(147,161,161)">=</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_lit" style="color:rgb(25,95,145)">0</span></li><li class="x_x_x_L4" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_kwd" style="color:rgb(30,52,123)">while</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_pun" style="color:rgb(147,161,161)">(</span><span class="x_x_x_pln" style="color:rgb(72,72,76)">status
</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">==</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_lit" style="color:rgb(25,95,145)">0</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">)</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_kwd" style="color:rgb(30,52,123)">and</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_pun" style="color:rgb(147,161,161)">(</span><span class="x_x_x_kwd" style="color:rgb(30,52,123)">not</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> my_data</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">[</span><span class="x_x_x_str" style="color:rgb(221,17,68)">'done_flag'</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">]):</span></li><li class="x_x_x_L5" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> val </span><span class="x_x_x_pun" style="color:rgb(147,161,161)">=</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> ctx</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">.</span><span class="x_x_x_pln" style="color:rgb(72,72,76)">poll</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">()</span></li><li class="x_x_x_L6" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_kwd" style="color:rgb(30,52,123)">if</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> val</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">:</span></li><li class="x_x_x_L7" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> status </span>
<span class="x_x_x_pun" style="color:rgb(147,161,161)">=</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> ctx</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">.</span><span class="x_x_x_pln" style="color:rgb(72,72,76)">process</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">()</span></li><li class="x_x_x_L8" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> coro</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">.</span><span class="x_x_x_pln" style="color:rgb(72,72,76)">sleep_relative</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">(</span><span class="x_x_x_lit" style="color:rgb(25,95,145)">0.1</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">)</span></li><li class="x_x_x_L9" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> count </span>
<span class="x_x_x_pun" style="color:rgb(147,161,161)">=</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> count
</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">+</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_lit" style="color:rgb(25,95,145)">1</span></li><li class="x_x_x_L0" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_com" style="color:rgb(147,161,161)">#30 seconds timeout value is set</span></li><li class="x_x_x_L1" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_kwd" style="color:rgb(30,52,123)">if</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> count
</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">></span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_lit" style="color:rgb(25,95,145)">300</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">:</span></li><li class="x_x_x_L2" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> self</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">.</span><span class="x_x_x_pln" style="color:rgb(72,72,76)">dnssec_del</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">()</span></li><li class="x_x_x_L3" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_kwd" style="color:rgb(30,52,123)">raise</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> DNSSEC_Error</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">(</span><span class="x_x_x_pln" style="color:rgb(72,72,76)">qname</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">,</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> qtype</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">,</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> resolver</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">,</span><span class="x_x_x_pln" style="color:rgb(72,72,76)"> \</span></li><li class="x_x_x_L4" style="line-height:18px; padding-left:12px; color:rgb(190,190,197)">
<span class="x_x_x_pln" style="color:rgb(72,72,76)"> </span><span class="x_x_x_str" style="color:rgb(221,17,68)">"SERVER TIMEOUT"</span><span class="x_x_x_pun" style="color:rgb(147,161,161)">)</span></li></ol>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Below are the errors observed at customer place.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
[New Thread 82404400 (LWP 100120)]
<div>(gdb) bt</div>
<div>#0 tube_poll (tube=0xffffffffffffffff) at ./util/tube.c:402</div>
<div>#1 0x000000009200ceca in _wrap_ub_poll (self=Variable "self" is not available.</div>
<div>) at libunbound/python/libunbound_wrap.c:5245</div>
<div>#2 0x00000000004c0bf9 in PyEval_EvalFrameEx (f=0x9d0f3e60, throwflag=Variable "throwflag" is not available.</div>
<div>) at Python/ceval.c:3706</div>
<div>#3 0x00000000004c3202 in fast_function (func=Variable "func" is not available.</div>
<div>) at Python/ceval.c:3792</div>
<div>#4 0x00000000004bf38d in PyEval_EvalFrameEx (f=0x9b6bc620, throwflag=Variable "throwflag" is not available.</div>
<div>) at Python/ceval.c:3727</div>
<div>#5 0x00000000004bc512 in PyEval_EvalCodeEx (co=Variable "co" is not available.</div>
<div>) at Python/ceval.c:2968</div>
<div>#6 0x00000000004c3269 in fast_function (func=Variable "func" is not available.</div>
<div>) at Python/ceval.c:3802</div>
<div>#7 0x00000000004bf38d in PyEval_EvalFrameEx (f=0x9fbe9720, throwflag=Variable "throwflag" is not available.</div>
<div>) at Python/ceval.c:3727</div>
<div>#8 0x00000000004bc512 in PyEval_EvalCodeEx (co=Variable "co" is not available.</div>
<span>) at Python/ceval.c:2968</span><br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span>I need the help on this. Any help will be really appreciated.</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span><br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span>Thanks & Regards,</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span>Sujatha Shanmugam</span></div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>