LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   double free or corruption (!prev) & glibc detected (https://www.linuxquestions.org/questions/linux-newbie-8/double-free-or-corruption-prev-and-glibc-detected-742046/)

janak_17 07-22-2009 03:22 PM

double free or corruption (!prev) & glibc detected
 
Hi,

I am starting one of my application and it does come online but giving following errors.

*** glibc detected *** /home/pquser/bin/pq: double free or corruption (!prev): 0x08fa6558 ***
======= Backtrace: =========
/lib/libc.so.6[0x9d70f1]
/lib/libc.so.6(cfree+0x90)[0x9dabc0]
/home/pquser/bin/pq[0x80495ca]
/home/pquser/bin/pq(calloc+0x31f)[0x80490b3]
/home/pquser/bin/pq(calloc+0x3d2)[0x8049166]
/lib/libc.so.6(__libc_start_main+0xdc)[0x983e8c]
/home/pquser/bin/pq(strcpy+0x3d)[0x8048ea1]
======= Memory map: ========
00950000-0096a000 r-xp 00000000 68:01 655362 /lib/ld-2.5.so
0096a000-0096b000 r-xp 00019000 68:01 655362 /lib/ld-2.5.so
0096b000-0096c000 rwxp 0001a000 68:01 655362 /lib/ld-2.5.so
0096e000-00aac000 r-xp 00000000 68:01 655377 /lib/libc-2.5.so
00aac000-00aae000 r-xp 0013e000 68:01 655377 /lib/libc-2.5.so
00aae000-00aaf000 rwxp 00140000 68:01 655377 /lib/libc-2.5.so
00aaf000-00ab2000 rwxp 00aaf000 00:00 0
00ab4000-00ac3000 r-xp 00000000 68:01 655387 /lib/libresolv-2.5.so
00ac3000-00ac4000 r-xp 0000e000 68:01 655387 /lib/libresolv-2.5.so
00ac4000-00ac5000 rwxp 0000f000 68:01 655387 /lib/libresolv-2.5.so
00ac5000-00ac7000 rwxp 00ac5000 00:00 0
08048000-0804b000 r-xp 00000000 68:01 1212467 /home/pquser/bin/pq
0804b000-0804c000 rwxp 00002000 68:01 1212467 /home/pquser/bin/pq
0804c000-0804f000 rwxp 0804c000 00:00 0
08fa5000-08fc6000 rwxp 08fa5000 00:00 0 [heap]
f7e00000-f7e21000 rwxp f7e00000 00:00 0
f7e21000-f7f00000 ---p f7e21000 00:00 0
f7f5c000-f7f67000 r-xp 00000000 68:01 656724 /lib/libgcc_s-4.1.2-20080825.so.1
f7f67000-f7f68000 rwxp 0000a000 68:01 656724 /lib/libgcc_s-4.1.2-20080825.so.1
f7f68000-f7f6c000 r-xp 00000000 68:01 655397 /lib/libnss_dns-2.5.so
f7f6c000-f7f6d000 r-xp 00003000 68:01 655397 /lib/libnss_dns-2.5.so
f7f6d000-f7f6e000 rwxp 00004000 68:01 655397 /lib/libnss_dns-2.5.so
f7f6e000-f7f77000 r-xp 00000000 68:01 655399 /lib/libnss_files-2.5.so
f7f77000-f7f78000 r-xp 00008000 68:01 655399 /lib/libnss_files-2.5.so
f7f78000-f7f79000 rwxp 00009000 68:01 655399 /lib/libnss_files-2.5.so
f7f79000-f7f7b000 rwxp f7f79000 00:00 0
ffaa1000-ffab6000 rwxp 7ffffffea000 00:00 0 [stack]
ffffe000-fffff000 r-xp ffffe000 00:00 0

Now i do have all required packages installed using yum so all are completely updated and i am running RedHat ES 5

compat-glibc.i386 1:2.3.4-2.26 installed
compat-glibc.x86_64 1:2.3.4-2.26 installed
compat-glibc-headers.x86_64 1:2.3.4-2.26 installed
glibc.x86_64 2.5-24 installed
glibc.i686 2.5-34 installed
glibc.x86_64 2.5-34 installed
glibc-common.x86_64 2.5-34 installed
glibc-devel.i386 2.5-34 installed
glibc-devel.x86_64 2.5-34 installed
glibc-headers.x86_64 2.5-34 installed
glibc-utils.x86_64 2.5-34 installed

any idea ?


All times are GMT -5. The time now is 04:12 PM.