Opened 10 years ago
Last modified 10 years ago
#2426 closed defect
Resolve always failing TestNetComms::test_basic_DISABLED() — at Version 3
Reported by: | Echelon9 | Owned by: | |
---|---|---|---|
Priority: | Nice to Have | Milestone: | Alpha 17 |
Component: | Core engine | Keywords: | patch |
Cc: | Patch: |
Description (last modified by )
Whilst this test must be manually enabled (not in the default set) at present it always fails due to a segmentation fault. This has been seen consistently on Windows and Mac OS X Mavericks 10.9.
What happens:
$ ./test -test TestNetComms Running 2 tests<!DOCTYPE html> <meta charset="utf-8"> <title>Pyrogenesis Log</title> <style>body { background: #eee; color: black; font-family: sans-serif; } p { background: white; margin: 3px 0 3px 0; } .error { color: red; } .warning { color: blue; }</style> <h2>0 A.D. Main log</h2> Segmentation fault: 11
Crash report:
Process: test [5392] Path: /Users/USER/Documents/*/test Identifier: test Version: 0 Code Type: X86-64 (Native) Parent Process: bash [24440] Responsible: Terminal [272] User ID: 501 Date/Time: 2014-02-06 23:07:42.150 +1100 OS Version: Mac OS X 10.9.1 (13B42) Report Version: 11 Anonymous UUID: 129AEE89-1F43-FCAF-CF2C-B538E4E1C5EE Sleep/Wake UUID: 48D3CBD2-E547-4BF5-B4EA-C353A614D69D Crashed Thread: 0 Dispatch queue: com.apple.main-thread Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 VM Regions Near 0: --> __TEXT 00000001030d2000-0000000103d22000 [ 12.3M] r-x/rwx SM=COW /Users/USER/Documents/* Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 test 0x000000010328ec5d ScriptInterface_impl::ScriptInterface_impl(char const*, boost::shared_ptr<ScriptRuntime> const&) + 93 (ScriptInterface.cpp:482) 1 test 0x000000010328ff86 ScriptInterface::ScriptInterface(char const*, char const*, boost::shared_ptr<ScriptRuntime> const&) + 70 (memory:1901) 2 test 0x000000010328ff29 ScriptInterface::ScriptInterface(char const*, char const*, boost::shared_ptr<ScriptRuntime> const&) + 25 (ScriptInterface.cpp:587) 3 test 0x0000000103270f74 CComponentManager::CComponentManager(CSimContext&, boost::shared_ptr<ScriptRuntime>, bool) + 68 (ComponentManager.cpp:59) 4 test 0x0000000103270f0c CComponentManager::CComponentManager(CSimContext&, boost::shared_ptr<ScriptRuntime>, bool) + 28 (ComponentManager.cpp:106) 5 test 0x00000001031e7074 CSimulation2Impl::CSimulation2Impl(CUnitManager*, boost::shared_ptr<ScriptRuntime>, CTerrain*) + 100 (shared_count.hpp:305) 6 test 0x00000001031e338a CSimulation2::CSimulation2(CUnitManager*, boost::shared_ptr<ScriptRuntime>, CTerrain*) + 106 (shared_count.hpp:305) 7 test 0x00000001031e3309 CSimulation2::CSimulation2(CUnitManager*, boost::shared_ptr<ScriptRuntime>, CTerrain*) + 25 (Simulation2.cpp:571) 8 test 0x00000001032bb4ac CGame::CGame(bool) + 140 (shared_count.hpp:305) 9 test 0x00000001032bb3fd CGame::CGame(bool) + 29 (Game.cpp:86) 10 test 0x0000000103131427 TestNetComms::test_basic_DISABLED() + 199 (test_Net.h:145) 11 test 0x0000000103131340 TestDescription_TestNetComms_test_basic_DISABLED::runTest() + 32 (test_Net.cpp:24) 12 test 0x00000001030d60d9 CxxTest::RealTestDescription::run() + 41 (RealDescriptions.cpp:96) 13 test 0x00000001030dbb88 CxxTest::TestRunner::runSuite(CxxTest::SuiteDescription&) + 856 (TestRunner.h:77) 14 test 0x00000001030db666 CxxTest::PsTestRunner::runWorld() + 1046 (PsTestWrapper.h:78) 15 test 0x00000001030daf60 CxxTest::PsTestRunner::runAllTests(CxxTest::TestListener&) + 384 (TestTracker.cpp:24) 16 test 0x00000001030da692 CxxTest::GuiTuiRunner<CxxTest::PsTestWrapper, CxxTest::ErrorPrinter>::run() + 82 (PsTestWrapper.h:96) 17 test 0x00000001030d3dc8 main + 200 (test_root.cpp:17) 18 libdyld.dylib 0x00007fff97ef25fd start + 1 Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007fa4b8d280d0 rcx: 0x00007fa4b8d28100 rdx: 0x00007fff5cb2cd80 rdi: 0x00007fa4b8d280d0 rsi: 0x0000000103c89b8d rbp: 0x00007fff5cb2c710 rsp: 0x00007fff5cb2c6e0 r8: 0x0000000000000003 r9: 0x00007fa4b8d00000 r10: 0x000000000d6fff4c r11: 0x00000000bc127ecb r12: 0x00007fff7c4c6400 r13: 0x00007fa4b8d27ef8 r14: 0x00007fa4b8d280f8 r15: 0x0000000103c89b8d rip: 0x000000010328ec5d rfl: 0x0000000000010246 cr2: 0x0000000000000000 Logical CPU: 0 Error Code: 0x00000004 Trap Number: 14
Change History (3)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
Milestone: | Alpha 16 → Backlog |
---|
comment:3 by , 10 years ago
Description: | modified (diff) |
---|
Note:
See TracTickets
for help on using tickets.
It fails the same way on Windows.