ddnet / ddnet

DDraceNetwork, a free cooperative platformer game
https://ddnet.org
Other
549 stars 405 forks source link

Editor crash when pasting color in group and pressing enter #8816

Open Robyt3 opened 2 weeks ago

Robyt3 commented 2 weeks ago

Reported by cyberfighter 2 on Discord:

crashed after pasting in color into a group in the editor and pressing enter

0x00000001401708f5: __gnu_cxx::__atomic_add(int volatile*, int) at /usr/x86_64-w64-mingw32/include/c++/13.1.0/ext/atomicity.h:71
 (inlined by) __gnu_cxx::__atomic_add_dispatch(int*, int) at /usr/x86_64-w64-mingw32/include/c++/13.1.0/ext/atomicity.h:111
 (inlined by) std::_Sp_counted_base<(__gnu_cxx::_Lock_policy)2>::_M_add_ref_copy() at /usr/x86_64-w64-mingw32/include/c++/13.1.0/bits/shared_ptr_base.h:152
 (inlined by) std::__shared_count<(__gnu_cxx::_Lock_policy)2>::operator=(std::__shared_count<(__gnu_cxx::_Lock_policy)2> const&) at /usr/x86_64-w64-mingw32/include/c++/13.1.0/bits/shared_ptr_base.h:1088
 (inlined by) std::__shared_ptr<CLayer, (__gnu_cxx::_Lock_policy)2>::operator=(std::__shared_ptr<CLayer, (__gnu_cxx::_Lock_policy)2> const&) at /usr/x86_64-w64-mingw32/include/c++/13.1.0/bits/shared_ptr_base.h:1523
 (inlined by) std::shared_ptr<CLayer>::operator=(std::shared_ptr<CLayer> const&) at /usr/x86_64-w64-mingw32/include/c++/13.1.0/bits/shared_ptr.h:414
 (inlined by) CEditorActionLayerBase::CEditorActionLayerBase(CEditor*, int, int) at src/game/editor/editor_actions.cpp:527
0x0000000140170bd2: CEditorActionEditLayerTilesProp::CEditorActionEditLayerTilesProp(CEditor*, int, int, ETilesProp, int, int) at src/game/editor/editor_actions.cpp:815
0x000000014018ba3b: CLayerTilesPropTracker::OnEnd(ETilesProp, int) at src/game/editor/editor_trackers.cpp:483
0x00000001401a6042: CLayerTiles::RenderProperties(CUIRect*) at src/game/editor/mapitems/layer_tiles.cpp:1073
0x00000001401baa3d: CEditor::PopupLayer(void*, CUIRect, bool) at src/game/editor/popups.cpp:827
0x000000014012ee4b: CUi::RenderPopupMenus() at src/game/client/ui.cpp:1575
0x00000001401671ec: CEditor::Render() at src/game/editor/editor.cpp:8040
0x0000000140168c8b: CEditor::Input() const at src/game/editor/editor.h:305
 (inlined by) CEditor::OnRender() at src/game/editor/editor.cpp:8659
0x000000014002b018: CClient::DebugRender() at src/engine/client/client.cpp:857
 (inlined by) CClient::Run() at src/engine/client/client.cpp:3211
0x000000014044ae6d: IClient::State() const at src/engine/client.h:137
 (inlined by) main at src/engine/client/client.cpp:4834
0x00000001400012ee: __tmainCRTStartup at src/mingw-w64-v11.0.0/mingw-w64-crt/crt/crtexe.c:273
0x00000001400013e6: WinMainCRTStartup at src/mingw-w64-v11.0.0/mingw-w64-crt/crt/crtexe.c:164
KERNEL32.DLL!BaseThreadInitThunk+0x1d
ntdll.dll!RtlUserThreadStart+0x28

win64-steam, 8dd2b6e9e6d5257ce0e7115ad460541f30009d7d

ChillerDragon commented 2 weeks ago

How does one paste a color into a group?