2025-07-21 18:13 CEST

View Issue Details Jump to Notes ]
IDProjectCategoryView StatusLast Update
0002660Spring engineGeneralpublic2013-08-06 01:15
Reporterhoijui 
Assigned ToKloot 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusresolvedResolutionunable to reproduce 
Product Version0.82.7+git 
Target VersionFixed in Version 
Summary0002660: SIGFPE in CCamera::GetFrustumSide
Descriptionlooks like float3::UnsafeANormalize() is called on a vector of length zero.
Additional InformationProgram received signal SIGFPE, Arithmetic exception.
0x0000000000ab51ec in fastmath::isqrt2_nosse (x=1.98180286e+19) at rts/System/FastMath.h:113
(gdb) bt
#0 0x0000000000ab51ec in fastmath::isqrt2_nosse (x=1.98180286e+19) at rts/System/FastMath.h:113
#1 0x0000000000ab5239 in fastmath::isqrt (x=0) at rts/System/FastMath.h:157
#2 0x0000000000ab5713 in float3::UnsafeANormalize (this=0x7fffffffd220) at rts/System/float3.h:498
0000003 0x0000000000ab4980 in CCamera::GetFrustumSide (this=0xba6e210, zdir=..., offset=..., miny=0, maxy=72.8571396, scale=8, upwardDir=false, negSide=false) at rts/Game/Camera.cpp:305
0000004 0x0000000000d37788 in CBaseGroundDrawer::UpdateCamRestraints (this=0x5c4ab60, cam=0xba6e210) at rts/Map/BaseGroundDrawer.cpp:543
0000005 0x0000000000d879e9 in CSMFGroundDrawer::Draw (this=0x5c4ab60, drawWaterReflection=false, drawUnitReflection=true) at rts/Map/SMF/SMFGroundDrawer.cpp:884
#6 0x0000000000ddc63f in CubeMapHandler::CreateReflectionFace (this=0x6d631f0, glType=34072, camDir=..., skyOnly=false) at rts/Rendering/Env/CubeMapHandler.cpp:211
#7 0x0000000000ddc2c1 in CubeMapHandler::UpdateReflectionTexture (this=0x6d631f0) at rts/Rendering/Env/CubeMapHandler.cpp:161
#8 0x0000000000ae0953 in CGame::Draw (this=0x2d3f700) at rts/Game/Game.cpp:1069
#9 0x0000000001106d71 in SpringApp::Update (this=0x7fffffffd7b0) at rts/System/SpringApp.cpp:1076
0000010 0x0000000001106eed in SpringApp::Run (this=0x7fffffffd7b0, argc=1, argv=0x7fffffffd978) at rts/System/SpringApp.cpp:1164
#11 0x00000000010e458b in MainFunc (argc=1, argv=0x7fffffffd978, ret=0x7fffffffd84c) at rts/System/Main.cpp:51
0000012 0x00000000010e481e in Run (argc=1, argv=0x7fffffffd978) at rts/System/Main.cpp:62
0000013 0x00000000010e48b7 in main (argc=1, argv=0x7fffffffd978) at rts/System/Main.cpp:92
TagsNo tags attached.
Checked infolog.txt for Errors
Attached Files

-Relationships
+Relationships

-Notes

~0011195

abma (administrator)

never saw this SIGFPE...
+Notes

-Issue History
Date Modified Username Field Change
2011-09-20 19:08 hoijui New Issue
2011-09-20 19:28 Kloot Status new => assigned
2011-09-20 19:28 Kloot Assigned To => Kloot
2013-08-06 01:15 abma Note Added: 0011195
2013-08-06 01:15 abma Status assigned => resolved
2013-08-06 01:15 abma Resolution open => unable to reproduce
+Issue History