Re: Valgrind

2019-02-21 Thread Robert M. Münch via Digitalmars-d-learn
Hi, well I just found my old post and have the same question again. Any news / new insights on this? On 2015-04-20 13:16:23 +, Robert M. Münch said: Hi, I just found quite old posts about Valgrind and D. Can someone give me a short update, what the state of support for D is and if there is

Re: Valgrind

2015-04-20 Thread Brad Roberts via Digitalmars-d-learn
Valgrind has a mechanism for teaching it how to ignore certain patterns. A long time ago I setup suppressions for the gc, but the code has changed out from under that version so the work would need to be redone. On 4/20/2015 7:23 PM, Martin Nowak via Digitalmars-d-learn wrote: On Monday, 20 A

Re: Valgrind

2015-04-20 Thread Vladimir Panteleev via Digitalmars-d-learn
On Monday, 20 April 2015 at 13:29:58 UTC, John Colvin wrote: On Monday, 20 April 2015 at 13:28:57 UTC, John Colvin wrote: On Monday, 20 April 2015 at 13:16:23 UTC, Robert M. Münch wrote: Hi, I just found quite old posts about Valgrind and D. Can someone give me a short update, what the state of

Re: Valgrind

2015-04-20 Thread Nick B via Digitalmars-d-learn
On Monday, 20 April 2015 at 17:25:55 UTC, John Colvin wrote: On Monday, 20 April 2015 at 16:58:18 UTC, Robert M. Münch wrote: On 2015-04-20 13:29:57 +, John Colvin said: Were the causes ever analyzed? I'm a bit wondering why it happens on floating point stuff... valgrind doesn't hav

Re: Valgrind

2015-04-20 Thread Martin Nowak via Digitalmars-d-learn
On Monday, 20 April 2015 at 13:28:57 UTC, John Colvin wrote: The only special thing to take in to account is that valgrind will choke on DMD generated floating point code I actually fixed this problem a while ago. https://github.com/D-Programming-Language/dmd/pull/4368 An actual problem with v

Re: Valgrind

2015-04-20 Thread John Colvin via Digitalmars-d-learn
On Monday, 20 April 2015 at 16:58:18 UTC, Robert M. Münch wrote: On 2015-04-20 13:29:57 +, John Colvin said: On Monday, 20 April 2015 at 13:28:57 UTC, John Colvin wrote: On Monday, 20 April 2015 at 13:16:23 UTC, Robert M. Münch wrote: Hi, I just found quite old posts about Valgrind and D.

Re: Valgrind

2015-04-20 Thread Robert M. Münch via Digitalmars-d-learn
On 2015-04-20 13:29:57 +, John Colvin said: On Monday, 20 April 2015 at 13:28:57 UTC, John Colvin wrote: On Monday, 20 April 2015 at 13:16:23 UTC, Robert M. Münch wrote: Hi, I just found quite old posts about Valgrind and D. Can someone give me a short update, what the state of support for

Re: Valgrind

2015-04-20 Thread John Colvin via Digitalmars-d-learn
On Monday, 20 April 2015 at 13:16:23 UTC, Robert M. Münch wrote: Hi, I just found quite old posts about Valgrind and D. Can someone give me a short update, what the state of support for D is and if there is anythings special to take into account. Thanks a lot. The only special thing to take i

Re: Valgrind

2015-04-20 Thread John Colvin via Digitalmars-d-learn
On Monday, 20 April 2015 at 13:28:57 UTC, John Colvin wrote: On Monday, 20 April 2015 at 13:16:23 UTC, Robert M. Münch wrote: Hi, I just found quite old posts about Valgrind and D. Can someone give me a short update, what the state of support for D is and if there is anythings special to take i

Re: valgrind

2013-03-11 Thread Druzhinin Alexandr
On 12.03.2013 01:39, Brian Schott wrote: On Sunday, 10 March 2013 at 11:06:41 UTC, simendsjo wrote: I haven't used valgrind/cachegrind on C/C++ programs before, but I'm pretty sure it doesn't behave as expected on D code. I found this page to fix the mangling issue: http://wiki.dlang.org/Other_D

Re: valgrind

2013-03-11 Thread Druzhinin Alexandr
On 12.03.2013 01:28, Dmitry Olshansky wrote: Thanks for answer, Dmitry! My Mr.X was opengl driver - I just checked my code that using 3rd libs without debug symbols and found who it was. Massif shows me gc the same way as you, I just didn't show it. What visualizer do you use? I think it's dece

