Hedit Crash

From: The Merciless Lord of everything (serces@MUD.DK)
Date: 04/10/98

Hullo all

I've now tried everything (Or at least I think I have..) And searching
through the archives can't help (since the searcher apparently is down)

Oki, situation is as follows, I try to enter a new entry, the mud
crashes (kabum!) and GDB tells me the following :

#0  0x4007892b in __cfree () at malloc.c:2684
#1  0x80a643d in hedit_parse (d=0x8352b78, arg=0xbffff52c "y") at
#2  0x80832d3 in nanny (d=0x8352b78, arg=0xbffff52c "y") at
#3  0x804a286 in game_loop (mother_desc=11) at comm.c:654
#4  0x8049a0e in init_game (port=5000) at comm.c:302
#5  0x80499a0 in main (argc=1, argv=0xbffffaa4) at comm.c:272

Seems to me like Hedit.c was faulty somewhere so I looked into the
hedit.c around line 205 (Numbers is Linenumbers)

202     if (help_table) {
203     for (i = 0; i < top_of_helpt+1; i++) {
204       if (help_table[i].keyword)
205        free(help_table[i].keyword);
207       if (help_table[i].entry && !help_table[i].duplicate)
208        free(help_table[i].entry);
209      }
210      free(help_table);
211     }
213     top_of_helpt = 0;
214     index_boot(DB_BOOT_HLP);

ERRR.. this is exactly the same as "reload xhelp" would do. So why
doesn't it work here

Anyone with similar Experiences? Or even maybe a solution to this little

Kind regards

S. P. Skou

Serces - Ancient of The realm of Chaos - chaos.mud.dk 4000
- I'm the root of all that's evil, yeah, but you can call me cookie -

     | 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