[~/ptmud/src]# gdb project core1
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-37.el5_7.1)
Copyright (C) 2009 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 "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...;
Reading symbols from /home/m243bra/ptmud/src/project…done.
warning: core file may not match specified executable file.
[New Thread 12110]
Reading symbols from /lib/ld-linux.so.2…(no debugging symbols found)…done.
Loaded symbols for /lib/ld-linux.so.2
Core was generated by `grep update_stocks'.
Program terminated with signal 3, Quit.
#0 0x0070c402 in __kernel_vsyscall ()
(gdb) list
340 * Memory debugging if needed.
341 */
342 #if defined(MALLOC_DEBUG)
343 malloc_debug( 2 );
344 #endif
345
346 /*
347 * Init time.
348 */
349 gettimeofday( &now_time, NULL );
(gdb) bt
#0 0x0070c402 in __kernel_vsyscall ()
#1 0x0020ffe3 in ?? ()
#2 0x00000001 in ?? ()
#3 0x08049edb in do_rp_ok (ch=0xa, argument=0x1000 "\204v\001") at act_comm.c:2753
#4 0x0804ad24 in do_group (ch=0xa, argument=0xd <Address 0xd out of bounds>) at act_comm.c:2575
#5 0x0804c368 in do_quit (ch=0x0, argument=0x8057800 "") at act_comm.c:2208
#6 0x00162e9c in ?? ()
#7 0x00149ca0 in ?? ()
#8 0x08057800 in do_nominate (ch=0x804b550, argument=0x149ca0 "") at act_info.c:3855
#9 0x080497f1 in _start ()
(gdb)
const struct flag_type type_flags[] =
{
{ "light", ITEM_LIGHT, TRUE },
{ "scroll", ITEM_SCROLL, TRUE },
{ "weapon", ITEM_WEAPON, TRUE },
{ "treasure", ITEM_TREASURE, TRUE },
{ "armor", ITEM_ARMOR, TRUE },
{ "potion", ITEM_POTION, TRUE },
{ "clothing", ITEM_CLOTHING, TRUE },
{ "furniture", ITEM_FURNITURE, TRUE },
{ "trash", ITEM_TRASH, TRUE },
{ "container", ITEM_CONTAINER, TRUE },
{ "drinkcontainer", ITEM_DRINK_CON, TRUE },
{ "key", ITEM_KEY, TRUE },
{ "food", ITEM_FOOD, TRUE },
{ "money", ITEM_MONEY, FALSE },
{ "boat", ITEM_BOAT, TRUE },
{ "npccorpse", ITEM_CORPSE_NPC, TRUE },
{ "pc corpse", ITEM_CORPSE_PC, FALSE },
{ "fountain", ITEM_FOUNTAIN, FALSE },
{ "pill", ITEM_PILL, TRUE },
{ "map", ITEM_MAP, TRUE },
{ "portal", ITEM_PORTAL, TRUE },
{ "phone", ITEM_TELEPHONE, TRUE },
{ "ammo", ITEM_AMMO, TRUE },
{ "bomb", ITEM_BOMB, FALSE },
{ "liquid", ITEM_LIQUID, TRUE },
{ NULL, 0, 0 }
};
m243bra@brandonsplace.net [~/ptmud/area]# gdb ../src/project
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-37.el5_7.1)
Copyright (C) 2009 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 "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...;
Reading symbols from /home/m243bra/ptmud/src/project…done.
(gdb) set args 9080
(gdb) run
Starting program: /home/m243bra/ptmud/src/project 9080
Detaching after fork from child process 22304.
Detaching after fork from child process 22305.
Detaching after fork from child process 22306.
Detaching after fork from child process 22308.
Detaching after fork from child process 22309.
Detaching after fork from child process 22310.
Detaching after fork from child process 22311.
Detaching after fork from child process 22312.
Detaching after fork from child process 22313.
Detaching after fork from child process 22314.
Detaching after fork from child process 22318.
Detaching after fork from child process 22319.
Detaching after fork from child process 22320.
Detaching after fork from child process 22321.
Detaching after fork from child process 22322.
Detaching after fork from child process 22323.
Detaching after fork from child process 22324.
Detaching after fork from child process 22326.
Detaching after fork from child process 22327.
Detaching after fork from child process 22328.
Detaching after fork from child process 22329.
Detaching after fork from child process 22330.
Detaching after fork from child process 22331.
Detaching after fork from child process 22332.
Detaching after fork from child process 22333.
Detaching after fork from child process 22334.
Detaching after fork from child process 22335.
Detaching after fork from child process 22336.
Detaching after fork from child process 22337.
Detaching after fork from child process 22338.
Detaching after fork from child process 22339.
Detaching after fork from child process 22340.
Detaching after fork from child process 22341.
Detaching after fork from child process 22342.
Detaching after fork from child process 22343.
Detaching after fork from child process 22344.
Detaching after fork from child process 22345.
../data/survey/survey.srv: No such file or directory
../data/survey/poll.srv: No such file or directory
copyover_recover:fopen: No such file or directory
Program exited with code 01.
(gdb)
And the type_flags looks like:
What am I botching now?