[Bug 1221905] New: named crashes on startup: mem.c:736: fatal error: malloc failed: Cannot allocate memory
https://bugzilla.suse.com/show_bug.cgi?id=1221905 Bug ID: 1221905 Summary: named crashes on startup: mem.c:736: fatal error: malloc failed: Cannot allocate memory Classification: openSUSE Product: openSUSE Distribution Version: Leap 15.5 Hardware: x86-64 OS: openSUSE Leap 15.5 Status: NEW Severity: Normal Priority: P5 - None Component: Network Assignee: screening-team-bugs@suse.de Reporter: georg.pfuetzenreuter@suse.com QA Contact: qa-bugs@suse.de Target Milestone: --- Found By: --- Blocker: --- Created attachment 873759 --> https://bugzilla.suse.com/attachment.cgi?id=873759&action=edit strace Hi, BIND from the update repositories works on our virtual machines, but does not start on a physical one: ``` Mar 24 17:20:07 stonehat systemd[1]: Starting Berkeley Internet Name Domain (DNS)... Mar 24 17:20:07 stonehat named[49737]: starting BIND 9.16.48 (Extended Support Version) <id:0dab57e> Mar 24 17:20:07 stonehat named[49737]: running on Linux x86_64 5.14.21-150500.55.52-default #1 SMP PREEMPT_DYNAMIC Tue Mar 5 16:53:41 UTC 2024 (a62851f) Mar 24 17:20:07 stonehat named[49737]: built with '--host=x86_64-suse-linux-gnu' '--build=x86_64-suse-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/et> Mar 24 17:20:07 stonehat named[49737]: running as: named -u named Mar 24 17:20:07 stonehat named[49737]: compiled by GCC 7.5.0 Mar 24 17:20:07 stonehat named[49737]: compiled with OpenSSL version: OpenSSL 1.1.1l-fips 24 Aug 2021 SUSE release SUSE_OPENSSL_RELEASE Mar 24 17:20:07 stonehat named[49737]: linked to OpenSSL version: OpenSSL 1.1.1l-fips 24 Aug 2021 SUSE release 150500.17.25.1 Mar 24 17:20:07 stonehat named[49737]: compiled with libuv version: 1.44.2 Mar 24 17:20:07 stonehat named[49737]: linked to libuv version: 1.44.2 Mar 24 17:20:07 stonehat named[49737]: compiled with libxml2 version: 2.10.3 Mar 24 17:20:07 stonehat named[49737]: linked to libxml2 version: 21003 Mar 24 17:20:07 stonehat named[49737]: compiled with json-c version: 0.13 Mar 24 17:20:07 stonehat named[49737]: linked to json-c version: 0.13 Mar 24 17:20:07 stonehat named[49737]: compiled with zlib version: 1.2.13 Mar 24 17:20:07 stonehat named[49737]: linked to zlib version: 1.2.13 Mar 24 17:20:07 stonehat named[49737]: ---------------------------------------------------- Mar 24 17:20:07 stonehat named[49737]: BIND 9 is maintained by Internet Systems Consortium, Mar 24 17:20:07 stonehat named[49737]: Inc. (ISC), a non-profit 501(c)(3) public-benefit Mar 24 17:20:07 stonehat named[49737]: corporation. Support and training for BIND 9 are Mar 24 17:20:07 stonehat named[49737]: available at https://www.isc.org/support Mar 24 17:20:07 stonehat named[49737]: ---------------------------------------------------- Mar 24 17:20:07 stonehat named[49737]: adjusted limit on open files from 524288 to 1048576 Mar 24 17:20:07 stonehat named[49737]: found 64 CPUs, using 64 worker threads Mar 24 17:20:07 stonehat named[49737]: using 64 UDP listeners per interface Mar 24 17:20:07 stonehat named[49737]: using up to 21000 sockets Mar 24 17:20:07 stonehat named[49737]: DNSSEC algorithms: RSASHA1 NSEC3RSASHA1 RSASHA256 RSASHA512 ECDSAP256SHA256 ECDSAP384SHA384 ED25519 ED448 Mar 24 17:20:07 stonehat named[49737]: DS algorithms: SHA-1 SHA-256 SHA-384 Mar 24 17:20:07 stonehat named[49737]: HMAC algorithms: HMAC-MD5 HMAC-SHA1 HMAC-SHA224 HMAC-SHA256 HMAC-SHA384 HMAC-SHA512 Mar 24 17:20:07 stonehat named[49737]: TKEY mode 2 support (Diffie-Hellman): yes Mar 24 17:20:07 stonehat named[49737]: TKEY mode 3 support (GSS-API): yes Mar 24 17:20:07 stonehat named[49737]: loading configuration from '/etc/named.conf' Mar 24 17:20:07 stonehat named[49737]: reading built-in trust anchors from file '/etc/bind.keys' Mar 24 17:20:07 stonehat named[49737]: looking for GeoIP2 databases in '/usr/share/GeoIP' Mar 24 17:20:07 stonehat named[49737]: using default UDP/IPv4 port range: [32768, 60999] Mar 24 17:20:07 stonehat named[49737]: using default UDP/IPv6 port range: [32768, 60999] Mar 24 17:20:07 stonehat named[49737]: listening on IPv4 interface lo, 127.0.0.1#53 Mar 24 17:20:07 stonehat named[49737]: listening on IPv4 interface prg2_asgard1, 172.16.201.6#53 Mar 24 17:20:07 stonehat named[49737]: listening on IPv4 interface prg2_asgard2, 172.16.202.6#53 Mar 24 17:20:07 stonehat named[49737]: listening on IPv4 interface private, 192.168.87.1#53 Mar 24 17:20:07 stonehat named[49737]: generating session key for dynamic DNS Mar 24 17:20:07 stonehat named[49737]: sizing zone task pool based on 18 zones Mar 24 17:20:08 stonehat named[49737]: obtaining root key for view _default from '/etc/bind.keys' Mar 24 17:20:08 stonehat named[49737]: set up managed keys zone for view _default, file '/var/lib/named/dyn//managed-keys.bind' Mar 24 17:20:08 stonehat named[49737]: mem.c:736: fatal error: Mar 24 17:20:08 stonehat named[49737]: malloc failed: Cannot allocate memory Mar 24 17:20:08 stonehat named[49737]: exiting (due to fatal error in library) Mar 24 17:20:08 stonehat systemd[1]: named.service: Control process exited, code=exited, status=1/FAILURE Mar 24 17:20:08 stonehat systemd[1]: named.service: Failed with result 'exit-code'. Mar 24 17:20:08 stonehat systemd[1]: Failed to start Berkeley Internet Name Domain (DNS). ``` With the bind-9.16.38-150400.5.20.2 package from the GA repository, named starts fine. We don't know which update introduced the problem. I tried disabling "zone-statistics", but that did not help. Strace output while running named in foreground is attached. No related kernel log entries are observed, but dmesg is attached as well. Cheers, Georg -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221905 https://bugzilla.suse.com/show_bug.cgi?id=1221905#c1 --- Comment #1 from Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com> --- Created attachment 873760 --> https://bugzilla.suse.com/attachment.cgi?id=873760&action=edit dmesg -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221905 Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|screening-team-bugs@suse.de |jorik.cronenberg@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221905 Christian Boltz <suse-beta@cboltz.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |suse-beta@cboltz.de -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1221905 Georg Pfuetzenreuter <georg.pfuetzenreuter@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|jorik.cronenberg@suse.com |screening-team-bugs@suse.de -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@suse.com