public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ciaran McCreesh <ciaranm@gentoo.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] *** glibc detected *** malloc():	memory corruption (fast):	0x081fb2c1 *** [SOLVED]
Date: Sun, 20 Nov 2005 14:23:49 +0000	[thread overview]
Message-ID: <20051120142349.3a8a42a1@snowdrop.home> (raw)
In-Reply-To: <1132409779.10315.5.camel@camille.espersunited.com>

[-- Attachment #1: Type: text/plain, Size: 880 bytes --]

On Sat, 19 Nov 2005 08:16:19 -0600 Michael Sullivan
<michael@espersunited.com> wrote:
| Actually, I solved the error for my situation last night - I just
| forgot to write it in as SOLVED.  I had created a temporary pointer,
| then assigned the temporary pointer to a variable I was planning to
| return from a method, then deleted the temporary pointer.  I'm not
| used to using pointers.  I've always heard that you should always
| delete your pointers when you're done with them and for some reason I
| thought the delete keyword deleted the pointer instead of the memory
| it was pointing at...

Consider using boost::shared_ptr<> instead. You don't have to worry
about delete or exception-checking then.

-- 
Ciaran McCreesh : Gentoo Developer (Look! Shiny things!)
Mail            : ciaranm at gentoo.org
Web             : http://dev.gentoo.org/~ciaranm


[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2005-11-20 14:31 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-18 18:37 [gentoo-user] *** glibc detected *** malloc(): memory corruption (fast): 0x081fb2c1 *** Michael Sullivan
2005-11-18 20:00 ` fire-eyes
2005-11-18 20:19   ` Michael Sullivan
2005-11-19 11:44     ` fire-eyes
2005-11-19 12:10       ` David Morgan
2005-11-19 13:02         ` fire-eyes
2005-11-20 14:22           ` Ciaran McCreesh
2005-11-19 14:16       ` [gentoo-user] *** glibc detected *** malloc(): memory corruption (fast): 0x081fb2c1 *** [SOLVED] Michael Sullivan
2005-11-20 14:23         ` Ciaran McCreesh [this message]
2005-11-18 20:50 ` [gentoo-user] *** glibc detected *** malloc(): memory corruption (fast): 0x081fb2c1 *** John Myers
2005-11-19  2:42 ` Ciaran McCreesh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051120142349.3a8a42a1@snowdrop.home \
    --to=ciaranm@gentoo.org \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox