Subject: Re: bug#76237: 31.0.50; feature/igc: crash #1, 2025-02-12

From: Pip Cet <[email-masked]>
Date: Thu, 13 Feb 2025 21:26:45 +0000

"Oliver Reiter" <[email-masked]> writes:

> Pip Cet <[email-masked]> writes:
>
>> "Oliver Reiter" <[email-masked]> writes:
>>
>>> Pip Cet <[email-masked]> writes:
>>>
>>>> (gdb) p main_thread.s.bc
>>>>
>>>> then
>>>>
>>>> (gdb) p bc_next_frame (main_thread.s.bc.fp)
>>>>
>>>
>>> (gdb) p main_thread.s.bc
>>> $1 = {fp = 0x7fffdf3ff710, stack = 0x7fffdf3ff010 "", stack_end = 0x7fffdf7ff010 ""}
>>> (gdb) p bc_next_frame (main_thread.s.bc.fp)
>>> You can't do that without a process to debug.
>>
>> (gdb) p main_thread.s.bc.fp->next_stack
>>
>> might work.
>>
>
> It does:
>
> (gdb) p main_thread.s.bc.fp->next_stack
> $4 = 0x7fffdf3ff730

Oh.  I was confused, sorry, I meant

(gdb) p main_thread.s.bc.fp->saved_fp
(gdb) p main_thread.s.bc.fp->saved_fp->saved_fp
(gdb) p main_thread.s.bc.fp->saved_fp->saved_fp->saved_fp

and so on for a few iterations.  We want to know whether any of the
stack frames exceed 1024 bytes :-)

Thanks, and sorry for the confusion!

Pip