kastnermario / yaml-cpp

Automatically exported from code.google.com/p/yaml-cpp
MIT License
0 stars 0 forks source link

MinGW and segmentation fault #73

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I compiled yaml-cpp library, using MinGW 3.4.5, and latest CMake, using 
"CodeBlocks - MinGW Makefiles" and CodeBlocks under Windows XP 

Than, I tried to run test, included in package, but tests failed with 
segmentation fault.Is there is a way to fix it?

Original issue reported on code.google.com by dllhid...@gmail.com on 4 Jul 2010 at 4:54

GoogleCodeExporter commented 8 years ago
What version of yaml-cpp, and where did the segfault happen?

Original comment by jbe...@gmail.com on 4 Jul 2010 at 5:42

GoogleCodeExporter commented 8 years ago
I am using yaml-cpp 0.2.5., segfault happens, when it start working with 
document, like loading or analyzing. Here is a call stack.

Original comment by dllhid...@gmail.com on 4 Jul 2010 at 6:01

Attachments:

GoogleCodeExporter commented 8 years ago
I've just solved it, by compiling raw sources to a static library, using 
CodeBlocks. After that, everything  works fine.
I think this is kind of MinGW dynamic library compiling old bug, not a library 
itself, so this issue can be closed.

Original comment by dllhid...@gmail.com on 5 Jul 2010 at 9:13

GoogleCodeExporter commented 8 years ago
OK, great!

Original comment by jbe...@gmail.com on 5 Jul 2010 at 6:19