From nobody Sun Oct 8 12:57:05 2023 X-Original-To: bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4S3Mcx46m4z4wcRb for ; Sun, 8 Oct 2023 12:57:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4S3Mcx2HCzz4SKC for ; Sun, 8 Oct 2023 12:57:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1696769825; a=rsa-sha256; cv=none; b=etHzVe3LzfnWo8XBuLJzxgY8KmZpAl9CssOV+sTvGC5jt7O6y5mde9pPCGMGLsRYlbuLPx mkZy0jQRSD0DSDuC2oQ5Bmk8mMTKNlmYOsKEXNTQD9LSoameLfKi01sDE/RdmJRi1oGvLF 1LQKOTKNjvkGFDyF5ojCaq4LzWAFaM2YsbIoz736SQbGmnkszL5V+3W5WGl75O2Jgb7Iw+ XlyuQHS2TqKEguj8sYkVWvcYei2Qi02YmkIwrVvfcX2trYBp2k4qcYgkIBrhTUd3Tg07V3 SJ85oNu6IrwooFVFowExjYd0ZCe1ltvOe51dE2vr1G61k5SoNWtnP5HPwPeGAA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1696769825; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=FmHsKDezPcYQRA6FecaByYEgk94ci5F84hv3rW9QMjI=; b=jumKraZL+25teo4ORSl6rZv5IbBgr4RcFv7Q2RBQZuK2us5/rzULJSzzjsEnz2M0YXSJoC rsN7NVHM3k/i+i4/I44Txn9IJX4mKb81qGWGcZUc08CLJtQX1n5xSQ0Rs7/2wfKkfZA2+n p3DGKrkJC0YQHH+TafUOokjfcv3Y2RRa9/djaQN820hGgUKxykM/Ag8JzrDReV86MYiCIE zkgFxpWbWOw8IHGVglJ1LfEJ/t2B6PuZ7xfLLOheg4HBijieQ9LvJXUGvNE4+HlFcZA9B+ uU4tvf9ZSKhSMw/OzK5BwlZu5RhS5EMSap1RYc3aF8YLknYQBOYMkG+xSHeJag== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4S3Mcx1LmFzMH for ; Sun, 8 Oct 2023 12:57:05 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 398Cv5T0074884 for ; Sun, 8 Oct 2023 12:57:05 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 398Cv5OR074883 for bugs@FreeBSD.org; Sun, 8 Oct 2023 12:57:05 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 274352] unbound stop working - infinite loop in comm_point_send_udp_msg() Date: Sun, 08 Oct 2023 12:57:05 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 13.2-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: jc@michot.fr X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-bugs@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274352 Bug ID: 274352 Summary: unbound stop working - infinite loop in comm_point_send_udp_msg() Product: Base System Version: 13.2-RELEASE Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: jc@michot.fr rgw:/etc/unbound # freebsd-version -uk 13.2-RELEASE 13.2-RELEASE rgw:/etc/unbound # /usr/sbin/local-unbound -V Version 1.17.1 Configure line: --with-ssl=3D/usr --with-libexpat=3D/usr --disable-dnscrypt --disable-dnstap --enable-ecdsa --disable-event-api --enable-gost --with-libevent --disable-subnet --disable-tfo-client --disable-tfo-server --with-pthreads--prefix=3D/usr --localstatedir=3D/var/unbound --mandir=3D/usr/share/man --build=3Dfreebsd Linked libs: mini-event internal (it uses select), OpenSSL 1.1.1t-freebsd 7 Feb 2023 Linked modules: dns64 respip validator iterator BSD licensed, see LICENSE in source package for details. Report bugs to unbound-bugs@nlnetlabs.nl or https://github.com/NLnetLabs/unbound/issues ktrace of unbound running process show loop: 1005 local-unbound CALL sendto(0x9,0x2562128aa400,0x2d,0,0,0) 1005 local-unbound RET sendto -1 errno 55 No buffer space available 1005 local-unbound CALL poll(0x25620a5796a8,0x1,0xc8) 1005 local-unbound RET poll 1 1005 local-unbound CALL sendto(0x9,0x2562128aa400,0x2d,0,0,0) 1005 local-unbound RET sendto -1 errno 55 No buffer space available 1005 local-unbound CALL poll(0x25620a5796a8,0x1,0xc8) 1005 local-unbound RET poll 1 1005 local-unbound CALL sendto(0x9,0x2562128aa400,0x2d,0,0,0) 1005 local-unbound RET sendto -1 errno 55 No buffer space available 1005 local-unbound CALL poll(0x25620a5796a8,0x1,0xc8) 1005 local-unbound RET poll 1 1005 local-unbound CALL sendto(0x9,0x2562128aa400,0x2d,0,0,0) 1005 local-unbound RET sendto -1 errno 55 No buffer space available 1005 local-unbound CALL poll(0x25620a5796a8,0x1,0xc8) 1005 local-unbound RET poll 1 1005 local-unbound CALL sendto(0x9,0x2562128aa400,0x2d,0,0,0) 1005 local-unbound RET sendto -1 errno 55 No buffer space available 1005 local-unbound CALL poll(0x25620a5796a8,0x1,0xc8) 1005 local-unbound RET poll 1 1005 local-unbound CALL sendto(0x9,0x2562128aa400,0x2d,0,0,0) 1005 local-unbound RET sendto -1 errno 55 No buffer space available 1005 local-unbound CALL poll(0x25620a5796a8,0x1,0xc8) 1005 local-unbound RET poll 1 1005 local-unbound CALL sendto(0x9,0x2562128aa400,0x2d,0,0,0) 1005 local-unbound RET sendto -1 errno 55 No buffer space available 1005 local-unbound CALL poll(0x25620a5796a8,0x1,0xc8) 1005 local-unbound RET poll 1 1005 local-unbound CALL sendto(0x9,0x2562128aa400,0x2d,0,0,0) 1005 local-unbound RET sendto -1 errno 55 No buffer space available 1005 local-unbound CALL poll(0x25620a5796a8,0x1,0xc8) 1005 local-unbound RET poll 1 .../... I think it's an infinite loop inside netevent.c / comm_point_send_udp_msg() while(sent =3D=3D -1 && ( .../... variable "pret" never get 0 and we are locked in loop using 100% of CPU, of course in this case unbound is unable to resolve request or reply to command local-unbound-control JC --=20 You are receiving this mail because: You are the assignee for the bug.=