Quantcast
Channel: WE MOVED to github.com/microsoft/cpprestsdk. This site is not monitored!
Viewing all articles
Browse latest Browse all 4845

New Post: How to simply read a stream into a string?

$
0
0
First, (and you may have already done this), you'll need to build casablanca from source. From there, you'll need to track down why that memcpy is accessing invalid memory. Most likely, it's because some object got deleted before it should have. If you can figure out what object is being deleted, (say, a std::wstring of some kind), you could try adding a breakpoint to the destructor for std::wstring and step through the code until you see the string being destroyed too early.

If that works, you should be able to find out why it's being destroyed. That cause is probably either a bug in our code or the intel compiler being overly aggressive about optimizations.

Other than those guidelines, I can't really give much more advice. Generally speaking, just use standard debugging techniques to figure out why what's happening is happening and why you expect something different to happen.

Sincerely,
roschuma

Viewing all articles
Browse latest Browse all 4845

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>