I get an error when I try to run the most recent tests. I get Segmentation fault when running the tests in the most recent svn 11228.
gdb ./test
GNU gdb (GDB) 7.2-ubuntu
Copyright © 2010 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/michael/0ad/binaries/system/test...done.
(gdb) r
Starting program: /home/michael/0ad/binaries/system/test
[Thread debugging using libthread_db enabled]
Running 258 tests.......
Program received signal SIGSEGV, Segmentation fault.
VfsFileExists (pathname=...) at ../../../source/ps/Filesystem.cpp:35
35 return g_VFS->GetFileInfo(pathname, 0) == INFO::OK;
(gdb) backtrace
#0 VfsFileExists (pathname=...) at ../../../source/ps/Filesystem.cpp:35
#1 0x00000000005b81a6 in ScriptInterface::LoadGlobalScriptFile (
this=<value optimized out>, path=...)
at ../../../source/scriptinterface/ScriptInterface.cpp:913
#2 0x00000000005b89c3 in ScriptInterface::ReplaceNondeterministicFunctions (
this=0x7fffffffdfe0, rng=<value optimized out>)
at ../../../source/scriptinterface/ScriptInterface.cpp:619
#3 0x00000000004f0687 in TestScriptInterface::test_random() ()
#4 0x0000000000416335 in CxxTest::RealTestDescription::run (this=0x0)
at ../../../libraries/cxxtest/include/cxxtest/RealDescriptions.cpp:96
#5 0x0000000000419bdc in runTest (listener=<value optimized out>)
at ../../../libraries/cxxtest/include/cxxtest/TestRunner.h:76
#6 runSuite (listener=<value optimized out>)
at ../../../libraries/cxxtest/include/cxxtest/TestRunner.h:63
#7 runWorld (listener=<value optimized out>)
at ../../../libraries/cxxtest/include/cxxtest/PsTestWrapper.h:80
#8 CxxTest::PsTestRunner::runAllTests (listener=<value optimized out>)
at ../../../libraries/cxxtest/include/cxxtest/PsTestWrapper.h:35
#9 0x00000000004179ef in runGui (argc=1, argv=<value optimized out>)
at ../../../libraries/cxxtest/include/cxxtest/PsTestWrapper.h:95
#10 run (argc=1, argv=<value optimized out>)
at ../../../libraries/cxxtest/include/cxxtest/Gui.h:172
#11 main (argc=1, argv=<value optimized out>)
---Type <return> to continue, or q <return> to quit---q
bug in tests
Started by
howlingflute
, Mar 03 2012 07:14 PM
2 replies to this topic
#1
Posted 03 March 2012 - 07:14 PM
#2
Posted 04 March 2012 - 12:46 AM
Thanks for the report
This bug has been located and we're working on a solution.
Ben Brian [ aka historic_bruno ]
Wildfire Games Programmer
Contact me: ben@wildfiregames.com
Wildfire Games Programmer
Contact me: ben@wildfiregames.com
#3
Posted 05 March 2012 - 09:24 PM
This should now be working again.
Jonathan Waller [ aka quantumstate ]
Wildfire Games AI Scripter
Contact me: jonathanmarkwaller at gmail dot com
Support Wildfire Games!
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users











