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
➜ SMAUG
➜ Running the server
➜ startup problems
It is now over 60 days since the last post. This thread is closed.
Refresh page
Pages: 1
2 3
Posted by
| Samryn
United Kingdom (60 posts) Bio
|
Date
| Reply #15 on Wed 27 Jun 2007 11:30 PM (UTC) |
Message
| Ok... either i've done this completely wrong. Or i've just recieved the same message in GDB. Sorry if its me ::twitch::
GNU gdb Red Hat Linux (6.3.0.0-1.132.EL4rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1".
(gdb) *** glibc detected *** double free or corruption (!prev): 0x089ca1e8 ***
Abort
|
Samryn Medri | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #16 on Wed 27 Jun 2007 11:35 PM (UTC) |
Message
| What does the backtrace say? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Samryn
United Kingdom (60 posts) Bio
|
Date
| Reply #17 on Wed 27 Jun 2007 11:41 PM (UTC) |
Message
| No stack. :S
I'm guessin i'm to fault here? |
Samryn Medri | Top |
|
Posted by
| David Haley
USA (3,881 posts) Bio
|
Date
| Reply #18 on Wed 27 Jun 2007 11:43 PM (UTC) |
Message
| Did you compile the code from scratch on the server you're running on? If you compiled it on a home machine and then uploaded it, there might be machine architecture problems. Or C library problems. Or something. In any case, it's a good idea to recompile on the server. |
David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone
http://david.the-haleys.org | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #19 on Wed 27 Jun 2007 11:44 PM (UTC) |
Message
| What did you do, exactly? (To run gdb) |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Samryn
United Kingdom (60 posts) Bio
|
Date
| Reply #20 on Wed 27 Jun 2007 11:47 PM (UTC) |
Message
| Yeh, i cleaned up all the *.o files before i uploaded it to the host. Then compiled it when i was over there, i had to modifiy the makefile abit to work on the host, but then i thought everything would have been ok.
I typed in:
./startup &
cd ..
cd area
gdb ../src/smaug
waited for the error
backtrack
q
ps
kill 3102 |
Samryn Medri | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #21 on Wed 27 Jun 2007 11:53 PM (UTC) |
Message
| Uh... You're running two MUDs then. There's no need to start the startup script if you are going to run the MUD via gdb. You also didn't run the MUD. When you enter gdb, type run. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Samryn
United Kingdom (60 posts) Bio
|
Date
| Reply #22 on Wed 27 Jun 2007 11:57 PM (UTC) |
Message
| when i type in run i get:
Starting program:
No executable file specified.
Use the "file" or "exec-file" command.
meh, im so sorry bout bein such a pain in the ass :| these scripts are something im crap at... coding, i can do (to a point i might add). scripts... meh :| |
Samryn Medri | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #23 on Thu 28 Jun 2007 12:13 AM (UTC) |
Message
| Did you read the gdb guide?
You should be able to select the exec. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Samryn
United Kingdom (60 posts) Bio
|
Date
| Reply #24 on Thu 28 Jun 2007 12:33 AM (UTC) |
Message
| right got is... sorry.
(gdb) run
Starting program: /home/dreamer/SMAUG/src/smaug
Wed Jun 27 17:32:07 2007 :: Booting Database
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Wed Jun 27 17:32:07 2007 :: [*****] BOOT: ---------------------[ Boot Log ]--------------------
Wed Jun 27 17:32:07 2007 :: Initializing libdl support...
Wed Jun 27 17:32:07 2007 :: Loading commands...
Wed Jun 27 17:32:07 2007 :: Loading spec_funs...
Wed Jun 27 17:32:07 2007 :: Loading sysdata configuration...
Wed Jun 27 17:32:07 2007 :: Loading socials
Wed Jun 27 17:32:07 2007 :: Loading skill table
Wed Jun 27 17:32:07 2007 :: Sorting skill table...
Wed Jun 27 17:32:07 2007 :: Remapping slots to sns
Wed Jun 27 17:32:07 2007 :: Loading classes
Wed Jun 27 17:32:07 2007 :: Loading races
Wed Jun 27 17:32:07 2007 :: Loading news data
Wed Jun 27 17:32:07 2007 :: [*****] BUG: load_news(): # not found (ÿ)
Wed Jun 27 17:32:07 2007 :: Loading herb table
Wed Jun 27 17:32:07 2007 :: Loading tongues
Wed Jun 27 17:32:07 2007 :: Making wizlist
Wed Jun 27 17:32:07 2007 :: Initializing random number generator
Wed Jun 27 17:32:07 2007 :: Setting time and weather
Wed Jun 27 17:32:07 2007 :: Loading DNS cache...
Wed Jun 27 17:32:07 2007 :: Assigning gsn's
Wed Jun 27 17:32:07 2007 :: Reading in area files...
(help.are)
gods.are : Rooms: 1200 - 1201 Objs: 1200 - 1200 Mobs: 1200 - 1200
limbo.are : Rooms: 2 - 99 Objs: 2 - 99 Mobs: 1 - 99
newacad.are : Rooms: 10300 - 10499 Objs: 10300 - 10499 Mobs: 10300 - 10499
newgate.are : Rooms: 100 - 199 Objs: 100 - 199 Mobs: 100 - 199
newdark.are : Rooms: 21000 - 21499 Objs: 21000 - 21435 Mobs: 21000 - 21499
haon.are : Rooms: 6000 - 6156 Objs: 6000 - 6155 Mobs: 6000 - 6117
midennir.are : Rooms: 3500 - 3590 Objs: 3500 - 3550 Mobs: 3500 - 3550
sewer.are : Rooms: 7001 - 7445 Objs: 7190 - 7310 Mobs: 7000 - 7206
redferne.are : Rooms: 7900 - 7918 Objs: 7909 - 7911 Mobs: 7900 - 7900
grove.are : Rooms: 8901 - 8999 Objs: 8900 - 8919 Mobs: 8900 - 8911
dwarven.are : Rooms: 6500 - 6554 Objs: 6502 - 6519 Mobs: 6500 - 6517
daycare.are : Rooms: 6601 - 6651 Objs: 6600 - 6647 Mobs: 6600 - 6610
grave.are : Rooms: 3600 - 3651 Objs: 3600 - 3613 Mobs: 3600 - 3605
chapel.are : Rooms: 3405 - 3475 Objs: 3400 - 3430 Mobs: 3400 - 3416
astral.are : Rooms: 800 - 899 Objs: 800 - 899 Mobs: 800 - 899
Build.are : Rooms: 9500 - 9589 Objs: 0 - 0 Mobs: 0 - 0
pixie.are : Rooms: 2070 - 2099 Objs: 2070 - 2077 Mobs: 2070 - 2073
export.are : Rooms: 9810 - 9899 Objs: 9810 - 9899 Mobs: 9800 - 9899
srefuge.are : Rooms: 1500 - 1599 Objs: 1500 - 1599 Mobs: 1500 - 1599
manor.are : Rooms: 2400 - 2499 Objs: 2400 - 2499 Mobs: 2405 - 2484
unholy.are : Rooms: 2101 - 2172 Objs: 2101 - 2150 Mobs: 2101 - 2120
gallery.are : Rooms: 24800 - 24899 Objs: 24800 - 24899 Mobs: 24800 - 24899
Wed Jun 27 17:32:07 2007 :: Fixing exits
Wed Jun 27 17:32:07 2007 :: Initializing economy
Wed Jun 27 17:32:07 2007 :: Resetting areas
Wed Jun 27 17:32:07 2007 :: Loading buildlist
Wed Jun 27 17:32:07 2007 :: ../gods/Argyle
Wed Jun 27 17:32:07 2007 :: ../gods/Findecano
Wed Jun 27 17:32:07 2007 :: Loading boards
Wed Jun 27 17:32:07 2007 :: ../boards/immortal.brd
Wed Jun 27 17:32:07 2007 :: ../boards/highgod.brd
Wed Jun 27 17:32:07 2007 :: Loading clans
Wed Jun 27 17:32:07 2007 :: Loading clans...
Wed Jun 27 17:32:07 2007 :: vampire.gui
Wed Jun 27 17:32:07 2007 :: Cannot open clan vault
Wed Jun 27 17:32:07 2007 :: druid.gui
Wed Jun 27 17:32:07 2007 :: Cannot open clan vault
Wed Jun 27 17:32:07 2007 :: warrior.gui
Wed Jun 27 17:32:07 2007 :: Cannot open clan vault
Wed Jun 27 17:32:07 2007 :: augurer.gui
Wed Jun 27 17:32:07 2007 :: Cannot open clan vault
Wed Jun 27 17:32:07 2007 :: thief.gui
Wed Jun 27 17:32:07 2007 :: Cannot open clan vault
Wed Jun 27 17:32:07 2007 :: cleric.gui
Wed Jun 27 17:32:07 2007 :: Cannot open clan vault
Wed Jun 27 17:32:07 2007 :: mage.gui
Wed Jun 27 17:32:07 2007 :: Cannot open clan vault
Wed Jun 27 17:32:07 2007 :: ranger.gui
Wed Jun 27 17:32:07 2007 :: Cannot open clan vault
Wed Jun 27 17:32:07 2007 :: $
Wed Jun 27 17:32:07 2007 :: Done clans
Wed Jun 27 17:32:07 2007 :: Loading councils
Wed Jun 27 17:32:07 2007 :: Loading councils...
Wed Jun 27 17:32:07 2007 :: $
Wed Jun 27 17:32:07 2007 :: Done councils
Wed Jun 27 17:32:07 2007 :: Loading deities
Wed Jun 27 17:32:07 2007 :: Loading deities...
Wed Jun 27 17:32:07 2007 :: $
Wed Jun 27 17:32:07 2007 :: Done deities
Wed Jun 27 17:32:07 2007 :: Loading watches
Wed Jun 27 17:32:07 2007 :: Loading bans
Wed Jun 27 17:32:07 2007 :: Done.
Wed Jun 27 17:32:07 2007 :: Loading reserved names
Wed Jun 27 17:32:07 2007 :: Loading corpses
Wed Jun 27 17:32:07 2007 :: Loading Immortal Hosts
Wed Jun 27 17:32:07 2007 :: Done.
Wed Jun 27 17:32:07 2007 :: Loading Projects
*** glibc detected *** double free or corruption (!prev): 0x098411e8 ***
Program received signal SIGABRT, Aborted.
0x001697a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
im guessing something to do with projects? |
Samryn Medri | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #25 on Thu 28 Jun 2007 12:52 AM (UTC) |
Message
| Do you have a backtrace now? |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Samryn
United Kingdom (60 posts) Bio
|
Date
| Reply #26 on Thu 28 Jun 2007 01:06 AM (UTC) |
Message
| #0 0x001697a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x001a97a5 in raise () from /lib/tls/libc.so.6
#2 0x001ab209 in abort () from /lib/tls/libc.so.6
#3 0x001dd71a in __libc_message () from /lib/tls/libc.so.6
#4 0x001e3fbf in _int_free () from /lib/tls/libc.so.6
#5 0x001e433a in free () from /lib/tls/libc.so.6
#6 0x001d4746 in fclose@@GLIBC_2.1 () from /lib/tls/libc.so.6
#7 0x0810473b in load_projects () at db.c:6929
#8 0x080f4ea4 in boot_db (fCopyOver=0 '\0') at db.c:704
#9 0x080e9ed2 in main (argc=1, argv=0xbfefccd4) at comm.c:533
(gdb) |
Samryn Medri | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #27 on Thu 28 Jun 2007 01:12 AM (UTC) |
Message
| Okay. Try commenting out the call to load_projects in db.c, compile and boot again. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Samryn
United Kingdom (60 posts) Bio
|
Date
| Reply #28 on Thu 28 Jun 2007 01:16 AM (UTC) |
Message
| ::twitch::
Load_projects... caused that?
hmmm...
thanks for the help guys, its all sorted now =)
I'll take a look at projects i guess, though its nothing of to much importance i guess.
Thanks again =) |
Samryn Medri | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #29 on Thu 28 Jun 2007 01:28 AM (UTC) |
Message
| Is it fine now? What does your projects.dat file (or whatever it is) look like? Perhaps that was corrupt. Because I've run Smaug 1.8 and it doesn't have this issue. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | 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.
86,539 views.
This is page 2, subject is 3 pages long:
1
2 3
It is now over 60 days since the last post. This thread is closed.
Refresh page
top