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

Segfault when using view priority history #6214

Closed
vidarsk opened this issue Feb 20, 2014 · 1 comment · Fixed by #6259
Closed

Segfault when using view priority history #6214

vidarsk opened this issue Feb 20, 2014 · 1 comment · Fixed by #6259
Labels
<Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes.
Milestone

Comments

@vidarsk
Copy link
Contributor

vidarsk commented Feb 20, 2014

Tested on latest git-version compiled with tiles on linux and a 100% clean latest windows stable tiles download. Steps to reproduce:
Start a new game.
Drop an item.
Press 'V', '+', and then the up arrow key.
Game crashes.

@kevingranade
Copy link
Member

Reproduced on linux, tiles-only. I think BevapDin fixed the curses fersion but not the tiles version. Here's a backtrace:
#0 0x083d67b8 in werase(WINDOW_) ()
#1 0x0824fc6c in uimenu::~uimenu() ()
#2 0x080f8b53 in string_input_win(WINDOW_, std::string, int, int, int, int, bool, long&, int&, std::string, int, int, bool, bool) ()
#3 0x080fcbff in string_input_popup(std::string, int, std::string, std::string, std::string, int, bool) ()
#4 0x0834bd8c in game::ask_item_priority_high(WINDOW*, int) ()
#5 0x083803c4 in game::list_items(int) ()
#6 0x083a6a0c in game::handle_action() ()
#7 0x083a919c in game::do_turn() ()
#8 0x08050f82 in main ()

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
<Bug> This needs to be fixed <Crash / Freeze> Fatal bug that results in hangs or crashes.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants