chicken-janitors
[Top][All Lists]
Advanced

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

Re: [Chicken-janitors] #1367: Possible memory leak related to mutexes


From: Chicken Trac
Subject: Re: [Chicken-janitors] #1367: Possible memory leak related to mutexes
Date: Tue, 10 Oct 2017 15:59:10 -0000

#1367: Possible memory leak related to mutexes
------------------------------------------+---------------------
            Reporter:  megane             |      Owner:
                Type:  defect             |     Status:  new
            Priority:  not urgent at all  |  Milestone:  4.13.0
           Component:  core libraries     |    Version:  4.12.0
          Resolution:                     |   Keywords:  srfi-18
Estimated difficulty:  insane             |
------------------------------------------+---------------------

Comment (by sjamaan):

 This looks like a small bug in the scheduler: {{{##sys#schedule}}}
 "pollutes" the thread thunk with its own continuation, which holds a
 reference to the old thread. With the test program here this results in a
 pathological cascade of references all the way back to the primordial
 thread, with each new philosopher thread adding onto that chain. Patch
 sent to chicken-hackers.

--
Ticket URL: <https://bugs.call-cc.org/ticket/1367#comment:3>
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]