[Gtkradiant] [Bug 1059] New: GtkRadiant crashes when doing a "Find Brush" for non-existent brush

bugzilla-daemon at zerowing.idsoftware.com bugzilla-daemon at zerowing.idsoftware.com
Sat Feb 12 03:27:54 CST 2005


http://zerowing.idsoftware.com/bugzilla/show_bug.cgi?id=1059

           Summary: GtkRadiant crashes when doing a "Find Brush" for non-
                    existent brush
           Product: GtkRadiant
           Version: 1.5
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: editor
        AssignedTo: gtkradiant at zerowing.idsoftware.com
        ReportedBy: david_costanzo at yahoo.com


GtkRadiant crashes when doing a "Find Brush" for non-existent brush.

I am using subversion snapshot 5018.

Reproducibility: Always

Steps to Reproduce:
1) Start GtkRadiant.
2) Select "Misc -> Find Brush..." from menu.
   A "Find Brush" dialog should appear.
3) Use the default values of 0,0 and click the "Find" button.

What Happens:
GtkRadiant crashes.

Expected Result:
GtkRadaint displays an informative error message alerting the user that the
brush does not exist.


GDB bactrace:
#0  0x080e5ace in
Entity_GetKeyValues_Selected(std::map<String<CopiedBuffer<DefaultAllocator<char>
> >, String<CopiedBuffer<DefaultAllocator<char> > >,
std::less<String<CopiedBuffer<DefaultAllocator<char> > > >,
std::allocator<std::pair<String<CopiedBuffer<DefaultAllocator<char> > > const,
String<CopiedBuffer<DefaultAllocator<char> > > > > >&,
std::map<String<CopiedBuffer<DefaultAllocator<char> > >,
String<CopiedBuffer<DefaultAllocator<char> > >,
std::less<String<CopiedBuffer<DefaultAllocator<char> > > >,
std::allocator<std::pair<String<CopiedBuffer<DefaultAllocator<char> > > const,
String<CopiedBuffer<DefaultAllocator<char> > > > > >&)::EntityGetKeyValues::visit ()
    at radiant/entityinspector.cpp:669
#1  0x0818c854 in RadiantSelectionSystem::foreachSelected (
    this=0x82dc1e0, visitor=@0xfefff8e0)
    at radiant/selection.cpp:2871
#2  0x080e1fb2 in Entity_GetKeyValues_Selected (
    keyvalues=@0x82694bc, defaultValues=@0x82694c8)
    at radiant/entityinspector.cpp:677
#3  0x080e2e52 in UpdateKeyValues ()
    at radiant/entityinspector.cpp:880
#4  0x080e3257 in RedrawEntityWindow ()
    at radiant/entityinspector.cpp:925
#5  0x080e326f in entity_redraw (data=0x0)
    at radiant/entityinspector.cpp:932
#6  0x00b141f3 in g_child_watch_add ()
   from /usr/lib/libglib-2.0.so.0
#7  0x00b10e4a in g_main_depth ()
   from /usr/lib/libglib-2.0.so.0
#8  0x00b11f28 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#9  0x00b12260 in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#10 0x00b128a3 in g_main_loop_run ()
   from /usr/lib/libglib-2.0.so.0
#11 0x00487403 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x080fd0c3 in main (argc=1, argv=0xfefffbf4)
    at radiant/main.cpp:547

-- 
Configure bugmail: http://zerowing.idsoftware.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the Gtkradiant mailing list