[lockfree/win32] looking for help

hi all, i've been trying to sort out some compile problems of boost.lockfree, but now i find myself in a position that for some reasons, the tests on on the windows platform fail ... not only with msvc, but also with gcc/mingw. the main problem that i have is that two test cases compile, but fail at runtime ... unfortunately the error messages are not necessarily expressive: mingw: -- Run [2012-07-04 16:08:25 UTC]: fail EXIT STATUS: -1073741819 -- msvc: -- Running 8 test cases... unknown location(0): fatal error in "spsc_queue_test_buffering": stack overflow ..\libs\lockfree\test\spsc_queue_test.cpp(435): last checkpoint: "spsc_queue_test_buffering" entry. *** 1 failure detected in test suite "Master Test Suite" EXIT STATUS: 201 -- i am pretty clueless, what is happening there ... would it be possible that someone who has a win32 machine can send me a backtrace of this crash? thanks, tim

Tim Blechmann wrote:
i am pretty clueless, what is happening there ... would it be possible that someone who has a win32 machine can send me a backtrace of this crash?
Hi Tim, I'd like to help you but on my machine everything is ok. In msvc 2010, mingw gcc 4.7.0 and directly in VC2010 IDE. I just can't link queue_interprocess_test and stack_interprocess_test in mingw but it is a different thing. Regards, Adam

hi adam,
i am pretty clueless, what is happening there ... would it be possible that someone who has a win32 machine can send me a backtrace of this crash?
Hi Tim,
I'd like to help you but on my machine everything is ok. In msvc 2010, mingw gcc 4.7.0 and directly in VC2010 IDE. I just can't link queue_interprocess_test and stack_interprocess_test in mingw but it is a different thing.
thanks for taking the time to run the test! after sending the mail, i committed a possible workaround ... allocating some stuff on the heap instead of the stack ... seems that did it! regarding the linking, i copied a few lines from the boost.interprocess to the jamfile ... but maybe there are some other libraries, that need to be linked in ... thanks, tim

Tim Blechmann wrote:
regarding the linking, i copied a few lines from the boost.interprocess to the jamfile ... but maybe there are some other libraries, that need to be linked in ...
Mingw linker can't find some win32 functions. In msvc everything is ok. Output in the attachment. Regards, Adam
participants (2)
-
Adam Wulkiewicz
-
Tim Blechmann