Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Crash on quit when ctrl+c'ing in the debug menu

Open NetSysFire opened this issue 1 year ago • 1 comments

Describe the bug

See title. Randomly got this one while chasing down other stuff.

Attach save file

n/a

Steps to reproduce

  1. Go into the wish monster menu, search some string.
  2. Ctrl+c.
    libbacktrace error 0: unrecognized DWARF version in .debug_info at 6
    libbacktrace error 0: unrecognized DWARF version in .debug_info at 6
    0x558,088,1d7,3ef    src/debug.cpp:967    bt_full
    0x558,088,1d7,3ef    src/debug.cpp:1,232    debug_write_backtrace(std::ostream&)
    0x558,088,1af,89b    src/crash.cpp:89    log_crash
    0x558,088,1af,bf1    src/crash.cpp:146    signal_handler
    0x7f0,86d,b5d,1cf    [unknown src]:0    [unknown func]
    0x558,088,317,0ee    src/game.cpp:13,776    get_player_character()
    0x558,088,852,7a2    src/monster.cpp:996    monster::print_info_imgui() const
    0x558,088,e07,80e    src/wish.cpp:696    wish_monster_callback::refresh(uilist*)
    0x558,088,d14,6c7    src/ui.cpp:158    uilist_impl::draw_controls()
    0x558,088,04e,11a    src/cata_imgui.cpp:645    cataimgui::window::draw()
    0x558,088,04e,11a    src/cata_imgui.cpp:614    cataimgui::window::draw()
    0x558,088,d18,677    src/ui_manager.cpp:448    ui_adaptor::redraw_invalidated()
    0x558,088,638,132    src/main.cpp:181    exit_handler
    0x7f0,86d,b5d,1cf    [unknown src]:0    [unknown func]
    0x7f0,86d,c2b,604    [unknown src]:0    [unknown func]
    0x7f0,86e,151,936    [unknown src]:0    [unknown func]
    0x7f0,86e,123,a5e    [unknown src]:0    [unknown func]
    0x7f0,86e,124,79b    [unknown src]:0    [unknown func]
    0x558,088,8d2,999    src/ncurses_def.cpp:411    input_manager::get_input_event(keyboard_mode)
    0x558,088,41f,7d5    src/input_context.cpp:442    input_context::handle_input[abi:cxx11](int)
    0x558,088,d15,28a    src/ui.cpp:899    uilist::query(bool, int, bool)
    0x558,088,e02,043    src/wish.cpp:737    debug_menu::wishmonster(std::optional<tripoint> const&)
    0x558,088,1ff,7f9    src/debug_menu.cpp:3,751    debug_menu::debug()
    0x558,088,3b1,bfe    src/handle_action.cpp:2,835    game::do_regular_action(action_id&, avatar&, std::optional<tripoint> const&)
    0x558,088,3b3,349    src/handle_action.cpp:3,175    game::handle_action()
    0x558,088,23b,69a    src/do_turn.cpp:579    do_turn()
    0x558,087,d78,ab7    src/main.cpp:875    main
    0x7f0,86d,b45,e07    [unknown src]:0    [unknown func]
    0x7f0,86d,b45,ecb    [unknown src]:0    [unknown func]
    0x558,087,eb8,19d    [unknown src]:0    [unknown func]
    0xf,fff,fff,fff,fff,fff    [unknown src]:0    [unknown func]

Expected behavior

No crash.

CC @db48x

Screenshots

No response

Versions and configuration

I'd paste the debug info here but I can't because the debug.log is not being generated.

This is cdda-linux-curses-x64-2024-09-01-1411.

Additional context

No response

NetSysFire avatar Sep 02 '24 00:09 NetSysFire

Duplicate of https://github.com/CleverRaven/Cataclysm-DDA/issues/75012

l29ah avatar Sep 07 '24 01:09 l29ah