View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0005975 | Spring engine | General | public | 2018-05-08 10:39 | 2018-05-08 16:06 | ||||
Reporter | abma | ||||||||
Assigned To | Kloot | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0005975: crash when scrolling mousewheel in classic menu in rts/Game/UI/MouseHandler.cpp:454 | ||||||||
Description | ==13739==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x563e56330e3e bp 0x7ffec449b540 sp 0x7ffec449b530 T0) ==13739==The signal is caused by a READ memory access. ==13739==Hint: address points to the zero page. #0 0x5557957b3e3d in CMouseHandler::MouseWheel(float) rts/Game/UI/MouseHandler.cpp:454 #1 0x55579608e0da in IMouseInput::HandleSDLMouseEvent(SDL_Event const&) rts/System/Input/MouseInput.cpp:77 #2 0x555796090208 in bool std::__invoke_impl<bool, bool (agui::Gui::*&)(SDL_Event const&), agui::Gui*&, SDL_Event const&>(std::__invoke_memfun_deref, bool (agui::Gui::*&)(SDL_Event const&), agui::Gui*&, SDL_Event const&) /usr/include/c++/7/bits/invoke.h:73 0000003 0x55579608fde1 in std::__invoke_result<bool (IMouseInput::*&)(SDL_Event const&), IMouseInput*&, SDL_Event const&>::type std::__invoke<bool (IMouseInput::*&)(SDL_Event const&), IMouseInput*&, SDL_Event const&>(bool (IMouseInput::*&)(SDL_Event const&), IMouseInput*&, SDL_Event const&) /usr/include/c++/7/bits/invoke.h:96 0000004 0x55579608f93f in bool std::_Bind<bool (IMouseInput::*(IMouseInput*, std::_Placeholder<1>))(SDL_Event const&)>::__call<bool, SDL_Event const&, 0ul, 1ul>(std::tuple<SDL_Event const&>&&, std::_Index_tuple<0ul, 1ul>) /usr/include/c++/7/functional:469 0000005 0x55579608f74e in bool std::_Bind<bool (IMouseInput::*(IMouseInput*, std::_Placeholder<1>))(SDL_Event const&)>::operator()<SDL_Event const&, bool>(SDL_Event const&) (/mnt/tmp/home/dev/spring/develop/spring+0x12ea74e) #6 0x55579608ee2d in std::_Function_handler<void (SDL_Event const&), std::_Bind<bool (IMouseInput::*(IMouseInput*, std::_Placeholder<1>))(SDL_Event const&)> >::_M_invoke(std::_Any_data const&, SDL_Event const&) /usr/include/c++/7/bits/std_function.h:316 #7 0x555796011f72 in std::function<void (SDL_Event const&)>::operator()(SDL_Event const&) const /usr/include/c++/7/bits/std_function.h:706 #8 0x555796083eaa in slimsig::basic_slot<void (SDL_Event const&), unsigned long>::operator()(SDL_Event const&) const rts/lib/slimsig/include/slimsig/detail/slot.h:140 #9 0x555796083eaa in slimsig::signal_base<slimsig::signal_traits<void (SDL_Event const&)>, std::allocator<std::function<void (SDL_Event const&)> >, void (SDL_Event const&)>::emit(SDL_Event const&) rts/lib/slimsig/include/slimsig/detail/signal_base.h:150 0000010 0x555796083480 in InputHandler::PushEvent(SDL_Event const&) rts/System/Input/InputHandler.cpp:14 #11 0x555796083575 in InputHandler::PushEvents() rts/System/Input/InputHandler.cpp:25 0000012 0x5557960fd320 in SpringApp::Run() rts/System/SpringApp.cpp:805 0000013 0x5557960b29b9 in Run(int, char**) rts/System/Main.cpp:43 0000014 0x5557960b30cc in main rts/System/Main.cpp:92 #15 0x7fcb8ddd1a86 in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21a86) #16 0x555795518229 in _start (/mnt/tmp/home/dev/spring/develop/spring+0x773229) | ||||||||
Additional Information | ./spring scroll mousewheel in menu 104.0.1-891-gb89847c14 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Notes | |
Kloot (developer) 2018-05-08 16:03 |
Fix f5f3ebc85d02d8546dd35f44b9575510bb28d7a1 committed to develop branch: fix 0005975, repo: spring changeset id: 10217 |
Kloot (developer) 2018-05-08 16:06 |
Fix e6f6b45597029d9d63a42699c44221e0ca650b3d committed to maintenance branch: fix 0005975, repo: spring changeset id: 10220 |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2018-05-08 10:39 | abma | New Issue | |
2018-05-08 10:49 | abma | Description Updated | View Revisions |
2018-05-08 10:49 | abma | Issue Revision Dropped: Description: 0005221 | |
2018-05-08 11:43 | Kloot | Assigned To | => Kloot |
2018-05-08 11:43 | Kloot | Status | new => assigned |
2018-05-08 16:03 | Kloot | Changeset attached | => spring develop f5f3ebc8 |
2018-05-08 16:03 | Kloot | Note Added: 0019085 | |
2018-05-08 16:03 | Kloot | Status | assigned => resolved |
2018-05-08 16:03 | Kloot | Resolution | open => fixed |
2018-05-08 16:06 | Kloot | Changeset attached | => spring maintenance e6f6b455 |
2018-05-08 16:06 | Kloot | Note Added: 0019086 |