From nobody Wed Apr 02 11:36:07 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 4ZSN9M6kMQz5s9BS for ; Wed, 02 Apr 2025 11:36:07 +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 4ZSN9M5Y80z3G5W for ; Wed, 02 Apr 2025 11:36:07 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743593767; 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=JOvtd5xx2FdQreVGtqSIN3kKsUkgSXiiStn77tg7+0Y=; b=Bh3t4yPJTu6Zh973Bom+lDSXvi1lkVvPI4RWenZP25ASoI6l8SCvTbeLwprdBvb2aT3j0e qEgN61UpvXhf61cgtIDkrkomGgbopPBjQoocxYb+su3RxauKusLjcw/DIHN/d7SsKML9BW VyBXdr8Wd9yYwvYda/i9u6h1xb499GcTDbneRiean76rzq4Exq2YzUPyt4/Yk2yIDBmaXg Zz81AYpx69E5iVaEGVKAujy6HOpf4/+Gp5ffoPhx+sWnSnVZcif4Vib5U7KTsK3vfEgWfd pCNphxYgaMPlfut5gJXXIs0GOHMXPMRTEYKDFzEhrJLduRMfhyd6xIYXrxMl9g== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743593767; a=rsa-sha256; cv=none; b=OrE7c8a329uDd1INam9LPY6IAXEKHPG2KbI61plYTYGjx8wQY8C3RbLPKoeZQUTViyn6gU 5RDTFQ55aWEZhHtYKLcrR5150koWPdMD+XApntUXKBxDZ2pjacWfbPlo3cC9HfpdVrTLya i34Dv2wZj8hixik7B621rJGVtFG6IvChMhdtmqxd3zvCJBvKjCh5j9y9rV2PJMMB2xBfsR Fp6BHsGbBcZDXvbbCuAOQIna0PsYpbTot5fZFzjr6FfCEl4pbxAfCbsGemXZFBJ12+p/I6 etiVIwoJLtbfN6S7KETAa+I52ksTajYJw5puXd1PYEkjyDlunJtT8arSfcJm9A== 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=1743593767; 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=JOvtd5xx2FdQreVGtqSIN3kKsUkgSXiiStn77tg7+0Y=; b=oGyoxyIOa22n61+sqvLH40/rOmGjd6OjZ8t6g5picpvVdNn98EEkDNeP/EO633IgF8h1c+ RgnNW0YGTxAQu7uqGEljPGp6MpyCoel3UdaaUJH5zcJigqusCwa6eD4je6mmIPKT5Ln7E2 deN4+Dd+RJGQOSh4kXlI59hkOC7DBpBwCgK1ODcbHE8O61T1+WFa9HRPGLoG7yGum95rTj 9lwZU0Gx0gSXTBZnOOnpXWNRVZOr4sQhJYyvBHW45GN5vBTgerWqYY2cNerGshroI1liWL kPM/nPV5AgwHxxhlSOrx3YTzdLoYBCQPT1jTn3m6eHjUyO2leVTIQMOPQgVAbA== 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 4ZSN9M52NCz8m for ; Wed, 02 Apr 2025 11:36:07 +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 532Ba7V7006184 for ; Wed, 2 Apr 2025 11:36:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 532Ba7DE006183 for bugs@FreeBSD.org; Wed, 2 Apr 2025 11:36:07 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 285811] Debuggers in jail can't evaluate string literals Date: Wed, 02 Apr 2025 11:36:07 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: kern X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: arrowd@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: Message-ID: In-Reply-To: References: 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=3D285811 --- Comment #3 from Gleb Popov --- (In reply to Konstantin Belousov from comment #1) Doesn't seem to be the either case. In GDB the ASLR handling is consolidated here [1]. I put the debugging output everywhere in this function and verifi= ed that all procctl() calls succeed. I also tried setting kern.elf64.aslr.enable=3D0 outside of the jail (without restarting the jail, though) and it had no effect on the problem. Neither running gdb under proccontrol -m aslr -s disable change anything. I also tr= ied elfctl -e +noaslr on both gdb and cat binaries - nothing helps the issue. [1] https://github.com/bminor/binutils-gdb/blob/877d74ab5f2f33aa062c4b8d1ba910a= 46e4ef9d1/gdb/fbsd-nat.c#L1776 --=20 You are receiving this mail because: You are the assignee for the bug.=