Subject: bug#70073: 29.3; Emacs-PGTK crashes upon marking some text inside emacs and then middle clicking outside of Emacs

From: Po Lu <[email-masked]>
Date: Mon, 15 Apr 2024 19:27:51 +0800

"Abraham S.A.H." <[email-masked]> writes:

> (gdb) p *(struct selection_input_event *) event
> $1 = {kind = SELECTION_REQUEST_EVENT, dpyinfo = 0x56243690, requestor
> = 0x55555651b3d0, selection = 0x1, target = 0x4d, property = 0x5e,
> time = 0}
> (gdb) p *dpyinfo
> value has been optimized out
> (gdb) p *dpyinfo->terminal
> value has been optimized out

Thanks.  Would you try this instead:

  (gdb) p *$1->dpyinfo
  (gdb) p *$1->requestor

?