View Issue Details

IDProjectCategoryView StatusLast Update
0004274DarkRadiantGUIpublic17.01.2017 19:59
ReporterRadegast Assigned Togreebo  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionunable to reproduce 
Platformx64OSlinuxOS VersionArch linux
Product Version2.0.2 
Target Version2.2.0Fixed in Version2.2.0 
Summary0004274: Crash on File->Import prefab...
DescriptionWhen going to the File menu and seleting Import prefab the game crashes. GDB backtrace:

Program received signal SIGSEGV, Segmentation fault.
wxutil::TreeModel::GetParent (this=0x1b75610, item=...) at TreeModel.cpp:588
588 return owningNode->parent->item;
(gdb) bt
#0 wxutil::TreeModel::GetParent (this=0x1b75610, item=...) at TreeModel.cpp:588
0000001 0x00007ffff5348921 in wxDataViewCtrlBase::ExpandAncestors(wxDataViewItem const&) () from /usr/lib/libwx_gtk2u_adv-3.0.so.0
0000002 0x00007ffff540963d in wxDataViewCtrl::OnInternalIdle() () from /usr/lib/libwx_gtk2u_adv-3.0.so.0
0000003 0x00007ffff4e8c389 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () from /usr/lib/libwx_gtk2u_core-3.0.so.0
0000004 0x00007ffff4e8c3d8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () from /usr/lib/libwx_gtk2u_core-3.0.so.0
0000005 0x00007ffff4e8c3d8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () from /usr/lib/libwx_gtk2u_core-3.0.so.0
0000006 0x00007ffff4e8c3d8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) () from /usr/lib/libwx_gtk2u_core-3.0.so.0
0000007 0x00007ffff4d0263f in wxFrame::SendIdleEvents(wxIdleEvent&) () from /usr/lib/libwx_gtk2u_core-3.0.so.0
#8 0x00007ffff4d4937d in wxAppBase::ProcessIdle() () from /usr/lib/libwx_gtk2u_core-3.0.so.0
0000009 0x00007ffff4c54cfe in wxApp::DoIdle() () from /usr/lib/libwx_gtk2u_core-3.0.so.0
0000010 0x00007ffff4c54de3 in ?? () from /usr/lib/libwx_gtk2u_core-3.0.so.0
0000011 0x00007fffec442c7a in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
0000012 0x00007fffec443020 in ?? () from /usr/lib/libglib-2.0.so.0
0000013 0x00007fffec443342 in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
0000014 0x00007fffecd3e467 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
0000015 0x00007ffff4c75165 in wxGUIEventLoop::DoRun() () from /usr/lib/libwx_gtk2u_core-3.0.so.0
0000016 0x00007ffff41ad223 in wxEventLoopBase::Run() () from /usr/lib/libwx_baseu-3.0.so.0
0000017 0x00007ffff4cf846d in wxDialog::ShowModal() () from /usr/lib/libwx_gtk2u_core-3.0.so.0
0000018 0x0000000000521e6e in ui::PrefabSelector::ShowModal (this=0x1b49400) at ui/prefabselector/PrefabSelector.cpp:242
0000019 0x000000000052249a in ui::PrefabSelector::ChoosePrefab (curPrefab="") at ui/prefabselector/PrefabSelector.cpp:310
0000020 0x00000000007ca928 in map::Map::loadPrefabAt (this=0xbb93c0, targetCoords=...) at map/Map.cpp:798
0000021 0x00000000007caae9 in map::Map::loadPrefab (args=...) at map/Map.cpp:921
0000022 0x00007fffdd75705b in std::function<void (std::vector<cmd::Argument, std::allocator<cmd::Argument> > const&)>::operator()(std::vector<cmd::Argument, std::allocator<cmd::Argument> > const&) const (__args#0=..., this=<optimized out>) at /usr/include/c++/5.3.0/functional:2271
0000023 cmd::Command::execute (this=<optimized out>, args=...) at Command.h:69
0000024 0x00007fffdd751453 in cmd::CommandSystem::executeCommand (this=0xcabe40, name="LoadPrefab", args=std::vector of length 0, capacity 0) at CommandSystem.cpp:373

I have the latest DR compiled from git. I don't know how to compile a debug build.
Steps To ReproduceFile->Import prefab...
TagsNo tags attached.

Activities

greebo

greebo

29.12.2016 09:36

administrator   ~0008673

Just tried to repro in Arch, it doesn't crash on me. Is this issue still happening?
Radegast

Radegast

16.01.2017 17:37

reporter   ~0008713

No, I compiled Dark Radiant from git and it doesn't crash anymore when importing prefabs.

Issue History

Date Modified Username Field Change
04.01.2016 10:05 Radegast New Issue
29.12.2016 09:36 greebo Note Added: 0008673
29.12.2016 09:36 greebo Status new => feedback
16.01.2017 17:37 Radegast Note Added: 0008713
16.01.2017 17:37 Radegast Status feedback => new
17.01.2017 19:59 nbohr1more Assigned To => greebo
17.01.2017 19:59 nbohr1more Status new => closed
17.01.2017 19:59 nbohr1more Resolution open => unable to reproduce
17.01.2017 19:59 nbohr1more Fixed in Version => 2.2.0
17.01.2017 19:59 nbohr1more Target Version => 2.2.0