Dear friends:
I run my C++ programm in opensuse linux, after it sucessfully run, the system give me the following feedback.Could you please tell me what wrong with my program.

*** glibc detected *** ./flowingheat: double free or corruption (!prev): 0x00000000007e28b0 ***
======= Backtrace: =========
/lib64/libc.so.6(+0x733b6)[0x7f9b6dc2c3b6]
/lib64/libc.so.6(cfree+0x6c)[0x7f9b6dc312dc]
./flowingheat[0x411cde]
./flowingheat[0x40e9fe]
./flowingheat[0x40af3b]
./flowingheat[0x409646]
./flowingheat[0x408e15]
./flowingheat[0x40608d]
/lib64/libc.so.6(__libc_start_main+0xfd)[0x7f9b6dbd7bfd]
./flowingheat[0x403989]
======= Memory map: ========
00400000-004ac000 r-xp 00000000 08:09 531221                             /home/ztdep/FlowingHeat/flowingheat
006ab000-006ac000 r--p 000ab000 08:09 531221                             /home/ztdep/FlowingHeat/flowingheat
006ac000-006ad000 rw-p 000ac000 08:09 531221                             /home/ztdep/FlowingHeat/flowingheat
006ad000-09663000 rw-p 00000000 00:00 0                                  [heap]
7f9b512af000-7f9b5e2b0000 rw-p 00000000 00:00 0 
7f9b60000000-7f9b60021000 rw-p 00000000 00:00 0 
7f9b60021000-7f9b64000000 ---p 00000000 00:00 0 
7f9b67eb2000-7f9b6aab3000 rw-p 00000000 00:00 0 
7f9b6d136000-7f9b6d737000 rw-p 00000000 00:00 0 
7f9b6dbb9000-7f9b6dd1d000 r-xp 00000000 08:08 262707                     /lib64/libc-2.11.3.so
7f9b6dd1d000-7f9b6df1c000 ---p 00164000 08:08 262707                     /lib64/libc-2.11.3.so
7f9b6df1c000-7f9b6df20000 r--p 00163000 08:08 262707                     /lib64/libc-2.11.3.so
7f9b6df20000-7f9b6df21000 rw-p 00167000 08:08 262707                     /lib64/libc-2.11.3.so
7f9b6df21000-7f9b6df26000 rw-p 00000000 00:00 0 
7f9b6df26000-7f9b6df3b000 r-xp 00000000 08:08 262705                     /lib64/libgcc_s.so.1
7f9b6df3b000-7f9b6e13a000 ---p 00015000 08:08 262705                     /lib64/libgcc_s.so.1
7f9b6e13a000-7f9b6e13b000 r--p 00014000 08:08 262705                     /lib64/libgcc_s.so.1
7f9b6e13b000-7f9b6e13c000 rw-p 00015000 08:08 262705                     /lib64/libgcc_s.so.1
7f9b6e13c000-7f9b6e192000 r-xp 00000000 08:08 262735                     /lib64/libm-2.11.3.so
7f9b6e192000-7f9b6e391000 ---p 00056000 08:08 262735                     /lib64/libm-2.11.3.so
7f9b6e391000-7f9b6e392000 r--p 00055000 08:08 262735                     /lib64/libm-2.11.3.so
7f9b6e392000-7f9b6e393000 rw-p 00056000 08:08 262735                     /lib64/libm-2.11.3.so
7f9b6e393000-7f9b6e47e000 r-xp 00000000 08:08 526505                     /usr/lib64/libstdc++.so.6.0.14
7f9b6e47e000-7f9b6e67d000 ---p 000eb000 08:08 526505                     /usr/lib64/libstdc++.so.6.0.14
7f9b6e67d000-7f9b6e685000 r--p 000ea000 08:08 526505                     /usr/lib64/libstdc++.so.6.0.14
7f9b6e685000-7f9b6e687000 rw-p 000f2000 08:08 526505                     /usr/lib64/libstdc++.so.6.0.14
7f9b6e687000-7f9b6e69c000 rw-p 00000000 00:00 0 
7f9b6e69c000-7f9b6e6ba000 r-xp 00000000 08:08 262725                     /lib64/ld-2.11.3.so
7f9b6e881000-7f9b6e886000 rw-p 00000000 00:00 0 
7f9b6e8b7000-7f9b6e8b9000 rw-p 00000000 00:00 0 
7f9b6e8b9000-7f9b6e8ba000 r--p 0001d000 08:08 262725                     /lib64/ld-2.11.3.so
7f9b6e8ba000-7f9b6e8bb000 rw-p 0001e000 08:08 262725                     /lib64/ld-2.11.3.so
7f9b6e8bb000-7f9b6e8bc000 rw-p 00000000 00:00 0 
7fffb257d000-7fffb259e000 rw-p 00000000 00:00 0                          [stack]
7fffb25ff000-7fffb2600000 r-xp 00000000 00:00 0                          [vdso]
ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0                  [vsyscall]
Aborted

The first line gives a good hint. You should consult your debugger.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.