Jump to content

[SOLVED] Tests failing


Hades0299
 Share

Recommended Posts

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 by Hades0299
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...