BIND 9.11.4 crashing with SIGBUS error shortly after starting

Marc Richter marc.richter at de.verizon.com
Wed Aug 29 15:57:59 UTC 2018


Hi,

trying to update from 9.11.3 to 9.11.4 I ran into a strange issue.

Shortly after starting BIND, it is crashing with a SIGBUS error. The
debugger shows me the following:

> ::status
debugging core file of named (64-bit)
file: named
threading model: native threads
status: process terminated by SIGBUS (Bus Error), addr=ffffffff7b2ff92f

> $c
named`process_cmsg+0x174(11250fda0, ffffffff7b2ffa78, 112511da0, 100819118,
3c, 100870440)
named`doio_recv+0x958(11250fda0, 112511da0, 80000000, 100819118, 3c, 100870440)
named`internal_recv+0x50c(106bf8f90, 11250fe58, 11250fe58, 1006e77e0,
ffffffff7c005240, ff000000)
named`dispatch+0xb50(100892700, 0, 0, ffffffff7c005240, ffffffff7c005240,
ff000000)
named`run+0x18(100892700, 0, 0, 1006b64b0, 0, 1)
libc.so.1`_lwp_start(0, 0, 0, 0, 0, 0)

Checking with truss on the thread that seems to be causing the issue shows:

20325/7:	connect(531, 0x10886C3F8, 32, SOV_XPG4_2)	= 0
20325/7:	sendmsg(531, 0xFFFFFFFF7AAFEB50, 32768)		= 40
20325/7:	lwp_park(0x00000000, 0)				= 0
20325/7:	lwp_park(0x00000000, 0)				= 0
20325/7:	lwp_park(0x00000000, 0)				= 0
20325/7:	recvmsg(529, 0xFFFFFFFF7AAFFA78, 32768)		= 28
20325/7:	    Incurred fault #5, FLTACCESS  %pc = 0x1006DC384
20325/7:	      siginfo: SIGBUS BUS_ADRALN addr=0xFFFFFFFF7AAFF92F
20325/7:	    Received signal #10, SIGBUS [default]
20325/7:	      siginfo: SIGBUS BUS_ADRALN addr=0xFFFFFFFF7AAFF92F

BIND has been compiled as follows (exact compile flags removed):

# named -V
BIND 9.11.4-P1 (Extended Support Version) <id:2b060b2>
running on SunOS sun4v 5.11 11.3
compiled by Solaris Studio 5150
compiled with OpenSSL version: OpenSSL 1.1.0h  27 Mar 2018
linked to OpenSSL version: OpenSSL 1.1.0h  27 Mar 2018
compiled with libxml2 version: 2.9.5
linked to libxml2 version: 20905
compiled with libjson-c version: 0.12
linked to libjson-c version: 0.12
compiled with zlib version: 1.2.11
linked to zlib version: 1.2.11
threads support is enabled

The BIND logs don't give any indication of why it is crashing, not even
when running it with debug level 3.

The environment is:

+ OS: Solaris 11.3 SRU 32
+ Compiler: Oracle DeveloperStudio12.6
+ BIND running via chroot

As mentioned initially, this has worked fine up until BIND 9.11.3. But
using the same built environment and same build flags to build 9.11.4 I
started getting these issues.

Could someone give a clue whether that's more likely to be an issue with my
environment, or in the code ?

Regards
Marc


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: OpenPGP digital signature
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20180829/4ff5e0f0/attachment.bin>


More information about the bind-users mailing list