View Issue Details

IDProjectCategoryView StatusLast Update
0002047DarkRadiantSound Systempublic29.05.2010 16:36
Reportermattn Assigned Togreebo  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.2 
Target Version1.1.0Fixed in Version1.1.0 
Summary0002047: segfault in SoundChooser
Descriptionsee the backtrace - happens when i use the ortho menu to insert a sound entity
Additional Information(darkradiant:13605): Gdk-CRITICAL **: gdk_window_get_origin: assertion `GDK_IS_WINDOW (window)' failed
darkradiant: /usr/include/boost/shared_ptr.hpp:413: typename boost::detail::shared_ptr_traits<T>::reference boost::shared_ptr< <template-parameter-1-1> >::operator*() const [with T = ISoundManager]: Assertion `px != 0' failed.

Program received signal SIGABRT, Aborted.
0x00007ffff1a334b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
64 ../nptl/sysdeps/unix/sysv/linux/raise.c: No such file or directory.
    in ../nptl/sysdeps/unix/sysv/linux/raise.c
Current language: auto
The current source language is "auto; currently c".
(gdb) bt
#0 0x00007ffff1a334b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
0000001 0x00007ffff1a36f50 in *__GI_abort () at abort.c:92
0000002 0x00007ffff1a2c481 in *__GI___assert_fail (assertion=0x74fa84 "px != 0", file=<value optimized out>, line=413,
    function=0x771be0 "typename boost::detail::shared_ptr_traits<T>::reference boost::shared_ptr< <template-parameter-1-1> >::operator*() const [with T = ISoundManager]") at assert.c:81
0000003 0x00000000005d2dbd in boost::shared_ptr<ISoundManager>::operator* (this=<value optimized out>) at /usr/include/boost/shared_ptr.hpp:413
0000004 GlobalSoundManager (this=<value optimized out>) at ../include/isound.h:132
0000005 ui::SoundChooser::createTreeView (this=<value optimized out>) at ui/common/SoundChooser.cpp:132
0000006 0x00000000005d3447 in SoundChooser (this=0x7fffffffd4e0) at ui/common/SoundChooser.cpp:56
0000007 0x00000000005a501f in ui::OrthoContextMenu::callbackAddSpeaker (item=<value optimized out>, self=0xa238a0) at ui/ortho/OrthoContextMenu.cpp:517
#8 0x00007ffff4c705ae in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
0000009 0x00007ffff4c85983 in ?? () from /usr/lib/libgobject-2.0.so.0
0000010 0x00007ffff4c86d39 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
0000011 0x00007ffff4c87283 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
0000012 0x00007ffff661081e in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
0000013 0x00007ffff651174d in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
0000014 0x00007ffff6512f49 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
0000015 0x00007ffff6503728 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
0000016 0x00007ffff4c705ae in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
0000017 0x00007ffff4c8564d in ?? () from /usr/lib/libgobject-2.0.so.0
0000018 0x00007ffff4c86bcc in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
0000019 0x00007ffff4c87283 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
0000020 0x00007ffff660a72f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
0000021 0x00007ffff64fbcd3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
0000022 0x00007ffff64fcca3 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
0000023 0x00007ffff6171cdc in ?? () from /usr/lib/libgdk-x11-2.0.so.0
0000024 0x00007ffff47d3bbe in g_main_context_dispatch () from /lib/libglib-2.0.so.0
0000025 0x00007ffff47d7588 in ?? () from /lib/libglib-2.0.so.0
0000026 0x00007ffff47d79e5 in g_main_loop_run () from /lib/libglib-2.0.so.0
0000027 0x00007ffff64fd177 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
0000028 0x00000000004e3c75 in main (argc=1, argv=0x7fffffffe418) at main.cpp:185
(gdb) bt full
#0 0x00007ffff1a334b5 in *__GI_raise (sig=<value optimized out>) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
        pid = <value optimized out>
        selftid = <value optimized out>
0000001 0x00007ffff1a36f50 in *__GI_abort () at abort.c:92
        act = {__sigaction_handler = {sa_handler = 0x74fa84, sa_sigaction = 0x74fa84}, sa_mask = {__val = {140737248450632, 140737488343584, 413, 140737488343824, 140737247599046, 206158430232, 140737488343840, 140737488343616,
              140737247509928, 206158430256, 140737488343864, 45415648, 140737250766400, 241, 7666308, 140737488348842}}, sa_flags = -239912717, sa_restorer = 0x74f918}
        sigs = {__val = {32, 0 <repeats 15 times>}}
0000002 0x00007ffff1a2c481 in *__GI___assert_fail (assertion=0x74fa84 "px != 0", file=<value optimized out>, line=413,
    function=0x771be0 "typename boost::detail::shared_ptr_traits<T>::reference boost::shared_ptr< <template-parameter-1-1> >::operator*() const [with T = ISoundManager]") at assert.c:81
        buf = 0x2b4fce0 "darkradiant: /usr/include/boost/shared_ptr.hpp:413: typename boost::detail::shared_ptr_traits<T>::reference boost::shared_ptr< <template-parameter-1-1> >::operator*() const [with T = ISoundManager]: A"...
