Fra: "Steven Levine" <ecs-isp@2rosenthals.com> Full Headers
Undecoded message
Emne: Re: [eCS-ISP] Bind 9.11.37 issue - ticket #784 - update
Dato: Thu, 23 May 2024 08:49:04 -0700
Til: "eCS ISP Mailing List" <ecs-isp@2rosenthals.com>

In <list-9693643@2rosenthals.com>, on 05/22/24
   at 06:54 AM, "Paul Smedley" <ecs-isp@2rosenthals.com> said:

Hi all,

>https://smedley.id.au/tmp/named.map

Thanks.  This helps.

Looking at the appends stack traces for all the threads, there are a
couple of possible reasons for the hang.

The thread a slot 5b is waiting on a select() to return.  However, this
select has no timeout value defined.

You might notice that a couple of the threads are waiting to acquire a r/w
lock on some data.

Massimo, I need to see two more dump files.  The first taken after you
notice named has hung and the second taken after you have attempted to
kill named.  With a bit of luck, this will help us figure out why the kill
fails.

Paul, how much work would it be to build named.exe with debug symbols?

If you look at the stack traces, some of the offsets are large.  This
means that the code is not in the function named in the stack trace.  It
is in a static function which is not present in the linker .map file.
With debug data, I can add the static functions to the map file without
too much effort.

Thanks,

Steven

--
----------------------------------------------------------------------
"Steven Levine" <steve53@earthlink.net>  Warp/DIY/BlueLion etc.
www.scoug.com www.arcanoae.com www.warpcave.com
----------------------------------------------------------------------
Ring three stack for all slots
Ring three stack for slot   3e:
  Base Ptr   Parameters                                Caller
  --------   ----------------                          ------
  %00c0fc28  9c00 18cf fc64 00c0 0000 0000 5fa0 0003   LIBCN0 ___libc_Back_signalWait + 15d
  %00c0fcd8  fe08 00c0 fcf0 00c0 0000 0000 0018 0000   LIBCN0 __std_sigtimedwait + 22
  %00c0fd58  fe08 00c0 fd70 00c0 0000 0000 e77b 000f   LIBCN0 __std_sigwait + 31
  %00c0fdc8  fe08 00c0 fe04 00c0 fe18 00c0 b1a5 1f15   NAMED isc_app_ctxrun + 17c
  %00c0fea8  6180 0043 12a1 0019 00ff 0000 63c0 0043   NAMED isc_app_run_1 + 74
  %00c0fec8  6960 2003 27b0 0043 00ff 0000 ffff ffff   NAMED main + 1036
  %00c0ff30  0003 0000 ff74 00c0 0180 2003 ff6c 00c0   NAMED text + 27
  %00c0ff54  ff60 00c0 0003 0000 ff74 00c0 0180 2003   LIBCX0 _libcx_take_handles + 14fd
  %00c0ffe0  0001 0000 ce38 1ffe 0674 0000 0000 0000   LIBCN0 __std_getgrnam + 10fa
Ring three stack for slot   54:
  Base Ptr   Parameters                                Caller
  --------   ----------------                          ------
  %0314f264  8360 2077 8344 2077 0000 0000 0000 0000   NAMED isc_rwlock_lock + 30a
  %0314f2a4  8340 2077 0002 0000 0000 0000 f2e8 0314   NAMED dns_ds_buildrdata + 936d
  %0314f504  0001 0000 f5fc 0314 0001 0000 f5fc 0314   NAMED dns_resolver_prime + 2d69
  %0314fee4  53f0 2017 44a8 212f 0070 0000 a9b5 000f   NAMED isc_task_beginexclusive + 761
  %0314ff34  3120 2004 1240 2008 ff64 0314 9139 1f1d   NAMED pthread_exit + b6
  %0314ff64  1240 2008 037f 0000 0000 0000 0000 0000   LIBCX0 _exeinfo_close + ff
  %0314ffb4  4518 2003 0000 0000 0000 0000 0000 0000   LIBCN0 __atfork_callback + 3e
  %0314fff4  1280 2008 0000 0000 0000 0000 0000 0000   DOSCALL1 DOS32R3EXITADDR
