Login
User Name:

Password:



Register
Forgot your password?
Vote for Us!
tintin++ ogg sound player script for linux
Author: Robert Smith
Submitted by: Vladaar
6Dragons ogg Soundpack
Author: Vladaar
Submitted by: Vladaar
6Dragons 4.4
Author: Vladaar
Submitted by: Vladaar
LoP 1.46
Author: Remcon
Submitted by: Remcon
LOP 1.45
Author: Remcon
Submitted by: Remcon
Users Online
CommonCrawl, Bing, Yandex

Members: 0
Guests: 10
Stats
Files
Topics
Posts
Members
Newest Member
481
3,739
19,386
622
ignatius
Today's Birthdays
There are no member birthdays today.
Related Links
» SmaugMuds.org » General » Coding » hotboot/erwins global boards
Forum Rules | Mark all | Recent Posts

hotboot/erwins global boards
< Newer Topic :: Older Topic > crashing after a hotboot

Pages:<< prev 1 next >>
Post is unread #1 Sep 3, 2003, 2:37 pm
Go to the top of the page
Go to the bottom of the page

typhon

GroupMembers
Posts6
JoinedDec 2, 2002

ok it seems like ive been having this problem for some time now and i just figured out what was causeing it.. after installing the hotboot/copyover code that samson wrote and erwins' global board code.. its a clean compile and all that but after i hotboot the mud and i go to read a note the mud crashes and i get this from the core file
(gdb) frame
#0 0x080960ee in do_nread (ch=0x8e82a70, argument=0xbfffd524 "";)
at board.c:657
657 for (p = ch->pcdata->board->note_first; p ; p = p->next, count++)
(gdb) bt
#0 0x080960ee in do_nread (ch=0x8e82a70, argument=0xbfffd524 "";)
at board.c:657
#1 0x080964df in do_global_note (ch=0x8e82a70, argument=0xbfffd524 "";)
at board.c:788
#2 0x080f9fb9 in interpret (ch=0x8e82a70, argument=0xbfffd524 "";)
at interp.c:739
#3 0x080b9eb5 in game_loop () at comm.c:813
#4 0x080b9402 in main (argc=8, argv=0xbffff550) at comm.c:334

it seems that the board data didnt copy over when the mud reboot... has someone had this problem before?
tanks
-typ
       
Post is unread #2 Sep 3, 2003, 7:35 pm   Last edited Nov 24, 2007, 3:55 pm by Samson
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

Heh i remember this its because after a hotboot ch->pcdata->board is NULL you can check that while in frame 0 of the core and is why it crashes here for (p = ch->pcdata->board->note_first; p ; p = p->next, count++).
Some where in do_global_note add this before it starts handling the arguments
  if(ch->pcdata->board == NULL)
    ch->pcdata->board = &boards[DEFAULT_BOARD];

Hope that helps

Might be other issues with it after a hotboot sorry, but i don't remember all the places currently
       
Post is unread #3 Sep 4, 2003, 12:47 pm
Go to the top of the page
Go to the bottom of the page

typhon

GroupMembers
Posts6
JoinedDec 2, 2002

yay i love you it worked liek a charm thanks
       
Post is unread #4 Sep 4, 2003, 6:40 pm
Go to the top of the page
Go to the bottom of the page

Remcon
Geomancer
GroupAdministrators
Posts1,874
JoinedJul 26, 2005

Anytime, Best of luck with it
       
Pages:<< prev 1 next >>