0000003 0x00000000005d2dbd in boost::shared_ptr<ISoundManager>::operator* (this=<value optimized out>) at /usr/include/boost/shared_ptr.hpp:413
No locals.
0000004 GlobalSoundManager (this=<value optimized out>) at ../include/isound.h:132
No locals.
0000005 ui::SoundChooser::createTreeView (this=<value optimized out>) at ui/common/SoundChooser.cpp:132
        tv = 0xd3cfd0
        pop = {<SoundShaderVisitor> = {_vptr.SoundShaderVisitor = 0x7719f0}, <gtkutil::VFSTreePopulator> = {_vptr.VFSTreePopulator = 0x771a20, _store = 0x2a5f6d0, _topLevel = 0x0, _iters = {_M_t = {
                _M_impl = {<std::allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, GtkTreeIter*> > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::pair<std::basic_string<char, std::char_traits<char>, std::allocator<char> > const, GtkTreeIter*> > >> = {<No data fields>}, <No data fields>},
                  _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fffffffd3c8, _M_right = 0x7fffffffd3c8}, _M_node_count = 0}}}, _explicitPaths = {_M_t = {
                _M_impl = {<std::allocator<std::_Rb_tree_node<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<__gnu_cxx::new_allocator<std::_Rb_tree_node<std::basic_string<char, std::char_traits<char>, std::allocator<char> > > >> = {<No data fields>}, <No data fields>},
                  _M_key_compare = {<std::binary_function<std::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::basic_string<char, std::char_traits<char>, std::allocator<char> >, bool>> = {<No data fields>}, <No data fields>}, _M_header = {_M_color = std::_S_red, _M_parent = 0x0, _M_left = 0x7fffffffd3f8, _M_right = 0x7fffffffd3f8}, _M_node_count = 0}}}}, <gtkutil::VFSTreePopulator::Visitor> = {_vptr.Visitor = 0x771a40}, <No data fields>}
0000006 0x00000000005d3447 in SoundChooser (this=0x7fffffffd4e0) at ui/common/SoundChooser.cpp:56
        vbx = 0x2b4d930
0000007 0x00000000005a501f in ui::OrthoContextMenu::callbackAddSpeaker (item=<value optimized out>, self=0xa238a0) at ui/ortho/OrthoContextMenu.cpp:517
        spkNode = {px = 0x2b7f9b8, pn = {pi_ = 0x2b87b50}}
        sChooser = {_widget = 0x2b7dbb0, _treeStore = 0x2a5f6d0, _treeSelection = 0x2b56dc0, _preview = {_widget = 0x2b5cd30, _listStore = 0x7ffff7fd5838, _treeView = 0xd3ccc0, _treeSelection = 0x2b56d80, _playButton = 0x27424c0,
            _stopButton = 0x2742580, _statusLabel = 0x2b57d20, _soundShader = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>},
                _M_p = 0xa17cd8 ""}}}, _selectedShader = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0xa17cd8 ""}}}
        soundShader = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x1c35da0 " \376", <incomplete sequence \303>}}
        entity = <value optimized out>
        command = {_command = {static npos = 18446744073709551615, _M_dataplus = {<std::allocator<char>> = {<__gnu_cxx::new_allocator<char>> = {<No data fields>}, <No data fields>}, _M_p = 0x2b87b88 "addSpeaker"}}}
        __PRETTY_FUNCTION__ = "static void ui::OrthoContextMenu::callbackAddSpeaker(GtkMenuItem*, ui::OrthoContextMenu*)"
#8 0x00007ffff4c705ae in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
0000009 0x00007ffff4c85983 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
0000010 0x00007ffff4c86d39 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
0000011 0x00007ffff4c87283 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
0000012 0x00007ffff661081e in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
0000013 0x00007ffff651174d in gtk_menu_shell_activate_item () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
0000014 0x00007ffff6512f49 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
0000015 0x00007ffff6503728 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
0000016 0x00007ffff4c705ae in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
0000017 0x00007ffff4c8564d in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
0000018 0x00007ffff4c86bcc in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
0000019 0x00007ffff4c87283 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
0000020 0x00007ffff660a72f in ?? () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
0000021 0x00007ffff64fbcd3 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
TagsNo tags attached.

Activities

greebo

greebo

21.12.2009 05:21

administrator   ~0002779

I assume you're running DarkRadiant without the sound module compilation option?
mattn

mattn

21.12.2009 08:10

updater   ~0002781

yes - that's true

Issue History

Date Modified Username Field Change
20.12.2009 18:06 mattn New Issue
21.12.2009 05:21 greebo Note Added: 0002779
21.12.2009 05:22 greebo Status new => feedback
21.12.2009 08:10 mattn Note Added: 0002781
22.12.2009 14:55 greebo Status feedback => assigned
22.12.2009 14:55 greebo Assigned To => greebo
22.12.2009 15:29 greebo Status assigned => resolved
22.12.2009 15:29 greebo Fixed in Version => 1.1.0
22.12.2009 15:29 greebo Resolution open => fixed
22.12.2009 15:30 greebo Projection none => minor fix
22.12.2009 15:30 greebo ETA none => half an hour
22.12.2009 15:30 greebo Build => 5122
22.12.2009 15:30 greebo Target Version => 1.1.0
29.05.2010 16:36 greebo Status resolved => closed