View Issue Details

IDProjectCategoryView StatusLast Update
0004490DarkRadiantMap Editingpublic10.05.2018 18:28
ReporterNightcrawler Assigned Togreebo  
PrioritynormalSeveritycrashReproducibilitysometimes
Status closedResolutionfixed 
PlatformLinux x64OSUbuntu MATEOS Version16.10 (AMD64)
Product Version2.2.1 
Target Version2.3.0Fixed in Version2.3.0 
Summary0004490: Darkradiant crashes when trying to open the prefab menu under file > import prefab.
DescriptionThread 1 "darkradiant" received signal SIGSEGV, Segmentation fault.
0x00007ffff5096b08 in wxutil::TreeModel::GetParent(wxDataViewItem const&) const
    () from /usr/local/lib/darkradiant/libwxutil-2.2.1.so
Steps To Reproduce------ Configure and Compile
./autogen.sh
./configure --enable-darkmod-plugins
make --jobs=2
sudo checkinstall

------ Run DarkRadiant
Start DarkRadiant and open file > import prefab...
Additional InformationRunning darkradiant under the debugger yields:
---------------------------------------------------------------------
timo@Notebook:~$ gdb darkradiant
GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu1) 7.11.90.20161005-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from darkradiant...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/bin/darkradiant
warning: the debug information found in "/lib64/ld-2.24.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
03:00:15: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).
[New Thread 0x7fffdf0ef700 (LWP 11363)]
[New Thread 0x7fffde2d9700 (LWP 11364)]
[New Thread 0x7fffddad8700 (LWP 11365)]
[New Thread 0x7fffdd0a1700 (LWP 11366)]
[New Thread 0x7fffdc8a0700 (LWP 11367)]
[New Thread 0x7fffcffff700 (LWP 11368)]
[Thread 0x7fffcffff700 (LWP 11368) exited]
[Thread 0x7fffdc8a0700 (LWP 11367) exited]
[Thread 0x7fffdf0ef700 (LWP 11363) exited]
[New Thread 0x7fffcdc1c700 (LWP 11369)]
[New Thread 0x7fffcd0e3700 (LWP 11370)]
[New Thread 0x7fffcc8e2700 (LWP 11371)]
[New Thread 0x7fffdf0ef700 (LWP 11372)]
[New Thread 0x7fffc1724700 (LWP 11373)]
[Thread 0x7fffdf0ef700 (LWP 11372) exited]
[Thread 0x7fffcd0e3700 (LWP 11370) exited]
[Thread 0x7fffcc8e2700 (LWP 11371) exited]
[Thread 0x7fffc1724700 (LWP 11373) exited]

(darkradiant:11359): Gtk-CRITICAL **: IA__gtk_check_menu_item_set_active: assertion 'GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed

(darkradiant:11359): Gtk-CRITICAL **: IA__gtk_check_menu_item_set_active: assertion 'GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed
[New Thread 0x7fffc0e7f700 (LWP 11374)]
[Thread 0x7fffc0e7f700 (LWP 11374) exited]
[Thread 0x7fffdd0a1700 (LWP 11366) exited]
[New Thread 0x7fffcc8e2700 (LWP 11375)]

(darkradiant:11359): Gtk-CRITICAL **: IA__gtk_tree_view_set_fixed_height_mode: assertion 'gtk_tree_view_column_get_sizing (c) == GTK_TREE_VIEW_COLUMN_FIXED' failed
[New Thread 0x7fffb56bb700 (LWP 11377)]

(darkradiant:11359): Gtk-CRITICAL **: IA__gtk_check_menu_item_set_active: assertion 'GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed

(darkradiant:11359): Gtk-CRITICAL **: IA__gtk_check_menu_item_set_active: assertion 'GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed
[Thread 0x7fffb56bb700 (LWP 11377) exited]

(darkradiant:11359): Gtk-CRITICAL **: IA__gtk_tree_view_set_fixed_height_mode: assertion 'gtk_tree_view_column_get_sizing (c) == GTK_TREE_VIEW_COLUMN_FIXED' failed

