]> git.eshelyaron.com Git - emacs.git/commit
Avoid segfault when profiling Lisp programs with threads
authorEli Zaretskii <eliz@gnu.org>
Sat, 21 Jun 2025 08:53:24 +0000 (11:53 +0300)
committerEshel Yaron <me@eshelyaron.com>
Sun, 22 Jun 2025 08:09:40 +0000 (10:09 +0200)
commit4d40e0db35a79316d3f0c1921f1c3d7a57dac467
tree0fc9ffeb1e95465eb7bf90af2db9e26a5bdfc33b
parent159602cb70ad4f49cad46a6f90dbe2b9091355db
Avoid segfault when profiling Lisp programs with threads

* src/eval.c (backtrace_top): Don't segfault if current_thread is
NULL.  (Bug#76970)

(cherry picked from commit dd95447b05eb2e86e0500d953f43213df028c19a)
src/eval.c