Ok, basicly...i hate any sort of memleak possibility and I need some help on 
this one...

Everytime someone logs on it adds 3 blocks memory...
even if they log off and log back on it adds another 3 blocks of memory, now i 
know 3 blocks aint bad and i could possible let this go, but I wanna know is 
this normal for ROM or what, can I fix it or what....the following next however 
many lines should help you MASTER CODERS!

#0  alloc_perm (sMem=32) at db.c:2939
#1  0x0806fef2 in alloc_mem (sMem=1076180460) at db.c:2849
#2  0x0807008d in str_dup (str=0x401166d6 "<%hhp %mm %vmv> ") at db.c:2960
#3  0x0806fba0 in fread_string (fp=0x0) at db.c:2648
#4  0x0809ce7a in fread_char (ch=0x40250be8, fp=0x80f6378) at save.c:1189
#5  0x0809bce0 in load_char_obj (d=0x80e1b40, name=0x40251355 "Sihon") at 
save.c:772
#6  0x080894f7 in nanny (d=0x40250f38, argument=0x40251355 "Sihon") at 
nanny.c:193
#7  0x08068c9d in game_loop_unix (control=5) at comm.c:829
#8  0x08068830 in main (argc=2, argv=0xbffff224) at comm.c:445
#9  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

#2  0x0807008d in str_dup (str=0x401166d6 "<%hhp %mm %vmv> ") at db.c:2960
2960        str_new = alloc_mem (strlen (str) + 1);

#3  0x0806fba0 in fread_string (fp=0x0) at db.c:2648
2648                            return str_dup (top_string + sizeof (char *));









#1  0x0806fef2 in alloc_mem (sMem=1076180492) at db.c:2849
#2  0x08099313 in new_buf () at recycle.c:509
#3  0x0804f17b in do_help (ch=0x40250be8, argument=0x402535d0 "motd") at 
act_info.c:1825
#4  0x0807ba8f in do_function (ch=0x40250be8, do_fun=0x804f160 <do_help>, 
argument=0x80a93bf "motd") at interp.c:683
#5  0x080897bd in nanny (d=0x40250f38, argument=0x40251355 "casper") at 
nanny.c:301
#6  0x08068c9d in game_loop_unix (control=5) at comm.c:829
#7  0x08068830 in main (argc=2, argv=0xbffff224) at comm.c:445
#8  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6

#2  0x08099313 in new_buf () at recycle.c:509
509         buffer->string = alloc_mem (buffer->size);

#3  0x0804f17b in do_help (ch=0x40250be8, argument=0x402535d0 "motd") at 
act_info.c:1825
1825        output = new_buf ();

#4  0x0807ba8f in do_function (ch=0x40250be8, do_fun=0x804f160 <do_help>, 
argument=0x80a93bf "motd") at interp.c:683
683         (*do_fun) (ch, command_string);

#5  0x080897bd in nanny (d=0x40250f38, argument=0x40251355 "casper") at 
nanny.c:301
301                     do_function (ch, &do_help, "motd");








#0  alloc_perm (sMem=16) at db.c:2939
#1  0x0806fef2 in alloc_mem (sMem=1076182540) at db.c:2849
#2  0x0806a5de in page_to_char (txt=0x40253e0c "", ch=0x40250be8) at comm.c:2086
#3  0x0804c3f3 in show_list_to_char (list=0x0, ch=0x40250be8, fShort=0 '\0', 
fShowNothing=0 '\0') at act_info.c:229
#4  0x0804da88 in do_look (ch=0x40250be8, argument=0x402535d4 "") at 
act_info.c:1126
#5  0x0807ba8f in do_function (ch=0x40250be8, do_fun=0x804d7b4 <do_look>, 
argument=0x80a8d46 "auto") at interp.c:683
#6  0x0808a83a in nanny (d=0x40250f38, argument=0x40251356 "") at nanny.c:777
#7  0x08068c9d in game_loop_unix (control=5) at comm.c:829
#8  0x08068830 in main (argc=2, argv=0xbffff224) at comm.c:445
#9  0x42017589 in __libc_start_main () from /lib/i686/libc.so.6


#2  0x0806a5de in page_to_char (txt=0x40253e0c "", ch=0x40250be8) at comm.c:2086
2086                ch->desc->showstr_head = alloc_mem (strlen (buf) + 1);


#3  0x0804c3f3 in show_list_to_char (list=0x0, ch=0x40250be8, fShort=0 '\0', 
fShowNothing=0 '\0') at act_info.c:229
229         page_to_char (buf_string (output), ch);



#4  0x0804da88 in do_look (ch=0x40250be8, argument=0x402535d4 "") at 
act_info.c:1126
1126            show_list_to_char (ch->in_room->contents, ch, FALSE, FALSE);

#5  0x0807ba8f in do_function (ch=0x40250be8, do_fun=0x804d7b4 <do_look>, 
argument=0x80a8d46 "auto") at interp.c:683
683         (*do_fun) (ch, command_string);








TELL ME WHAT YOU THINK!

Reply via email to