Thanks Jim, that does seem to work for me.

On Sun, Aug 25, 2024, at 2:29 AM, Jim Porter wrote:
On 8/24/2024 2:01 AM, Eli Zaretskii wrote:
>> Date: Mon, 19 Aug 2024 22:15:51 +1000
>> From: "Mark Hepburn" <mark@markhepburn.com>
>>
>> Turning on the recently-merged visual-wrap-prefix-mode while using the
>> fringe display of diff-hl (a mode to display uncommitted file changes in
>> the fringe area) causes rendering to completely freeze.  No backtrace is
>> reported, although subsequent visual-line-move commands produce an
>> error.  Emacs itself is responsive, so the file can be re-opened with
>> `find-alternate-file'.
[snip]
> Jim, could you please look into this?

This sounds like bug#72721. Mark, could you try applying Eli's patch 
here and see if it fixes the bug? 
<https://lists.gnu.org/archive/html/bug-gnu-emacs/2024-08/msg00919.html>