Register forum user name Search FAQ

Gammon Forum

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 ➜ ROM ➜ Running the server ➜ Core File Help Please

Core File Help Please

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Tidus   (11 posts)  Bio
Date Wed 15 Oct 2003 08:02 PM (UTC)
Message
I keep getting Segmentation Faults in my ROM2.4b6 based MUD but my MUD isn't making core files. Can anyone offer any help?
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #1 on Wed 15 Oct 2003 09:48 PM (UTC)
Message
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.)

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.org
Top

Posted by Tidus   (11 posts)  Bio
Date Reply #2 on Wed 15 Oct 2003 10:36 PM (UTC)
Message
Thanks for the help but I tried that and it still isn't doing it.
Top

Posted by David Haley   USA  (3,881 posts)  Bio
Date Reply #3 on Wed 15 Oct 2003 10:42 PM (UTC)
Message
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.

David Haley aka Ksilyan
Head Programmer,
Legends of the Darkstone

http://david.the-haleys.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.


15,552 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.