Viewing Issue Simple Details Jump to Notes ] Wiki ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0011553 [DCSS] Bug Report crash always 2018-07-22 20:18 2018-07-23 03:34
Reporter josh View Status public  
Assigned To aidanholm
Priority normal Resolution done  
Status resolved   Product Branch 0.22 old branch
Summary 0011553: Segfault when hitting escape after viewing help from menu
Description Steps to reproduce:

- Start crawl
- From within any of the startup menus (sprint map, species, background), hit ? to view help. Optionally go deeper into help, such as with V to view version.
- Hit escape to exit the help screen.
- Hit escape again while at the startup menu.
- Segfault.

Backtrace:

Crashed while calling exit()!!!!
Version: Dungeon Crawl Stone Soup 0.22-a0-812-g4c1e2d5
Platform: unix
Bits: 64
Game mode: none
Tiles: online

Crash caused by signal 0000011: Segmentation fault

Obtained 13 stack frames.
/usr/games/crawl-git-4c1e2d5471(_Z17write_stack_traceP8_IO_FILEi+0x23) [0x6aa453]: write_stack_trace(_IO_FILE*, int)
/usr/games/crawl-git-4c1e2d5471(_Z13do_crash_dumpv+0x97) [0x6b17f7]: do_crash_dump()
/usr/games/crawl-git-4c1e2d5471(_Z20crash_signal_handleri+0x74) [0x6aa6a4]: crash_signal_handler(int)
/lib/libc.so.6(+0x324f0) [0x7fc24d3404f0]:
/lib/libc.so.6(+0x75e4d) [0x7fc24d383e4d]:
/lib/libc.so.6(+0x77478) [0x7fc24d385478]:
/lib/libc.so.6(cfree+0x6c) [0x7fc24d38887c]:
/lib/libc.so.6(+0x36df2) [0x7fc24d344df2]:
/lib/libc.so.6(+0x36e45) [0x7fc24d344e45]:
/usr/games/crawl-git-4c1e2d5471(_Z3endibPKcz+0x224) [0x7504e4]: end(int, bool, char const*, ...)
/usr/games/crawl-git-4c1e2d5471(main+0x8e0) [0x612770]:
/lib/libc.so.6(__libc_start_main+0xfd) [0x7fc24d32cead]:
/usr/games/crawl-git-4c1e2d5471() [0x612fed]
Additional Information
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0032402)
advil (administrator)
2018-07-22 20:54

Full stack trace from a crashed thread for this bug:

std::__1::pair<std::__1::__tree_iterator<std::__1::__value_type<ui::Widget*, std::__1:
:function<bool (wm_event const&)> >, std::__1::__tree_node<std::__1::__value_type<
;ui::Widget*, std::__1::function<bool (wm_event const&)> >, void*>*, long>, std::
__1::__tree_iterator<std::__1::__value_type<ui::Widget*, std::__1::function<bool (wm_event 
const&)> >, std::__1::__tree_node<std::__1::__value_type<ui::Widget*, std::__1::func
tion<bool (wm_event const&)> >, void*>*, long> > std::__1::__tree<std::__1:
:__value_type<ui::Widget*, std::__1::function<bool (wm_event const&)> >, std::__1::_
_map_value_compare<ui::Widget*, std::__1::__value_type<ui::Widget*, std::__1::function<bool
 (wm_event const&)> >, std::__1::less<ui::Widget*>, true>, std::__1::allocator<
;std::__1::__value_type<ui::Widget*, std::__1::function<bool (wm_event const&)> > &g
t; >::__equal_range_multi<ui::Widget*>(ui::Widget* const&) + 344 (__functional_base:61)

