[Freeciv-Dev] (PR#10798) Freeciv2 Beta2 - probably corrupted savegames
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://rt.freeciv.org/Ticket/Display.html?id=10798 >
The hash code tries to allocate 25MB, and that triggers an assertion
> load ../../civgame+1670.sav.gz
0: Detected fatal error in mem.c line 63:
0: Overly large request in malloc with size 25165904 > 20971520 at line
298 of hash.c
civserver: shared.c:663: real_die: Assertion `0' failed.
Program received signal SIGABRT, Aborted.
0xffffe410 in ?? ()
(gdb) back
#0 0xffffe410 in ?? ()
#1 0xbfffe150 in ?? ()
#2 0x00000006 in ?? ()
#3 0x00002dbd in ?? ()
#4 0x400f7640 in raise () from /lib/tls/libc.so.6
#5 0x400f9149 in abort () from /lib/tls/libc.so.6
#6 0x400f0d43 in __assert_fail () from /lib/tls/libc.so.6
#7 0x0804c2c0 in real_die (file=0x813e5b7 "mem.c", line=63,
format=0x813e600 "Overly large request in %s with size %lu > %lu at
line %d of %s") at shared.c:663
#8 0x0804b496 in sanity_check_size (size=25165904,
called_as=0x816167f "malloc", line=298, file=0x8161654 "hash.c")
at mem.c:61
#9 0x0804b4b2 in fc_real_malloc (size=25165904, called_as=0x816167f
"malloc",
line=298, file=0x8161654 "hash.c") at mem.c:77
#10 0x080b1bd7 in hash_new_nbuckets (fval=0x80b1a0d <hash_fval_string>,
fcmp=0x80b1a62 <hash_fcmp_string>, nbuckets=1572869) at hash.c:297
#11 0x080b1c39 in hash_new_nentries (fval=0x80b1a0d <hash_fval_string>,
fcmp=0x80b1a62 <hash_fcmp_string>, nentries=393525) at hash.c:312
- [Freeciv-Dev] (PR#10798) Freeciv2 Beta2 - probably corrupted savegames,
Mateusz Stefek <=
|
|