URL:
  <http://gna.org/bugs/?15162>

                 Summary: multiplayer lobby crash on 'send private message'
(not always reproducible)
                 Project: Battle for Wesnoth
            Submitted by: crab
            Submitted on: Tuesday 01/19/2010 at 23:14
                Category: Bug
                Severity: 4 - Important
                Priority: 5 - Normal
              Item Group: User Interface
                  Status: None
                 Privacy: Public
             Assigned to: mordante
        Originator Email: 
             Open/Closed: Open
         Discussion Lock: Any
                 Release: r40744 1.7.12+svn
        Operating System: Debian

    _______________________________________________________

Details:

happened a few times, not always reproducible.
happens after click on 'send private message' button.

---
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb66446d0 (LWP 14903)]
0x083c8fe7 in boost::function4<void, gui2::event::tdispatcher&,
gui2::event::tevent, bool&, bool&, std::allocator<void> >::assign_to_own
(this=0xbfa03af4, 
    f...@0xab3b5b0) at /usr/include/boost/function/function_template.hpp:766
766             f.vtable->manager(f.functor, this->functor,
(gdb) bt
#0  0x083c8fe7 in boost::function4<void, gui2::event::tdispatcher&,
gui2::event::tevent, bool&, bool&, std::allocator<void> >::assign_to_own
(this=0xbfa03af4, 
    f...@0xab3b5b0) at /usr/include/boost/function/function_template.hpp:766
#1  0x083c902b in function4 (this=0xbfa03af4, f...@0xab3b5b0)
    at /usr/include/boost/function/function_template.hpp:638
#2  0x083c9046 in function (this=0xbfa03af4, f...@0xab3b5b0)
    at /usr/include/boost/function/function_template.hpp:894
#3  0x0863ef37 in
gui2::event::implementation::fire_event<boost::function<void
()(gui2::event::tdispatcher&, gui2::event::tevent, bool&, bool&),
std::allocator<void> >, gui2::event::ttrigger>
(event=gui2::event::LEFT_BUTTON_CLICK, 
    event_cha...@0xbfa03b50, dispatcher=0xbe4bccc, widget=0xbb7cf18, 
    functor={<No data fields>})
    at src/gui/auxiliary/event/dispatcher_private.hpp:488
#4  0x0863fa03 in
gui2::event::fire_event_double_click<(gui2::event::tevent)11,
(gui2::event::tevent)12,
&(gui2::tevent_executor::wants_mouse_left_double_click() const),
boost::function<void ()(gui2::event::tdispatcher&, gui2::event::tevent,
bool&, bool&), std::allocator<void> >, gui2::event::ttrigger> (
    dispatcher=0xbe4bccc, widget=0xbb7cf18, functor={<No data fields>})
    at src/gui/auxiliary/event/dispatcher_private.hpp:597
#5  0x08634465 in gui2::event::tdispatcher::fire (this=0xbe4bd1c, 
    event=gui2::event::LEFT_BUTTON_DOUBLE_CLICK, targ...@0xbb7cf18)
    at src/gui/auxiliary/event/dispatcher.cpp:145
#6  0x0864b9d9 in gui2::event::tmouse_button<(gui2::event::tevent)7,
(gui2::even---Type <return> to continue, or q <return> to quit---
t::tevent)8, (gui2::event::tevent)9, (gui2::event::tevent)10,
(gui2::event::tevent)11, (gui2::event::tevent)12>::mouse_button_click
(this=0xbe480a0, 
    widget=0xbb7cf18) at src/gui/auxiliary/event/distributor.cpp:516
#7  0x0864c837 in gui2::event::tmouse_button<(gui2::event::tevent)7,
(gui2::event::tevent)8, (gui2::event::tevent)9, (gui2::event::tevent)10,
(gui2::event::tevent)11,
(gui2::event::tevent)12>::signal_handler_sdl_button_up (this=0xbe480a0, 
    event=gui2::event::SDL_LEFT_BUTTON_UP, handl...@0xbfa03dcf, 
    coordina...@0xbfa03e40) at src/gui/auxiliary/event/distributor.cpp:486
#8  0x08646a1f in boost::_mfi::mf3<void,
gui2::event::tmouse_button<(gui2::event::tevent)7, (gui2::event::tevent)8,
(gui2::event::tevent)9, (gui2::event::tevent)10, (gui2::event::tevent)11,
(gui2::event::tevent)12>, gui2::event::tevent, bool&, gui2::tpoint
const&>::operator() (this=0xbfa03df0, p=0xbe480a0, 
    a1=gui2::event::SDL_LEFT_BUTTON_UP, a...@0xbfa03dcf, a...@0xbfa03e40)
    at /usr/include/boost/bind/mem_fn_template.hpp:384
#9  0x08646faf in
boost::_bi::list4<boost::_bi::value<gui2::event::tmouse_button<(gui2::event::tevent)7,
(gui2::event::tevent)8, (gui2::event::tevent)9, (gui2::event::tevent)10,
(gui2::event::tevent)11, (gui2::event::tevent)12>*>, boost::arg<2>,
boost::arg<3>, boost::arg<5> >::operator()<boost::_mfi::mf3<void,
gui2::event::tmouse_button<(gui2::event::tevent)7, (gui2::event::tevent)8,
(gui2::event::tevent)9, (gui2::event::tevent)10, (gui2::event::tevent)11,
(gui2::event::tevent)12>, gui2::event::tevent, bool&, gui2::tpoint const&>,
boost::_bi::list5<gui2::event::tdispatcher&, gui2::event::tevent&, bool&,
bool&, gui2::tpoint const&> > (this=0xbfa03df8, f...@0xbfa03df0,
a...@0xbfa03cd4)
---Type <return> to continue, or q <return> to quit---
    at /usr/include/boost/bind.hpp:413
#10 0x0864740a in boost::_bi::bind_t<void, boost::_mfi::mf3<void,
gui2::event::tmouse_button<(gui2::event::tevent)7, (gui2::event::tevent)8,
(gui2::event::tevent)9, (gui2::event::tevent)10, (gui2::event::tevent)11,
(gui2::event::tevent)12>, gui2::event::tevent, bool&, gui2::tpoint const&>,
boost::_bi::list4<boost::_bi::value<gui2::event::tmouse_button<(gui2::event::tevent)7,
(gui2::event::tevent)8, (gui2::event::tevent)9, (gui2::event::tevent)10,
(gui2::event::tevent)11, (gui2::event::tevent)12>*>, boost::arg<2>,
boost::arg<3>, boost::arg<5> > >::operator()<gui2::event::tdispatcher,
gui2::event::tevent, bool, bool, gui2::tpoint const> (this=0xbfa03df0,
a...@0xbe4bd1c, a...@0xbfa03d28, a...@0xbfa03dcf, 
    a...@0xbfa03dce, a...@0xbfa03e40)
    at /usr/include/boost/bind/bind_template.hpp:174
#11 0x08647446 in
boost::detail::function::void_function_obj_invoker5<boost::_bi::bind_t<void,
boost::_mfi::mf3<void, gui2::event::tmouse_button<(gui2::event::tevent)7,
(gui2::event::tevent)8, (gui2::event::tevent)9, (gui2::event::tevent)10,
(gui2::event::tevent)11, (gui2::event::tevent)12>, gui2::event::tevent,
bool&, gui2::tpoint const&>,
boost::_bi::list4<boost::_bi::value<gui2::event::tmouse_button<(gui2::event::tevent)7,
(gui2::event::tevent)8, (gui2::event::tevent)9, (gui2::event::tevent)10,
(gui2::event::tevent)11, (gui2::event::tevent)12>*>, boost::arg<2>,
boost::arg<3>, boost::arg<5> > >, void, gui2::event::tdispatcher&,
gui2::event::tevent, bool&, bool&, gui2::tpoint const&>::invoke (
    function_obj_p...@0xbfa03df0, a...@0xbe4bd1c, 
    a1=gui2::event::SDL_LEFT_BUTTON_UP, a...@0xbfa03dcf, a...@0xbfa03dce, 
---Type <return> to continue, or q <return> to quit---
    a...@0xbfa03e40) at /usr/include/boost/function/function_template.hpp:158
#12 0x0863762b in boost::function5<void, gui2::event::tdispatcher&,
gui2::event::tevent, bool&, bool&, gui2::tpoint const&, std::allocator<void>
>::operator()
    (this=0xbfa03dec, a...@0xbe4bd1c, a1=gui2::event::SDL_LEFT_BUTTON_UP, 
    a...@0xbfa03dcf, a...@0xbfa03dce, a...@0xbfa03e40)
    at /usr/include/boost/function/function_template.hpp:825
