Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

tests crash on VS2013 when building as debug and release #3

Closed
shibo0305 opened this issue Sep 25, 2014 · 7 comments
Closed

tests crash on VS2013 when building as debug and release #3

shibo0305 opened this issue Sep 25, 2014 · 7 comments
Assignees
Labels
Milestone

Comments

@shibo0305
Copy link

I downloaded the zip file and test this lib on windows. I used VS2013 and built it under all configs(debug, release, deploy and profile). when I run the tests, all of them crashed(100%) under debug and release. However, the tests are OK under deploy and profile. callstack shows a parameter passed to HeapReAlloc is 0xdeadbeef.
please try to run tests under debug, and I'm sure you can see it and resolve the problem. Thanks!

@mjansson mjansson added this to the 1.0.1 milestone Sep 26, 2014
@mjansson mjansson self-assigned this Sep 26, 2014
@mjansson mjansson added the bug label Sep 26, 2014
@mjansson
Copy link
Owner

I guess you executed 'test-all'? If so, which test is it that crashes? I will try to reproduce this locally asap.

@shibo0305
Copy link
Author

@mjansson Not only just "test-all", but also any other test, such as "string".

@mjansson
Copy link
Owner

The problem is with the memory guard feature in Windows 32-bit. Will fix asap, but for now you can set BUILD_ENABLE_MEMORY_GUARD to 0 in build.h for debug & release configs.

@mjansson
Copy link
Owner

I pushed a fix to the develop branch which should solve this, please try it

bb57a34

@mjansson
Copy link
Owner

Fix verified locally, merged to master

@shibo0305
Copy link
Author

@mjansson I tried the new version and it's OK. Thanks!
BTW, could you offer some document about this lib? I viewed your home page but couldn't found any document. so I'm going to read the source code very carefully first.
I like this lib and want to use it in my products, thank you!

@mjansson
Copy link
Owner

I'm working on API documentation which is partly available already by using doxygen (there is a doxygen setup in the doc subdirectory).

Once that is done I will add more overview documentation as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants