View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
---|---|---|---|---|---|---|---|---|---|
0002942 | Spring engine | General | public | 2012-02-03 20:43 | 2012-11-11 23:06 | ||||
Reporter | abma | ||||||||
Assigned To | abma | ||||||||
Priority | normal | Severity | major | Reproducibility | have not tried | ||||
Status | resolved | Resolution | unable to reproduce | ||||||
Product Version | |||||||||
Target Version | Fixed in Version | ||||||||
Summary | 0002942: (headless) Conditional jump or move depends on uninitialised value, Camera.cpp:250 | ||||||||
Description | valgrind entry ==2574== Conditional jump or move depends on uninitialised value(s) ==2574== at 0xA2CAD2: luaV_execute(lua_State*, int) (lvm.cpp:577) ==2574== by 0xA1E3BC: luaD_call(lua_State*, lua_TValue*, int) (ldo.cpp:377) ==2574== by 0xA1D71D: luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*) (ldo.cpp:116) ==2574== by 0xA1E571: luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) (ldo.cpp:463) ==2574== by 0xA17D80: lua_pcall(lua_State*, int, int, int) (lapi.cpp:833) ==2574== by 0xA19AD7: luaB_pcall(lua_State*) (lbaselib.cpp:377) ==2574== by 0xA1E18F: luaD_precall(lua_State*, lua_TValue*, int) (ldo.cpp:319) ==2574== by 0xA2C7CF: luaV_execute(lua_State*, int) (lvm.cpp:612) ==2574== by 0xA1E3BC: luaD_call(lua_State*, lua_TValue*, int) (ldo.cpp:377) ==2574== by 0xA1D71D: luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*) (ldo.cpp:116) ==2574== by 0xA1E571: luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) (ldo.cpp:463) ==2574== by 0xA17D80: lua_pcall(lua_State*, int, int, int) (lapi.cpp:833) ==2574== Uninitialised value was created by a stack allocation ==2574== at 0x49CB50: CCamera::CalcWindowCoordinates(float3 const&) const (Camera.cpp:250) ==2574== ==2574== Conditional jump or move depends on uninitialised value(s) ==2574== at 0xA2CCA8: luaV_execute(lua_State*, int) (lvm.cpp:585) ==2574== by 0xA1E3BC: luaD_call(lua_State*, lua_TValue*, int) (ldo.cpp:377) ==2574== by 0xA1D71D: luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*) (ldo.cpp:116) ==2574== by 0xA1E571: luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) (ldo.cpp:463) ==2574== by 0xA17D80: lua_pcall(lua_State*, int, int, int) (lapi.cpp:833) ==2574== by 0xA19AD7: luaB_pcall(lua_State*) (lbaselib.cpp:377) ==2574== by 0xA1E18F: luaD_precall(lua_State*, lua_TValue*, int) (ldo.cpp:319) ==2574== by 0xA2C7CF: luaV_execute(lua_State*, int) (lvm.cpp:612) ==2574== by 0xA1E3BC: luaD_call(lua_State*, lua_TValue*, int) (ldo.cpp:377) ==2574== by 0xA1D71D: luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*) (ldo.cpp:116) ==2574== by 0xA1E571: luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) (ldo.cpp:463) ==2574== by 0xA17D80: lua_pcall(lua_State*, int, int, int) (lapi.cpp:833) ==2574== Uninitialised value was created by a stack allocation ==2574== at 0x49CB50: CCamera::CalcWindowCoordinates(float3 const&) const (Camera.cpp:250) ==2574== ==2574== Conditional jump or move depends on uninitialised value(s) ==2574== at 0xA18CCF: luaL_checknumber_noassert(lua_State*, int) (lauxlib.cpp:198) ==2574== by 0xA21F9D: math_abs(lua_State*) (lmathlib.cpp:27) ==2574== by 0xA1E18F: luaD_precall(lua_State*, lua_TValue*, int) (ldo.cpp:319) ==2574== by 0xA2C7CF: luaV_execute(lua_State*, int) (lvm.cpp:612) ==2574== by 0xA1E3BC: luaD_call(lua_State*, lua_TValue*, int) (ldo.cpp:377) ==2574== by 0xA1D71D: luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*) (ldo.cpp:116) ==2574== by 0xA1E571: luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) (ldo.cpp:463) ==2574== by 0xA17D80: lua_pcall(lua_State*, int, int, int) (lapi.cpp:833) ==2574== by 0xA19AD7: luaB_pcall(lua_State*) (lbaselib.cpp:377) ==2574== by 0xA1E18F: luaD_precall(lua_State*, lua_TValue*, int) (ldo.cpp:319) ==2574== by 0xA2C7CF: luaV_execute(lua_State*, int) (lvm.cpp:612) ==2574== by 0xA1E3BC: luaD_call(lua_State*, lua_TValue*, int) (ldo.cpp:377) ==2574== Uninitialised value was created by a stack allocation ==2574== at 0x49CB50: CCamera::CalcWindowCoordinates(float3 const&) const (Camera.cpp:250) ==2574== ==2574== Conditional jump or move depends on uninitialised value(s) ==2574== at 0xA18CE0: luaL_checknumber_noassert(lua_State*, int) (lauxlib.cpp:198) ==2574== by 0xA21F9D: math_abs(lua_State*) (lmathlib.cpp:27) ==2574== by 0xA1E18F: luaD_precall(lua_State*, lua_TValue*, int) (ldo.cpp:319) ==2574== by 0xA2C7CF: luaV_execute(lua_State*, int) (lvm.cpp:612) ==2574== by 0xA1E3BC: luaD_call(lua_State*, lua_TValue*, int) (ldo.cpp:377) ==2574== by 0xA1D71D: luaD_rawrunprotected(lua_State*, void (*)(lua_State*, void*), void*) (ldo.cpp:116) ==2574== by 0xA1E571: luaD_pcall(lua_State*, void (*)(lua_State*, void*), void*, long, long) (ldo.cpp:463) ==2574== by 0xA17D80: lua_pcall(lua_State*, int, int, int) (lapi.cpp:833) ==2574== by 0xA19AD7: luaB_pcall(lua_State*) (lbaselib.cpp:377) ==2574== by 0xA1E18F: luaD_precall(lua_State*, lua_TValue*, int) (ldo.cpp:319) ==2574== by 0xA2C7CF: luaV_execute(lua_State*, int) (lvm.cpp:612) ==2574== by 0xA1E3BC: luaD_call(lua_State*, lua_TValue*, int) (ldo.cpp:377) ==2574== Uninitialised value was created by a stack allocation ==2574== at 0x49CB50: CCamera::CalcWindowCoordinates(float3 const&) const (Camera.cpp:250) ==2574== | ||||||||
Tags | No tags attached. | ||||||||
Checked infolog.txt for Errors | |||||||||
Attached Files |
|
![]() |
||||||
|
![]() |
|
hoijui (reporter) 2012-02-05 19:58 |
https://github.com/spring/spring/blob/19f7937c9392263a3fa277e032fc81e54f7ce027/rts/Game/Camera.cpp#L250 tip: reports like this will get unusable quite fast as soon as there is change in files, if not way to find the corresponding git revision is given |
abma (administrator) 2012-11-11 23:06 |
new valgrind run needed... (imo this one is to old, maybe its already fixed) |
![]() |
|||
Date Modified | Username | Field | Change |
---|---|---|---|
2012-02-03 20:43 | abma | New Issue | |
2012-02-03 20:43 | abma | Relationship added | child of 0002940 |
2012-02-05 19:58 | hoijui | Note Added: 0008266 | |
2012-11-11 23:06 | abma | Note Added: 0009348 | |
2012-11-11 23:06 | abma | Status | new => resolved |
2012-11-11 23:06 | abma | Resolution | open => unable to reproduce |
2012-11-11 23:06 | abma | Assigned To | => abma |