#13 0x08637666 in gui2::event::ttrigger_mouse::operator() (this=0xbfa03e40, 
    functor=
        {<boost::function5<void, gui2::event::tdispatcher&,
gui2::event::tevent, bool&, bool&, const gui2::tpoint&, std::allocator<void>
>> = {<boost::function_base> = {vtable = 0xbfa03dec, functor = {obj_ptr =
0xbe4bd1c, const_obj_ptr = 0xbe4bd1c, func_ptr = 0xbe4bd1c, bound_memfunc_ptr
= {memfunc_ptr = 0xbe4bd1c, this adjustment 8, obj_ptr = 0xbfa03dcf}, data =
28 '\034'}}, static args = <optimized out>, static arity = <optimized out>},
<No data fields>}, 
    dispatch...@0xbe4bd1c, event=gui2::event::SDL_LEFT_BUTTON_UP, 
    handl...@0xbfa03dcf, ha...@0xbfa03dce)
    at src/gui/auxiliary/event/dispatcher.cpp:193
#14 0x0863e866 in
gui2::event::implementation::fire_event<boost::function<void
()(gui2::event::tdispatcher&, gui2::event::tevent, bool&, bool&, gui2::tpoint
const&), std::allocator<void> >, gui2::event::ttrigger_mouse> (
    event=gui2::event::SDL_LEFT_BUTTON_UP, event_cha...@0xbfa03e54, 
    dispatcher=0xbe4bccc, widget=0xbe4bccc, functor=
        {coordinate_ = {x = 1286, y = 242}})
---Type <return> to continue, or q <return> to quit---
    at src/gui/auxiliary/event/dispatcher_private.hpp:462
#15 0x0863f685 in gui2::event::fire_event<boost::function<void
()(gui2::event::tdispatcher&, gui2::event::tevent, bool&, bool&, gui2::tpoint
const&), std::allocator<void> >, gui2::event::ttrigger_mouse> (
    event=gui2::event::SDL_LEFT_BUTTON_UP, dispatcher=0xbe4bccc, 
    widget=0xbe4bccc, functor={coordinate_ = {x = 1286, y = 242}})
    at src/gui/auxiliary/event/dispatcher_private.hpp:546
#16 0x086343b0 in gui2::event::tdispatcher::fire (this=0xbe4bd1c, 
    event=gui2::event::SDL_LEFT_BUTTON_UP, targ...@0xbe4bccc, 
    coordina...@0xbfa03f50) at src/gui/auxiliary/event/dispatcher.cpp:208
#17 0x08384766 in gui2::event::thandler::mouse (this=0xa7bc158, 
    event=gui2::event::SDL_LEFT_BUTTON_UP, positi...@0xbfa03f50)
    at src/gui/auxiliary/event/handler.cpp:456
#18 0x083849c2 in gui2::event::thandler::mouse_button_up (this=0xa7bc158, 
    positi...@0xbfa03f50, button=1 '\001')
    at src/gui/auxiliary/event/handler.cpp:476
#19 0x0838575c in gui2::event::thandler::handle_event (this=0xa7bc158, 
    eve...@0xa991a18) at src/gui/auxiliary/event/handler.cpp:285
#20 0x088a3545 in events::pump () at src/events.cpp:379
#21 0x08426800 in gui2::twindow::show (this=0xbe4b800, restore=true, 
    auto_close_timeout=0) at src/gui/widgets/window.cpp:476
#22 0x0838dbe5 in gui2::tdialog::show (this=0xbfa04168, vid...@0xbfa04a54, 
    auto_close_time=0) at src/gui/dialogs/dialog.cpp:48
---Type <return> to continue, or q <return> to quit---
#23 0x081b4b6e in enter_lobby_mode (di...@0xa3126a0, game_conf...@0xbfa04a98,

    ch...@0xbfa04518, gameli...@0xbfa044dc) at src/multiplayer.cpp:532
#24 0x081b57a0 in mp::start_client (di...@0xa3126a0, game_conf...@0xbfa04a98,

    ho...@0xbfa04708) at src/multiplayer.cpp:622
#25 0x080501b7 in play_multiplayer (this=0xbfa04a44) at src/game.cpp:1322
#26 0x0805b8bf in do_gameloop (argc=2, argv=0xbfa04f84) at src/game.cpp:2072
#27 0x0805c0fd in main (argc=2, argv=0xbfa04f84) at src/game.cpp:2159




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?15162>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs

Reply via email to