View Issue Details

IDProjectCategoryView StatusLast Update
0004455DarkRadiantGUIpublic10.08.2017 18:34
Reportergreebo Assigned Togreebo  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
PlatformLinuxOSUbuntu 
Product Version2.1.0 
Target Version2.2.0Fixed in Version2.2.0 
Summary0004455: Crash when closing S/R editor in Linux
DescriptionIt seems that GTK+ is sending out notebook page change events before removing notebook pages during destruction of the dialog. This causes the stim type combo to be repopulated, triggering a crash right after closing the dialog.
Additional Information0 wxMBConv::ToWChar (this=0x7ffff5a7b8f0 <wxGet_wxConvLibcPtr()::wxConvLibcObj>, dst=0x0, dstLen=0, src=0x688cf98 "STIM_FROB", srcLen=108012512) at ../src/common/strconv.cpp:190
1 0x00007ffff571bb20 in wxMBConv::cMB2WC (this=0x7ffff5a7b8f0 <wxGet_wxConvLibcPtr()::wxConvLibcObj>, inBuff=0x688cf98 "STIM_FROB", inLen=108012512, outLen=outLen@entry=0x7fffffffcd20)
    at ../src/common/strconv.cpp:455
2 0x00007ffff5728f2f in wxString::ConvertStr (psz=<optimized out>, nLength=<optimized out>, conv=...) at ../src/common/string.cpp:398
3 0x000000000048760a in wxString::ImplStr (str=0x688cf98 "STIM_FROB", n=108012512, conv=...) at /usr/include/wx-3.0/wx/string.h:480
4 0x00000000004878c5 in wxString::assign (this=0x7fffffffce20, sz=0x688cf98 "STIM_FROB", n=108012512) at /usr/include/wx-3.0/wx/string.h:2637
5 0x0000000000487777 in wxString::wxString (this=0x7fffffffce20, str=...) at /usr/include/wx-3.0/wx/string.h:1328
6 0x00007fffc8d9fb0e in StimTypes::__lambda4::operator() (__closure=0x7fffffffce80, pair=...) at StimTypes.cpp:254
7 0x00007fffc8da06c2 in std::for_each<std::_Rb_tree_const_iterator<std::pair<int const, StimType> >, StimTypes::populateComboBox(wxComboBox*) const::__lambda4>(std::_Rb_tree_const_iterator<std::pair<int const, StimType> >, std::_Rb_tree_const_iterator<std::pair<int const, StimType> >, StimTypes::__lambda4) (__first=..., __last=..., __f=...)
    at /usr/include/c++/4.8/bits/stl_algo.h:4417
8 0x00007fffc8d9fc1e in StimTypes::populateComboBox (this=0x733d050, combo=0x652f1e0) at StimTypes.cpp:255
9 0x00007fffc8d8a9c3 in ui::ClassEditor::reloadStimTypes (this=0x67cce70) at ClassEditor.cpp:203
10 0x00007fffc8d738f9 in ui::StimResponseEditor::onPageChanged (this=0x733cc30, ev=...) at StimResponseEditor.cpp:133
11 0x00007ffff565f11e in wxAppConsoleBase::CallEventHandler (this=0xd52570, handler=0x733cc30, functor=..., event=...) at ../src/common/appbase.cpp:623
12 0x00007ffff57d2282 in wxEvtHandler::ProcessEventIfMatchesId (entry=..., handler=<optimized out>, event=...) at ../src/common/event.cpp:1384
13 0x00007ffff57d25e6 in wxEvtHandler::SearchDynamicEventTable (this=this@entry=0x6534420, event=...) at ../src/common/event.cpp:1743
14 0x00007ffff57d266e in wxEvtHandler::TryHereOnly (this=this@entry=0x6534420, event=...) at ../src/common/event.cpp:1577
15 0x00007ffff57d2703 in TryBeforeAndHere (event=..., this=this@entry=0x6534420) at ../include/wx/event.h:3671
16 wxEvtHandler::ProcessEventLocally (this=this@entry=0x6534420, event=...) at ../src/common/event.cpp:1514
17 0x00007ffff57d2765 in wxEvtHandler::ProcessEvent (this=0x6534420, event=...) at ../src/common/event.cpp:1487
18 0x00007ffff5e2744a in wxNotebookBase::SendPageChangedEvent (this=0x6534420, nPageOld=-1, nPageNew=-1) at ../src/common/nbkbase.cpp:201
19 0x00007ffff067a3b8 in g_closure_invoke (closure=0x73ff4a0, return_value=0x0, n_param_values=3, param_values=0x7fffffffd280, invocation_hint=0x7fffffffd220)
    at /build/buildd/glib2.0-2.40.2/./gobject/gclosure.c:768
