URL:
<http://gna.org/bugs/?12527>
Summary: warzone2100: map.h:259: mapTile: Assertion `y <
mapHeight' failed.
Project: Warzone Resurrection Project
Submitted by: None
Submitted on: Wednesday 29/10/08 at 13:52 CET
Category: None
Severity: Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email: [EMAIL PROTECTED]
Open/Closed: Open
Discussion Lock: Any
Release: svn/trunk
Operating System: GNU/Linux
Planned Release: None
_______________________________________________________
Details:
Program: /home/shevek/thirdparty/warzone/src/warzone2100(warzone2100)
Command line: "./src/warzone2100"
Version: Version TRUNK r6210 - Built Oct 24 2008 - DEBUG
Distributor: UNKNOWN
Compiled on: Oct 16 2008 01:25:10
Compiled by: GCC 4.1.2 (Gentoo 4.1.2 p1.0.2)
Executed on: Sat Oct 25 16:14:05 2008
Operating system: Linux
Node name: blue
Release: 2.6.25-gentoo-r5
Version: #5 PREEMPT Mon Jul 7 22:49:20 BST 2008
Machine: i686
Pointers: 32bit
Compiled against PhysicsFS version: 1.0.1
Running with PhysicsFS version: 1.0.1
Dump caused by signal: SIGABRT: Process abort signal
Log message: warning |000000000000: [iV_initializeGLC] iV_initializeGLC:
Failed to select the "Bold" font face of font family DejaVu Sans Mono
Log message: error |000005032361: [mapTile] y coordinate 128 bigger than
map height 128
Log message: error |000005032361: [mapTile] Assert in Warzone: map.h:259 (y
< mapHeight), last script event: '27 (CALL_STRUCT_ATTACKED)'
GLIBC raw backtrace:
./src/warzone2100[0x8261b5a]
[0xffffe40c]
/lib/libc.so.6(abort+0x108)[0xb77da8e8]
/lib/libc.so.6(__assert_fail+0xf5)[0xb77d27a5]
./src/warzone2100[0x80f7ccc]
./src/warzone2100(fpathBlockingTile+0x86)[0x80f7ace]
./src/warzone2100[0x815a49c]
./src/warzone2100[0x815ab95]
./src/warzone2100(moveUpdateDroid+0x653)[0x815e37f]
./src/warzone2100(droidUpdate+0x130)[0x80e16d5]
./src/warzone2100(gameLoop+0x2c5)[0x8141e4d]
./src/warzone2100[0x8144177]
./src/warzone2100[0x8144547]
./src/warzone2100(main+0x483)[0x81449dd]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb77c5fdc]
./src/warzone2100(ftell+0x31)[0x80a7471]
GDB extended backtrace:
GNU gdb 6.7.1
Copyright (C) 2007 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 "i686-pc-linux-gnu"...
Using host libthread_db library "/lib/libthread_db.so.1".
Attaching to program: /home/shevek/thirdparty/warzone/src/warzone2100,
process 17967
Reading symbols from /usr/lib/libSDL-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL-1.2.so.0
Reading symbols from /lib/libpthread.so.0...done.
[Thread debugging using libthread_db enabled]
[New Thread 0xb73416f0 (LWP 17967)]
[New Thread 0xb0e71b90 (LWP 17973)]
[New Thread 0xb1672b90 (LWP 17972)]
[New Thread 0xb7288b90 (LWP 17971)]
Loaded symbols for /lib/libpthread.so.0
Reading symbols from /usr/lib/libSDL_net-1.2.so.0...done.
Loaded symbols for /usr/lib/libSDL_net-1.2.so.0
Reading symbols from /usr/lib/libphysfs-1.0.so.1...done.
Loaded symbols for /usr/lib/libphysfs-1.0.so.1
Reading symbols from /usr/lib/libpng12.so.0...done.
Loaded symbols for /usr/lib/libpng12.so.0
Reading symbols from /usr/lib/libvorbisfile.so.3...done.
Loaded symbols for /usr/lib/libvorbisfile.so.3
Reading symbols from /usr/lib/libvorbis.so.0...done.
Loaded symbols for /usr/lib/libvorbis.so.0
Reading symbols from /usr/lib/libogg.so.0...done.
Loaded symbols for /usr/lib/libogg.so.0
Reading symbols from /usr/lib/libtheora.so.0...done.
Loaded symbols for /usr/lib/libtheora.so.0
Reading symbols from /usr/local/lib/libopenal.so.1...done.
Loaded symbols for /usr/local/lib/libopenal.so.1
Reading symbols from /usr/local/lib/libGLC.so.0...done.
Loaded symbols for /usr/local/lib/libGLC.so.0
Reading symbols from /usr/lib/opengl/xorg-x11/lib/libGL.so.1...done.
Loaded symbols for //usr//lib/opengl/xorg-x11/lib/libGL.so.1
Reading symbols from /usr/lib/libGLU.so.1...done.
Loaded symbols for /usr/lib/libGLU.so.1
Reading symbols from /usr/lib/libpopt.so.0...done.
Loaded symbols for /usr/lib/libpopt.so.0
Reading symbols from
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6...done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from
/usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1...done.
Loaded symbols for /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libX11.so.6...done.
Loaded symbols for /usr/lib/libX11.so.6
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /usr/lib/libXext.so.6...done.
Loaded symbols for /usr/lib/libXext.so.6
Reading symbols from /usr/lib/libXrandr.so.2...done.
Loaded symbols for /usr/lib/libXrandr.so.2
Reading symbols from /usr/lib/libXrender.so.1...done.
Loaded symbols for /usr/lib/libXrender.so.1
Reading symbols from /usr/lib/libdirectfb-0.9.so.25...done.
Loaded symbols for /usr/lib/libdirectfb-0.9.so.25
Reading symbols from /usr/lib/libfusion-0.9.so.25...done.
Loaded symbols for /usr/lib/libfusion-0.9.so.25
Reading symbols from /usr/lib/libdirect-0.9.so.25...done.
Loaded symbols for /usr/lib/libdirect-0.9.so.25
Reading symbols from /lib/libz.so.1...done.
Loaded symbols for /lib/libz.so.1
Reading symbols from /usr/lib/libaa.so.1...done.
Loaded symbols for /usr/lib/libaa.so.1
Reading symbols from /usr/lib/libcaca.so.0...done.
Loaded symbols for /usr/lib/libcaca.so.0
Reading symbols from /usr/lib/libcucul.so.0...done.
Loaded symbols for /usr/lib/libcucul.so.0
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libfontconfig.so.1...done.
Loaded symbols for /usr/lib/libfontconfig.so.1
Reading symbols from /usr/lib/libfreetype.so.6...done.
Loaded symbols for /usr/lib/libfreetype.so.6
Reading symbols from /usr/lib/libfribidi.so.0...done.
Loaded symbols for /usr/lib/libfribidi.so.0
Reading symbols from /usr/lib/libXxf86vm.so.1...done.
Loaded symbols for /usr/lib/libXxf86vm.so.1
Reading symbols from /usr/lib/libXdamage.so.1...done.
Loaded symbols for /usr/lib/libXdamage.so.1
Reading symbols from /usr/lib/libXfixes.so.3...done.
Loaded symbols for /usr/lib/libXfixes.so.3
Reading symbols from /usr/lib/libdrm.so.2...done.
Loaded symbols for /usr/lib/libdrm.so.2
Reading symbols from /usr/lib/libXau.so.6...done.
Loaded symbols for /usr/lib/libXau.so.6
Reading symbols from /usr/lib/libXdmcp.so.6...done.
Loaded symbols for /usr/lib/libXdmcp.so.6
Reading symbols from /lib/libncurses.so.5...done.
Loaded symbols for /lib/libncurses.so.5
Reading symbols from /usr/lib/libxml2.so.2...done.
Loaded symbols for /usr/lib/libxml2.so.2
Reading symbols from /usr/lib/libXcursor.so.1...done.
Loaded symbols for /usr/lib/libXcursor.so.1
Reading symbols from /usr/lib/gconv/ISO8859-1.so...done.
Loaded symbols for /usr/lib/gconv/ISO8859-1.so
Reading symbols from /usr/lib/dri/r300_dri.so...done.
Loaded symbols for /usr/lib/dri/r300_dri.so
Reading symbols from /usr/lib/libexpat.so.1...done.
Loaded symbols for /usr/lib/libexpat.so.1
Reading symbols from /usr/lib/libasound.so.2...done.
Loaded symbols for /usr/lib/libasound.so.2
0xffffe424 in __kernel_vsyscall ()
(gdb) #0 0xffffe424 in __kernel_vsyscall ()
No symbol table info available.
#1 0xb7eddfab in waitpid () from /lib/libpthread.so.0
No symbol table info available.
#2 0x08261a32 in gdbExtendedBacktrace (dumpFile=10) at
exceptionhandler.c:542
gdbPipe = 12
pid = 18663
status = 1
wpid = -1209149911
gdbCommands = "backtrace full\nframe 4\ndisassemble\ninfo
registers\nquit\n"
__PRETTY_FUNCTION__ = "gdbExtendedBacktrace"
#3 0x08261c96 in posixExceptionHandler (signum=6, siginfo=0xbf98f81c,
sigcontext=0xbf98f89c) at exceptionhandler.c:641
btBuffer = {0x8261b5a, 0xffffe40c, 0xb77da8e8, 0xb77d27a5, 0x80f7ccc,
0x80f7ace, 0x815a49c, 0x815ab95, 0x815e37f, 0x80e16d5, 0x8141e4d,
0x8144177, 0x8144547, 0x81449dd, 0xb77c5fdc, 0x80a7471, 0x0, 0x0, 0x0,
0x0}
btSize = 16
dumpFile = 10
signal = 0x8332096 "SIGABRT: Process abort signal"
allreadyRunning = 1
#4 <signal handler called>
No symbol table info available.
#5 0xffffe424 in __kernel_vsyscall ()
No symbol table info available.
#6 0xb77d9101 in *__GI_raise (sig=6)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
resultvar = <value optimized out>
pid = -1215447052
selftid = 0
#7 0xb77da8e8 in *__GI_abort () at abort.c:88
act = {__sigaction_handler = {sa_handler = 0xbf98fbec,
sa_sigaction = 0xbf98fbec}, sa_mask = {__val = {3078723480, 2930769936,
2889434064, 68, 2888826880, 112, 2889434064, 3079422498, 3079520244,
67, 68, 3214474424, 3078678843, 2889434064, 68, 3214474492, 2889434064,
0, 67, 4222451712, 2889434064, 2889434064, 2889434064, 2889434064,
2889434131, 2889434164, 2889434064, 2889434164, 0, 0, 0, 0}},
sa_flags = 0, sa_restorer = 0x73256020}
sigs = {__val = {32, 0 <repeats 31 times>}}
#8 0xb77d27a5 in *__GI___assert_fail (assertion=0x82d3476 "y < mapHeight",
file=0x82d3444 "map.h", line=259, function=0x82d33c0 "mapTile")
at assert.c:78
buf = 0xac3943d0 ""
errstr = "Unexpected error.\n"
#9 0x080f7ccc in mapTile (x=58, y=128) at map.h:259
__FUNCTION__ = "mapTile"
__PRETTY_FUNCTION__ = "mapTile"
#10 0x080f7ace in fpathBlockingTile (x=58, y=128,
propulsion=PROPULSION_TYPE_LIFT) at fpath.c:271
psTile = (MAPTILE *) 0xacef5b00
#11 0x0815a49c in moveGetObstacleVector (psDroid=0xac3c4c10, pX=0xbf98fea0,
pY=0xbf98fea4) at move.c:1580
i = 9
xdiff = 2
ydiff = 1
absx = -1080492600
absy = 135638494
dist = 1254873026
psObj = (BASE_OBJECT *) 0xac3acd40
numObst = 0
distTot = 0
dirX = 0
dirY = 0
omag = -1.19525051
ox = 4.50417982e-34
oy = 1200
ratio = -2289
avoidX = -nan(0x7ffeb5)
avoidY = 1.46715949e-42
mapX = 56
mapY = 127
tx = -1084048531
ty = 136203201
td = 1150681088
psPropStats = (PROPULSION_STATS *) 0xac9359d8
__FUNCTION__ = "moveGetObstacleVector"
__PRETTY_FUNCTION__ = "moveGetObstacleVector"
#12 0x0815ab95 in moveGetDirection (psDroid=0xac3c4c10) at move.c:1708
src = {x = 7184, y = 16305}
dest = {x = 0.464310557, y = -0.88567239}
target = {x = 8384, y = 14016}
delta = {x = 1200, y = -2289}
magnitude = 6679521
__FUNCTION__ = "moveGetDirection"
__PRETTY_FUNCTION__ = "moveGetDirection"
#13 0x0815e37f in moveUpdateDroid (psDroid=0xac3c4c10) at move.c:3135
tangle = -1.19529629
oldx = 0
oldy = 2889632784
iZ = 506
oldStatus = 4 '\004'
moveSpeed = 0
moveDir = 56.0374908
psPropStats = (PROPULSION_STATS *) 0xac9359d8
pos = {x = 1, y = -1399629352, z = 58658687}
bStarted = 0
bStopped = 0
target = {x = 2.80259693e-45, y = -1.19529343}
__FUNCTION__ = "moveUpdateDroid"
__PRETTY_FUNCTION__ = "moveUpdateDroid"
#14 0x080e16d5 in droidUpdate (psDroid=0xac3c4c10) at droid.c:864
dv = {x = 1900, y = 4, z = 0}
percentDamage = 70
emissionInterval = 1600
psBeingTargetted = (BASE_OBJECT *) 0x0
damageToDo = 8
__FUNCTION__ = "droidUpdate"
#15 0x08141e4d in gameLoop () at loop.c:295
psCurr = (DROID *) 0xac3c4c10
psNext = (DROID *) 0xad1e9778
psCBuilding = (STRUCTURE *) 0x0
psNBuilding = (STRUCTURE *) 0x0
psCFeat = (FEATURE *) 0xbf990058
psNFeat = (FEATURE *) 0xb7f48e40
i = 5
widgval = 32
quitting = 0
intRetVal = INT_NONE
clearMode = 4
__FUNCTION__ = "gameLoop"
__PRETTY_FUNCTION__ = "gameLoop"
#16 0x08144177 in runGameLoop () at main.c:647
__FUNCTION__ = "runGameLoop"
#17 0x08144547 in mainLoop () at main.c:829
event = {type = 4 '\004', active = {type = 4 '\004', gain = 0 '\0',
state = 0 '\0'}, key = {type = 4 '\004', which = 0 '\0', state = 0 '\0',
keysym = {scancode = 6 '\006', sym = 65535, mod = KMOD_NONE,
unicode = 0}}, motion = {type = 4 '\004', which = 0 '\0',
state = 0 '\0', x = 1286, y = 1047, xrel = -1, yrel = 0}, button = {
type = 4 '\004', which = 0 '\0', button = 0 '\0', state = 0 '\0',
x = 1286, y = 1047}, jaxis = {type = 4 '\004', which = 0 '\0',
axis = 0 '\0', value = 1286}, jball = {type = 4 '\004', which = 0 '\0',
ball = 0 '\0', xrel = 1286, yrel = 1047}, jhat = {type = 4 '\004',
which = 0 '\0', hat = 0 '\0', value = 0 '\0'}, jbutton = {
type = 4 '\004', which = 0 '\0', button = 0 '\0', state = 0 '\0'},
resize = {type = 4 '\004', w = 68617478, h = 65535}, expose = {
type = 4 '\004'}, quit = {type = 4 '\004'}, user = {type = 4 '\004',
code = 68617478, data1 = 0xffff, data2 = 0x0}, syswm = {type = 4 '\004',
msg = 0x4170506}}
#18 0x081449dd in main (argc=1, argv=0xbf990184) at main.c:986
__FUNCTION__ = "main"
__PRETTY_FUNCTION__ = "main"
(gdb) #4 <signal handler called>
(gdb) Dump of assembler code for function __kernel_rt_sigreturn:
0xffffe40c <__kernel_rt_sigreturn+0>: mov $0xad,%eax
0xffffe411 <__kernel_rt_sigreturn+5>: int $0x80
0xffffe413 <__kernel_rt_sigreturn+7>: nop
End of assembler dump.
(gdb) eax 0xfffffe00 -512
ecx 0xbf98f778 -1080494216
edx 0x0 0
ebx 0x462f 17967
esp 0xbf98f810 0xbf98f810
ebp 0xbf98fba8 0xbf98fba8
esi 0xbf98fc48 -1080492984
edi 0xb78dbff4 -1215447052
eip 0xffffe40c 0xffffe40c <__kernel_rt_sigreturn>
eflags 0x200297 [ CF PF AF SF IF ID ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) The program is running. Quit anyway (and detach it)? (y or n)
[answered Y; input not from terminal]
Detaching from program: /home/shevek/thirdparty/warzone/src/warzone2100,
process 17967
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?12527>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev