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

Register forum user name Search FAQ

Gammon Forum

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  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] Refresh page

Posted by Robert Powell   Australia  (367 posts)  [Biography] bio
Date Tue 15 Nov 2005 11:33 PM (UTC)
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.
[Go to top] top

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


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

Go to topic:           Search the forum

[Go to top] top

Quick links: MUSHclient. MUSHclient help. Forum shortcuts. Posting templates. Lua modules. Lua documentation.

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


Written by Nick Gammon - 5K   profile for Nick Gammon on Stack Exchange, a network of free, community-driven Q&A sites   Marriage equality

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

[Best viewed with any browser - 2K]    [Hosted at HostDash]