🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: aus.computers.linux
Article #56089

Memory Allocation Problems

#56089
From: Dan
Date: Mon, 07 Apr 1997 00:00
17 lines
1110 bytes
Just wondering if anyone could help:

At the moment I am writting a large C++ program under Slackware (not sure
which version, but I bought it last year). Up until a little while ago, I
had no problems allocating with malloc, or new. However, I find now that I
get segmentation faults. Running gdb, I find that with new, it complains
about an error in malloc.

So I tried allocating more data space, and it worked for a short time, but
the problem keeps on coming up. I have checked for heap leaks, and have
found that there are none that I can find. The code does use some large
objects, but virtually everything is allocated dynamically.

Can anyone help? Sorry if there is not enough information here...

Dan
Technical Details
Message-ID: <5iareb$i91$1@gruvel.une.edu.au>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 102983,b7f2caa39b1617c0,start
X-Google-Attributes: gid102983,public
From: dbentley@metz.une.edu.au (Dan)
Subject: Memory Allocation Problems
Date: 1997/04/07
Message-ID: <5iareb$i91$1@gruvel.une.edu.au>
X-Deja-AN: 231328647
Organization: University of New England, NSW, Australia
Newsgroups: aus.computers.linux