I recently had a crash that I can't seem to recreate, but I'd like to prevent another from happening. The crashed happened here: Here is my gdb:
I assume it got messed up in write_to_pager... Anyone had something with this? I'm using MXP, so I thought maybe someone might have some idea.
void set_pager_color( sh_int AType, CHAR_DATA *ch )
{
if ( !ch || !ch->desc )
return;
write_to_pager( ch->desc, color_str( AType, ch ), 0 );
ch->desc->pagecolor = ch->colors[AType];
}#5 0x081bfcce in set_char_color (AType=2088, ch=0x9) at color.c:985
985 ch->desc->pagecolor = ch->colors[AType];
(gdb) print ch
$9 = (CHAR_DATA *) 0x9
(gdb) print ch->desc
Cannot access memory at address 0x7dI assume it got messed up in write_to_pager... Anyone had something with this? I'm using MXP, so I thought maybe someone might have some idea.