This project has moved. For the latest updates, please go here.

2.0 with vs2008 sp1

May 17, 2010 at 10:49 AM

when i run with debug,

the program can not run! with this message:

.... 0xC0000005: Access violation ...

 

but 1.0 is ok in my vs2008

===========

xp xp3 + vs2008 sp1

 

Coordinator
May 19, 2010 at 9:42 PM

Sorry, but I can't reproduce your problem.

Jun 28, 2010 at 2:20 PM
Edited Jul 2, 2010 at 12:46 AM

Yes, I have the same problem, XP SP3+VS2008 SP1,cannot trace memory leak with vld2.0,

My Application cannot start after include "vld.h" in stdafx.h,

I don't know why.

Developer
Jul 29, 2010 at 2:52 PM
Edited Jul 29, 2010 at 2:53 PM
I might have had the same issue here. (Win7 x64 VS2008 SP1) I patched a few bits of the VLD code and got it working now. I am going to prepare a patch tomorrow. I will update it and let KindDragon decide what to do with it :)
Jul 29, 2010 at 3:20 PM

xp sp3 vs2008 sp1 0xc000005 access violation.

m2

Coordinator
Jul 29, 2010 at 6:39 PM
llessieux wrote:
I might have had the same issue here. (Win7 x64 VS2008 SP1) I patched a few bits of the VLD code and got it working now. I am going to prepare a patch tomorrow. I will update it and let KindDragon decide what to do with it :)

Ok, thanks. But I'm going on vacation for 2 weeks. If you want, you can try to build version 2.0b with updated changelog and put on the website.

Developer
Jul 30, 2010 at 2:59 AM

I have now uploaded the patch. I am fine waiting for you to review it first.

There is one change that I made that I am not exactly sure why it was needed in the first place.

We should perhaps create a new discussion or use messages to talk about it.

Jul 31, 2010 at 12:32 AM
llessieux wrote:

I have now uploaded the patch. I am fine waiting for you to review it first.

There is one change that I made that I am not exactly sure why it was needed in the first place.

We should perhaps create a new discussion or use messages to talk about it.

 llessieux, thanks very much  for the patch,  can you tell me how to apply it.

sorry for I don't know how to use .patch file.

Developer
Jul 31, 2010 at 9:43 AM

You will probably have to install tortoise-svn to apply it.

It is a program doing pretty much what svn is doing but integrated in the normal windows menu.

You can find the documentation on their web-page.

Laurent


From: mail863 [mailto:notifications@codeplex.com]
Sent: Saturday, July 31, 2010 8:33 AM
To: Lessieux, Laurent
Subject: Re: 2.0 with vs2008 sp1 [vld:212860]

From: mail863

llessieux wrote:

I have now uploaded the patch. I am fine waiting for you to review it first.

There is one change that I made that I am not exactly sure why it was needed in the first place.

We should perhaps create a new discussion or use messages to talk about it.

llessieux, thanks very much for the patch, can you tell me how to apply it.

sorry for I don't know how to use .patch file.

Read the full discussion online.

To add a post to this discussion, reply to this email (vld@discussions.codeplex.com)

To start a new discussion for this project, email vld@discussions.codeplex.com

You are receiving this email because you subscribed to this discussion on CodePlex. You can unsubscribe on CodePlex.com.

Please note: Images and attachments will be removed from emails. Any posts to this discussion will also be available online at CodePlex.com


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
Aug 2, 2010 at 11:55 PM
llessieux wrote:

You will probably have to install tortoise-svn to apply it.

It is a program doing pretty much what svn is doing but integrated in the normal windows menu.

 

You can find the documentation on their web-page.

 

Laurent

 

 

After I applid all patches in src fold , and rebuild vld_x86.lib,vld_x86.dll, and #include "vld.h", Still Access 0x00005 Error, my application cannot run. at all

I used ribbonbar in my application , that is in feature pack 1 of visual c++ 2008 sp1.

I cannot find any clue why this should happed, but when I comment #include "vld.h" line, rebuild, my application execute OK.

So, I think the problem is vld caused.

Developer
Aug 3, 2010 at 11:06 AM
Do you have a very simple test application able to reproduce the crash? If yes, then I can perhaps take a look at it. Or at least if you could attach the callstack it would help.
Aug 5, 2010 at 4:49 AM

Absolutely excellent program.  Thanks for all the hard work!!

I do have an odd issue though.  I'm using VLD with DirectX9 and everything works fine unless I make the following call:

moEffect->ValidateTechnique(msTechnique)

(moEffect is a LPD3DXEFFECT object).  When the application shuts down and I've called this function, I get the following error once the WinMain function exits:

 

Assertion Failed!

File: .\utility.cpp

Line: 662

Expression: import != NULL.

 

Everything works perfect if I remove the line.

 

I'm not sure what to make of this.  I looked in the utility.cpp file, but I'm not sure what "//Perhaps the named export module does not actually export the named import?" means.

Any help would be appreciated.

Thanks!

Developer
Aug 5, 2010 at 1:39 PM
Are you using my patch or the unmodified version 2.0 ?
Aug 5, 2010 at 1:45 PM
Edited Aug 5, 2010 at 1:45 PM

Hi llessieux,

I'm using 2.0a, but it also happend with 1.9h.

Once I installed 2.0a, I didn't add any other patch.


Thanks,
Tim

Developer
Aug 5, 2010 at 1:50 PM
Ok that is what I thought the import != NULL is not at that line number after my patch. I am not sure what is going on but I doubt that removing the assert would be a good idea because it is patching the entry to NULL if you do that. If the crash happens only when exiting then it is fine probably but still... if you can try my patch (see source code section then patch), and see if it changes something. Then change the line 667 in utility.cpp to: import = VisualLeakDetector::_RGetProcAddress(exportmodule, importname); assert(import != NULL); // Perhaps the named export module does not actually export the named import? And let me know if it works. Laurent.
Aug 5, 2010 at 1:58 PM

Will do.  Thank you for the great tool and quick reply.

I'll let you know what happens.

Developer
Aug 5, 2010 at 2:05 PM
On 2010/08/05 21:58, tryz wrote:
>
> From: tryz
>
> Will do. Thank you for the great tool and quick reply.
>
> I'll let you know what happens.
>
> Read the full discussion online
> <http://vld.codeplex.com/Thread/View.aspx?ThreadId=212860&ANCHOR#Post476857>.
>
> To add a post to this discussion, reply to this email
> ([email removed]
> <mailto:[email removed]?subject=[vld:212860]>)
>
> To start a new discussion for this project, email
> [email removed] <mailto:[email removed]>
>
> You are receiving this email because you subscribed to this discussion
> on CodePlex. You can unsubscribe
> <http://www.codeplex.com/site/discussions/thread/unsubscribe/212860>
> on CodePlex.com.
>
> Please note: Images and attachments will be removed from emails. Any
> posts to this discussion will also be available online at CodePlex.com
>
All the credit to KindDragon, I just patched it to get it do what I
wanted :)

Laurent