Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

editor crash when clicking the "file" button #4760

yuvalif opened this issue Feb 23, 2020 · 2 comments

editor crash when clicking the "file" button #4760

yuvalif opened this issue Feb 23, 2020 · 2 comments


Copy link

@yuvalif yuvalif commented Feb 23, 2020

Game and System Information

  • version:
$ wesnoth --version
Battle for Wesnoth v1.14.9
Started on Sun Feb 23 18:05:46 2020

Battle for Wesnoth 1.14.9

Library versions:
Boost:             1.69
OpenSSL/libcrypto: 1.1.1d (runtime 1.1.1d)
Cairo:             1.16.0 (runtime 1.16.0)
Pango:             1.43.0 (runtime 1.43.0)
SDL:               2.0.10 (runtime 2.0.10)
SDL_image:         2.0.5  (runtime 2.0.5)
SDL_mixer:         2.0.4  (runtime 2.0.4)
SDL_ttf:           2.0.15 (runtime 2.0.15)

Optional features:
JPG screenshots:                yes
Lua console completion:         yes
Legacy bidirectional rendering: yes
D-Bus notifications back end:   yes
  • installed using (from here):
yum install wesnoth wesnoth-tools wesnoth-server 
  • OS
OS: Fedora release 30 (Thirty) x86_64 
Kernel: 5.4.19-100.fc30.x86_64 

Describe the bug

After creating and deleting units on the scenario editor, I click the "file" button. And the game crashed.

To Reproduce

Does not happen immediately, only after editing the scenario for a while, especially if adding/removing units.

Expected behavior

not to crash...

Additional context

gdb backtrace:

(gdb) bt
#0  0x00007ffff707fe35 in raise () at /lib64/
#1  0x00007ffff706a895 in abort () at /lib64/
#2  0x00007ffff706a769 in _nl_load_domain.cold () at /lib64/
#3  0x00007ffff7078566 in annobin_assert.c_end () at /lib64/
#4  0x00005555560f2452 in editor::editor_controller::get_action_state(hotkey::HOTKEY_COMMAND, int) const ()
#5  0x00005555562cdf65 in hotkey::command_executor::get_menu_image(display&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, int) const ()
#6  0x00005555562ce369 in hotkey::command_executor::get_menu_images(display&, std::vector<config, std::allocator<config> >&) ()
#7  0x00005555562ce88d in hotkey::command_executor::show_menu(std::vector<config, std::allocator<config> > const&, int, int, bool, display&) ()
#8  0x00005555560f646b in editor::editor_controller::show_menu(std::vector<config, std::allocator<config> > const&, int, int, bool, display&) ()
#9  0x0000555555ea2bd9 in controller_base::play_slice(bool) ()
#10 0x00005555560f0939 in editor::editor_controller::main_loop() ()
#11 0x0000555555ea54b8 in editor::start(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, bool, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#12 0x0000555555acd954 in game_launcher::start_editor(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) ()
#13 0x0000555555927371 in main ()

This comment has been minimized.

Copy link

@github-actions github-actions bot commented Feb 23, 2020

Hi! Thanks for helping make Wesnoth even better!

@sevu sevu added Bug Editor labels Feb 23, 2020

This comment has been minimized.

Copy link

@gfgtdf gfgtdf commented Feb 23, 2020

i could reproduce this and got Assertion un != get_current_map_context().units().end()' failed.'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.