Ring three stack for slot   55:
  Base Ptr   Parameters                                Caller
  --------   ----------------                          ------
  %0324f264  835c 2077 8344 2077 f298 0324 f297 0324   NAMED isc_rwlock_lock + 17c
  %0324f2a4  8340 2077 0001 0000 ffff ffff ffff ffff   NAMED dns_ds_buildrdata + 924f
  %0324f504  0001 0000 f5fc 0324 0001 0000 f5fc 0324   NAMED dns_resolver_prime + 2d69
  %0324fee4  4c10 2017 4190 212f 0070 0000 a9b5 000f   NAMED isc_task_beginexclusive + 761
  %0324ff34  3120 2004 1ec0 2008 ff64 0324 9139 1f1d   NAMED pthread_exit + b6
  %0324ff64  1ec0 2008 037f 0000 0000 0000 0000 0000   LIBCX0 _exeinfo_close + ff
  %0324ffb4  4518 2003 0000 0000 0000 0000 0000 0000   LIBCN0 __atfork_callback + 3e
  %0324fff4  1f00 2008 0000 0000 0000 0000 0000 0000   DOSCALL1 DOS32R3EXITADDR
Ring three stack for slot   56:
  Base Ptr   Parameters                                Caller
  --------   ----------------                          ------
  %0335f264  835c 2077 8344 2077 f298 0335 f297 0335   NAMED isc_rwlock_lock + 17c
  %0335f2a4  8340 2077 0001 0000 ffff ffff ffff ffff   NAMED dns_ds_buildrdata + 924f
  %0335f504  0001 0000 f5fc 0335 0001 0000 f5fc 0335   NAMED dns_resolver_prime + 2d69
  %0335fee4  49e0 2017 9e50 2016 0070 0000 a9b5 000f   NAMED isc_task_beginexclusive + 761
  %0335ff34  3120 2004 2c60 2008 ff64 0335 9139 1f1d   NAMED pthread_exit + b6
  %0335ff64  2c60 2008 037f 0000 0000 0000 0000 0000   LIBCX0 _exeinfo_close + ff
  %0335ffb4  4518 2003 0000 0000 0000 0000 0000 0000   LIBCN0 __atfork_callback + 3e
  %0335fff4  2ca0 2008 0000 0000 0000 0000 0000 0000   DOSCALL1 DOS32R3EXITADDR
Ring three stack for slot   57:
  Base Ptr   Parameters                                Caller
  --------   ----------------                          ------
  %0346f264  8360 2077 8344 2077 0000 0000 0000 0000   NAMED isc_rwlock_lock + c1
  %0346f2a4  8340 2077 0002 0000 0000 0000 f2e8 0346   NAMED dns_ds_buildrdata + 936d
  %0346f504  0001 0000 f5fc 0346 0001 0000 f5fc 0346   NAMED dns_resolver_prime + 2d69
  %0346fee4  4f20 2017 a378 2016 0070 0000 a9b5 000f   NAMED isc_task_beginexclusive + 761
  %0346ff34  3120 2004 3a00 2008 ff64 0346 9139 1f1d   NAMED pthread_exit + b6
  %0346ff64  3a00 2008 037f 0000 0000 0000 0000 0000   LIBCX0 _exeinfo_close + ff
  %0346ffb4  4518 2003 0000 0000 0000 0000 0000 0000   LIBCN0 __atfork_callback + 3e
  %0346fff4  3a40 2008 0000 0000 0000 0000 0000 0000   DOSCALL1 DOS32R3EXITADDR
Ring three stack for slot   58:
  Base Ptr   Parameters                                Caller
  --------   ----------------                          ------
  %0357e4f4  835c 2077 8344 2077 0004 0000 0002 0000   NAMED isc_rwlock_lock + 17c
  %0357e534  002e 8340 2077 0001 0000 e5b0 0357 e5a8   Unknown ef84 0357 1561 002e
  %0357ef84  82c0 2077 f0b0 0357 0000 0000 00ff 0000   NAMED ns_notify_start + e0c9
  %0357f074  d760 20ce f0b0 0357 0001 0000 0000 0000   NAMED dns_rdata_additionaldata + 2ee
  %0357f174  f1a4 0357 bd2e 0003 f214 0357 0002 0000   NAMED dns_rdataset_additionaldata + 74
  %0357f1d4  a010 20cf bd2e 0003 f214 0357 0001 0000   NAMED ns_notify_start + 57a9
  %0357f234  f2a4 0357 0fd0 20cf 0002 0000 bbf9 664c   NAMED ns_notify_start + ac70
  %0357f314  0000 0000 0fd0 20cf 0001 0000 bbf9 664c   WEASEL TNIData_INIDeleteKey + f3b
  %0357fe94  d760 20ce 4498 2003 0011 0000 0584 0000   WEASEL TransLog_CloseLogContext + 4
  %0357fee4  e7d0 20b4 1d90 2132 0070 0000 a9b5 000f   NAMED isc_task_beginexclusive + 761
  %0357ff34  3120 2004 48c0 2008 ff64 0357 9139 1f1d   NAMED pthread_exit + b6
  %0357ff64  48c0 2008 037f 0000 0000 0000 0000 0000   LIBCX0 _exeinfo_close + ff
  %0357ffb4  4518 2003 0000 0000 0000 0000 0000 0000   LIBCN0 __atfork_callback + 3e
  %0357fff4  4900 2008 0000 0000 0000 0000 0000 0000   DOSCALL1 DOS32R3EXITADDR
