Re: [ERROR]Dinamic Boards

From: Patrick J. Dughi (dughi@IMAXX.NET)
Date: 12/12/97


> Heres the gdb error (got gdb working)
> Program received signal SIGSEGV, Segmentation fault.
> 0x8060375 in reverse_message_order (t_board=0x0) at boards.c:180
> 180       old=BOARD_MESSAGES(t_board);
>
> ok so its saying on line 180 of boards.c that theres an errors now hun?
>

        Hm. Thats very strange.  Reverse message order should only be
called upon an existing board.  At worst case, this board would be saved
as an empty file, in which case it would be given basic stats - it SHOULD
still exist.  What your error says is that a null pointer was passed to
reverse_message_order.  Without knowing what exactly caused it (i've not
experienced this error before), you could just add a "if (temp_board)"
right before the call to reverse_message_order, and it should work, but
this is not the ideal solution, i'd have to say.

                You might want to make sure that all of your boards.c file
is there (check for .rej files after patching).

                                                PjD


     +------------------------------------------------------------+
     | 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/08/00 PST