I keep getting Segmentation Faults in my ROM2.4b6 based MUD but my MUD isn't making core files. Can anyone offer any help?
Core File Help Please
Posted by Tidus on Wed 15 Oct 2003 08:02 PM — 4 posts, 16,708 views.
You probably have a upper file size for the core set to 0.
Type ulimit -a, you should see something like: "core: 0". You should set this to something higher, like 100000 or something by typing: ulimit -c 100000 (I think I got the syntax right... might be something slightly different.)
Type ulimit -a, you should see something like: "core: 0". You should set this to something higher, like 100000 or something by typing: ulimit -c 100000 (I think I got the syntax right... might be something slightly different.)
Thanks for the help but I tried that and it still isn't doing it.
Ah... then you may need to edit your bash profile.
Log on to your shell. Type ls -a, and make sure you have a file called:
.bash_profile
Edit that, and add:
ulimit -c 1000000
somewhere in it.
This file is "executed" every time you log on.
Shut down your MUD. Log out of all terminal windows. Log on again, and type ulimit -a to make sure you still have a core limit value set. Now, you can run your MUD and it should generate core files.
Log on to your shell. Type ls -a, and make sure you have a file called:
.bash_profile
Edit that, and add:
ulimit -c 1000000
somewhere in it.
This file is "executed" every time you log on.
Shut down your MUD. Log out of all terminal windows. Log on again, and type ulimit -a to make sure you still have a core limit value set. Now, you can run your MUD and it should generate core files.