https://gcc.gnu.org/bugzilla/show_bug.cgi?id=110956

--- Comment #6 from ro at manam dot mail-host-address-is-not-set ---
> --- Comment #3 from Rainer Orth <ro at gcc dot gnu.org> ---
> (In reply to Thomas Neumann from comment #1)
>> The assert says that the code tries to de-register a frame that it did not
>> register before or that was deregistered before. If you see that failing you
>> might want to add some print statements to
>> __register_frame_info_{tables_|}bases  and  __deregister_frame_info_bases.
>> But the example that you included in the report does not seem to trigger the
>> assert but crashes during unwinding instead? This has to be looked at in a
>> debugger.
>
> Given my nightmarish experiences debugging unwinder issues, I guess I'll 
> rather
> start with a reghunt to identify when this started.

That reghunt just has completed and identified this patch as the
culprit:

commit 6e80a1d164d1f996ad08a512c000025a7c2ca893
Author: Thomas Neumann <tneum...@users.sourceforge.net>
Date:   Tue Mar 1 21:57:35 2022 +0100

    eliminate mutex in fast path of __register_frame

>> I do not have access to Solaris. If you can give me remote access to a
>> suitable machine I am willing to debug this, otherwise you must check
>> yourself why the crash happens.
>
> There's still no Solaris/x86 box in the cfarm, unfortunately, only
> Solaris/SPARC.

If you feel like it, there are two options:

* A Solaris 11.4/x86 VirtualBox template:

 
https://www.oracle.com/solaris/solaris11/downloads/solaris11-vm-templates-downloads.html

  This is Solaris 11.4 FCS, unfortunately, thus almost 5 years old by
  now.

* Then there's the Solaris 11.4 SRU 42 download.  It's way newer (last
  year), but provides only installer images which you'd have to use
  yourself.

I'd expect no one to go this far to debug an issue on an unfamiliar
platform, though.

Reply via email to