Subject: bug#57267: 28.1; emacs crashes when loading too many images

From: Eli Zaretskii <[email-masked]>
Date: Thu, 18 Aug 2022 22:03:49 +0300

> From: [email-masked]
> Date: Thu, 18 Aug 2022 14:49:10 -0400
> Cc: [email-masked]
> 
> ------------------------------------------------------------------------------
> $ brew install gdb

Ouch, macOS!  You may need to use lldb, then, not GDB.  And that will
make the job of finding the problem harder.

> Crash/hang takes a lot longer to reproduce (need to scroll thousands of images) in gdb.
> 
> Not sure if I correctly added the debug symbols to the build, doesn't seem like it from the trace.

No, there are no symbols (or at least GDB couldn't find them).  But I
don't think you were in the right thread when you did that.  The Emacs
main thread is always thread 1, not 42 or some other number.  So
always say "thread 1" before "bt full".

Did the SIGBUS thing happen when you did the image-scrolling thing
that causes crashes?