Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 02 Apr 2025 11:36:07 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 285811] Debuggers in jail can't evaluate string literals
Message-ID:  <bug-285811-227-1uWwATBKAC@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-285811-227@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=285811

--- Comment #3 from Gleb Popov <arrowd@FreeBSD.org> ---
(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 verified
that all procctl() calls succeed.

I also tried setting kern.elf64.aslr.enable=0 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 tried
elfctl -e +noaslr on both gdb and cat binaries - nothing helps the issue.

[1]
https://github.com/bminor/binutils-gdb/blob/877d74ab5f2f33aa062c4b8d1ba910a46e4ef9d1/gdb/fbsd-nat.c#L1776

-- 
You are receiving this mail because:
You are the assignee for the bug.

home | help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-285811-227-1uWwATBKAC>