Re: Memory leak with NativeCall

2018-01-21 Thread Michael Stemle
I believe that this is actually a result of Perl 6 delegating responsibility of memory management for arguments passed to callbacks from native code to the native code. I wonder if the issue is that you're sending a constant which is being reallocated and recreated and never cleared out from th

Memory leak with NativeCall

2018-01-21 Thread David E.
I'm not certain where to report this (ie: rakudo vs MoarVM), so I'm starting here. After some experimentation, I finally traced down a segfault I've been getting to a memory leak in the NativeCall interface. I'm using it to facilitate testing of a 32-bit embedded (meaning no dynamic allocation) C

[perl #126296] [BUG] Foo:D type on attribute should imply 'is required' and not need intialiser

2018-01-21 Thread Zoffix Znet via RT
On Thu, 08 Oct 2015 03:12:02 -0700, ilmari wrote: > Or to put another way: attributes with 'is required' should not need > an > initialiser even if the type has a :D smiley, and a :D type without an > initialiser should imply 'is required'. > > The first and second examples below should be equival

[perl #126296] [BUG] Foo:D type on attribute should imply 'is required' and not need intialiser

2018-01-21 Thread Zoffix Znet via RT
On Thu, 08 Oct 2015 03:12:02 -0700, ilmari wrote: > Or to put another way: attributes with 'is required' should not need > an > initialiser even if the type has a :D smiley, and a :D type without an > initialiser should imply 'is required'. > > The first and second examples below should be equival