Memory leak in ConvertStringToBSTR
-
Few days back, I reported this[^] issue to micorsoft.I'm sure you might have comes across this issue before. Initially, it was set to 'Not reproducible' by them. Again, after some more inputs, it is set to 'Resolved(wont fix)', and with no comment. Does this mean, issue does exist , but they are not going to fix it.
-
Few days back, I reported this[^] issue to micorsoft.I'm sure you might have comes across this issue before. Initially, it was set to 'Not reproducible' by them. Again, after some more inputs, it is set to 'Resolved(wont fix)', and with no comment. Does this mean, issue does exist , but they are not going to fix it.
I believe that Memory Validator stated a few years ago something like the way the memory is allocated in this routine generates false positive. It has been a long time since I have read about that so I may have not got it exactly correct.
John
-
Few days back, I reported this[^] issue to micorsoft.I'm sure you might have comes across this issue before. Initially, it was set to 'Not reproducible' by them. Again, after some more inputs, it is set to 'Resolved(wont fix)', and with no comment. Does this mean, issue does exist , but they are not going to fix it.
You can (a) do a visual trace of the code to figure out whether there actually is a leak 8sources are available), or (b) Call ConvertStringToBSTR repeatedly, an release the string and see if you succeed in exhausting memory. (c) both of the above :) Generally, I found Memory Validators very tricky beasts indeed. Like Ferraris with only 4th gear and booster start. So I wouldn't trust them 100%
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
You can (a) do a visual trace of the code to figure out whether there actually is a leak 8sources are available), or (b) Call ConvertStringToBSTR repeatedly, an release the string and see if you succeed in exhausting memory. (c) both of the above :) Generally, I found Memory Validators very tricky beasts indeed. Like Ferraris with only 4th gear and booster start. So I wouldn't trust them 100%
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!I'm amused/confused by microsoft's reply. Really cant understand resolved(won't fix).
Prasad Notifier using ATL | Operator new[],delete[][^]
-
Few days back, I reported this[^] issue to micorsoft.I'm sure you might have comes across this issue before. Initially, it was set to 'Not reproducible' by them. Again, after some more inputs, it is set to 'Resolved(wont fix)', and with no comment. Does this mean, issue does exist , but they are not going to fix it.
prasad_som wrote:
Does this mean, issue does exist , but they are not going to fix it.
It means, they aren't going to change how it works so your memory leak detector doesn't generate a false report. (I have a class that use to do this once with BoundsChecker--it may still do it, but haven't run it through BC in a long while. I had to just tell BoundsChecker to ignore it.)
Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
-
prasad_som wrote:
Does this mean, issue does exist , but they are not going to fix it.
It means, they aren't going to change how it works so your memory leak detector doesn't generate a false report. (I have a class that use to do this once with BoundsChecker--it may still do it, but haven't run it through BC in a long while. I had to just tell BoundsChecker to ignore it.)
Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
Does this mean, memory leak detector tool is generating false report ? I thought, it is somewhere related to this[^] KB article.
Prasad Notifier using ATL | Operator new[],delete[][^]
-
Does this mean, memory leak detector tool is generating false report ? I thought, it is somewhere related to this[^] KB article.
Prasad Notifier using ATL | Operator new[],delete[][^]
prasad_som wrote:
Does this mean, memory leak detector tool is generating false report?
Hard to say. A more sophisticated tool may establish that. It's also possible there is a one time leak, which should still be fixed, but which isn't a big concern.
Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke
-
I'm amused/confused by microsoft's reply. Really cant understand resolved(won't fix).
Prasad Notifier using ATL | Operator new[],delete[][^]
I guess your case is to weak to be considered a bug. At least, you would have to proof that it's not a bug in the validator itself. [edit] typical bug tracking options are "By design", "Not reproducible", and "Won't fix". None of these clearly fits your scenario. [/edit]
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us! -
I guess your case is to weak to be considered a bug. At least, you would have to proof that it's not a bug in the validator itself. [edit] typical bug tracking options are "By design", "Not reproducible", and "Won't fix". None of these clearly fits your scenario. [/edit]
Developers, Developers, Developers, Developers, Developers, Developers, Velopers, Develprs, Developers!
We are a big screwed up dysfunctional psychotic happy family - some more screwed up, others more happy, but everybody's psychotic joint venture definition of CP
Linkify!|Fold With Us!Browsing though CP, come across similar[^] issue, but it's long back. Just in case you have not noticed, MS today added one more comment to reported issue(have a look at link provided in OP), and marked issue as Close(won't fix). :)
Prasad Notifier using ATL | Operator new[],delete[][^]