Re: valgrind

2013-03-11 Thread Brian Schott
On Sunday, 10 March 2013 at 11:06:41 UTC, simendsjo wrote: I haven't used valgrind/cachegrind on C/C++ programs before, but I'm pretty sure it doesn't behave as expected on D code. I found this page to fix the mangling issue: http://wiki.dlang.org/Other_Dev_Tools, but all callgraphs is empty.

Re: valgrind

2013-03-11 Thread Dmitry Olshansky
11-Mar-2013 04:43, Druzhinin Alexandr пишет: On 11.03.2013 02:32, Dmitry Olshansky wrote: I didn't bother to check the text dump in depth but here is one slice: n6: 41816 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. n1: 8208 0x540209: _D2gc3gcx4Pool10initializeMFmbZv (in /

Re: valgrind

2013-03-10 Thread Druzhinin Alexandr
On 11.03.2013 02:32, Dmitry Olshansky wrote: I didn't bother to check the text dump in depth but here is one slice: n6: 41816 (heap allocation functions) malloc/new/new[], --alloc-fns, etc. n1: 8208 0x540209: _D2gc3gcx4Pool10initializeMFmbZv (in /home/dmitry/Dscanner/dscanner-dmd) n1: 8208

Re: valgrind

2013-03-10 Thread Dmitry Olshansky
10-Mar-2013 17:04, Druzhinin Alexandr пишет: On 10.03.2013 19:45, Dmitry Olshansky wrote: 10-Mar-2013 15:06, simendsjo пишет: I haven't used valgrind/cachegrind on C/C++ programs before, but I'm pretty sure it doesn't behave as expected on D code. I found this page to fix the mangling issue: ht

Re: valgrind

2013-03-10 Thread Druzhinin Alexandr
On 10.03.2013 19:45, Dmitry Olshansky wrote: 10-Mar-2013 15:06, simendsjo пишет: I haven't used valgrind/cachegrind on C/C++ programs before, but I'm pretty sure it doesn't behave as expected on D code. I found this page to fix the mangling issue: http://wiki.dlang.org/Other_Dev_Tools, but all c

Re: valgrind

2013-03-10 Thread Dmitry Olshansky
10-Mar-2013 15:06, simendsjo пишет: I haven't used valgrind/cachegrind on C/C++ programs before, but I'm pretty sure it doesn't behave as expected on D code. I found this page to fix the mangling issue: http://wiki.dlang.org/Other_Dev_Tools, but all callgraphs is empty. I've used it just yester

Re: valgrind

2013-03-10 Thread simendsjo
On Sunday, 10 March 2013 at 11:58:39 UTC, Druzhinin Alexandr wrote: On 10.03.2013 18:11, simendsjo wrote: On Sunday, 10 March 2013 at 11:06:41 UTC, simendsjo wrote: I haven't used valgrind/cachegrind on C/C++ programs before, but I'm pretty sure it doesn't behave as expected on D code. I found

Re: valgrind

2013-03-10 Thread Druzhinin Alexandr
On 10.03.2013 18:11, simendsjo wrote: On Sunday, 10 March 2013 at 11:06:41 UTC, simendsjo wrote: I haven't used valgrind/cachegrind on C/C++ programs before, but I'm pretty sure it doesn't behave as expected on D code. I found this page to fix the mangling issue: http://wiki.dlang.org/Other_Dev_

Re: valgrind

2013-03-10 Thread simendsjo
On Sunday, 10 March 2013 at 11:06:41 UTC, simendsjo wrote: I haven't used valgrind/cachegrind on C/C++ programs before, but I'm pretty sure it doesn't behave as expected on D code. I found this page to fix the mangling issue: http://wiki.dlang.org/Other_Dev_Tools, but all callgraphs is empty.

Re: Valgrind && D

2009-04-22 Thread Brad Roberts
Sean Kelly wrote: > Stefan Rohe wrote: >> Hi, >> >> has anybody experience with the usage of valgrind and D? >> We are here using DMD (dmd 1.033/tango 0.997 but also some older >> versions) >> and got problems using valgrind on this. >> It seems that the _d_newarrayT routine or something under it j

Re: Valgrind && D

2009-04-22 Thread Sean Kelly
Stefan Rohe wrote: Hi, has anybody experience with the usage of valgrind and D? We are here using DMD (dmd 1.033/tango 0.997 but also some older versions) and got problems using valgrind on this. It seems that the _d_newarrayT routine or something under it jumps or moves on unitialized value(s).