From nobody Thu Apr 03 05:55:22 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 4ZSrYk3TGCz5sXgW for ; Thu, 03 Apr 2025 05:55:22 +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 4ZSrYk1kc2z480y for ; Thu, 03 Apr 2025 05:55:22 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1743659722; 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=aV8JyMF0RrqkemGBv2+HZrNsN6t7LiDF8gJ03r5BLCk=; b=NupJmk6/ox9X97RZUf9b1cMfJYSjGckH4V4CYhLC4KPBapQPGne6YSo7ccdfrTfSwRlzVB u9GBQYYIz/lMqf/8gAwAqptbTL9RlZSwBHL31Z7nidDkVTU8Nio0AhyHVpr74y6mSkWdvU 7fCmIpKXJqEFN//LfNFtjYXS5YFOUg2WcGO+lYhJ91yfmmgfe8nDNWmO6Rp1Io7xXNSF3C BkfvBmzAO7QvtYoasXoePqiZWitrXAI9B/B2XlnhYTxYgG2Dd4yM2X+zQdAqgyOrxWoCKc CLUN3G/AtG6E2uioZfEAzvWW2UC9Yo2fr4taU17O/PznG8qpRYtd5+SKLob7ig== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1743659722; a=rsa-sha256; cv=none; b=K+NJczYCAzoftosE4p4vwC2VYSAcc9Rd1jnUqDYSZIHkxEYO3wbmKGHfPvOh2/FJtKBS8n YS7T0xvMbZGefAxet5xAJ0epo5EqIv+hOst9LrDdiSWAzzsfzuwR9o+P+jyfYyahpkVG4E cmKCt5seOugcJKpaLwYp5dj/5TbJNdOseHCt3wcUYYK+9aQWBUM3ZMVdmTHgfWjomOsBIO Y5D197kY47fk5x4hIwggLDqTnDcigYXtFTyE/aVmSAg3uFlK7QqPagHex6nzj91E+2Wu/M 9KGR5yjbHXJoS3m4v/TEz+yXtJ68KKronEPFpT39+PslUDjypmy3rQMH8aShzw== 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=1743659722; 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=aV8JyMF0RrqkemGBv2+HZrNsN6t7LiDF8gJ03r5BLCk=; b=Vy+XT65UTUbK0wdo6AtAt9zoW8mBmgWv+4T0zMNmmLo8fQP3AqKr+fDr6+7MxiotLnhWF/ bXC2F12HZWoCCGi8ZsllwmZouDcfz6ir6bKGRcOJanN+2wGb2nDxfhu0cDu8OYW5jW6m+T pFqbKQ3i67OWX+6ZIruHlzLyHYEx4KY2gWbT6r4V1z2KLxI4Fphl9QeUakQoZDn9reVQT+ cS7gGWVZOL9bCzCtH+gwY4w8IHZo0UZBmL6QLCxseZSWKIQhkslyvmz1LsLuWdmBPYoQI2 ryH0nUzmiWo+MNRLsk8GrtLloJxi1q5hl59RR2WGLt7Q/zsy1XETA6eTc/H57A== 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 4ZSrYk0kv9zq1H for ; Thu, 03 Apr 2025 05:55:22 +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 5335tMud001972 for ; Thu, 3 Apr 2025 05:55:22 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 5335tM9S001971 for bugs@FreeBSD.org; Thu, 3 Apr 2025 05:55:22 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: Thu, 03 Apr 2025 05:55:22 +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 #6 from Gleb Popov --- (In reply to Konstantin Belousov from comment #5) I see suspicious ptrace failures at the end of the dump: 53589 gdb151 CALL ptrace(PT_LWPINFO,0x76ae2,0x8227bb130,0xa0) 53589 gdb151 RET ptrace 0 53589 gdb151 CALL ptrace(PT_IO,0x76ae2,0x8227bb1b0,0) 53589 gdb151 RET ptrace -1 errno 1 Operation not permitted At the same time, there are no ptrace failures in the dump of the unjailed process. > BTW, when you say that gdb in jail fails, you do run both the target proc= ess and gdb itself in the same jail, right? Yep. --=20 You are receiving this mail because: You are the assignee for the bug.=