all groups > visual c libraries > october 2003 >
You're in the

visual c libraries

group:

bug in .net Framework?


bug in .net Framework? boris NO[at]SPAM crabel.com
10/27/2003 10:04:10 AM
visual c libraries: char* str = "hello, World";

System::String* sys_str = new System::String(str);

if I compile the above code with 'Program Database (/Zi)' then it
works fine.
if I disable 'Debug Information Format' (set to 'Disable'), then it
results in corrupted sys_str once in a while. E.g. If I ran the above
code in a loop, it corrupts it on 972 iteration, i.e. resulting
sys_str = ' llo, World'.

Is this a bug in .Net Framework? Has anyone experienced similar
problem?

thank you,
Re: bug in .net Framework? Ronald Laeremans [MSFT]
11/9/2003 5:30:07 PM
Do you have a complete repro case you can share?

Ronald Laeremans
Visual C++ team

[quoted text, click to view]

AddThis Social Bookmark Button