run time error

Discussion in 'C++' started by Gary Wessle, Jan 27, 2007.

  1. Gary Wessle

    Gary Wessle Guest

    Hello

    I am getting this run time error, no clue what to look for. any idea please?

    many thanks

    ****************************************************************
    *** glibc detected *** ./proj: double free or corruption (fasttop): 0x09a44cd8 ***
    ======= Backtrace: =========
    /lib/libc.so.6[0x4def3a68]
    /lib/libc.so.6(__libc_free+0x78)[0x4def6f6f]
    /usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0x4e36c6c1]
    /usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d)[0x4e34838d]
    /usr/lib/libstdc++.so.6(_ZNSsD1Ev+0x57)[0x4e34af17]
    ../proj[0x8051191]
    ../proj[0x8053327]
    ../proj[0x8052389]
    ../proj[0x80662af]
    ../proj[0x8064ba1]
    /lib/libc.so.6(__libc_start_main+0xdc)[0x4dea54e4]
    ../proj(__gxx_personality_v0+0xf9)[0x804d1a1]
    ======= Memory map: ========
    0029e000-002ae000 r-xp 00000000 fd:00 5298113 /usr/lib/libboost_filesystem.so.1.33.1
    002ae000-002af000 rwxp 0000f000 fd:00 5298113 /usr/lib/libboost_filesystem.so.1.33.1
    00361000-00365000 r-xp 00000000 fd:00 7718181 /lib/libnss_dns-2.4.so
    00365000-00366000 r-xp 00003000 fd:00 7718181 /lib/libnss_dns-2.4.so
    00366000-00367000 rwxp 00004000 fd:00 7718181 /lib/libnss_dns-2.4.so
    0069d000-0069e000 r-xp 0069d000 00:00 0 [vdso]
    00a83000-00a8c000 r-xp 00000000 fd:00 7718185 /lib/libnss_files-2.4.so
    00a8c000-00a8d000 r-xp 00008000 fd:00 7718185 /lib/libnss_files-2.4.so
    00a8d000-00a8e000 rwxp 00009000 fd:00 7718185 /lib/libnss_files-2.4.so
    00e29000-00e33000 r-xp 00000000 fd:00 5315922 /usr/lib/libboost_thread.so.1.33.1
    00e33000-00e34000 rwxp 0000a000 fd:00 5315922 /usr/lib/libboost_thread.so.1.33.1
    08048000-080e2000 r-xp 00000000 fd:00 6509476 /home/fred/myProg/str1b/proj
    080e2000-080e3000 rwxp 00099000 fd:00 6509476 /home/fred/myProg/str1b/proj
    080e3000-08174000 rwxp 080e3000 00:00 0
    09a3f000-09acf000 rwxp 09a3f000 00:00 0
    4de73000-4de8c000 r-xp 00000000 fd:00 7718182 /lib/ld-2.4.so
    4de8c000-4de8d000 r-xp 00018000 fd:00 7718182 /lib/ld-2.4.so
    4de8d000-4de8e000 rwxp 00019000 fd:00 7718182 /lib/ld-2.4.so
    4de90000-4dfbd000 r-xp 00000000 fd:00 7718184 /lib/libc-2.4.so
    4dfbd000-4dfbf000 r-xp 0012d000 fd:00 7718184 /lib/libc-2.4.so
    4dfbf000-4dfc0000 rwxp 0012f000 fd:00 7718184 /lib/libc-2.4.so
    4dfc0000-4dfc3000 rwxp 4dfc0000 00:00 0
    4dfc5000-4dfc7000 r-xp 00000000 fd:00 7718211 /lib/libdl-2.4.so
    4dfc7000-4dfc8000 r-xp 00001000 fd:00 7718211 /lib/libdl-2.4.so
    4dfc8000-4dfc9000 rwxp 00002000 fd:00 7718211 /lib/libdl-2.4.so
    4dfcb000-4dfee000 r-xp 00000000 fd:00 7718216 /lib/libm-2.4.so
    4dfee000-4dfef000 r-xp 00022000 fd:00 7718216 /lib/libm-2.4.so
    4dfef000-4dff0000 rwxp 00023000 fd:00 7718216 /lib/libm-2.4.so
    4dff2000-4e004000 r-xp 00000000 fd:00 5315487 /usr/lib/libz.so.1.2.3
    4e004000-4e005000 rwxp 00011000 fd:00 5315487 /usr/lib/libz.so.1.2.3
    4e020000-4e030000 r-xp 00000000 fd:00 7718303 /lib/libpthread-2.4.so
    4e030000-4e031000 r-xp 0000f000 fd:00 7718303 /lib/libpthread-2.4.so
    4e031000-4e032000 rwxp 00010000 fd:00 7718303 /lib/libpthread-2.4.so
    4e032000-4e034000 rwxp 4e032000 00:00 0
    4e26e000-4e279000 r-xp 00000000 fd:00 7718293 /lib/libgcc_s-4.1.1-20060525.so.1
    4e279000-4e27a000 rwxp 0000a000 fd:00 7718293 /lib/libgcc_s-4.1.1-20060525.so.1
    4e29f000-4e2b1000 r-xp 00000000 fd:00 7718311 /lib/libnsl-2.4.so
    4e2b1000-4e2b2000 r-xp 00011000 fd:00 7718311 /lib/libnsl-2.4.so
    4e2b2000-4e2b3000 rwxp 00012000 fd:00 7718311 /lib/libnsl-2.4.so
    4e2b3000-4e2b5000 rwxp 4e2b3000 00:00 0
    4e2b7000-4e399000 r-xp 00000000 fd:00 5303111 /usr/lib/libstdc++.so.6.0.8
    4e399000-4e39d000 r-xp 000e1000 fd:00 5303111 /usr/lib/libstdc++.so.6.0.8
    4e39d000-4e39e000 rwxp 000e5000 fd:00 5303111 /usr/lib/libstdc++.so.6.0.8
    4e39e000-4e3a4000 rwxp 4e39e000 00:00 0
    4e3bb000-4e3ca000 r-xp 00000000 fd:00 7718291 /lib/libresolv-2.4.so
    4e3ca000-4e3cb000 r-xp 0000e000 fd:00 7718291 /lib/libresolv-2.4.so
    4e3cb000-4e3cc000 rwxp 0000f000 fd:00 7718291 /lib/libresolv-2.4.so
    4e3cc000-4e3ce000 rwxp 4e3cc000 00:00 0
    4e52d000-4e533000 r-xp 00000000 fd:00 7718945 /lib/librt-2.4.so
    4e533000-4e534000 r-xp 00006000 fd:00 7718945 /lib/librt-2.4.so
    4e534000-4e535000 rwxp 00007000 fd:00 7718945 /lib/librt-2.4.so
    4e6a9000-4eAborted

    ****************************************************************
    Gary Wessle, Jan 27, 2007
    #1
    1. Advertising

  2. Gary Wessle

    Kai-Uwe Bux Guest

    Gary Wessle wrote:

    > I am getting this run time error,

    [snip]
    > ****************************************************************
    > *** glibc detected *** ./proj: double free or corruption (fasttop):

    [snip]

    The message suggests that you freed the same region of memory twice (e.g.,
    by calling delete on an invalid pointer).

    As for the error in your program, please follow the advice in [FAQ 5.8]:

    http://www.parashift.com/c -faq-lite/how-to-post.html#faq-5.8


    Best

    Kai-Uwe Bux
    Kai-Uwe Bux, Jan 27, 2007
    #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. Paul Cook
    Replies:
    0
    Views:
    440
    Paul Cook
    Nov 6, 2003
  2. Tzury Bar Yochay
    Replies:
    3
    Views:
    478
    Jacob Yang [MSFT]
    Nov 29, 2003
  3. flamesrock
    Replies:
    8
    Views:
    438
    Hendrik van Rooyen
    Nov 24, 2006
  4. iskeletor
    Replies:
    3
    Views:
    355
    Barry Schwarz
    Dec 26, 2006
  5. Pierre Yves
    Replies:
    2
    Views:
    472
    Pierre Yves
    Jan 10, 2008
Loading...

Share This Page