Are you running with a special debugging version of glibc? We don't see
this problem.
Steve
zhu wrote:
I compiled the debug using g++-3.4.4 on Linux 2.6.16-1.2069_FC4smp but
failed to run the test program. Could anyone help me? Thank you very much.
Yifeng
[EMAIL PROTECTED] build]$ scons ALPHA_SE/test/debug/quick
scons: Reading SConscript files ...
Checking for C header file fenv.h... yes
Compiling in ALPHA_SE with MySQL support.
scons: done reading SConscript files.
scons: Building targets ...
ALPHA_SE/m5.debug -d ALPHA_SE/test/debug/test2 m5-test/test2/run.py >
ALPHA_SE/test/debug/test2/stdout 2> ALPHA_SE/test/debug/test2/stderr
*** glibc detected *** ALPHA_SE/m5.debug: malloc(): memory corruption:
0x0879a360 ***
======= Backtrace: =========
/lib/libc.so.6[0x2de1a2]
/lib/libc.so.6(malloc+0x74)[0x2df587]
/lib/libc.so.6[0x2cf389]
/lib/libc.so.6(fopen64+0x2c)[0x2d17e4]
/usr/lib/libstdc++.so.6(_ZNSt12__basic_fileIcE4openEPKcSt13_Ios_Openmodei+0x48)[0x753a16]
/usr/lib/libstdc++.so.6(_ZNSt13basic_filebufIcSt11char_traitsIcEE4openEPKcSt13_Ios_Openmode+0x4e)[0x702f9e]
/usr/lib/libstdc++.so.6(_ZNSt14basic_ofstreamIcSt11char_traitsIcEEC1EPKcSt13_Ios_Openmode+0xb5)[0x7044f7]
ALPHA_SE/m5.debug[0x80ecd17]
ALPHA_SE/m5.debug[0x836fe58]
/lib/libc.so.6(__libc_start_main+0xdf)[0x28ed7f]
ALPHA_SE/m5.debug(__gxx_personality_v0+0x125)[0x804c9a1]
======= Memory map: ========
00101000-00170000 r-xp 00000000 08:09 21400113 /usr/lib/libkrb5.so.3.2
00170000-00173000 rw-p 0006e000 08:09 21400113 /usr/lib/libkrb5.so.3.2
001a2000-001a7000 r-xp 00000000 08:02 360469 /lib/libcrypt-2.3.6.so
001a7000-001a8000 r--p 00004000 08:02 360469 /lib/libcrypt-2.3.6.so
001a8000-001a9000 rw-p 00005000 08:02 360469 /lib/libcrypt-2.3.6.so
001a9000-001d0000 rw-p 001a9000 00:00 0
0025b000-0025c000 r-xp 0025b000 00:00 0 [vdso]
0025c000-00276000 r-xp 00000000 08:02 360457 /lib/ld-2.3.6.so
00276000-00277000 r--p 00019000 08:02 360457 /lib/ld-2.3.6.so
00277000-00278000 rw-p 0001a000 08:02 360457 /lib/ld-2.3.6.so
0027a000-0039d000 r-xp 00000000 08:02 360459 /lib/libc-2.3.6.so
0039d000-0039f000 r--p 00122000 08:02 360459 /lib/libc-2.3.6.so
0039f000-003a1000 rw-p 00124000 08:02 360459 /lib/libc-2.3.6.so
003a1000-003a3000 rw-p 003a1000 00:00 0
003a5000-003c8000 r-xp 00000000 08:02 360472 /lib/libm-2.3.6.so
003c8000-003c9000 r--p 00022000 08:02 360472 /lib/libm-2.3.6.so
003c9000-003ca000 rw-p 00023000 08:02 360472 /lib/libm-2.3.6.so
003cc000-003ce000 r-xp 00000000 08:02 360467 /lib/libdl-2.3.6.so
003ce000-003cf000 r--p 00001000 08:02 360467 /lib/libdl-2.3.6.so
003cf000-003d0000 rw-p 00002000 08:02 360467 /lib/libdl-2.3.6.so
003d2000-003e4000 r-xp 00000000 08:09 21400115 /usr/lib/libz.so.1.2.2.2
003e4000-003e5000 rw-p 00011000 08:09 21400115 /usr/lib/libz.so.1.2.2.2
003e7000-0042c000 r-xp 00000000 08:09 21528719
/usr/lib/mysql/libmysqlclient.so.14.0.0
0042c000-00506000 rw-p 00045000 08:09 21528719
/usr/lib/mysql/libmysqlclient.so.14.0.0
00506000-00509000 rw-p 00506000 00:00 0
00698000-006a1000 r-xp 00000000 08:02 360500
/lib/libgcc_s-4.0.2-20051126.so.1
006a1000-006a2000 rw-p 00009000 08:02 360500
/lib/libgcc_s-4.0.2-20051126.so.1
006aa000-0077f000 r-xp 00000000 08:09 21400414 /usr/lib/libstdc++.so.6.0.7
0077f000-00784000 rw-p 000d5000 08:09 21400414 /usr/lib/libstdc++.so.6.0.7
00784000-00789000 rw-p 00784000 00:00 0
0080b000-0081a000 r-xp 00000000 08:02 360476 /lib/libresolv-2.3.6.so
0081a000-0081b000 r--p 0000e000 08:02 360476 /lib/libresolv-2.3.6.so
0081b000-0081c000 rw-p 0000f000 08:02 360476 /lib/libresolv-2.3.6.so
0081c000-0081e000 rw-p 0081c000 00:00 0
00924000-00a1c000 r-xp 00000000 08:02 360488 /lib/libcrypto.so.0.9.7f
00a1c000-00a2e000 rw-p 000f8000 08:02 360488 /lib/libcrypto.so.0.9.7f
00a2e000-00a31000 rw-p 00a2e000 00:00 0
00a33000-00a35000 r-xp 00000000 08:02 360486 /lib/libcom_err.so.2.1
00a35000-00a36000 rw-p 00001000 08:02 360486 /lib/libcom_err.so.2.1
00d3b000-00d70000 r-xp 00000000 08:02 360490 /lib/libssl.so.0.9.7f
00d70000-00d73000 rw-p 00035000 08:02 360490 /lib/libssl.so.0.9.7f
00d75000-00d98000 r-xp 00000000 08:09 21400112 /usr/lib/libk5crypto.so.3.0
00d98000-00d99000 rw-p 00023000 08:09 21400112 /usr/lib/libk5crypto.so.3.0
00d9b000-00db2000 r-xp 00000000 08:09 21400114
/usr/lib/libgssapi_krb5.so.2.2
00db2000-00db3000 rw-p 00017000 08:09 21400114
/usr/lib/libgssapi_krb5.so.2.2
00db5000-00db7000 r-xp 00000000 08:09 21400111
/usr/lib/libkrb5support.so.0.0
00db7000-00db8000 rw-p 00001000 08:09 21400111
/usr/lib/libkrb5support.so.0.0
00de8000-00df9000 r-xp 00000000 08:02 360461 /lib/libnsl-2.3.6.so
00df9000-00dfa000 r--p 00010000 08:02 360461 /lib/libnsl-2.3.6.so
00dfa000-00dfb000 rw-p 00011000 08:02 360461 /lib/libnsl-2.3.6.so
00dfb000-00dfd000 rw-p 00dfb000 00:00 0
08048000-0851f000 r-xp 00000000 08:11 3901040
/home/zhu/m5sim/m5_1.1/m5/build/ALPHA_SE/m5.debug
0851f000-08521000 rw-p 004d7000 08:11 3901040
/home/zhu/m5sim/m5_1.1/m5/build/ALPHA_SE/m5.debug
08521000-08525000 rw-p 08521000 00:00 0
08795000-087b6000 rw-p 08795000 00:00 0 [heap]
b7d00000-b7d21000 rw-p b7d00000 00:00 0
b7d21000-b7e00000 ---p b7d21000 00:00 0
b7e76000-b7f7b000 rw-p b7e76000 00:00 0
b7f90000-b7f91000 rw-p b7f90000 00:00 0
bfd7a000-bfd90000 rw-p bfd7a000 00:00 0 [stack]
sh: line 1: 1204 Aborted "ALPHA_SE/m5.debug" -d
"ALPHA_SE/test/debug/test2" "m5-test/test2/run.py"
>"ALPHA_SE/test/debug/test2/stdout" 2>"ALPHA_SE/test/debug/test2/stderr"
scons: *** [ALPHA_SE/test/debug/test2/stdout] Error 134
scons: building terminated because of errors.
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
m5sim-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/m5sim-users