On Thu, 29 Nov 2001, John wrote: >Can someone please help me here? For some strange reason, freeing >general_description crashes the mud. I know when the room was originally >created, I used something like:- >world[top_of_world].dir_option[i]->general_description = str_dup("blah >blah"); >So, does anyone know what I am doing wrong by trying to free this up? Generally that means something corrupted malloc()'s internal memory structures so that when it tries to free that memory, the tracking block for it has been destroyed and you crash. What corrupted it could be innumerable things. (Electric Fence helps here.) -- George Greer greerga@circlemud.org -- +---------------------------------------------------------------+ | FAQ: http://qsilver.queensu.ca/~fletchra/Circle/list-faq.html | | Archives: http://post.queensu.ca/listserv/wwwarch/circle.html | +---------------------------------------------------------------+
This archive was generated by hypermail 2b30 : 12/06/01 PST