Ring three stack for slot   59:
  Base Ptr   Parameters                                Caller
  --------   ----------------                          ------
  %0367f264  835c 2077 8344 2077 f298 0367 f297 0367   NAMED isc_rwlock_lock + 17c
  %0367f2a4  8340 2077 0001 0000 ffff ffff ffff ffff   NAMED dns_ds_buildrdata + 924f
  %0367f504  0001 0000 f6cc 0367 0001 0000 f6cc 0367   NAMED dns_resolver_prime + 1c41
  %0367fee4  4e40 2017 a060 2016 0070 0000 a9b5 000f   NAMED isc_task_beginexclusive + 761
  %0367ff34  3120 2004 5540 2008 ff64 0367 9139 1f1d   NAMED pthread_exit + b6
  %0367ff64  5540 2008 037f 0000 0000 0000 0000 0000   LIBCX0 _exeinfo_close + ff
  %0367ffb4  4518 2003 0000 0000 0000 0000 0000 0000   LIBCN0 __atfork_callback + 3e
  %0367fff4  5580 2008 0000 0000 0000 0000 0000 0000   DOSCALL1 DOS32R3EXITADDR
Ring three stack for slot   5a:
  Base Ptr   Parameters                                Caller
  --------   ----------------                          ------
  %0379fe04  514c 2004 5130 2004 fe34 0379 9ebe 002a   NAMED isc_condition_waituntil + 7a
  %0379fed4  514c 2004 5130 2004 5144 2004 84a6 0004   NAMED isc_interval_zero + 16d8
  %0379ff34  5120 2004 f3a0 2007 ff64 0379 9139 1f1d   NAMED pthread_exit + b6
  %0379ff64  f3a0 2007 037f 0000 0000 0000 0000 0000   LIBCX0 _exeinfo_close + ff
  %0379ffb4  4528 2003 0000 0000 0000 0000 0000 0000   LIBCN0 __atfork_callback + 3e
  %0379fff4  f3e0 2007 0000 0000 0000 0000 0000 0000   DOSCALL1 DOS32R3EXITADDR
Ring three stack for slot   5b:
  Base Ptr   Parameters                                Caller
  --------   ----------------                          ------
  %0389f504  0011 0000 f630 0389 f520 0389 0000 0000   LIBCN0 ___libc_Tcpipbsdselect44 + 490
  %0389f8a4  021a 0000 fb0c 0389 fc0c 0389 0000 0000   LIBCN0 ___libc_Tcpipbsdselect44 + 10ae
  %0389f8d4  021a 0000 fb0c 0389 fc0c 0389 0000 0000   LIBCN0 ___select + 307
  %0389f944  021a 0000 fb0c 0389 fc0c 0389 0000 0000   LIBCX0 _select + 345
  %0389fe24  021a 0000 6220 2004 6420 2004 0000 0000   NAMED isc_socket_detach + e7d
  %0389ff34  3180 2004 c320 2009 ff64 0389 9139 1f1d   NAMED pthread_exit + b6
  %0389ff64  c320 2009 037f 0000 0000 0000 0000 0000   LIBCX0 _exeinfo_close + ff
  %0389ffb4  4538 2003 0000 0000 0000 0000 0000 0000   LIBCN0 __atfork_callback + 3e
  %0389fff4  c360 2009 0000 0000 0000 0000 0000 0000   DOSCALL1 DOS32R3EXITADDR