SFTtech / openage

Free (as in freedom) open source clone of the Age of Empires II engine 🚀
http://openage.dev
Other
12.73k stars 1.12k forks source link

Crash when switching to resource list #358

Closed ghost closed 9 years ago

ghost commented 9 years ago
SIGSEGV

FATAL: terminate has been called

current stack

Traceback (most recent call last):
  File ?, in _start+0x29 [0x55b771eddca9]
  File ?, in __libc_start_main+0xf0 [0x7f6fb8096610]
  File ?, in main+0x166 [0x55b771eddc06]
  File ?, in Py_Main+0xd5c [0x7f6fb8783aac]
  File ?, in PyRun_SimpleFileExFlags+0x113 [0x7f6fb876d923]
  File ?, in PyRun_FileExFlags+0x95 [0x7f6fb876c945]
  File ?, in ? [0x7f6fb876a7d4]
  File ?, in PyEval_EvalCode+0x1b [0x7f6fb874e9eb]
  File ?, in PyEval_EvalCodeEx+0x867 [0x7f6fb874e947]
  File ?, in PyEval_EvalFrameEx+0x511a [0x7f6fb874bcaa]
  File ?, in PyEval_EvalCodeEx+0x867 [0x7f6fb874e947]
  File ?, in PyEval_EvalFrameEx+0x7079 [0x7f6fb874dc09]
  File ?, in PyEval_EvalFrameEx+0x73e3 [0x7f6fb874df73]
  File ?, in ? [0x7f6faf182812]
  File ?, in ? [0x7f6faf18248b]
  File ?, in openage::run_game(openage::main_arguments const&)+0x745 [0x7f6fb621b756]
  File ?, in openage::Engine::run()+0x1f [0x7f6fb61f505d]
  File ?, in openage::Engine::loop()+0x44c [0x7f6fb61f4d60]
  File ?, in openage::Engine::draw_debug_overlay()+0x6a [0x7f6fb61f48a0]
  File ?, in openage::Engine::render_text(openage::coord::window, unsigned long, char const*, ...)+0x1b6 [0x7f6fb61f47a4]
  File ?, in openage::renderer::TextRenderer::draw(int, int, std::string const&)+0x49 [0x7f6fb62be7e7]
  File ?, in void std::vector<openage::renderer::TextRenderer::text_render_batch_pass, std::allocator<openage::renderer::TextRenderer::text_render_batch_pass> >::emplace_back<int&, int&, std::string const&>(int&, int&, std::string const&)+0x17 [0x7f6fb62bf289]
  File ?, in ? [0x7f6fb80a9680]
  File ?, in ? [0x7f6fb6247cf9]
  File ?, in ? [0x7f6fb41299e1]
  File ?, in ? [0x7f6fb4129996]
  File ?, in openage::error::terminate_handler()+0xe2 [0x7f6fb6247b7f]
  File ?, in openage::error::StackAnalyzer::analyze()+0x77 [0x7f6fb624823d]

standard terminate handler

terminate called without an active exception
fish: “./run.py” terminated by signal SIGABRT (Abort)`

Running Mesa 11.0-git, Arch Linux 64bit, MATE, AMD Radeon HD 7750.

Steps to reproduce:

  1. Launch the game, wait for it to load.
  2. Go to generate_game().
  3. Hit [m] until the resource list appears (Gold, Food etc)
  4. Crash!
TheJJ commented 9 years ago

@jprashanth that is your text renderer that crashes, please investigate.

pjonnala-eab commented 9 years ago

I am sorry. I made a mistake. This pull request should fix it. Can you verify?