View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002533 | Spring engine | General | public | 2011-07-05 16:53 | 2011-07-07 00:56 | ||||
Reporter | abma | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | crash | Reproducibility | have not tried | ||||
Status | resolved | Resolution | unable to reproduce | ||||||
Product Version | |||||||||
Target Version | 83.0 | Fixed in Version | |||||||
Summary | 0002533: (master) crash in FeatureDrawer.cpp:142 | ||||||||
Description | [f=0000673] Segmentation fault (SIGSEGV) in spring 0.82+.4.0 (Debug) [f=0000673] Stacktrace: [f=0000673] <0> /lib/x86_64-linux-gnu/libc.so.6(+0x33d80) [0x7fbc19d90d80] [f=0000673] <1> /usr/include/c++/4.6/bits/stl_tree.h:493 [f=0000673] <2> /usr/include/c++/4.6/bits/stl_tree.h:1261 [f=0000673] <3> /usr/include/c++/4.6/bits/stl_set.h:410 [f=0000673] <4> /home/abma/dev/spring/master/rts/Rendering/FeatureDrawer.cpp:142 [f=0000673] <5> /home/abma/dev/spring/master/rts/Rendering/FeatureDrawer.cpp:101 [f=0000673] <6> /home/abma/dev/spring/master/rts/System/EventHandler.h:721 [f=0000673] <7> /home/abma/dev/spring/master/rts/System/EventBatchHandler.cpp:34 [f=0000673] <8> /home/abma/dev/spring/master/rts/lib/gml/ThreadSafeContainers.h:232 [f=0000673] <9> /home/abma/dev/spring/master/rts/System/EventHandler.h:675 | ||||||||
Additional Information | http://pastebin.com/3nJzzTN2 | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
|||||||||||
|
![]() |
|
Kloot (developer) 2011-07-05 16:56 |
duplicate of 0002518? |
abma (administrator) 2011-07-05 16:56 |
caused by /cheat /give all 1 /give all 0 at positions only in shot-range of berta |
abma (administrator) 2011-07-05 17:00 Last edited: 2011-07-05 17:01 |
very likly, yes. but stacktrace is slightly different |
Kloot (developer) 2011-07-05 17:34 Last edited: 2011-07-05 17:38 |
Demo does not crash for me (with a copy of BA 7.50 masquerading as "mytestversion"). However, the stacktrace makes it clear what the problem is: CFeatureDrawer::UpdateDrawQuad (this=0x7fbbf82d01d0, feature=0x7fbbfab84f60) at /home/abma/dev/spring/master/rts/Rendering/FeatureDrawer.cpp:142 newDrawQuad = -2147483648 oldDrawQuad = -1 -2147483648 means the feature somehow ended up outside the map (which should not be possible, since there is a CheckInBounds in CFeature::Initialize). If you get this SEGV again, can you go to the relevant stackframe and print feature->pos.x and feature->pos.z? |
Kloot (developer) 2011-07-05 17:42 |
Actually seems to be memory corruption even before that point, because: 14 0x0000000000ddaf5c in CEventHandler::FeatureCreated (this=0x1a42a80, feature=0x7fbbfab84f60) at /home/abma/dev/spring/master/rts/System/EventHandler.h:673 featureAllyTeam = 12688897 (!!) count = 32699 (!!) #15 0x0000000000dda38a in CFeatureHandler::AddFeature (this=0x5161920, feature=0x7fbbfab84f60) at /home/abma/dev/spring/master/rts/Sim/Features/FeatureHandler.cpp:336 #16 0x0000000000dd3196 in CFeature::Initialize (this=0x7fbbfab84f60, _pos=..., _def=0x517ee20, _heading=-7686, facing=0, _team=1, _allyteam=-1, _udef=0x4628fd0, speed=..., _smokeTime=300) |
abma (administrator) 2011-07-05 22:50 |
sorry, yes: the demo doesn't crash + i use a different game now... |
abma (administrator) 2011-07-05 22:51 Last edited: 2011-07-05 23:00 |
@kloot: could the memory corruption come from the /give armflea 1000? sometimes it worked... edit: i still get the quadfield 0002485 crash |
Kloot (developer) 2011-07-05 23:19 |
"could the memory corruption come from the /give armflea 1000?" absolutely, but did you do that for 0002518 as well? ie. were both of these reports just instances of 0002535? |
abma (administrator) 2011-07-05 23:28 Last edited: 2011-07-05 23:28 |
i can't say, sorry. i just tried some stuff and then it crashed. as it only crashes sometimes, i can't say in some cases exactly what i did... gimme some time and i can say which bug doesn't occur any more. at least 0002485 is still present... |
abma (administrator) 2011-07-06 00:10 |
this one still exists, too. got it by some /cheat all 0 + /cheat all 1 |
abma (administrator) 2011-07-07 00:56 |
didn't see this bug after many tries. hopefully its gone |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2011-07-05 16:53 | abma | New Issue | |
2011-07-05 16:53 | abma | Graphics Card | => unknown |
2011-07-05 16:54 | abma | Severity | minor => crash |
2011-07-05 16:54 | abma | Target Version | => 0.83.0 |
2011-07-05 16:55 | abma | Relationship added | related to 0002518 |
2011-07-05 16:56 | Kloot | Note Added: 0006915 | |
2011-07-05 16:56 | abma | Note Added: 0006916 | |
2011-07-05 16:59 | abma | File Added: 20110705_165000_Mini_SpeedMetal_0.82+.4.sdf | |
2011-07-05 17:00 | abma | Note Added: 0006917 | |
2011-07-05 17:01 | abma | Note Edited: 0006917 | |
2011-07-05 17:34 | Kloot | Note Added: 0006918 | |
2011-07-05 17:34 | Kloot | Status | new => feedback |
2011-07-05 17:38 | Kloot | Note Edited: 0006918 | |
2011-07-05 17:42 | Kloot | Note Added: 0006921 | |
2011-07-05 22:50 | abma | Note Added: 0006925 | |
2011-07-05 22:50 | abma | File Deleted: 20110705_165000_Mini_SpeedMetal_0.82+.4.sdf | |
2011-07-05 22:51 | abma | Note Added: 0006926 | |
2011-07-05 23:00 | abma | Note Edited: 0006926 | |
2011-07-05 23:19 | Kloot | Note Added: 0006928 | |
2011-07-05 23:28 | abma | Note Added: 0006929 | |
2011-07-05 23:28 | abma | Note Edited: 0006929 | |
2011-07-06 00:10 | abma | Note Added: 0006930 | |
2011-07-07 00:56 | abma | Note Added: 0006948 | |
2011-07-07 00:56 | abma | Status | feedback => resolved |
2011-07-07 00:56 | abma | Resolution | open => unable to reproduce |
2011-07-07 00:56 | abma | Assigned To | => abma |
2011-07-13 03:01 | abma | Relationship added | has duplicate 0002554 |