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 ➜ SMAUG ➜ SMAUG coding ➜ smalloc.c or other malloc replcemants

smalloc.c or other malloc replcemants

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


Posted by Robert Powell   Australia  (367 posts)  Bio
Date Tue 15 Nov 2005 11:33 PM (UTC)
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.

Just a guy having a bit of fun. Nothing more, nothing less, I do not need I WIN to feel validated.
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #1 on Wed 16 Nov 2005 02:36 AM (UTC)
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.
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.


10,999 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.