|
smalloc.c or other malloc replcemants
|
Reply to this subject
Start a new subject
 
Refresh page
| Posted by |
Robert Powell
Australia (349 posts) 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
| top |
|
| Posted by |
Samson
USA (683 posts) 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 | 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
Start a new subject
 
Refresh page
top
Comments to:
Gammon Software support
Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )