Subject: Re: bug#76559: 31.0.50; [-O3 + PGTK] Crash when 'copying as kill'/'killing word'

From: Eli Zaretskii <[email-masked]>
Date: Wed, 26 Feb 2025 18:35:37 +0200

> From: Iurie Marian <[email-masked]>
> Date: Wed, 26 Feb 2025 17:03:29 +0100
> Cc: Iurie Marian <[email-masked]>, [email-masked], [email-masked]
> 
> `dpyinfo` is actually invalid...
> 
> (gdb) p *event
> $3 = {kind = SELECTION_REQUEST_EVENT, dpyinfo = 0x55c83670, requestor
> = 0x555556035a80, selection = 0x45, target = 0x4d, property = 0x60,
> time = 0}
> 
> (gdb) p *event->dpyinfo
> Cannot access memory at address 0x55c83670
> 
> (gdb) x/s 0x55c83670
> 0x55c83670:     <error: Cannot access memory at address 0x55c83670>
> 
> (gdb) p event->dpyinfo->terminal
> Cannot access memory at address 0x55c83678

So dpyinfo got freed somehow?

 Po Lu, any suggestions or ideas?