From nobody Sun Dec 01 01:12:02 2024 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 4Y185Z5t0nz5fy7s for ; Sun, 01 Dec 2024 01:12:02 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Y185Z1t5rz51YX for ; Sun, 1 Dec 2024 01:12:02 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1733015522; 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: in-reply-to:in-reply-to:references:references; bh=ki2SS+Va3jpBj4nqv3frFVRV6oa/rZQEj/6lsVevEcE=; b=xAFEL12eIfca+p+Ai2yk7xk9ea6QGZSGXqgBPalvYs6/r0wyWEKdZS3shc2OYj8CUcZuID UKdtfFILjj2P0jNX0sciFwNh+ZWL3y9PJ93ty0lBpXpqw+zUiBPm5sTo/aDuIZWgcRTEHa zQap3IlkXVTMAyzsyTIypJFHVvpRFyKfu9AuSCd/2fTGoedA+uF1GKAXObJpbZecdz6g3C 6uyPPi/ZsG3v3ACt8kfSUG3oit7bmCf2jCr+peLN8M2AkPVYe+kth6qzSPsFEIOXu87Y/x z1/0hysBkHE3ret9nukfYE+Mvfj6qAkjE39tUeE47/7GA5Xm6q+cpY5VPoEPHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1733015522; a=rsa-sha256; cv=none; b=CRLjm1CHGoUmPWMILqFzSLJzsfaSS1ofktlOp5PmGvBG4/WTnyspL/dY74gGnsHSISEWWQ iRgjnw2CME73gsCGfEx+pwCgRYbE1Tt78fpjaO3nV25Owl2rcrFniBopY4v7iRfmUsa5yD TZEn5x4GdWxoLzPJEe5D+lXaFev1KzK6H6UQVD5uOwnF46GwMDyLKncFd5+3mME92Beud+ oPzzBtTJxU7D3vp/I+Pq05OKJSk8tsv3hpGWJvGodjYOjJeinx89asHKFVPViNLbfLqol1 NZKCdRjOiDqTS2Lf4peEvFkVxk3ZvwR6dW80TNpsNtnyH2472Kb2NpTrIwnbWA== 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 4Y185Z0Z3BzX6G for ; Sun, 1 Dec 2024 01:12:02 +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 4B11C15Q077535 for ; Sun, 1 Dec 2024 01:12:01 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4B11C1kT077534 for bugs@FreeBSD.org; Sun, 1 Dec 2024 01:12:01 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 282993] awk eats all ram Date: Sun, 01 Dec 2024 01:12:02 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: 14.1-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: xj.dropbox+freebsd@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: 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=3D282993 Xander changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |xj.dropbox+freebsd@gmail.co | |m --- Comment #2 from Xander --- I also ran into this problem after upgrading from 14.0 to 14.1. Parsing a continuous stream of input from a serial line with a simple awk script resu= lted in growing ram and swap. This most likely is the bug upstream mentioned in https://github.com/onetrueawk/awk/issues/227 with a fix in https://github.com/onetrueawk/awk/commit/ae724691436df6353bd7732d6255eb931b= 075daf Basically every import of One True Awk into base after this commit (Apr 22) should fix the memory eating. I'm running the base awk with the afore mentioned patch and no growing memo= ry anymore. One could also use nawk or gawk from ports as a workaround. Since 14/STABLE did a new import of One True Awk after Apr 22 14/STABLE and= now 14.2 should be good. Since it has a risk of destabilising systems one might consider an Erratum = to 14.1 for the few months to come. --=20 Xander --=20 You are receiving this mail because: You are the assignee for the bug.=