Ya, I changed it around we have an unlimited buffer system. So I just used
that instead of large strings like that. Hehehehe I just didn't want to have
to rewrite it cause I've been rewriting everything to get my combat system
in and done how I wanted it to work :P Was one more frustrating thing to
throw on the pile :)


----- Original Message ----- 
From: "Chris "Winston" Litchfield" <[EMAIL PROTECTED]>
To: "Dale Kingston" <[EMAIL PROTECTED]>; <[email protected]>
Sent: Sunday, August 17, 2003 1:50 PM
Subject: Re: Odd crash


> too many variables of large size maybe.
>
> I crash with one variable of 4 meg size.
>
>
> ----- Original Message ----- 
> From: "Dale Kingston" <[EMAIL PROTECTED]>
> To: <[email protected]>
> Sent: Thursday, August 14, 2003 9:37 PM
> Subject: Odd crash
>
>
> > I'm crashing everytime I type slist all, it's the only command that
> > crashs..... And GDB isn't making much sence to me. Maybe it makes sence
to
> > one of you guys so here it is tell me if you see anything:
> >
> > (gdb) break do_slist
> > Breakpoint 1 at 0x809a72e: file act_wiz.cc, line 12006.
> > (gdb) continue
> > Continuing.
> >
> > Breakpoint 1, do_slist (ch=0x40ef6d2c, argument=0x40ecfe7b "all")
> >     at act_wiz.cc:12006
> > 12006       bool spfound = FALSE, skfound = FALSE;
> > (gdb) n
> >
> > Program received signal SIGSEGV, Segmentation fault.
> > do_slist (ch=0x40ef6d2c, argument=0x40ecfe7b "all") at act_wiz.cc:12006
> > 12006       bool spfound = FALSE, skfound = FALSE;
> > (gdb) list
> > 12001       char sk_list[MAX_LEVEL+1][MAX_STRING_LENGTH*2];
> > 12002       char sp_list[MAX_LEVEL+1][MAX_STRING_LENGTH*2];
> > 12003       char skill_columns[MAX_LEVEL+1];
> > 12004       char spell_columns[MAX_LEVEL+1];
> > 12005       int sn,lev,Class;
> > 12006       bool spfound = FALSE, skfound = FALSE;
> > 12007       char output[4*MAX_STRING_LENGTH];
> > 12008       char buf[MAX_STRING_LENGTH];
> > 12009       char arg[MAX_INPUT_LENGTH];
> > 12010       int search = 3; // all
> > (gdb) quit
> >
> > That make any sence to anyone else? Thats the top of the function where
> it's
> > setting up the varaibles (if you were guessing)
> >
> >
> > -- 
> > ROM mailing list
> > [email protected]
> > http://www.rom.org/cgi-bin/mailman/listinfo/rom
> >
> >
>
>
>


Reply via email to