Light Style© by Fisana

Jump to content


Photo

bug in tests


  • Please log in to reply
2 replies to this topic

#1 howlingflute

howlingflute

    Discens

  • Community Members
  • Pip
  • 59 posts

Posted 03 March 2012 - 07:14 PM

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/s...e/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
  • 0

#2 historic_bruno

historic_bruno

    Primus Pilus

  • WFG Programming Team
  • 2,462 posts

Posted 04 March 2012 - 12:46 AM

Thanks for the report :) This bug has been located and we're working on a solution.
  • 0
Ben Brian [ aka historic_bruno ]

Wildfire Games Programmer
Contact me: ben [at] wildfiregames [dot] com

#3 quantumstate

quantumstate

    Primus Pilus

  • WFG Retired
  • 1,150 posts

Posted 05 March 2012 - 09:24 PM

This should now be working again.
  • 0

Jonathan Waller [ aka quantumstate ]

Wildfire Games Programmer
Contact me: jonathanmarkwaller at gmail dot com


Support Wildfire Games!