Project

General

Profile

Bug #561

Conditional jump or move depends on uninitialised value(s)

Added by yagisan about 16 years ago. Updated about 12 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
-
Start date:
2008-11-05
% Done:

100%


Description

SVN 6033 is causing valgrind to halt when starting jhexen. It halts at this point.

2562 Conditional jump or move depends on uninitialised value(s)
2562 at 0x4C1BB6: R_CheckViewerLimits (r_main.c:384)
2562 by 0x4C1FEE: R_NewSharpWorld (r_main.c:489)
2562 by 0x4532BA: DD_Ticker (dd_loop.c:356)
2562 by 0x453495: DD_RunTics (dd_loop.c:461)
2562 by 0x452F76: DD_GameLoop (dd_loop.c:170)
2562 by 0x453D6D: DD_Main (dd_main.c:438)
2562 by 0x51A443: main (dd_uinit.c:419)
2562
2562 ---- Attach to debugger ? --- [Return/N/n/Y/y/C/c] ---- y
2562 starting debugger with cmd: /usr/bin/gdb nw /proc/3166/fd/1014 3166
GNU gdb 6.8-debian
Copyright (C) 2008 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law. Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu"...
Attaching to program: /proc/3166/fd/1014, process 3166
0x00000000004c1bb6 in R_CheckViewerLimits (src=0x7ebda8, dst=0x7feffedf0) at /home/yagisan/opensource/deng/trunk/doomsday/engine/portable/src/r_main.c:384
384 if(fabs(dst
>pos[VX] - src->pos[VX]) > MAXMOVE ||
(gdb) bt full
#0 0x00000000004c1bb6 in R_CheckViewerLimits (src=0x7ebda8, dst=0x7feffedf0)
at /home/yagisan/opensource/deng/trunk/doomsday/engine/portable/src/r_main.c:384
No locals.
#1 0x00000000004c1fef in R_NewSharpWorld () at /home/yagisan/opensource/deng/trunk/doomsday/engine/portable/src/r_main.c:489
sharpView = {pos = {2.56529973e-21, 1.22857141, 1.97687154e-29}, angle = 1, pitch = 2.56529973e-21}
vd = (viewdata_t *) 0x7ebda0
plr = (player_t *) 0x87f4e0
i = 0
#2 0x00000000004532bb in DD_Ticker (time=0.028571428571428571) at /home/yagisan/opensource/deng/trunk/doomsday/engine/portable/src/dd_loop.c:356
realFrameTimePos = 0
#3 0x0000000000453496 in DD_RunTics () at /home/yagisan/opensource/deng/trunk/doomsday/engine/portable/src/dd_loop.c:461
frameTime = 0.032428571428571376
ticLength = 0.028571428571428571
nowTime = 56.018999999999998
#4 0x0000000000452f77 in DD_GameLoop () at /home/yagisan/opensource/deng/trunk/doomsday/engine/portable/src/dd_loop.c:170
exitCode = 0
#5 0x0000000000453d6e in DD_Main () at /home/yagisan/opensource/deng/trunk/doomsday/engine/portable/src/dd_main.c:438
winWidth = 640
winHeight = 480
winBPP = 32
winX = 0
winY = 0
winFlags = 5
noCenter = false
exitCode = -16777360
#6 0x000000000051a444 in main (argc=12, argv=0x7ff000158) at /home/yagisan/opensource/deng/trunk/doomsday/engine/unix/src/dd_uinit.c:419
cmdLine = 0x0
i = 12
length = 147
exitCode = 0
doShutdown = false
buf = "Doomsday 1.9.0-svn-trunk-devel : jhexen 1.3.0\000\000\000�\000\000�\a\000\000\000\000�\001\004\000\000\000\000��A\000\000\000\000\000�\223\034\000\000\000\000\000�7\f\005\000\000\000\000\020\032\002\004\000\000\000\000`� \004\000\000\000\000����", '\0' <repeats 12 times>, "�0 \000\000\000\000\000\001\000\000\000\000\000\000\000\016\000\000\000\000\000\000\000�\001\000�\a\000\000\000X\001\000�\a\000\000\000\000\220\200\b\000\000\000\000��\000\004\000\000\000\000\001\000\000\000\000\000\000\000@�Q", '\0' <repeats 13 times>, "#�B\000\000"...
libName = 0xbebb6e8 "jhexen"
(gdb)

Labels: Startup

Also available in: Atom PDF