VWcoelho
(usa Slackware)
Enviado em 13/05/2008 - 09:10h
Boa dia...
Uso a distro. Slackware 12, kernel 2.6.21, estou com o seguinte problema...
Estou trabalhando com um programa em C/c++, quando vou compila-lo não da erro, porém quando vou executá-lo aparece a seguinte mensagem:
*** glibc detected *** ./IDS: free(): invalid pointer: 0x08059ff4 ***
======= Backtrace: =========
/lib/libc.so.6[0xb7d1bc23]
/lib/libc.so.6(cfree+0x90)[0xb7d1f0f0]
/usr/lib/libstdc++.so.6(_ZdlPv+0x21)[0xb7ed72b1]
/usr/lib/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d)[0xb7eb3e0d]
/usr/lib/libstdc++.so.6(_ZNSs7reserveEj+0xa9)[0xb7eb5529]
/usr/lib/libstdc++.so.6(_ZNSs6appendEPKcj+0x6d)[0xb7eb56ed]
/usr/lib/libstdc++.so.6(_ZNSs6appendEPKc+0x35)[0xb7eb57d5]
./IDS[0x8051cd0]
./IDS[0x8052d4d]
./IDS[0x8055512]
./IDS[0x8055611]
/lib/libc.so.6(__libc_start_main+0xd8)[0xb7cc9df8]
./IDS(__gxx_personality_v0+0x89)[0x8049571]
======= Memory map: ========
08048000-08059000 r-xp 00000000 08:04 318777 /home/vinicius/1.0b/ids/Debug/IDS
08059000-0805a000 rw-p 00010000 08:04 318777 /home/vinicius/1.0b/ids/Debug/IDS
0805a000-0807b000 rw-p 0805a000 00:00 0 [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7cb2000-b7cb4000 rw-p b7cb2000 00:00 0
b7cb4000-b7df0000 r-xp 00000000 08:04 14105 /lib/libc-2.5.so
b7df0000-b7df1000 r--p 0013c000 08:04 14105 /lib/libc-2.5.so
b7df1000-b7df3000 rw-p 0013d000 08:04 14105 /lib/libc-2.5.so
b7df3000-b7df6000 rw-p b7df3000 00:00 0
b7df6000-b7e00000 r-xp 00000000 08:04 221 /usr/lib/libgcc_s.so.1
b7e00000-b7e01000 rw-p 00009000 08:04 221 /usr/lib/libgcc_s.so.1
b7e01000-b7e26000 r-xp 00000000 08:04 14109 /lib/libm-2.5.so
b7e26000-b7e28000 rw-p 00024000 08:04 14109 /lib/libm-2.5.so
b7e28000-b7f01000 r-xp 00000000 08:04 2949 /usr/lib/libstdc++.so.6.0.8
b7f01000-b7f04000 r--p 000d8000 08:04 2949 /usr/lib/libstdc++.so.6.0.8
b7f04000-b7f06000 rw-p 000db000 08:04 2949 /usr/lib/libstdc++.so.6.0.8
b7f06000-b7f0c000 rw-p b7f06000 00:00 0
b7f27000-b7f29000 rw-p b7f27000 00:00 0
b7f29000-b7f44000 r-xp 00000000 08:04 14147 /lib/ld-2.5.so
b7f44000-b7f46000 rw-p 0001b000 08:04 14147 /lib/ld-2.5.so
bfea7000-bfebc000 rw-p bfea7000 00:00 0 [stack]
ffffe000-fffff000 r-xp 00000000 00:00 0 [vdso]
Aborted
Alguem poderia me ajudar???
flw....