chicken-janitors
[Top][All Lists]
Advanced

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

[Chicken-janitors] #1414: The statistic profiler gets stuck


From: Chicken Trac
Subject: [Chicken-janitors] #1414: The statistic profiler gets stuck
Date: Fri, 15 Sep 2017 18:21:09 -0000

#1414: The statistic profiler gets stuck
----------------------+-------------------------------
 Reporter:  LemonBoy  |                 Owner:
     Type:  defect    |                Status:  new
 Priority:  major     |             Milestone:  4.13.0
Component:  compiler  |               Version:  4.12.0
 Keywords:            |  Estimated difficulty:  medium
----------------------+-------------------------------
 `take_profile_sample`, which is called from within a signal handler, uses
 `malloc` to allocate new bins for its hash table.
 Doing so is frowned upon as the signal may be processed while the runtime
 owns the global malloc lock leading to an awful deadlock.

 I can confirm that I've been able to do a profiled run by replacing the
 malloc with a simple arena allocator.

--
Ticket URL: <https://bugs.call-cc.org/ticket/1414>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

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