prob in using vectors

Discussion in 'C++' started by sharat, Apr 15, 2008.

  1. sharat

    sharat Guest

    hello groups.

    i am using fc4, gcc compiler.
    I am usngi vectors in my program and i m facing memory corruption
    problem

    it is giving error as " ** glibc detected *** double free or
    corruption " . while debugging using gdb
    it is showing that vector destroyed ..
    i m not getting where is the prob..
    kindly help to solve th eproblem ..

    Thanx in advance.
    sharat, Apr 15, 2008
    #1
    1. Advertising

  2. sharat

    Stefan Naewe Guest

    On 4/15/2008 12:00 PM, sharat wrote:
    > hello groups.
    >
    > i am using fc4, gcc compiler.
    > I am usngi vectors in my program and i m facing memory corruption
    > problem
    >
    > it is giving error as " ** glibc detected *** double free or
    > corruption " . while debugging using gdb
    > it is showing that vector destroyed ..
    > i m not getting where is the prob..
    > kindly help to solve th eproblem ..
    >
    > Thanx in advance.


    You have an error in line 42.

    S.
    --
    Stefan Naewe stefan dot naewe at atlas-elektronik dot com
    Don't top-post http://www.catb.org/~esr/jargon/html/T/top-post.html
    Plain text mails only, please http://www.expita.com/nomime.html
    Stefan Naewe, Apr 15, 2008
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. josephrthomas

    ASP.NET prob...(using VB.NET)

    josephrthomas, Dec 22, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    483
    Anders Sundberg
    Dec 22, 2003
  2. Replies:
    3
    Views:
    689
    Shadowman
    Mar 26, 2008
  3. ssylee
    Replies:
    2
    Views:
    419
    ssylee
    Jan 14, 2009
  4. Peter Lykkegaard
    Replies:
    7
    Views:
    2,552
    Cowboy \(Gregory A. Beamer\)
    Apr 21, 2009
  5. Guest
    Replies:
    0
    Views:
    438
    Guest
    Sep 14, 2005
Loading...

Share This Page