I have actually made some progress with PA2. Several of the checks that were failing last night are passing now.
As of right now, there are only two root causes of failure: one that causes unit tests to fail and one that brings the system crashing down.
- The currBytesUsed calculation fails on two of the three tests in StressTest_Heap.cpp. The first test works fine though, as do ALL of the other checks in the entire file.
- In every place where the tracking block is referenced, I got access violations. Commenting out the code allowed several tests to pass, but it caused disastrous crashes in the others.
So, for my final test of the evening, I included align_basic_tests, memory_test, StressTest_Alignment, and StressTest_Heap. I excluded StressTest_fixed, StressTest_Tracking, tracking_tests_global, and tracking_tests_heap. This resulted in 19 tests, of which 17 passed and 2 failed.
Here's an updated status of the tests.
File | Status |
---|---|
align_basic_tests.cpp | No problems. All tests pass. |
memory_test.cpp | No problems. All tests pass. |
StressTest_Alignment.cpp | No problems. All tests pass. |
StressTest_fixed.cpp | Crashes with an access violation that I have not yet investigated. |
StressTest_Heap.cpp | First test passes. currBytesUsed tests fail on other two. |
StressTest_Tracking.cpp | Crashes with an access violation when reading the tracking block. |
tracking_tests_global.cpp | Crashes with an access violation when reading the tracking block. |
tracking_tests_heap.cpp | Crashes with an access violation when reading the tracking block. |
No comments:
Post a Comment