View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0004890 | Spring engine | General | public | 2015-07-07 11:29 | 2015-07-07 13:38 | ||||
Reporter | abma | ||||||||
Assigned To | hokomoko | ||||||||
Priority | normal | Severity | minor | Reproducibility | have not tried | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 99.0+git | ||||||||
Target Version | 100.0 | Fixed in Version | |||||||
Summary | 0004890: crash with zk 1.3.7.2 in 99.0.1-77-geebaa0b after /give all | ||||||||
Description | Program received signal SIGSEGV, Segmentation fault. __memmove_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:2820 2820 ../sysdeps/x86_64/multiarch/memcpy-ssse3.S: Datei oder Verzeichnis nicht gefunden. (gdb) bt #0 __memmove_ssse3 () at ../sysdeps/x86_64/multiarch/memcpy-ssse3.S:2820 #1 0x00000000005cce49 in std::__copy_move<false, true, std::random_access_iterator_tag>::__copy_m<unsigned int*> (__first=0x360ebe78, __last=0x360ebe70, __result=0x360ebe70) at /usr/include/c++/4.9/bits/stl_algobase.h:378 #2 0x00000000005ccdf7 in std::__copy_move_a<false, unsigned int**, unsigned int**> (__first=0x360ebe78, __last=0x360ebe70, __result=0x360ebe70) at /usr/include/c++/4.9/bits/stl_algobase.h:396 0000003 0x00000000009a14c4 in std::__copy_move_a2<true, __gnu_cxx::__normal_iterator<CProjectile**, std::vector<CProjectile*, std::allocator<CProjectile*> > >, __gnu_cxx::__normal_iterator<CProjectile**, std::vector<CProjectile*, std::allocator<CProjectile*> > > > (__first=, __last=, __result=) at /usr/include/c++/4.9/bits/stl_algobase.h:434 0000004 0x00000000009a126b in std::move<__gnu_cxx::__normal_iterator<CProjectile**, std::vector<CProjectile*, std::allocator<CProjectile*> > >, __gnu_cxx::__normal_iterator<CProjectile**, std::vector<CProjectile*, std::allocator<CProjectile*> > > > (__first=, __last=, __result=) at /usr/include/c++/4.9/bits/stl_algobase.h:498 0000005 0x00000000009a0c4f in std::vector<CProjectile*, std::allocator<CProjectile*> >::_M_erase (this=0xe22b3d0, __position=) at /usr/include/c++/4.9/bits/vector.tcc:145 #6 0x00000000009a0481 in std::vector<CProjectile*, std::allocator<CProjectile*> >::erase (this=0xe22b3d0, __position=) at /usr/include/c++/4.9/bits/stl_vector.h:1147 #7 0x000000000099fb5b in CProjectileDrawer::RenderProjectileDestroyed (this=0xe22b200, p=0x37fb39c0) at rts/Rendering/ProjectileDrawer.cpp:947 #8 0x0000000000a3bc62 in EventBatchHandler::UnsyncedProjectileCreatedDestroyedEvent::Remove (p=0x37fb39c0) at rts/System/EventBatchHandler.cpp:86 #9 0x0000000000a417cb in ThreadListRender<CProjectile const*, CProjectile const*, EventBatchHandler::UnsyncedProjectileCreatedDestroyedEvent>::erase_delete ( this=0x13f9050 <EventBatchHandler::unsyncedProjectileCreatedDestroyedEventBatch>, x=@0x7fffffffd770: 0x37fb39c0) at rts/lib/gml/ThreadSafeContainers.h:43 0000010 0x0000000000a4e0d2 in CEventHandler::UnsyncedProjectileDestroyed (this=0x13f9200 <eventHandler>, proj=0x37fb39c0) at rts/System/EventHandler.cpp:764 #11 0x0000000000e38f03 in CProjectileHandler::UpdateProjectileContainer (this=0x1013e080, pc=std::vector of length 1006, capacity 2048 = {...}, synced=false) at rts/Sim/Projectiles/ProjectileHandler.cpp:212 0000012 0x0000000000e39275 in CProjectileHandler::Update (this=0x1013e080) at rts/Sim/Projectiles/ProjectileHandler.cpp:287 ---Type <return> to continue, or q <return> to quit--- 0000013 0x00000000005dc2f6 in CGame::SimFrame (this=0x2086600) at rts/Game/Game.cpp:1579 0000014 0x00000000007427f7 in CGame::ClientReadNet (this=0x2086600) at rts/Net/NetCommands.cpp:505 #15 0x00000000005d9609 in CGame::Update (this=0x2086600) at rts/Game/Game.cpp:1023 #16 0x0000000000a9f8d0 in SpringApp::Update (this=0x7fffffffe210) at rts/System/SpringApp.cpp:942 #17 0x0000000000a9fa67 in SpringApp::Run (this=0x7fffffffe210) at rts/System/SpringApp.cpp:978 #18 0x0000000000a676c4 in Run (argc=1, argv=0x7fffffffe3e8) at rts/System/Main.cpp:48 #19 0x0000000000a67f9a in main (argc=1, argv=0x7fffffffe3e8) at rts/System/Main.cpp:107 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|
hokomoko (developer) 2015-07-07 12:04 Last edited: 2015-07-07 12:33 |
Can you try to see if there's an error on the assert added? EDIT: Never mind, managed to reproduce. |
cleanrock (reporter) 2015-07-07 12:49 |
Tested after your new assert, perhaps you have already seen this, but here goes: (gdb) bt full #0 0x00007ffff3197528 in raise () from /usr/lib/libc.so.6 No symbol table info available. #1 0x00007ffff319893a in abort () from /usr/lib/libc.so.6 No symbol table info available. #2 0x00007ffff31903a7 in __assert_fail_base () from /usr/lib/libc.so.6 No symbol table info available. 0000003 0x00007ffff3190452 in __assert_fail () from /usr/lib/libc.so.6 No symbol table info available. 0000004 0x0000000000969ba6 in CProjectileDrawer::RenderProjectileDestroyed (this=0x106eca80, p=0x7fffc0c958c0) at /home/johanr/my_projects/spring/rts/Rendering/ProjectileDrawer.cpp:948 it = __PRETTY_FUNCTION__ = "virtual void CProjectileDrawer::RenderProjectileDestroyed(const CProjectile*)" 0000005 0x00000000009fd6ac in EventBatchHandler::UnsyncedProjectileCreatedDestroyedEvent::Remove (p=0x7fffc0c958c0) at /home/johanr/my_projects/spring/rts/System/EventBatchHandler.cpp:86 No locals. #6 0x0000000000a03dfb in ThreadListRender<CProjectile const*, CProjectile const*, EventBatchHandler::UnsyncedProjectileCreatedDestroyedEvent>::erase_delete ( this=0x136ddf0 <EventBatchHandler::unsyncedProjectileCreatedDestroyedEventBatch>, x=@0x7fffffffd650: 0x7fffc0c958c0) at /home/johanr/my_projects/spring/rts/lib/gml/ThreadSafeContainers.h:43 No locals. #7 0x0000000000a113d0 in CEventHandler::UnsyncedProjectileDestroyed (this=0x136dfa0 <eventHandler>, proj=0x7fffc0c958c0) at /home/johanr/my_projects/spring/rts/System/EventHandler.cpp:764 |
hokomoko (developer) 2015-07-07 13:38 |
Fix 8b502890b5b52d0923a2b424af6f58f9d914b8da committed to develop branch: Fix 0004890 and Fix 0004888 again Apparently there are projectiles which start with deleteMe=true and hence got the ProjectileDestroyed event before the ProectileCreated, repo: spring changeset id: 5325 |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2015-07-07 11:29 | abma | New Issue | |
2015-07-07 11:30 | abma | Product Version | => 99.0+git |
2015-07-07 11:30 | abma | Target Version | => 100.0 |
2015-07-07 11:32 | abma | File Added: infolog.txt | |
2015-07-07 12:04 | hokomoko | Changeset attached | => spring develop 1c0cf0a2 |
2015-07-07 12:04 | hokomoko | Note Added: 0014923 | |
2015-07-07 12:33 | hokomoko | Note Edited: 0014923 | View Revisions |
2015-07-07 12:49 | cleanrock | Note Added: 0014926 | |
2015-07-07 13:38 | hokomoko | Changeset attached | => spring develop 8b502890 |
2015-07-07 13:38 | hokomoko | Note Added: 0014928 | |
2015-07-07 13:38 | hokomoko | Assigned To | => hokomoko |
2015-07-07 13:38 | hokomoko | Status | new => resolved |
2015-07-07 13:38 | hokomoko | Resolution | open => fixed |