From nobody Sat May 24 06:56:31 2025 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 4b4CVl6rhcz5xDTb for ; Sat, 24 May 2025 06:56:31 +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 "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4b4CVl4z2Yz3mSB for ; Sat, 24 May 2025 06:56:31 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748069791; 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=i9sCn1l0nsecGn2/HbcohCYQi3MbZuquI5FHVJiml7A=; b=I3UIIha2vNlufTt+SoKYA57c8wHtQhRA2I793KWoYq4gqbtAwUhZRmPl4AcdohRF1u+XIE oVLDVMhUojucsPfRVViKMBQhA+BnKB6K/u7lrKcwkkEDabkAkMDYhhvrfG4wKCw3IBOkZv YG/R4C480VEyjxK/USUpvsUTOsQtz3QhDgjTQMCExIrWaUzTfyqgd1gCYiymgueKm4DVst HDKGa6W4yNfQLsdeG7hENIiGArLCk3BgNy3sJsoPMRO275fmKrXgy6lsWlUN0ee7fDrFtm CuA/NfMkb41ajMFNdmA+SFw9hzcQoqolZE5p/ZMny/KmJfzKt5+yVFr1N5P0/Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1748069791; 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=i9sCn1l0nsecGn2/HbcohCYQi3MbZuquI5FHVJiml7A=; b=NCC6Hv3qtpAGQ/Hus66e4px6p+cWLwcNRanvyaNsli9iEK3EbU8rTllj5nF+jcCiZ8uZDm BQqiEqag6RCbEsBe4j/WSrcI50wRFCWRyCOElBfuQfbB6qnaKig/obQwGGAxBBAYpQO9YA lODhOx0pj+PBeOLq8V0MlksVFwYnVKf/xCzQk2GZZVIfNMr4XqlNSFaqW2On6ErPskwQ/Y 9a5XUO7FzpROGIh274lkjYAmwX7DRsHrrmx5h3NXneN+2KQ3ZxOVVv3346zlV3jsXYVpaN WsgO86I59tU+4e1VFsmgPvF7+VSBrz9J4NfV7XKdl/6jvts88lBrDk1bzwGyrA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1748069791; a=rsa-sha256; cv=none; b=IHuG5cHdI7jlnNCnunjwgrRfpxD/pLzrYj4q9U5OWL4281LEx/LLEhVMZ8NBIjWv7bLK14 LQH/PDU24dktIFCbPU5+EVLMi3KkxwVAt9zNJC1RfIrXMzzutXh+9C1TBprpkueKh1z/5W 0dSVRmpB5ZHIxqYDlV260gdo1eRK4Adaxd609yf5DkiBhy2u7bwB/ONMyyJmDTTGfvKLN5 u7IkcFulPHcP6/dpnl0VXQlYU9y+brDsngXLN/QY7FGgoYdzARhAIOKdkZd2g4a02b7gzy FJId6bLkBg1SH3D5MsVOPBjJNb3KUQc3RJ/01fRyx9u60RZhC8mAKYi0gMUKQA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4b4CVl4Fpmz9Hv for ; Sat, 24 May 2025 06:56:31 +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 54O6uV7r003828 for ; Sat, 24 May 2025 06:56:31 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 54O6uVam003827 for bugs@FreeBSD.org; Sat, 24 May 2025 06:56:31 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 287037] man(1) runs in endless loop Date: Sat, 24 May 2025 06:56:31 +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: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: wosch@FreeBSD.org 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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" 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=3D287037 Bug ID: 287037 Summary: man(1) runs in endless loop Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: wosch@FreeBSD.org I noticed that man(1) crashed for some ports manual pages. The shell script man.sh limit the CPU usage to catch problems in the mandoc or groff toolcha= in. But in this case the shell scripts killed itself after 20 seconds due the h= igh CPU usage. How to repeat: mkdir -p man/man3 echo '.so man3/m.3' | gzip > man/man3/m.3.gz /usr/bin/man man/man3/m.3.gz=20 Killed or in debug mode: /usr/bin/man -d man/man3/m.3.gz=20 -- Using architecture: amd64:amd64 -- Using pager: less -s -- Searching PATH for man directories -- Adding /usr/share/man to manpath -- Adding /usr/local/share/man to manpath -- Adding default manpath entries -- Adding /usr/share/openssl/man to manpath -- Parsing config file: /usr/local/etc/man.d/perl5.conf -- Adding /usr/local/lib/perl5/site_perl/man to manpath -- Adding /usr/local/lib/perl5/5.36/perl/man to manpath -- Using manual path: /usr/share/man:/usr/local/share/man:/usr/share/openssl/man:/usr/local/lib/p= erl5/site_perl/man:/usr/local/lib/perl5/5.36/perl/man -- Using manual sections: 1:8:2:3:3lua:n:4:5:6:7:9:l -- Using locale paths: . -- Using standard page width -- Searching for "man/man3/m.3.gz" -- Found a usable page, displaying that -- man/man3/m.3.gz includes man3/m.3 -- Found manpage "/tmp/man/man3/../man3/m.3.gz" -- Skipping catpage: not found or old -- /tmp/man/man3/../man3/m.3.gz includes man3/m.3 -- Found manpage "/tmp/man/man3/../man3/m.3.gz" -- Skipping catpage: not found or old -- /tmp/man/man3/../man3/m.3.gz includes man3/m.3 -- Found manpage "/tmp/man/man3/../man3/m.3.gz" -- Skipping catpage: not found or old [...] --=20 You are receiving this mail because: You are the assignee for the bug.=