🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41590

Segmentation fault from a call to malloc()

#41590
From: Kevin Stanton
Date: Wed, 13 Mar 1996 00:00
19 lines
1336 bytes
I'm running g++ version 2.6.3.

My custom motif application generates a SEG FAULT on a call to
malloc(...).  I know there is plenty of memory (and it should return null
anyway it that were the problem anyway, right?).

How can a call to MALLOC seg fault?  Some table or something must be
really messed up?

Thanks,

-------------------------------------------------------------------------------
    _/  _/   _/_/_/_/  _/       _/  _/_/_/_/_/  _/      _/
   _/ _/    _/         _/     _/       _/      _/_/    _/ Kevin B. Stanton
  _/_/     _/_/        _/   _/        _/      _/  _/  _/  Portland State Univ.
 _/  _/   _/           _/ _/         _/      _/    _/_/   Dept. of Elect. Eng.
_/    _/ _/_/_/_/      _/       _/_/_/_/_/  _/      _/    kevins@ee.pdx.edu
                                                  http://www.ee.pdx.edu/~kevins
-------------------------------------------------------------------------------
Technical Details
Message-ID: <4i7jd0$40g@flotsam.ee.pdx.edu>
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: 11318c,e9f0bbedcf508bc8,start
X-Google-Attributes: gid11318c,public
From: kevins@ee.pdx.edu (Kevin Stanton)
Subject: Segmentation fault from a call to     malloc()
Date: 1996/03/13
Message-ID: <4i7jd0$40g@flotsam.ee.pdx.edu>
X-Deja-AN: 142879935
organization: Portland State University, Portland, OR
newsgroups: gnu.gcc.help