Thread overview
Valgrind issues in druntime
Feb 11, 2013
Matt Soucy
Feb 11, 2013
Daniel Kozak
Feb 13, 2013
Martin Nowak
February 11, 2013
Hi all-
I was testing some programs out with Valgrind, when I decided to try to
check a D program I had. I was a little surprised to discover that there were a couple of issues detected - and more so to learn that all four of them were in druntime. It's only 360 bytes total, but I feel like it should be possible to fix them.
Unfortunately, I have never really looked at druntime's source before, so I haven't gotten very far with my searching. I found that one of these issues has already been submitted, but there's no news since October of 2011:
http://d.puremagic.com/issues/show_bug.cgi?id=6830
What is the procedure I should follow for this? Mark it as confirmed and add the other three valgrind cases?
Thank you,
-Matt
February 11, 2013
I am not sure, but druntime is not expected to have no issues in valgrind.

On Monday, 11 February 2013 at 19:17:59 UTC, Matt Soucy wrote:
> Hi all-
> I was testing some programs out with Valgrind, when I decided to try to
> check a D program I had. I was a little surprised to discover that there were a couple of issues detected - and more so to learn that all four of them were in druntime. It's only 360 bytes total, but I feel like it should be possible to fix them.
> Unfortunately, I have never really looked at druntime's source before, so I haven't gotten very far with my searching. I found that one of these issues has already been submitted, but there's no news since October of 2011:
> http://d.puremagic.com/issues/show_bug.cgi?id=6830
> What is the procedure I should follow for this? Mark it as confirmed and add the other three valgrind cases?
> Thank you,
> -Matt

February 13, 2013
On 02/11/2013 08:17 PM, Matt Soucy wrote:
> Hi all-
> I was testing some programs out with Valgrind, when I decided to try to
> check a D program I had. I was a little surprised to discover that there
> were a couple of issues detected - and more so to learn that all four of
> them were in druntime. It's only 360 bytes total, but I feel like it
> should be possible to fix them.

I'm happy to merge any fix for these issues, there also was one recently.
https://github.com/D-Programming-Language/druntime/commit/5d01f01b54126fc84c27e133f48f3548bcffd15f

> Unfortunately, I have never really looked at druntime's source before,
> so I haven't gotten very far with my searching. I found that one of
> these issues has already been submitted, but there's no news since
> October of 2011:
> http://d.puremagic.com/issues/show_bug.cgi?id=6830
> What is the procedure I should follow for this? Mark it as confirmed and
> add the other three valgrind cases?

Yes, please post any useful information in Bugzilla.

> Thank you,
> -Matt