none
The C++ REST SDK DLL has memory leak! RRS feed

  • 问题

  • Hi!

    I downloaded the C++REST SDK 2.8 to my project, but does not execute any code (but write any code to compile and load the DLL), the memory leak occurs. Create a new empty project, and then try again, same result. I suspect the release DLL  has a BUG.

    Detected memory leaks!
    Dumping objects ->
    {678} normal block at 0x011CC050, 12 bytes long.
     Data: <        x4  > 01 00 00 00 D0 0E D4 04 78 34 E0 04
    {677} normal block at 0x011CAC58, 16 bytes long.
     Data: <P               > 50 C0 1C 01 00 00 00 00 00 00 00 00 00 00 00 00
    {676} normal block at 0x011CB158, 20 bytes long.
     Data: <    X           > 01 00 00 00 58 AC 1C 01 01 00 00 00 04 00 00 00
    Object dump complete.

    2016年6月27日 2:31

全部回复

  • Hi,

    我最近下载了 C++ REST SDK 2.8, 链接到我的项目后, 不执行任何代码就产生48个字节的内存泄漏.

    我新建了空项目, 简单测试了一下,仍然如此. 不执行任何代码, 只要DLL装载进来, 就引发这种问题:

    Detected memory leaks!
    Dumping objects ->
    {678} normal block at 0x011CC050, 12 bytes long.
     Data: <        x4  > 01 00 00 00 D0 0E D4 04 78 34 E0 04
    {677} normal block at 0x011CAC58, 16 bytes long.
     Data: <P               > 50 C0 1C 01 00 00 00 00 00 00 00 00 00 00 00 00
    {676} normal block at 0x011CB158, 20 bytes long.
     Data: <    X           > 01 00 00 00 58 AC 1C 01 01 00 00 00 04 00 00 00
    Object dump complete.

    2016年6月27日 2:07
  • Could you post your littile sample project to onedrive ? 

    专注于.NET ERP/CRM开发框架,C/S架构,SQL Server + ORM(LLBL Gen Pro) + Infragistics WinForms

    2016年6月27日 2:54
  • Hi little5ive,

    thanks for posting here.

    The C++ REST SDK (codename "Casablanca") no longer ships with Visual Studio. The documentation and sources are hosted and occasionally updated on CodePlex. Did you download the C++ Rest SDK from the official page?

    Could you please tell us more information about your issue? Which class or dll has memory leak? How did you detect this issue?

    Best Regards,

    Sera Yu


    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.

    2016年6月27日 6:59