Hades0299 Posted June 11, 2014 Report Share Posted June 11, 2014 (edited) Hello everyone,I use the svn-Version of 0 A.D. and compile it myself.The compile runs without any complains, but if I start the test i get multiple errors.Im using archlinux on a x64 machine. I am not shure if it is a problem with my System or the tests, but hopefully you can help finding the reasons for them.Running cxxtest tests (294 tests)...........................................................................................................................................................................................................headerless.cpp(490): Assertion failed: "m_freeBytes >= freedBlock->Size()"Assertion failed: "m_freeBytes >= freedBlock->Size()"Location: headerless.cpp:490 (Validate)Call stack:(0x9cf48b) ./test() [0x9cf48b](0x97c381) ./test() [0x97c381](0x97d32e) ./test() [0x97d32e](0x988c87) ./test() [0x988c87](0x51250f) ./test() [0x51250f](0x43a839) ./test() [0x43a839](0x43f2d3) ./test() [0x43f2d3](0x43f874) ./test() [0x43f874](0x43fb1e) ./test() [0x43fb1e](0x4426ad) ./test() [0x4426ad](0x420c60) ./test() [0x420c60](0x7ff0bfa7f000) /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7ff0bfa7f000](0x4333c3) ./test() [0x4333c3]errno = 0 (No error reported here)OS error = ?headerless.cpp(561): Assertion failed: "m_currentFreeBytes >= size"Assertion failed: "m_currentFreeBytes >= size"Location: headerless.cpp:561 (OnRemoveFromFreelist)Call stack:(0x9cf48b) ./test() [0x9cf48b](0x97c381) ./test() [0x97c381](0x97d32e) ./test() [0x97d32e](0x988c4e) ./test() [0x988c4e](0x51250f) ./test() [0x51250f](0x43a839) ./test() [0x43a839](0x43f2d3) ./test() [0x43f2d3](0x43f874) ./test() [0x43f874](0x43fb1e) ./test() [0x43fb1e](0x4426ad) ./test() [0x4426ad](0x420c60) ./test() [0x420c60](0x7ff0bfa7f000) /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7ff0bfa7f000](0x4333c3) ./test() [0x4333c3]errno = 0 (No error reported here)OS error = ?headerless.cpp(210): Assertion failed: "m_freeBlocks != 0"Assertion failed: "m_freeBlocks != 0"Location: headerless.cpp:210 (Remove)Call stack:(0x9cf48b) ./test() [0x9cf48b](0x97c381) ./test() [0x97c381](0x97d32e) ./test() [0x97d32e](0x988ceb) ./test() [0x988ceb](0x51250f) ./test() [0x51250f](0x43a839) ./test() [0x43a839](0x43f2d3) ./test() [0x43f2d3](0x43f874) ./test() [0x43f874](0x43fb1e) ./test() [0x43fb1e](0x4426ad) ./test() [0x4426ad](0x420c60) ./test() [0x420c60](0x7ff0bfa7f000) /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7ff0bfa7f000](0x4333c3) ./test() [0x4333c3]errno = 0 (No error reported here)OS error = ?headerless.cpp(211): Assertion failed: "m_freeBytes >= freedBlock->Size()"Assertion failed: "m_freeBytes >= freedBlock->Size()"Location: headerless.cpp:211 (Remove)Call stack:(0x9cf48b) ./test() [0x9cf48b](0x97c381) ./test() [0x97c381](0x97d32e) ./test() [0x97d32e](0x988bea) ./test() [0x988bea](0x51250f) ./test() [0x51250f](0x43a839) ./test() [0x43a839](0x43f2d3) ./test() [0x43f2d3](0x43f874) ./test() [0x43f874](0x43fb1e) ./test() [0x43fb1e](0x4426ad) ./test() [0x4426ad](0x420c60) ./test() [0x420c60](0x7ff0bfa7f000) /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7ff0bfa7f000](0x4333c3) ./test() [0x4333c3]errno = 0 (No error reported here)OS error = ?headerless.cpp(428): Assertion failed: "m_freeBytes >= freedBlock->Size()"Assertion failed: "m_freeBytes >= freedBlock->Size()"Location: headerless.cpp:428 (RemoveTags)Call stack:(0x9cf48b) ./test() [0x9cf48b](0x97c381) ./test() [0x97c381](0x97d32e) ./test() [0x97d32e](0x988aa9) ./test() [0x988aa9](0x51250f) ./test() [0x51250f](0x43a839) ./test() [0x43a839](0x43f2d3) ./test() [0x43f2d3](0x43f874) ./test() [0x43f874](0x43fb1e) ./test() [0x43fb1e](0x4426ad) ./test() [0x4426ad](0x420c60) ./test() [0x420c60](0x7ff0bfa7f000) /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7ff0bfa7f000](0x4333c3) ./test() [0x4333c3]errno = 0 (No error reported here)OS error = ?headerless.cpp(237): Assertion failed: "freeBlocks == m_freeBlocks*2 && freeBytes == m_freeBytes*2"Assertion failed: "freeBlocks == m_freeBlocks*2 && freeBytes == m_freeBytes*2"Location: headerless.cpp:237 (Validate)Call stack:(0x9cf48b) ./test() [0x9cf48b](0x97c381) ./test() [0x97c381](0x97d32e) ./test() [0x97d32e](0x987c0f) ./test() [0x987c0f](0x51250f) ./test() [0x51250f](0x43a839) ./test() [0x43a839](0x43f2d3) ./test() [0x43f2d3](0x43f874) ./test() [0x43f874](0x43fb1e) ./test() [0x43fb1e](0x4426ad) ./test() [0x4426ad](0x420c60) ./test() [0x420c60](0x7ff0bfa7f000) /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7ff0bfa7f000](0x4333c3) ./test() [0x4333c3]errno = 0 (No error reported here)OS error = ?headerless.cpp(335): Assertion failed: "((m_bitmap & Bit(i)) == 0) == m_rangeLists.IsEmpty()"Assertion failed: "((m_bitmap & Bit(i)) == 0) == m_rangeLists.IsEmpty()"Location: headerless.cpp:335 (Validate)Call stack:(0x9cf48b) ./test() [0x9cf48b](0x97c381) ./test() [0x97c381](0x97d32e) ./test() [0x97d32e](0x987c9b) ./test() [0x987c9b](0x51250f) ./test() [0x51250f](0x43a839) ./test() [0x43a839](0x43f2d3) ./test() [0x43f2d3](0x43f874) ./test() [0x43f874](0x43fb1e) ./test() [0x43fb1e](0x4426ad) ./test() [0x4426ad](0x420c60) ./test() [0x420c60](0x7ff0bfa7f000) /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7ff0bfa7f000](0x4333c3) ./test() [0x4333c3]errno = 0 (No error reported here)OS error = ?headerless.cpp(239): Assertion failed: "!IsEmpty() || (m_sentinel.next == &m_sentinel && m_sentinel.prev == &m_sentinel)"Assertion failed: "!IsEmpty() || (m_sentinel.next == &m_sentinel && m_sentinel.prev == &m_sentinel)"Location: headerless.cpp:239 (Validate)Call stack:(0x9cf48b) ./test() [0x9cf48b](0x97c381) ./test() [0x97c381](0x97d32e) ./test() [0x97d32e](0x987c4a) ./test() [0x987c4a](0x51250f) ./test() [0x51250f](0x43a839) ./test() [0x43a839](0x43f2d3) ./test() [0x43f2d3](0x43f874) ./test() [0x43f874](0x43fb1e) ./test() [0x43fb1e](0x4426ad) ./test() [0x4426ad](0x420c60) ./test() [0x420c60](0x7ff0bfa7f000) /usr/lib/libc.so.6(__libc_start_main+0xf0) [0x7ff0bfa7f000](0x4333c3) ./test() [0x4333c3]errno = 0 (No error reported here)OS error = ? Edited June 12, 2014 by Hades0299 Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted June 11, 2014 Report Share Posted June 11, 2014 The problem isn't with the tests, but with the code. When you would run long and/or big games, you'd see the same problem (see http://trac.wildfiregames.com/ticket/2481) The source of the problem is known, a solution to it isn't. Quote Link to comment Share on other sites More sharing options...
Hades0299 Posted June 12, 2014 Author Report Share Posted June 12, 2014 Thank you for your answer. I hope you can find an solution.lgHades Quote Link to comment Share on other sites More sharing options...
sanderd17 Posted June 12, 2014 Report Share Posted June 12, 2014 Philip occupied him with it, and it's solved now. Quote Link to comment Share on other sites More sharing options...
Hades0299 Posted June 12, 2014 Author Report Share Posted June 12, 2014 Great, Thanks for the Info Hades Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.