This means there is memory corruption. I would use valgrind to find it.<div><br></div><div> Matt<br><br><div class="gmail_quote">On Sat, Apr 17, 2010 at 8:35 AM, (Rebecca) Xuefei YUAN <span dir="ltr"><<a href="mailto:xy2102@columbia.edu">xy2102@columbia.edu</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hi,<br>
<br>
I got a message of glibc detected, and not sure where is it coming from, any ideas?<br>
<br>
What I have changed from a working copy to this one is to add an element in one of the structure which in the appCtx.<br>
<br>
Thanks very much!<br>
-----------------------------------------------------------------------<br>
(gdb) c<br>
Continuing.<br>
*** glibc detected *** /home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe: free(): invalid next size (normal): 0x08b10750 ***<br>
======= Backtrace: =========<br>
/lib/tls/i686/cmov/libc.so.6[0xb7d9da85]<br>
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7da14f0]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x873a938]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x873c43b]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x872e8f0]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x866c211]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x86a4768]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x8276048]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x80729e1]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x80d8027]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x8100ab3]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x80e0d44]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x80fa8c9]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x80f3dc1]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x8052ecc]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x804def5]<br>
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7d48450]<br>
/home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe[0x804b451]<br>
======= Memory map: ========<br>
08048000-08918000 r-xp 00000000 08:06 3910764 /home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe<br>
08918000-0891e000 rw-p 008cf000 08:06 3910764 /home/rebecca/linux/code/twoway/twoway_new/workingspace/twgcqt2unffnictvscj.exe<br>
0891e000-08b1f000 rw-p 0891e000 00:00 0 [heap]<br>
b7b00000-b7b21000 rw-p b7b00000 00:00 0<br>
b7b21000-b7c00000 ---p b7b21000 00:00 0<br>
b7cef000-b7cf7000 r-xp 00000000 08:05 344321 /lib/tls/i686/cmov/<a href="http://libnss_nis-2.7.so" target="_blank">libnss_nis-2.7.so</a><br>
b7cf7000-b7cf9000 rw-p 00007000 08:05 344321 /lib/tls/i686/cmov/<a href="http://libnss_nis-2.7.so" target="_blank">libnss_nis-2.7.so</a><br>
b7cf9000-b7d00000 r-xp 00000000 08:05 344317 /lib/tls/i686/cmov/<a href="http://libnss_compat-2.7.so" target="_blank">libnss_compat-2.7.so</a><br>
b7d00000-b7d02000 rw-p 00006000 08:05 344317 /lib/tls/i686/cmov/<a href="http://libnss_compat-2.7.so" target="_blank">libnss_compat-2.7.so</a><br>
b7d02000-b7d0b000 r-xp 00000000 08:05 344319 /lib/tls/i686/cmov/<a href="http://libnss_files-2.7.so" target="_blank">libnss_files-2.7.so</a><br>
b7d0b000-b7d0d000 rw-p 00008000 08:05 344319 /lib/tls/i686/cmov/<a href="http://libnss_files-2.7.so" target="_blank">libnss_files-2.7.so</a><br>
b7d0d000-b7d0f000 rw-p b7d0d000 00:00 0<br>
b7d0f000-b7d13000 r-xp 00000000 08:05 179791 /usr/lib/libXdmcp.so.6.0.0<br>
b7d13000-b7d14000 rw-p 00003000 08:05 179791 /usr/lib/libXdmcp.so.6.0.0<br>
b7d14000-b7d16000 r-xp 00000000 08:05 179780 /usr/lib/libXau.so.6.0.0<br>
b7d16000-b7d17000 rw-p 00001000 08:05 179780 /usr/lib/libXau.so.6.0.0<br>
b7d17000-b7d2e000 r-xp 00000000 08:05 180628 /usr/lib/libxcb.so.1.0.0<br>
b7d2e000-b7d2f000 rw-p 00016000 08:05 180628 /usr/lib/libxcb.so.1.0.0<br>
b7d2f000-b7d30000 rw-p b7d2f000 00:00 0<br>
b7d30000-b7d31000 r-xp 00000000 08:05 180626 /usr/lib/libxcb-xlib.so.0.0.0<br>
b7d31000-b7d32000 rw-p 00000000 08:05 180626 /usr/lib/libxcb-xlib.so.0.0.0<br>
b7d32000-b7e7b000 r-xp 00000000 08:05 344310 /lib/tls/i686/cmov/<a href="http://libc-2.7.so" target="_blank">libc-2.7.so</a><br>
b7e7b000-b7e7c000 r--p 00149000 08:05 344310 /lib/tls/i686/cmov/<a href="http://libc-2.7.so" target="_blank">libc-2.7.so</a><br>
b7e7c000-b7e7e000 rw-p 0014a000 08:05 344310 /lib/tls/i686/cmov/<a href="http://libc-2.7.so" target="_blank">libc-2.7.so</a><br>
b7e7e000-b7e81000 rw-p b7e7e000 00:00 0<br>
b7e81000-b7e95000 r-xp 00000000 08:05 344324 /lib/tls/i686/cmov/<a href="http://libpthread-2.7.so" target="_blank">libpthread-2.7.so</a><br>
b7e95000-b7e97000 rw-p 00013000 08:05 344324 /lib/tls/i686/cmov/<a href="http://libpthread-2.7.so" target="_blank">libpthread-2.7.so</a><br>
b7e97000-b7e99000 rw-p b7e97000 00:00 0<br>
b7e99000-b7e9b000 r-xp 00000000 08:05 344313 /lib/tls/i686/cmov/<a href="http://libdl-2.7.so" target="_blank">libdl-2.7.so</a><br>
b7e9b000-b7e9d000 rw-p 00001000 08:05 344313 /lib/tls/i686/cmov/<a href="http://libdl-2.7.so" target="_blank">libdl-2.7.so</a><br>
b7e9d000-b7ea4000 r-xp 00000000 08:05 344326 /lib/tls/i686/cmov/<a href="http://librt-2.7.so" target="_blank">librt-2.7.so</a><br>
b7ea4000-b7ea6000 rw-p 00006000 08:05 344326 /lib/tls/i686/cmov/<a href="http://librt-2.7.so" target="_blank">librt-2.7.so</a><br>
b7ea6000-b7eba000 r-xp 00000000 08:05 344316 /lib/tls/i686/cmov/<a href="http://libnsl-2.7.so" target="_blank">libnsl-2.7.so</a><br>
b7eba000-b7ebc000 rw-p 00013000 08:05 344316 /lib/tls/i686/cmov/<a href="http://libnsl-2.7.so" target="_blank">libnsl-2.7.so</a><br>
b7ebc000-b7ebf000 rw-p b7ebc000 00:00 0<br>
b7ebf000-b7ee2000 r-xp 00000000 08:05 344314 /lib/tls/i686/cmov/<a href="http://libm-2.7.so" target="_blank">libm-2.7.so</a><br>
b7ee2000-b7ee4000 rw-p 00023000 08:05 344314 /lib/tls/i686/cmov/<a href="http://libm-2.7.so" target="_blank">libm-2.7.so</a><br>
b7ee4000-b7fc8000 r-xp 00000000 08:05 179774 /usr/lib/libX11.so.6.2.0<br>
b7fc8000-b7fcb000 rw-p 000e4000 08:05 179774 /usr/lib/libX11.so.6.2.0<br>
b7fcf000-b7fd9000 r-xp 00000000 08:05 308438 /lib/libgcc_s.so.1<br>
b7fd9000-b7fda000 rw-p 0000a000 08:05 308438 /lib/libgcc_s.so.1<br>
b7fda000-b7fdd000 rw-p b7fda000 00:00 0<br>
b7fdd000-b7fde000 r-xp b7fdd000 00:00 0 [vdso]<br>
b7fde000-b7ff8000 r-xp 00000000 08:05 309874 /lib/<a href="http://ld-2.7.so" target="_blank">ld-2.7.so</a><br>
b7ff8000-b7ffa000 rw-p 00019000 08:05 309874 /lib/<a href="http://ld-2.7.so" target="_blank">ld-2.7.so</a><br>
bfb4a000-bfb5f000 rw-p bffeb000 00:00 0 [stack]<br>
<br>
Program received signal SIGABRT, Aborted.<br>
0xb7fdd410 in __kernel_vsyscall ()<br><font color="#888888">
<br>
<br>
-- <br>
(Rebecca) Xuefei YUAN<br>
Department of Applied Physics and Applied Mathematics<br>
Columbia University<br>
Tel:917-399-8032<br>
<a href="http://www.columbia.edu/~xy2102" target="_blank">www.columbia.edu/~xy2102</a><br>
<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>What most experimenters take for granted before they begin their experiments is infinitely more interesting than any results to which their experiments lead.<br>-- Norbert Wiener<br>
</div>