November 12, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #9 from deadalnix <deadalnix@gmail.com> 2012-11-12 14:00:55 PST ---
(In reply to comment #8)
> Well, only if paging is enabled (i.e. there is a swap partition in use). I know I set my systems up without paging because I practically never need it.
> 
> @deadalnix How much RAM does your system have?

I have 4Gb. Minus what the system uses plus some programs running, it is already swapping when dmd uses 2.2Gb.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 12, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #10 from deadalnix <deadalnix@gmail.com> 2012-11-12 14:06:19 PST ---
(In reply to comment #9)
> (In reply to comment #8)
> > Well, only if paging is enabled (i.e. there is a swap partition in use). I know I set my systems up without paging because I practically never need it.
> > 
> > @deadalnix How much RAM does your system have?
> 
> I have 4Gb. Minus what the system uses plus some programs running, it is already swapping when dmd uses 2.2Gb.

OK, I did ran valgrind into a terminal without any graphical interface. I hope I'll not run out of swap because of the memory I won disabling the graphical interface.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 12, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #11 from deadalnix <deadalnix@gmail.com> 2012-11-12 15:48:04 PST ---
Created an attachment (id=1160)
valgrind output

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #12 from Walter Bright <bugzilla@digitalmars.com> 2012-11-12 16:56:17 PST ---
(In reply to comment #11)
> Created an attachment (id=1160) [details]
> valgrind output

Fixed the valgrind reported issue. It's definitely a corruption bug in the aa.c code. Testing now.

If you want to try it out:

==============================
diff aa.bak aa.c
72c72
<                 delete en;
---
>                 delete [] en;
79c79
<         delete en;
---
>         delete [] en;
==============================

I love valgrind.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #13 from Walter Bright <bugzilla@digitalmars.com> 2012-11-12 17:09:08 PST ---
https://github.com/D-Programming-Language/dmd/commit/80884506df7a020e879ba3adda5a98d0465e7164

I won't mark it fixed until you guys can verify, as I don't have your test code.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #14 from deadalnix <deadalnix@gmail.com> 2012-11-12 17:21:20 PST ---
(In reply to comment #13)
> https://github.com/D-Programming-Language/dmd/commit/80884506df7a020e879ba3adda5a98d0465e7164
> 
> I won't mark it fixed until you guys can verify, as I don't have your test code.

Bad news : just tested the patch and got 6 out of 10 compilation failed on this assert.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #15 from Walter Bright <bugzilla@digitalmars.com> 2012-11-12 17:30:24 PST ---
(In reply to comment #14)
> 
> Bad news : just tested the patch and got 6 out of 10 compilation failed on this assert.

What do you mean? Dmd won't compile?

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #16 from deadalnix <deadalnix@gmail.com> 2012-11-12 17:35:10 PST ---
(In reply to comment #15)
> (In reply to comment #14)
> > 
> > Bad news : just tested the patch and got 6 out of 10 compilation failed on this assert.
> 
> What do you mean? Dmd won't compile?

No, dmd compile :D But my program didn't using that patched dmd 6 time out of 10.

It means that the issue remains.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596


bearophile_hugs@eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs@eml.cc


--- Comment #17 from bearophile_hugs@eml.cc 2012-11-12 18:22:33 PST ---
(In reply to comment #16)

> It means that the issue remains.

Then I suggest to run it again in Valgrind :-) Maybe there are other bugs to fix it spots.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
November 13, 2012
http://d.puremagic.com/issues/show_bug.cgi?id=8596



--- Comment #18 from deadalnix <deadalnix@gmail.com> 2012-11-13 02:01:24 PST ---
(In reply to comment #17)
> (In reply to comment #16)
> 
> > It means that the issue remains.
> 
> Then I suggest to run it again in Valgrind :-) Maybe there are other bugs to fix it spots.

I did, but found nothing.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------