Menu

#40 lo_address_free crash

v1.0 (example)
open
nobody
None
5
2015-03-16
2015-03-12
No

Following code crashes at lo_address_free at lo_address_free_mem at free(a->host).
http://pastebin.com/6i2qxxRN
Code is compiled by Visual Studio 2013 and liblo is compiled as Win32 ReleaseLib.
Win32 DebugLib works fine.

Discussion

  • Jiří Kareš

    Jiří Kareš - 2015-03-12

    And the error is:

    HEAP[liblotest.exe]: Invalid address specified to RtlValidateHeap( 01230000, 012355D8 )
    liblotest.exe has triggered a breakpoint.

     
  • Stephen Sinclair

    Gotta love release-build-only bugs. Any chance you could do a bit more debugging on this? For instance, what is the value of "address"? I'll try to test it if I get a chance. Are you using the free version of VS2013? I don't have a commercial license.

     
  • Jiří Kareš

    Jiří Kareš - 2015-03-16

    It was caused by dubug build of liblotest.exe, it seems like it requires debug build of liblo. When I tried release build of liblotest.exe it worked fine with ReleaseLib build of liblo.

     

Log in to post a comment.

MongoDB Logo MongoDB