This slightly deals with some old issues I had with calloc
I don't know why it crashed. Corrupt data maybe. But the last clean compile I did was less than 12 hours before the crash.
#0 0x42074d91 in calloc () from /lib/i686/libc.so.6
(gdb) bt
#0 0x42074d91 in calloc () from /lib/i686/libc.so.6
#1 0x42075bcc in free () from /lib/i686/libc.so.6
#2 0x080d2ad2 in str_free (str=0x4213920c " \221\023B") at hashstr.c:128
#3 0x080d135f in clean_obj_queue () at handler.c:3568
#4 0x081301aa in update_handler () at update.c:2153
#5 0x080a9fee in game_loop () at comm.c:690
#6 0x080a98e5 in main (argc=8, argv=0xbfffe6e0) at comm.c:304
#7 0x42015967 in __libc_start_main () from /lib/i686/libc.so.6
(gdb) print *obj
$4 = {
next = 0x839c458,
prev = 0x83cd1a8,
next_content = 0x0,
prev_content = 0x83cd1a8,
first_content = 0x0,
last_content = 0x0,
in_obj = 0x0,
carried_by = 0x0,
first_extradesc = 0x0,
last_extradesc = 0x0,
first_affect = 0x0,
last_affect = 0x0,
pIndexData = 0x8332540,
in_room = 0x0,
name = 0x0,
short_descr = 0x83a37f8 "the long tongue of a large demon",
description = 0x83acc80 "Twisting as if to taste you, the writhing tongue of a large demon lies here.",
action_desc = 0x832fe58 "%s savagely devour$q $p!",
item_type = 61,
mpscriptpos = 0,
extra_flags = {
bits = {0, 0, 0, 0}
},
magic_flags = 0,
wear_flags = 1,
mpact = 0x0,
mpactnum = 0,
wear_loc = -1,
weight = 2,
cost = 0,
level = 0,
timer = 0,
value = {14, 0, 0, 0, 0, 0},
count = 1,
serial = 9002,
room_vnum = 1007,
ashards = 0
}
I don't know why it crashed. Corrupt data maybe. But the last clean compile I did was less than 12 hours before the crash.