Thread 1 "darkradiant" received signal SIGSEGV, Segmentation fault.
0x00007ffff5096b08 in wxutil::TreeModel::GetParent(wxDataViewItem const&) const
    () from /usr/local/lib/darkradiant/libwxutil-2.2.1.so
TagsNo tags attached.

Relationships

has duplicate 0004568 closedgreebo DarkRadiant crashes when selecting "insert prefab" 

Activities

Nightcrawler

Nightcrawler

06.03.2017 11:43

reporter   ~0008762

Last edited: 06.03.2017 11:46

View 2 revisions

I have checked the bugtracker more closely. This Issue was already reported earlier as issue 0004274 which was closed because it could not be reproduced so far.

greebo

greebo

21.03.2017 17:49

administrator   ~0008769

Last edited: 21.03.2017 17:49

View 2 revisions

Since I can't reproduce this in my Linux box, can you give me a better stacktrace, please? Run DarkRadiant using gdb and when it crashes, type "bt" to get the full stacktrace. Also, some specifics about your game setup and steps that led up to the crash might be useful.

I'm testing this in Ubuntu 16.10 x64 btw.

Nightcrawler

Nightcrawler

21.03.2017 20:28

reporter   ~0008772

There you go :)

timo@Notebook:~$ gdb darkradiant
GNU gdb (Ubuntu 7.11.90.20161005-0ubuntu1) 7.11.90.20161005-git
Copyright (C) 2016 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from darkradiant...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/local/bin/darkradiant
warning: the debug information found in "/lib64/ld-2.24.so" does not match "/lib64/ld-linux-x86-64.so.2" (CRC mismatch).

[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
21:17:05: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8),
and your program used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8).
[New Thread 0x7fffdf0ef700 (LWP 4529)]
[New Thread 0x7fffde284700 (LWP 4530)]
[New Thread 0x7fffdda83700 (LWP 4531)]
[New Thread 0x7fffdd04c700 (LWP 4532)]
[New Thread 0x7fffdc84b700 (LWP 4533)]
[New Thread 0x7fffc7fff700 (LWP 4534)]
[Thread 0x7fffc7fff700 (LWP 4534) exited]
[Thread 0x7fffdf0ef700 (LWP 4529) exited]
[Thread 0x7fffdc84b700 (LWP 4533) exited]
[New Thread 0x7fffc5c1c700 (LWP 4535)]
[New Thread 0x7fffc5083700 (LWP 4536)]
[New Thread 0x7fffc4882700 (LWP 4537)]
[New Thread 0x7fffdf0ef700 (LWP 4538)]
[New Thread 0x7fffbd6e4700 (LWP 4539)]
[Thread 0x7fffdf0ef700 (LWP 4538) exited]
[Thread 0x7fffc4882700 (LWP 4537) exited]
[Thread 0x7fffc5083700 (LWP 4536) exited]
[Thread 0x7fffbd6e4700 (LWP 4539) exited]

(darkradiant:4525): Gtk-CRITICAL **: IA__gtk_check_menu_item_set_active: assertion 'GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed
[New Thread 0x7fffbce3f700 (LWP 4540)]
[Thread 0x7fffbce3f700 (LWP 4540) exited]
[Thread 0x7fffdd04c700 (LWP 4532) exited]
[New Thread 0x7fffc4882700 (LWP 4541)]

(darkradiant:4525): Gtk-CRITICAL **: IA__gtk_tree_view_set_fixed_height_mode: assertion 'gtk_tree_view_column_get_sizing (c) == GTK_TREE_VIEW_COLUMN_FIXED' failed
[New Thread 0x7fffb57bb700 (LWP 4542)]

(darkradiant:4525): Gtk-CRITICAL **: IA__gtk_check_menu_item_set_active: assertion 'GTK_IS_CHECK_MENU_ITEM (check_menu_item)' failed
[Thread 0x7fffb57bb700 (LWP 4542) exited]

(darkradiant:4525): Gtk-CRITICAL **: IA__gtk_tree_view_set_fixed_height_mode: assertion 'gtk_tree_view_column_get_sizing (c) == GTK_TREE_VIEW_COLUMN_FIXED' failed

