From nobody Wed Nov 9 15:07:09 2022 X-Original-To: ports-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 4N6pGj48jSz4XJjt for ; Wed, 9 Nov 2022 15:07:09 +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 4N6pGj1kqkz4Gdk for ; Wed, 9 Nov 2022 15:07:09 +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=1668006429; 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=khAY4R8xLM4B22jX3zpglN4Hsf6RfGd93C6zRzbHnfQ=; b=p6YcVP5eDzWzVe/92JGPJ0u3IDdDNiY70yAO3T7EnIikxjo4l/P3jI+2V8xXeJ/L40Ei9B ccsfkXLbtuSYWFVBp7fumvRLQKjLpq21YeEPO9mX+bfHHnjE1lefBsfKKsLYbSQ2aMkKWf jOzQcvzy3pyjhzMHcH0NmM3mINLv1gdUanQHLqpOvHQwB0pAaYE/d69rj262Kamb4A8+v2 Q9o6jNsns/kaYTnstX1dOZq+ZrkoiCLE6Y/TwNlK2Po4YUpJYG6Utk2hXMOwbqtCL81h2S mQ9w+aSX/IHjNsnyKMKBjNc0NoHEUGKgTcK8IO95M1qYps7WsQEfOBU8eNIqEQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1668006429; a=rsa-sha256; cv=none; b=gS3/odZqE1ifnaFmvdKmhEHXY/bFO8t1UeUITVNscg1fIgDkNTwDj+zFHnCuPh726vkave l2xwY1HGFw6Y7fznohtANHyZ2UEw3Bt5IN57GlqXZvtd6iz2cC8UCIV+RDu6Wsp+2H9QlP /ZXn5tRFIDJJBoiQ8zqJW9fxMWcwUhs8Gy45DBbvjIts2FxGdBF92f7Xu0CTM/4YMbdhUs srdCKVjaEjNGaZL90k5aNPQZtteJoRpI1+88GTDLlG5O8CHdrexZtlOv6UtLgLXFnb2J52 g9CtBwKffRDbKm00T8LtMl9oEE4NZAvtS3r8TdEYTKVogtKIkqVcueb3rBWmCg== 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 4N6pGj0jjWzQvl for ; Wed, 9 Nov 2022 15:07:09 +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 2A9F79NB090633 for ; Wed, 9 Nov 2022 15:07:09 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2A9F791S090632 for ports-bugs@FreeBSD.org; Wed, 9 Nov 2022 15:07:09 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: ports-bugs@FreeBSD.org Subject: [Bug 267527] bash crashes with segfault if LC_CTYPE or LC_ALL not set Date: Wed, 09 Nov 2022 15:07:09 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: michal.berger@intel.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D267527 Michal changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michal.berger@intel.com --- Comment #2 from Michal --- Hit that as well. Logging in via serial (tty{,S}* or through getty in gener= al) may be indeed troublesome, for ssh there's still a silly workaround, e.g. ssh -t foo@bar sh $ LC_CTYPE=3D bash -l though interestingly this affects bash only in interactive|login mode (so a= ny potential bash scripts that are doing some work shouldn't be affected) but = what seems to be indicative of what was mentioned on the forum (i.e. issue coming from the readline). As: $ bash -c 'read -rp 'oops: ' # this works $ bash -c 'read -erp 'oops: ' # this doesn't so, actually, scripts can be affected when they do use readline (but outsid= e of the interactive context it would be quite uncommon I think). (In reply to ralph from comment #0) --=20 You are receiving this mail because: You are the assignee for the bug.=