http://qs1969.pair.com?node_id=612038


in reply to Re: Signal Handling throws Core Dump
in thread Signal Handling throws Core Dump

in case of lexical $sig that code would create closure, so no deallocation could take place.