[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  smalloc.c or other malloc replcemants

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?

smalloc.c or other malloc replcemants

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page


Posted by Robert Powell   Australia  (349 posts)  [Biography] bio
Date Tue 15 Nov 2005 11:33 PM (UTC)  quote  ]
Message
Hi, anyone know where i can get my hands on a malloc replacement. I have been battling DISPOSE crashes now for a while. I am using the latest Samson recommended macros and still am having crashed on DISPOSE.

Our host is Redhat(oldhat)7 and i can only assume that this is most of the trouble as i cannot replicate any of the crashes on my Fed4 box. A server upgrade is out of the question right now.

So im looking to find a copy of the smalloc.c or something better that i can try to remove some of my crashes. Not that they are often now, but every 5->10 days is still a pain.

EldhaMUD Game Developments
The_Fury: Lead Developer, Head Coder
http://fury.eldhamud2.org
[Go to top] top

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Reply #1 on Wed 16 Nov 2005 02:36 AM (UTC)  quote  ]
Message
Could you post some of the gdb dumps of whatever crashes you are having? They may be fixable without resorting to a worthless implementation of malloc. Those smalloc.c files were a joke the day they were made - never saw any reason for them.

The other part of your problem may be stemming from Redhat 7 using gcc 2.96 which is a known piece of bugware that even GNU didn't want them using since it came from a pre-release beta branch.

Post the STRALLOC, STRFREE, and DISPOSE macros you are currently using. It will help to see what you're up against. It may be something silly like an incorrect STRALLOC/DISPOSE somewhere that eventually results in DISPOSE causing a problem.

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] 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.


1,829 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]