1   crawl                         	0x0000000104fabdab unsigned long std::__1::__tree<std::__1::__
value_type<ui::Widget*, std::__1::function<bool (wm_event const&)> >, std::__1::__ma
p_value_compare<ui::Widget*, std::__1::__value_type<ui::Widget*, std::__1::function<bool (w
m_event const&)> >, std::__1::less<ui::Widget*>, true>, std::__1::allocator<st
d::__1::__value_type<ui::Widget*, std::__1::function<bool (wm_event const&)> > > 
>::__erase_multi<ui::Widget*>(ui::Widget* const&) + 59 (__tree:2371)
2   crawl                         	0x0000000104fabd5d ui::Slot<ui::Widget, bool (wm_event const&a
mp;)>::remove_by_target(ui::Widget*) + 45 (.ui.h:74)
3   crawl                         	0x0000000104fabd05 ui::Widget::~Widget() + 53 (.ui.h:96)
4   crawl                         	0x0000000106395e25 ui::Image::~Image() + 21 (.ui.h:391)
5   crawl                         	0x0000000106393575 ui::Image::~Image() + 21 (.ui.h:391)
6   crawl                         	0x000000010639f0e9 std::__1::__shared_ptr_emplace<ui::Image, s
td::__1::allocator<ui::Image> >::__on_zero_shared() + 41 (memory:3866)
7   libc++.1.dylib                	0x00007fffc0c8ddae std::__1::__shared_weak_count::__release_share
d() + 44
8   crawl                         	0x0000000104fae85c std::__1::shared_ptr<ui::Widget>::~share
d_ptr() + 44 (memory:4627)
9   crawl                         	0x0000000104fa9875 std::__1::shared_ptr<ui::Widget>::~share
d_ptr() + 21 (memory:4627)
10  crawl                         	0x0000000106395689 ui::Grid::child_info::~child_info() + 25 (.ui.
h:481)
11  crawl                         	0x000000010638c005 ui::Grid::child_info::~child_info() + 21 (.ui.
h:481)
12  crawl                         	0x000000010639602e std::__1::__vector_base<ui::Grid::child_inf
o, std::__1::allocator<ui::Grid::child_info> >::~__vector_base() + 270 (vector:416)
13  crawl                         	0x0000000106395f15 std::__1::vector<ui::Grid::child_info, std:
:__1::allocator<ui::Grid::child_info> >::~vector() + 21 (iterator:1386)
14  crawl                         	0x0000000106395ed5 std::__1::vector<ui::Grid::child_info, std:
:__1::allocator<ui::Grid::child_info> >::~vector() + 21 (iterator:1386)
15  crawl                         	0x0000000106395e83 ui::Grid::~Grid() + 51 (.ui.h:442)
16  crawl                         	0x0000000106393645 ui::Grid::~Grid() + 21 (.ui.h:442)
17  crawl                         	0x000000010639fc89 std::__1::__shared_ptr_emplace<ui::Grid, st
d::__1::allocator<ui::Grid> >::__on_zero_shared() + 41 (memory:3866)
18  libc++.1.dylib                	0x00007fffc0c8ddae std::__1::__shared_weak_count::__release_share
d() + 44
19  crawl                         	0x0000000104fae85c std::__1::shared_ptr<ui::Widget>::~share
d_ptr() + 44 (memory:4627)
20  crawl                         	0x0000000104fa9875 std::__1::shared_ptr<ui::Widget>::~share
d_ptr() + 21 (memory:4627)
21  crawl                         	0x0000000105142411 ui::Popup::~Popup() + 49 (.ui.h:543)
22  crawl                         	0x00000001051423d5 ui::Popup::~Popup() + 21 (.ui.h:543)
23  crawl                         	0x0000000105142269 std::__1::__shared_ptr_emplace<ui::Popup, s
td::__1::allocator<ui::Popup> >::__on_zero_shared() + 41 (memory:3866)
24  libc++.1.dylib                	0x00007fffc0c8ddae std::__1::__shared_weak_count::__release_share
d() + 44
25  crawl                         	0x0000000104fae85c std::__1::shared_ptr<ui::Widget>::~share
d_ptr() + 44 (memory:4627)
26  crawl                         	0x0000000104fa9875 std::__1::shared_ptr<ui::Widget>::~share
d_ptr() + 21 (memory:4627)
27  crawl                         	0x0000000104fabc2e std::__1::__vector_base<std::__1::shared_pt
r<ui::Widget>, std::__1::allocator<std::__1::shared_ptr<ui::Widget> > >::~__vec
tor_base() + 270 (vector:416)
28  crawl                         	0x0000000104fabb15 std::__1::vector<std::__1::shared_ptr<ui
::Widget>, std::__1::allocator<std::__1::shared_ptr<ui::Widget> > >::~vector() + 2
1 (iterator:1386)
29  crawl                         	0x0000000104fabad5 std::__1::vector<std::__1::shared_ptr<ui
::Widget>, std::__1::allocator<std::__1::shared_ptr<ui::Widget> > >::~vector() + 2
1 (iterator:1386)
30  crawl                         	0x0000000104fabaa1 ui::ContainerVec::~ContainerVec() + 49 (.ui.h:
265)
31  crawl                         	0x0000000106395e45 ui::Stack::~Stack() + 21 (.ui.h:409)
32  crawl                         	0x00000001063935c5 ui::Stack::~Stack() + 21 (.ui.h:409)
33  crawl                         	0x0000000106393d83 ui::UIRoot::~UIRoot() + 35 (ui.cc:62)
34  crawl                         	0x000000010637fdd5 ui::UIRoot::~UIRoot() + 21 (ui.cc:62)
35  libsystem_c.dylib             	0x00007fffc2156178 __cxa_finalize_ranges + 332
36  libsystem_c.dylib             	0x00007fffc21564b2 exit + 55
37  crawl                         	0x000000010543c3ef end(int, bool, char const*, ...) + 6303 (end.c
c:189)
38  crawl                         	0x00000001061f529d _show_startup_menu(newgame_def&, newgame_d
ef const&) + 349 (startup.cc:1045)
39  crawl                         	0x00000001061f4649 startup_step() + 1097 (startup.cc:1180)
40  crawl                         	0x00000001066098f0 _launch_game() + 16 (main.cc:407)
41  crawl                         	0x00000001065fa925 _launch_game_loop() + 21 (main.cc:379)
42  crawl                         	0x00000001065fa27a main + 906 (main.cc:334)
43  crawl                         	0x0000000104f0e814 start + 52
(0032404)
aidanholm (developer)
2018-07-23 03:33

Thanks! Should be fixed in latest trunk.

- Issue History
Date Modified Username Field Change
2018-07-22 20:18 josh New Issue
2018-07-22 20:54 advil Note Added: 0032402
2018-07-22 20:54 advil Status new => confirmed
2018-07-23 03:33 aidanholm Note Added: 0032404
2018-07-23 03:33 aidanholm Status confirmed => resolved
2018-07-23 03:33 aidanholm Fixed in Branch => 0.22 development branch
2018-07-23 03:33 aidanholm Resolution open => done
2018-07-23 03:33 aidanholm Assigned To => aidanholm


Mantis 1.1.8[^]
Copyright © 2000 - 2009 Mantis Group
Powered by Mantis Bugtracker