URL:
<http://gna.org/bugs/?11621>
Summary: SEGFAULT in malloc.c in mission gamma 4
Project: Warzone Resurrection Project
Submitted by: jandd
Submitted on: Freitag 02.05.2008 um 22:39
Category: Campaign
Severity: 5 - Blocker
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: svn/trunk
Operating System: GNU/Linux
Planned Release: None
_______________________________________________________
Details:
system: Debian GNU/Linux Lenny, AMD64
graphics hardware: nVidia Quadro FX570m
graphics driver: nVidia binary 169.12
how to reproduce: load the attached savegame, start the transport -> crash
gdb session:
$ LD_LIBRARY_PATH=/usr/lib/debug:$LD_LIBRARY_PATH LC_ALL=C LANG=C gdb
~/games/bin/warzone2100
GNU gdb 6.7.1-debian
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 "x86_64-linux-gnu"...
Using host libthread_db library "/usr/lib/debug/libthread_db.so.1".
(gdb) run
Starting program: /home/jan/games/bin/warzone2100
[Thread debugging using libthread_db enabled]
[New Thread 0x2ad4090a6ca0 (LWP 18610)]
[New Thread 0x40804950 (LWP 18616)]
[New Thread 0x410aa950 (LWP 18617)]
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x2ad4090a6ca0 (LWP 18610)]
_int_malloc (av=0x2ad405b989a0, bytes=254704) at malloc.c:4424
4424 malloc.c: No such file or directory.
in malloc.c
(gdb) bt full
#0 _int_malloc (av=0x2ad405b989a0, bytes=254704) at malloc.c:4424
p = (void *) 0x5ad43c0
iters = <value optimized out>
nb = 254720
idx = 29
bin = <value optimized out>
victim = (mchunkptr) 0x5ad43c0
size = 18374969062733185280
victim_index = <value optimized out>
remainder = <value optimized out>
remainder_size = 18374969062732930560
block = 3
bit = 536870912
map = <value optimized out>
fwd = (mchunkptr) 0xff010101ff010101
bck = (mchunkptr) 0xff010101ff010101
#1 0x00002ad4058c7920 in *__GI___libc_malloc (bytes=254704) at
malloc.c:3553
ar_ptr = (mstate) 0x2ad405b989a0
victim = (void *) 0x0
hook = <value optimized out>
#2 0x00002ad4080a4de4 in ?? () from /usr/lib/libGLcore.so.1
No symbol table info available.
#3 0x00002ad408099398 in ?? () from /usr/lib/libGLcore.so.1
No symbol table info available.
#4 0x00002ad4080a4776 in ?? () from /usr/lib/libGLcore.so.1
No symbol table info available.
#5 0x000000004089dca2 in ?? ()
No symbol table info available.
#6 0x0000000000003300 in ?? ()
No symbol table info available.
#7 0x0000000000000004 in ?? ()
No symbol table info available.
#8 0x0000000000002940 in ?? ()
No symbol table info available.
#9 0x00000000000003c0 in ?? ()
No symbol table info available.
#10 0x0000000040805000 in ?? ()
No symbol table info available.
#11 0x0000000000000004 in ?? ()
No symbol table info available.
#12 0x0000000000002940 in ?? ()
No symbol table info available.
#13 0x0000000000000038 in ?? ()
No symbol table info available.
#14 0x0000000000005a00 in ?? ()
No symbol table info available.
#15 0x00002ad4081cc204 in ?? () from /usr/lib/libGLcore.so.1
No symbol table info available.
#16 0x000000004089dc5f in ?? ()
---Type <return> to continue, or q <return> to quit---
No symbol table info available.
#17 0x00000000014b0cc0 in ?? ()
No symbol table info available.
#18 0x00007fffa70fa0e0 in ?? ()
No symbol table info available.
#19 0x0000000000000004 in ?? ()
No symbol table info available.
#20 0x0000000000000000 in ?? ()
No symbol table info available.
(gdb) p map
$1 = <value optimized out>
(gdb) p fwd
$2 = (mchunkptr) 0xff010101ff010101
(gdb) p *ar_ptr
No symbol "ar_ptr" in current context.
(gdb) p *p
Attempt to dereference a generic pointer.
(gdb) p *victim
$3 = {prev_size = 18374969062733185281, size = 18374969062733185281, fd =
0xff010101ff010101, bk = 0xff010101ff010101, fd_nextsize =
0xff010101ff010101,
bk_nextsize = 0xff010101ff010101}
(gdb) p *fwd
Cannot access memory at address 0xff010101ff010101
(gdb) p *bck
Cannot access memory at address 0xff010101ff010101
(gdb) quit
The program is running. Exit anyway? (y or n) y
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Freitag 02.05.2008 um 22:39 Name: 20080502-07.zip Size: 242kB By:
jandd
<http://gna.org/bugs/download.php?file_id=4290>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?11621>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev