Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ Programming
➜ General
➜ Hotboot Snippet and Core File
Hotboot Snippet and Core File
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| Diablo
(2 posts) Bio
|
Date
| Fri 08 Jul 2005 03:34 PM (UTC) |
Message
| Well.. I recently installed Greven's Hotboot Snippet for SWR onto my SWR MUD. It took a bit of re-reading to get it to work, but now when I hotboot and someone quits, the MUD crashes. I need some help locating the problem, although I believe its not extracting the character.
Also, I do not get CORE files with a crash. I would like some help with this also.
Thanx.
-Diablo | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #1 on Fri 08 Jul 2005 05:52 PM (UTC) |
Message
| Read over Nick's gdb guide for how to enable core dumps. After it hotboots, attach gdb to the process and crash the MUD. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Diablo
(2 posts) Bio
|
Date
| Reply #2 on Fri 08 Jul 2005 07:48 PM (UTC) Amended on Fri 08 Jul 2005 07:49 PM (UTC) by Diablo
|
Message
| Ok, I did the whole gdb thing and I managed to fix a few bugs I had problems with on my MUD. Now for the Hotboot problem.
This is what I typed,
cd swd/area
gdb ../src/swreality.exe
run 8632
(then the loading stuff came up)
On the MUD I typed, hotboot, and this is what I got.
Fri Jul 8 05:41:03 2005 :: Hotboot initiated by Diablo.
Fri Jul 8 05:41:03 2005 :: Preserving world state....
Fri Jul 8 05:41:03 2005 :: IMC: Shutting down network.
Fri Jul 8 05:41:03 2005 :: Saving player files and connection states....
Fri Jul 8 05:41:03 2005 :: Executing hotboot....
Program received signal SIGTRAP, Trace/breakpoint trap.
0x400007a0 in _start () from /lib/ld-linux.so.2
I've never seen something like that before, I hope someone can help me with it.
-Diablo | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #3 on Fri 08 Jul 2005 08:01 PM (UTC) |
Message
| Well try attaching it after the hotboot, since hotboot "swaps" exec files and sometimes does not work with gdb. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Gatz
(17 posts) Bio
|
Date
| Reply #4 on Sat 09 Jul 2005 02:06 AM (UTC) |
Message
| When it does that, type continue and it will continue with it onto the newly booted copy of your MUD. I had a problem similar on my SWR MUD with that copyover. I found that changing some of the descriptor stuff worked, because my copy of SWR had different things to init the descriptor than the copyover's. |
Owner of NarutoMUD, a fun and fast paced Naruto MUD!
Check it out at: http://narutofor.us/ today! | Top |
|
Posted by
| Greven
Canada (835 posts) Bio
|
Date
| Reply #5 on Sat 09 Jul 2005 06:28 AM (UTC) |
Message
| Since it is hotbooting ok, but is crashing afterwards, it may be changes that you have made to the system, likely the space system. Check to make sure that the space code uses the same methods for str_dup and STRALLOC that your using, I've come across this before when installing it in a few code bases, as the other coders changes names to use str_dup instead of STRALLOC I think, so there were conflictions. Actually, since its when the character quits, check the character code portion for the same. |
Nobody ever expects the spanish inquisition!
darkwarriors.net:4848
http://darkwarriors.net | Top |
|
The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).
To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.
19,595 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top