bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#60237: 30.0.50; tree sitter core dumps when I edebug view a node


From: Eli Zaretskii
Subject: bug#60237: 30.0.50; tree sitter core dumps when I edebug view a node
Date: Sun, 26 Feb 2023 08:18:23 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  Mickey Petersen
>  <mickey@masteringemacs.org>,  60237@debbugs.gnu.org
> Date: Sun, 26 Feb 2023 10:37:17 +0800
> 
> Anyway, the profiler should either be fixed to not hook into xmalloc, or
> (better) tree-sitter should be fixed to not call xmalloc during GC.

That's what the "memory" profiler does, AFAIU.  It uses xmalloc as a
poor-man's timer.  It is rather useless and misleading, but if we
remove it, platforms that don't have timers and SIGPROF will not be
able to profile.

But maybe there are no such platforms?  (DJGPP has setitimer and
SIGPROF, so the MSDOS build shouldn't be a problem, although I never
tried profiling in the MSDOS build.)





reply via email to

[Prev in Thread] Current Thread [Next in Thread]