Memoriesssssssss (ok, just Memory)

From: blah (merren@MINDCRYME.COM)
Date: 05/05/98


Ok, takey look here:

#0  0xadde9 in kill ()
#1  0xad347 in abort ()
#2  0x3424 in write_to_output (
    txt=0xefbf96a8 "\\c14[\\c11Name\\c14]: \\c13Jasmine
\\c14[\\c11Age\\c14]: \\c1367 years old \\c14[\\c11Level\\c14]:
\\c134\\c00\r\n\\c14[\\c11Race\\c14]: \\c13Elohim \\c14[\\c11Class\\c14]:
\\c13Healer \\c14[\\c11Second Class\\c14]: \\c13None "..., t=0x868800) at
comm.c:1006

annnnnnnnnnd

(gdb) up
#1  0xad347 in abort ()
(gdb) up
#2  0x3424 in write_to_output (
    txt=0xefbf96a8 "\\c14[\\c11Name\\c14]: \\c13Jasmine
\\c14[\\c11Age\\c14]: \\c1367 years old \\c14[\\c11Level\\c14]:
\\c134\\c00\r\n\\c14[\\c11Race\\c14]: \\c13Elohim \\c14[\\c11Class\\c14]:
\\c13Healer \\c14[\\c11Second Class\\c14]: \\c13None "..., t=0x868800) at
comm.c:1006
1006        CREATE(t->large_outbuf->text, char, LARGE_BUFSIZE);

now (from utils.h):

#define CREATE(result, type, number)  do {\
        if (!((result) = (type *) calloc ((number), sizeof(type))))\
                { perror("malloc failure"); abort(); } } while(0)

So if I'm understanding correctly, it tried to allocate some memory,
couldn't, and crashed (first, is this assumption correct???).

I'm REALLY bad with memory stuff... Any suggestions as to what I can do?

Melen
Allanthya.org 4000


     +------------------------------------------------------------+
     | 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