View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0001473 | Spring engine | General | public | 2009-06-26 21:58 | 2009-06-28 03:31 | ||||
Reporter | imbaczek | ||||||||
Assigned To | zerver | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | resolved | Resolution | fixed | ||||||
Product Version | 0.79.1.0+git | ||||||||
Target Version | Fixed in Version | 0.79.1.0+git | |||||||
Summary | 0001473: crash in ProjectileHandler::Draw | ||||||||
Description | to reproduce: KP 3.3, SpeedBalls 16way /cheat /give all on a geo play around with fairies (the pentagrams are factories.) fp->object is null. | ||||||||
Additional Information | (gdb) bt #0 0x006c77c8 in CProjectileHandler::Draw (this=0x6f51d98, drawReflection=6610433, drawRefraction=1772875008) at K:/progz/spring/rts/Sim/Projectiles/ProjectileHandler.cpp:551 #1 0x005fce24 in CAdvWater::UpdateWater (this=0x72f4f38, game=0x72a10c8) at K:/progz/spring/rts/Rendering/Env/AdvWater.cpp:355 #2 0x0041d241 in CGame::Draw (this=0x72a10c8) at K:/progz/spring/rts/Game/Game.cpp:2820 0000003 0x007beaba in SpringApp::Update (this=0x22feac) at K:/progz/spring/rts/System/SpringApp.cpp:909 0000004 0x007bf1be in SpringApp::Run (this=0x22feac, argc=2, argv=0x6474630) at K:/progz/spring/rts/System/SpringApp.cpp:1120 0000005 0x007ae3d0 in Run (argc=2, argv=0x6474630) at K:/progz/spring/rts/System/Main.cpp:93 #6 0x007ae446 in WinMain@16 (hInstanceIn=0x400000, hPrevInstance=0x0, lpCmdLine=0x241f05 "script.txt", nCmdShow=10) at K:/progz/spring/rts/System/Main.cpp:119 #7 0x0081e4f8 in main () (gdb) bt full 1 #0 0x006c77c8 in CProjectileHandler::Draw (this=0x6f51d98, drawReflection=6610433, drawRefraction=1772875008) at K:/progz/spring/rts/Sim/Projectiles/ProjectileHandler.cpp:551 fp = (FlyingPiece *) 0xbc8f1a0 m = {binder = <optimized out or zero length>, memberRegistrator = <optimized out or zero length>, m = {0.999872088, 0.0136779845, -0.00817748904, 0, -0.0135177076, 0.999720633, 0.0193421543, 0, 0.00843974948, -0.0192291439, 0.999778509, 0, 0, 0, 0, 1}} interPos = {binder = <optimized out or zero length>, memberRegistrator = <optimized out or zero length>, maxxpos = <optimized out or zero length>, maxzpos = <optimized out or zero length>, x = 2543.20166, y = 59.8514175, z = 1499.89136} tex = (UnitTexture *) 0x10ee69d0 tp = {binder = <optimized out or zero length>, memberRegistrator = <optimized out or zero length>, maxxpos = <optimized out or zero length>, maxzpos = <optimized out or zero length>, x = 2599.52026, y = 40.9232216, z = 1754.57727} tn = {binder = <optimized out or zero length>, memberRegistrator = <optimized out or zero length>, maxxpos = <optimized out or zero length>, maxzpos = <optimized out or zero length>, x = 0, y = 0, z = 0} vertices = (vector *) 0x1331bd3c verticesIdx = (vector *) 0x13356270 v = (S3DOVertex *) 0x13329e78 drawReflection = 6610433 drawRefraction = 1772875008 va = (CVertexArray *) 0x6f4ee20 lasttex = 0 lastteam = 0 numFlyingPieces = 412 drawnPieces = 412 fpi = {_M_node = 0x136185d0} (More stack frames follow...) (gdb) p *fp $1 = {prim = 0x0, object = 0x0, verts = 0x13618434, pos = { binder = <optimized out or zero length>, memberRegistrator = <optimized out or zero length>, maxxpos = <optimized out or zero length>, maxzpos = <optimized out or zero length>, x = 2543.20166, y = 59.8514175, z = 1499.89136}, speed = {binder = <optimized out or zero length>, memberRegistrator = <optimized out or zero length>, maxxpos = <optimized out or zero length>, maxzpos = <optimized out or zero length>, x = 2.16824389, y = 2.78168869, z = -0.311304718}, rotAxis = {binder = <optimized out or zero length>, memberRegistrator = <optimized out or zero length>, maxxpos = <optimized out or zero length>, maxzpos = <optimized out or zero length>, x = 0.769791901, y = 0.331640214, z = 0.542761743}, rot = 0.0250556972, rotSpeed = 0.00501113944, texture = 4, team = 0} (gdb) | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
Notes | |
zerver (reporter) 2009-06-28 03:03 |
Probably something wrong with my last refactoring. texture=4 should never occur in that loop; it should be in the loop above. Could be a sorting problem. |
zerver (reporter) 2009-06-28 03:31 |
Sorting problem. The crash was in the non-MT version only :) |
Issue History | |||
Date Modified | Username | Field | Change |
---|---|---|---|
2009-06-26 21:58 | imbaczek | New Issue | |
2009-06-26 21:59 | imbaczek | Summary | crash in DrawReflection => crash in ProjectileHandler::Draw |
2009-06-26 22:01 | imbaczek | Description Updated | |
2009-06-26 22:01 | imbaczek | Additional Information Updated | |
2009-06-28 02:56 | zerver | Status | new => assigned |
2009-06-28 02:56 | zerver | Assigned To | => zerver |
2009-06-28 03:03 | zerver | Note Added: 0003682 | |
2009-06-28 03:31 | zerver | Note Added: 0003683 | |
2009-06-28 03:31 | zerver | Status | assigned => resolved |
2009-06-28 03:31 | zerver | Fixed in Version | => 0.79.1.0+git |
2009-06-28 03:31 | zerver | Resolution | open => fixed |