Okay, If anyone would like to help, here is a more complete listing
of my debug information:
This is circle30bpl12 with the socials editor , and from olc 1.3 to
the 1.6 patch.
Problem is any olc command now crashes the mud...If anyone
could help I would greatly appreciate it.
Program received signal SIGSEGV, Segmentation fault.
do_olc (ch=0x81acc10, argument=0xbffff7f1 " save 25", cmd=168,
subcmd=1) at olc.c:181
---------------------------------------------------------------------
* Check that whatever it is isn't already being edited.
*/
for (d = descriptor_list; d; d = d->next)
if (d->connected == olc_scmd_info[subcmd].con_type)
if ((number != NOTHING) && d->olc && OLC_NUM(d) == number)
{
if (subcmd == SCMD_OLC_AEDIT)
sprintf(buf, "Actions are already being editted by %s.\r\n",
(CAN_SEE(ch, d->character) ? GET_NAME(d->character)
: "someone
"));
return;
}
if (d->olc && OLC_NUM(d) == number) {
sprintf(buf, "That %s is currently being edited by %s.\r\n",
olc_scmd_info[subcmd].text, GET_NAME(d->character));
send_to_char(buf, ch);
return;
}
d = ch->desc;
/*
* Give descriptor an OLC struct.
*/
---------------------------------------------------------------------
(gdb) print d
$1 = (struct descriptor_data *) 0x0
(gdb) print descriptor_list
$2 = (struct descriptor_data *) 0x81a4fd8
(gdb) print next
$3 = {<text variable, no debug info>} 0x400303d0 <next>
(gdb) print d->connected
Cannot access memory at address 0x28.
(gdb) print olc_scmd_info[subcmd].con_type
$9 = 17
(gdb) print descriptor_list
$11 = (struct descriptor_data *) 0x81a4fd8
(gdb) print d->next
Cannot access memory at address 0x784.
+------------------------------------------------------------+
| Ensure that you have read the CircleMUD Mailing List FAQ: |
| http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
+------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/15/00 PST