20 0x00007ffff068bfd1 in signal_emit_unlocked_R (node=node@entry=0xda1ce0, detail=detail@entry=0, instance=instance@entry=0x7fffd0accda0, emission_return=emission_return@entry=0x0,
    instance_and_params=instance_and_params@entry=0x7fffffffd280) at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3621
21 0x00007ffff0693a29 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=var_args@entry=0x7fffffffd438)
    at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3307
22 0x00007ffff0693ce2 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3363
23 0x00007ffff0cb9f9c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
24 0x00007ffff067d487 in g_cclosure_marshal_VOID__OBJECTv (closure=0xdbbae0, return_value=<optimized out>, instance=<optimized out>, args=<optimized out>, marshal_data=0x7ffff0cb9cd0,
    n_params=<optimized out>, param_types=0xdb8860) at /build/buildd/glib2.0-2.40.2/./gobject/gmarshal.c:1312
25 0x00007ffff067a5e7 in _g_closure_invoke_va (closure=0xdbbae0, return_value=0x0, instance=0x7fffd0accda0, args=0x7fffffffd788, n_params=1, param_types=0xdb8860)
    at /build/buildd/glib2.0-2.40.2/./gobject/gclosure.c:831
26 0x00007ffff0693088 in g_signal_emit_valist (instance=0x7fffd0accda0, signal_id=<optimized out>, detail=0, var_args=var_args@entry=0x7fffffffd788)
    at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3215
27 0x00007ffff0693ce2 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at /build/buildd/glib2.0-2.40.2/./gobject/gsignal.c:3363
28 0x00007ffff5d5ec5d in wxNotebook::DoRemovePage (this=0x6534420, page=1) at ../src/gtk/notebook.cpp:383
29 0x00007ffff5d8a13d in wxBookCtrlBase::DeletePage (this=0x6534420, nPage=<optimized out>) at ../src/common/bookctrl.cpp:388
30 0x00007ffff5d5d0eb in wxNotebook::DeleteAllPages (this=this@entry=0x6534420) at ../src/gtk/notebook.cpp:365
31 0x00007ffff5d5d1d9 in wxNotebook::~wxNotebook (this=0x6534420, __in_chrg=<optimized out>) at ../src/gtk/notebook.cpp:156
32 0x00007ffff5d5d339 in wxNotebook::~wxNotebook (this=0x6534420, __in_chrg=<optimized out>) at ../src/gtk/notebook.cpp:157
TagsNo tags attached.

Relationships

related to 0004035 closedgreebo Stim/Response Editor partly doesn't work, also crashes DarkRadiant 

Activities

greebo

greebo

02.01.2017 05:19

administrator   ~0008692

Fixed in adeca050f51f9699b36bd7b5289450d6eddedfa9

Issue History

Date Modified Username Field Change
02.01.2017 05:14 greebo New Issue
02.01.2017 05:15 greebo Status new => confirmed
02.01.2017 05:15 greebo OS => Ubuntu
02.01.2017 05:15 greebo Platform => Linux
02.01.2017 05:15 greebo Target Version => 2.2.0
02.01.2017 05:19 greebo Assigned To => greebo
02.01.2017 05:19 greebo Status confirmed => assigned
02.01.2017 05:19 greebo Note Added: 0008692
02.01.2017 05:19 greebo Status assigned => resolved
02.01.2017 05:19 greebo Fixed in Version => 2.2.0
02.01.2017 05:19 greebo Resolution open => fixed
02.01.2017 06:38 greebo Relationship added related to 0004035
10.08.2017 18:34 greebo Status resolved => closed