Thread 1 "darkradiant" received signal SIGSEGV, Segmentation fault.
0x00007ffff5096b08 in wxutil::TreeModel::GetParent(wxDataViewItem const&) const
    () from /usr/local/lib/darkradiant/libwxutil-2.2.1.so
(gdb) bt
#0 0x00007ffff5096b08 in wxutil::TreeModel::GetParent(wxDataViewItem const&) const () from /usr/local/lib/darkradiant/libwxutil-2.2.1.so
0000001 0x00007ffff64cf46f in wxDataViewCtrlBase::ExpandAncestors(wxDataViewItem const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0
0000002 0x00007ffff659275d in wxDataViewCtrl::OnInternalIdle() ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0
0000003 0x00007ffff601c1a9 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000004 0x00007ffff601c1f8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000005 0x00007ffff601c1f8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000006 0x00007ffff601c1f8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000007 0x00007ffff5e92dbf in wxFrame::SendIdleEvents(wxIdleEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#8 0x00007ffff5ed959d in wxAppBase::ProcessIdle() ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000009 0x00007ffff5de5ace in wxApp::DoIdle() ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000010 0x00007ffff5de5bb3 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000011 0x00007fffef68368a in g_main_context_dispatch ()
---Type <return> to continue, or q <return> to quit---
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000012 0x00007fffef683a40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000013 0x00007fffef683d62 in g_main_loop_run ()
   from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000014 0x00007ffff08dfa47 in gtk_main ()
   from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0000015 0x00007ffff5e05ed5 in wxGUIEventLoop::DoRun() ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000016 0x00007ffff57af353 in wxEventLoopBase::Run() ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000017 0x00007ffff5e88cdd in wxDialog::ShowModal() ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000018 0x000055555570f070 in ?? ()
0000019 0x000055555570f782 in ?? ()
0000020 0x0000555555a04f5e in ?? ()
0000021 0x0000555555a051e9 in ?? ()
0000022 0x00007fffe09d8bc3 in cmd::Command::execute(std::vector<cmd::Argument, std::allocator<cmd::Argument> > const&) ()
   from /usr/local/lib/darkradiant/modules/commandsystem.so
0000023 0x00007fffe09d2866 in cmd::CommandSystem::executeCommand(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::vector<cmd::Argument, std::allocator<cmd::Argument> > const&) ()
   from /usr/local/lib/darkradiant/modules/commandsystem.so
---Type <return> to continue, or q <return> to quit---
0000024 0x00007fffe09d47c1 in cmd::CommandSystem::execute(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&)
    () from /usr/local/lib/darkradiant/modules/commandsystem.so
0000025 0x00007fffe437ed97 in ui::Statement::execute() () from /usr/local/lib/darkradiant/modules/eventmgr.so
0000026 0x00007ffff576d1fe in wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000027 0x00007ffff58f36e7 in wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000028 0x00007ffff58f3ace in wxEvtHandler::SearchDynamicEventTable(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000029 0x00007ffff58f3b5f in wxEvtHandler::TryHereOnly(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000030 0x00007ffff58f3c13 in wxEvtHandler::ProcessEventLocally(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000031 0x00007ffff58f3c75 in wxEvtHandler::ProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000032 0x00007ffff58f39e7 in wxEvtHandler::SafelyProcessEvent(wxEvent&) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000033 0x00007ffff5fbf9d5 in wxMenuBase::SendEvent(int, int) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000034 0x00007ffff5ea30eb in ?? () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000035 0x00007ffff02b6f75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0000036 0x00007ffff02c8f82 in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0000037 0x00007ffff02d1bcc in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0000038 0x00007ffff02d1faf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0000039 0x00007ffff09f921e in gtk_widget_activate () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0000040 0x00007ffff08f3c1d in gtk_menu_shell_activate_item () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0000041 0x00007ffff08f3f86 in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0000042 0x00007ffff08e1e6c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0000043 0x00007ffff02b6f75 in g_closure_invoke () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0000044 0x00007ffff02c937d in ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0000045 0x00007ffff02d166f in g_signal_emit_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0000046 0x00007ffff02d1faf in g_signal_emit () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
0000047 0x00007ffff09fa47c in ?? () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0000048 0x00007ffff08e0634 in gtk_propagate_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0000049 0x00007ffff08e09eb in gtk_main_do_event () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---
0000050 0x00007ffff0554cdc in ?? () from /usr/lib/x86_64-linux-gnu/libgdk-x11-2.0.so.0
0000051 0x00007fffef6837d7 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000052 0x00007fffef683a40 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000053 0x00007fffef683d62 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
0000054 0x00007ffff08dfa47 in gtk_main () from /usr/lib/x86_64-linux-gnu/libgtk-x11-2.0.so.0
0000055 0x00007ffff5e05ed5 in wxGUIEventLoop::DoRun() () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000056 0x00007ffff57af353 in wxEventLoopBase::Run() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000057 0x00007ffff5774666 in wxAppConsoleBase::MainLoop() () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000058 0x00007ffff5800f70 in wxEntry(int&, wchar_t**) () from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
0000059 0x000055555561b3e8 in ?? ()
0000060 0x00007ffff3f8a3f1 in __libc_start_main (main=0x55555561b3c0, argc=1, argv=0x7fffffffe0e8, init=<optimized out>, fini=<optimized out>,
    rtld_fini=<optimized out>, stack_end=0x7fffffffe0d8) at ../csu/libc-start.c:291
0000061 0x000055555563f20a in ?? ()
(gdb)
Nightcrawler

Nightcrawler

21.03.2017 20:54

reporter   ~0008773

About the steps to reproduce. It is as simple as it can get:
Open DR,
go to the tab "File" and select "Import Prefab..."
see how DR carshes trying to load the prefabs (or not)

The Problem (or good thing) is that i can't reproduce this crash every time. Sometimes just DR opens the Prefab window and works fine and I can't tell why.

Btw I'm running DR on the same system as you - Ubuntu MATE 16.10 x64. I don't think the MATE flavor makes any difference.

I installed tdm into /home/timo/darkmod and tdm_prefabs01.pk4 is the only archive I extracted. If you tell me what specs about my game setup or system you are looking for exactly, I'll gladly look them up.
greebo

greebo

23.03.2017 04:52

administrator   ~0008774

Can't get it to crash here.

The code you have in your stacktrace appears to be relevant only when the dialog tries to handle a previous EnsureVisible() call in its idle phase.

Can you confirm that the crash only happens if you had the dialog open at least once before?

When does it crash? Immediately after the Prefab Selector window appears, or do you see the "Loading..." string in the tree view, and it crashes shortly afterwards?
greebo

greebo

23.03.2017 04:58

administrator   ~0008775

Last edited: 23.03.2017 04:58

View 2 revisions

If the above fails, you might give this a try: open the file radiant/ui/prefabselector/PrefabSelector.cpp and comment out line 423, which should read

_treeView->EnsureVisible(preselectItem);

If you take out this line and build the application, does the crash still appear?

Nightcrawler

Nightcrawler

28.03.2017 14:27

reporter   ~0008782

Last edited: 23.06.2017 22:03

View 2 revisions

Yes, I can confirm the crash happens only when I have had the box open before, then closed and restarted darkradiant and then try to open the box up again.

Most of the times it crashes I can see the "Loading..." string appear and DR crashes immediately afterwards.

I'll try to rebuild DR with the line commented out this eve...

UPDATE: On Ubuntu 17.04 this crash occurs everytime the "Import Prefab" dialog is opened, regardless whether DR had run before or not. I tested both the version from the Ubuntu repository (2.1.0-1) and a version I compiled from source (2.2.1).

Nightcrawler

Nightcrawler

16.04.2017 12:36

reporter   ~0008796

Sorry for not responding for so long.

I cloned the newest source code from your git repository, commented the line out and built the application again yesterday - but it still keeps crashing.

Thread 1 "darkradiant" received signal SIGSEGV, Segmentation fault.
0x00007ffff5096bc8 in wxutil::TreeModel::GetParent(wxDataViewItem const&) const
    () from /usr/local/lib/darkradiant/libwxutil-2.2.1.so
(gdb) backtrace
#0 0x00007ffff5096bc8 in wxutil::TreeModel::GetParent(wxDataViewItem const&) const () from /usr/local/lib/darkradiant/libwxutil-2.2.1.so
0000001 0x00007ffff64cf46f in wxDataViewCtrlBase::ExpandAncestors(wxDataViewItem const&) () from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0
0000002 0x00007ffff659275d in wxDataViewCtrl::OnInternalIdle() ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_adv-3.0.so.0
0000003 0x00007ffff601c1a9 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000004 0x00007ffff601c1f8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000005 0x00007ffff601c1f8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000006 0x00007ffff601c1f8 in wxWindowBase::SendIdleEvents(wxIdleEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000007 0x00007ffff5e92dbf in wxFrame::SendIdleEvents(wxIdleEvent&) ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#8 0x00007ffff5ed959d in wxAppBase::ProcessIdle() ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000009 0x00007ffff5de5ace in wxApp::DoIdle() ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000010 0x00007ffff5de5bb3 in ?? ()
   from /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
0000011 0x00007fffef68368a in g_main_context_dispatch ()

Do you have any idea what else I could try?
Nightcrawler

Nightcrawler

03.07.2017 01:13

reporter   ~0008953

It seems I could finally solve this problem. You need to comment out a few more lines in the file radiant/ui/prefabselector/PrefabSelector.cpp, namely:

246 // _treeView->Select(preselectItem);
247 // _treeView->EnsureVisible(preselectItem);

422 // _treeView->Select(preselectItem);
423 // _treeView->EnsureVisible(preselectItem);
greebo

greebo

05.07.2017 19:24

administrator   ~0008964

I still can't reproduce the issue in Ubuntu 17.04 x64. The Import Prefab dialog does what it should here.
greebo

greebo

16.07.2017 05:56

administrator   ~0008999

I think I get now where the wxGTK implementation is misled and runs into that stale wxDataViewItem. I've checked in a fix into the 2.3 release branch, may I ask you to check out that one, the fix is in a495fc34e951cf2afbcc47eaa4dad7577aeed20d.

I'm rather positive that the crash is gone now.

git pull
git checkout remotes/origin/2.3 -b 2.3

After release the branch will be merged into master, you can switch back then:

git pull
git checkout master

Issue History

Date Modified Username Field Change
06.03.2017 11:03 Nightcrawler New Issue
06.03.2017 11:43 Nightcrawler Note Added: 0008762
06.03.2017 11:46 Nightcrawler Note Edited: 0008762 View Revisions
19.03.2017 07:55 greebo Status new => acknowledged
21.03.2017 17:49 greebo Note Added: 0008769
21.03.2017 17:49 greebo Status acknowledged => feedback
21.03.2017 17:49 greebo Note Edited: 0008769 View Revisions
21.03.2017 20:28 Nightcrawler Note Added: 0008772
21.03.2017 20:28 Nightcrawler Status feedback => new
21.03.2017 20:54 Nightcrawler Note Added: 0008773
23.03.2017 04:52 greebo Note Added: 0008774
23.03.2017 04:58 greebo Note Added: 0008775
23.03.2017 04:58 greebo Note Edited: 0008775 View Revisions
23.03.2017 04:59 greebo Status new => feedback
28.03.2017 14:27 Nightcrawler Note Added: 0008782
28.03.2017 14:27 Nightcrawler Status feedback => new
16.04.2017 12:36 Nightcrawler Note Added: 0008796
23.06.2017 22:03 Nightcrawler Note Edited: 0008782 View Revisions
03.07.2017 01:13 Nightcrawler Note Added: 0008953
05.07.2017 19:24 greebo Note Added: 0008964
05.07.2017 19:24 greebo Status new => feedback
15.07.2017 17:17 greebo Relationship added related to 0004568
16.07.2017 05:26 greebo Relationship replaced has duplicate 0004568
16.07.2017 05:49 greebo Assigned To => greebo
16.07.2017 05:49 greebo Status feedback => assigned
16.07.2017 05:49 greebo Target Version => 2.3.0
16.07.2017 05:56 greebo Note Added: 0008999
16.07.2017 05:56 greebo Status assigned => resolved
16.07.2017 05:56 greebo Fixed in Version => 2.3.0
16.07.2017 05:56 greebo Resolution open => fixed
10.05.2018 18:28 greebo Status resolved => closed