Seg Fault Crash on FreeBSD on boot

Posted by Vapes on Fri 28 May 2004 06:26 AM — 3 posts, 14,235 views.

#0
[1] 96776
-bash-2.05b$ Fri May 28 06:22:54 2004 :: 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
Fri May 28 06:22:54 2004 :: [*****] BOOT: ---------------------[ Boot Log ]--------------------
Fri May 28 06:22:54 2004 :: Loading commands
Fri May 28 06:22:54 2004 :: Loading sysdata configuration...
Fri May 28 06:22:54 2004 :: Loading socials
Fri May 28 06:22:54 2004 :: Loading skill table
Fri May 28 06:22:54 2004 :: Sorting skill table...
Fri May 28 06:22:54 2004 :: Remapping slots to sns
Fri May 28 06:22:54 2004 :: Loading classes
Fri May 28 06:22:54 2004 :: Loading races
Fri May 28 06:22:54 2004 :: Loading herb table
Fri May 28 06:22:54 2004 :: Loading tongues
Fri May 28 06:22:54 2004 :: Making wizlist

[1]+ Segmentation fault (core dumped) ../src/smaug 5050
-bash-2.05b$

---

Core was generated by `smaug'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...done.
Reading symbols from /usr/lib/libc.so.4...done.
Reading symbols from /usr/libexec/ld-elf.so.1...done.
#0 0x28236010 in readdir () from /usr/lib/libc.so.4
(gdb)

running -- FreeBSD 4.8-RELEASE (GENERIC) #0: Thu Apr 3 10:53:38 GMT 2003

Kinda stuck... Hope someone can help.
USA #1
Howzabout a full backtrace and not just where it stopped?

The obvious questions to ask are:
- are you sure you have all directories set up properly
- are you sure you followed all instructions etc.
Australia Forum Administrator #2
See:

http://www.gammon.com.au/forum/bbshowpost.php?bbsubject_id=3653

That explains how to use gdb.

I had SMAUG running under OpenBSD. The problem might be a missing directory when it tries to make/open the wizlist. Make sure all directories are there.