I'm running Ubuntu 8.04 and I used to have SAC running properly, but now (and I'm not sure why or how it happened) whenever I quit out of SAC (even without doing anything) I get the following errors:
amanda@alough:~$ sac
SEISMIC ANALYSIS CODE [09/04/2008 (Version 101.2)]
Copyright 1995 Regents of the University of California
SAC> quit
*** glibc detected *** sac: free(): invalid next size (fast): 0x0856ab90 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7cb5a85]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7cb94f0]
sac[0x81e5fc6]
sac[0x81d82eb]
sac[0x8052154]
sac[0x808db9f]
sac[0x8058d7e]
sac[0x804f314]
sac[0x804b6eb]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7c60450]
sac[0x804b041]
======= Memory map: ========
08048000-0820b000 r-xp 00000000 08:03 98970 /home/amanda/sac/bin/sac
0820b000-082d1000 rw-p 001c3000 08:03 98970 /home/amanda/sac/bin/sac
082d1000-08576000 rw-p 082d1000 00:00 0 [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7c0c000-b7c16000 r-xp 00000000 08:03 981250 /lib/libgcc_s.so.1
b7c16000-b7c17000 rw-p 0000a000 08:03 981250 /lib/libgcc_s.so.1
b7c26000-b7c27000 rw-p b7c26000 00:00 0
b7c27000-b7c2b000 r-xp 00000000 08:03 213391 /usr/lib/libXdmcp.so.6.0.0
b7c2b000-b7c2c000 rw-p 00003000 08:03 213391 /usr/lib/libXdmcp.so.6.0.0
b7c2c000-b7c2e000 r-xp 00000000 08:03 212599 /usr/lib/libXau.so.6.0.0
b7c2e000-b7c2f000 rw-p 00001000 08:03 212599 /usr/lib/libXau.so.6.0.0
b7c2f000-b7c46000 r-xp 00000000 08:03 212973 /usr/lib/libxcb.so.1.0.0
b7c46000-b7c47000 rw-p 00016000 08:03 212973 /usr/lib/libxcb.so.1.0.0
b7c47000-b7c48000 rw-p b7c47000 00:00 0
b7c48000-b7c49000 r-xp 00000000 08:03 213118 /usr/lib/libxcb-xlib.so.0.0.0
b7c49000-b7c4a000 rw-p 00000000 08:03 213118 /usr/lib/libxcb-xlib.so.0.0.0
b7c4a000-b7d93000 r-xp 00000000 08:03 1014269 /lib/tls/i686/cmov/libc-2.7.so
b7d93000-b7d94000 r--p 00149000 08:03 1014269 /lib/tls/i686/cmov/libc-2.7.so
b7d94000-b7d96000 rw-p 0014a000 08:03 1014269 /lib/tls/i686/cmov/libc-2.7.so
b7d96000-b7d99000 rw-p b7d96000 00:00 0
b7d99000-b7dc6000 r-xp 00000000 08:03 981246 /lib/libncurses.so.5.6
b7dc6000-b7dc9000 rw-p 0002c000 08:03 981246 /lib/libncurses.so.5.6
b7dc9000-b7dec000 r-xp 00000000 08:03 1014273 /lib/tls/i686/cmov/libm-2.7.so
b7dec000-b7dee000 rw-p 00023000 08:03 1014273 /lib/tls/i686/cmov/libm-2.7.so
b7dee000-b7df0000 r-xp 00000000 08:03 1014272 /lib/tls/i686/cmov/libdl-2.7.so
b7df0000-b7df2000 rw-p 00001000 08:03 1014272 /lib/tls/i686/cmov/libdl-2.7.so
b7df2000-b7df3000 rw-p b7df2000 00:00 0
b7df3000-b7ed7000 r-xp 00000000 08:03 213159 /usr/lib/libX11.so.6.2.0
b7ed7000-b7eda000 rw-p 000e4000 08:03 213159 /usr/lib/libX11.so.6.2.0
b7eda000-b7eef000 r-xp 00000000 08:03 212719 /usr/lib/libICE.so.6.3.0
b7eef000-b7ef0000 rw-p 00014000 08:03 212719 /usr/lib/libICE.so.6.3.0
b7ef0000-b7ef2000 rw-p b7ef0000 00:00 0
b7ef2000-b7ef9000 r-xp 00000000 08:03 213821 /usr/lib/libSM.so.6.0.0
b7ef9000-b7efa000 rw-p 00006000 08:03 213821 /usr/lib/libSM.so.6.0.0
b7f06000-b7f0b000 rw-p b7f06000 00:00 0
b7f0b000-b7f0c000 r-xp b7f0b000 00:00 0 [vdso]
b7f0c000-b7f26000 r-xp 00000000 08:03 981373 /lib/ld-2.7.so
b7f26000-b7f28000 rw-p 00019000 08:03 981373 /lib/ld-2.7.so
bfe01000-bfe16000 rw-p bffeb000 00:00 0 [stack]
Aborted
Could anyone tell me how to fix this. I think SAC is running properly, but I'm not sure I trust the output. Plus, all this junk on the screen is very annoying.
Thanks for your help,
Amanda L.
amanda@alough:~$ sac
SEISMIC ANALYSIS CODE [09/04/2008 (Version 101.2)]
Copyright 1995 Regents of the University of California
SAC> quit
*** glibc detected *** sac: free(): invalid next size (fast): 0x0856ab90 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7cb5a85]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7cb94f0]
sac[0x81e5fc6]
sac[0x81d82eb]
sac[0x8052154]
sac[0x808db9f]
sac[0x8058d7e]
sac[0x804f314]
sac[0x804b6eb]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7c60450]
sac[0x804b041]
======= Memory map: ========
08048000-0820b000 r-xp 00000000 08:03 98970 /home/amanda/sac/bin/sac
0820b000-082d1000 rw-p 001c3000 08:03 98970 /home/amanda/sac/bin/sac
082d1000-08576000 rw-p 082d1000 00:00 0 [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7c0c000-b7c16000 r-xp 00000000 08:03 981250 /lib/libgcc_s.so.1
b7c16000-b7c17000 rw-p 0000a000 08:03 981250 /lib/libgcc_s.so.1
b7c26000-b7c27000 rw-p b7c26000 00:00 0
b7c27000-b7c2b000 r-xp 00000000 08:03 213391 /usr/lib/libXdmcp.so.6.0.0
b7c2b000-b7c2c000 rw-p 00003000 08:03 213391 /usr/lib/libXdmcp.so.6.0.0
b7c2c000-b7c2e000 r-xp 00000000 08:03 212599 /usr/lib/libXau.so.6.0.0
b7c2e000-b7c2f000 rw-p 00001000 08:03 212599 /usr/lib/libXau.so.6.0.0
b7c2f000-b7c46000 r-xp 00000000 08:03 212973 /usr/lib/libxcb.so.1.0.0
b7c46000-b7c47000 rw-p 00016000 08:03 212973 /usr/lib/libxcb.so.1.0.0
b7c47000-b7c48000 rw-p b7c47000 00:00 0
b7c48000-b7c49000 r-xp 00000000 08:03 213118 /usr/lib/libxcb-xlib.so.0.0.0
b7c49000-b7c4a000 rw-p 00000000 08:03 213118 /usr/lib/libxcb-xlib.so.0.0.0
b7c4a000-b7d93000 r-xp 00000000 08:03 1014269 /lib/tls/i686/cmov/libc-2.7.so
b7d93000-b7d94000 r--p 00149000 08:03 1014269 /lib/tls/i686/cmov/libc-2.7.so
b7d94000-b7d96000 rw-p 0014a000 08:03 1014269 /lib/tls/i686/cmov/libc-2.7.so
b7d96000-b7d99000 rw-p b7d96000 00:00 0
b7d99000-b7dc6000 r-xp 00000000 08:03 981246 /lib/libncurses.so.5.6
b7dc6000-b7dc9000 rw-p 0002c000 08:03 981246 /lib/libncurses.so.5.6
b7dc9000-b7dec000 r-xp 00000000 08:03 1014273 /lib/tls/i686/cmov/libm-2.7.so
b7dec000-b7dee000 rw-p 00023000 08:03 1014273 /lib/tls/i686/cmov/libm-2.7.so
b7dee000-b7df0000 r-xp 00000000 08:03 1014272 /lib/tls/i686/cmov/libdl-2.7.so
b7df0000-b7df2000 rw-p 00001000 08:03 1014272 /lib/tls/i686/cmov/libdl-2.7.so
b7df2000-b7df3000 rw-p b7df2000 00:00 0
b7df3000-b7ed7000 r-xp 00000000 08:03 213159 /usr/lib/libX11.so.6.2.0
b7ed7000-b7eda000 rw-p 000e4000 08:03 213159 /usr/lib/libX11.so.6.2.0
b7eda000-b7eef000 r-xp 00000000 08:03 212719 /usr/lib/libICE.so.6.3.0
b7eef000-b7ef0000 rw-p 00014000 08:03 212719 /usr/lib/libICE.so.6.3.0
b7ef0000-b7ef2000 rw-p b7ef0000 00:00 0
b7ef2000-b7ef9000 r-xp 00000000 08:03 213821 /usr/lib/libSM.so.6.0.0
b7ef9000-b7efa000 rw-p 00006000 08:03 213821 /usr/lib/libSM.so.6.0.0
b7f06000-b7f0b000 rw-p b7f06000 00:00 0
b7f0b000-b7f0c000 r-xp b7f0b000 00:00 0 [vdso]
b7f0c000-b7f26000 r-xp 00000000 08:03 981373 /lib/ld-2.7.so
b7f26000-b7f28000 rw-p 00019000 08:03 981373 /lib/ld-2.7.so
bfe01000-bfe16000 rw-p bffeb000 00:00 0 [stack]
Aborted
Could anyone tell me how to fix this. I think SAC is running properly, but I'm not sure I trust the output. Plus, all this junk on the screen is very annoying.
Thanks for your help,
Amanda L.
-
Amanda,
Before running SAC, try setting the variable
MALLOC_CHECK_ to 0 (With the extra "_" at the end)
in bash/sh so
% export MALLOC_CHECK_=0
in csh/tcsh
%setenv MALLOC_CHECK_ 0
or you can try running sac like
env MALLOC_CHECK_=0 sac
This should disable the messages you are seeing.
Does SAC always produce this error when exiting or only sometimes ?
Brian
savage<at>uri.edu
http://www.gnu.org/s/libc/manual/html_node/Heap-Consistency-Checking.html
Look for MALLOC_CHECK_
On Aug 1, 2009, at 8:51 PM, Amanda Lough wrote:
I'm running Ubuntu 8.04 and I used to have SAC running properly, but
now (and I'm not sure why or how it happened) whenever I quit out of
SAC (even without doing anything) I get the following errors:
amanda@alough:~$ sac
SEISMIC ANALYSIS CODE [09/04/2008 (Version 101.2)]
Copyright 1995 Regents of the University of California
SAC> quit
*** glibc detected *** sac: free(): invalid next size (fast):
0x0856ab90 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7cb5a85]
/lib/tls/i686/cmov/libc.so.6(cfree+0x90)[0xb7cb94f0]
sac[0x81e5fc6]
sac[0x81d82eb]
sac[0x8052154]
sac[0x808db9f]
sac[0x8058d7e]
sac[0x804f314]
sac[0x804b6eb]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe0)[0xb7c60450]
sac[0x804b041]
======= Memory map: ========
08048000-0820b000 r-xp 00000000 08:03 98970 /home/amanda/sac/
bin/sac
0820b000-082d1000 rw-p 001c3000 08:03 98970 /home/amanda/sac/
bin/sac
082d1000-08576000 rw-p 082d1000 00:00 0 [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7c0c000-b7c16000 r-xp 00000000 08:03 981250 /lib/libgcc_s.so.1
b7c16000-b7c17000 rw-p 0000a000 08:03 981250 /lib/libgcc_s.so.1
b7c26000-b7c27000 rw-p b7c26000 00:00 0
b7c27000-b7c2b000 r-xp 00000000 08:03 213391 /usr/lib/
libXdmcp.so.6.0.0
b7c2b000-b7c2c000 rw-p 00003000 08:03 213391 /usr/lib/
libXdmcp.so.6.0.0
b7c2c000-b7c2e000 r-xp 00000000 08:03 212599 /usr/lib/libXau.so.
6.0.0
b7c2e000-b7c2f000 rw-p 00001000 08:03 212599 /usr/lib/libXau.so.
6.0.0
b7c2f000-b7c46000 r-xp 00000000 08:03 212973 /usr/lib/libxcb.so.
1.0.0
b7c46000-b7c47000 rw-p 00016000 08:03 212973 /usr/lib/libxcb.so.
1.0.0
b7c47000-b7c48000 rw-p b7c47000 00:00 0
b7c48000-b7c49000 r-xp 00000000 08:03 213118 /usr/lib/libxcb-
xlib.so.0.0.0
b7c49000-b7c4a000 rw-p 00000000 08:03 213118 /usr/lib/libxcb-
xlib.so.0.0.0
b7c4a000-b7d93000 r-xp 00000000 08:03 1014269 /lib/tls/i686/cmov/
libc-2.7.so
b7d93000-b7d94000 r--p 00149000 08:03 1014269 /lib/tls/i686/cmov/
libc-2.7.so
b7d94000-b7d96000 rw-p 0014a000 08:03 1014269 /lib/tls/i686/cmov/
libc-2.7.so
b7d96000-b7d99000 rw-p b7d96000 00:00 0
b7d99000-b7dc6000 r-xp 00000000 08:03 981246 /lib/libncurses.so.
5.6
b7dc6000-b7dc9000 rw-p 0002c000 08:03 981246 /lib/libncurses.so.
5.6
b7dc9000-b7dec000 r-xp 00000000 08:03 1014273 /lib/tls/i686/cmov/
libm-2.7.so
b7dec000-b7dee000 rw-p 00023000 08:03 1014273 /lib/tls/i686/cmov/
libm-2.7.so
b7dee000-b7df0000 r-xp 00000000 08:03 1014272 /lib/tls/i686/cmov/
libdl-2.7.so
b7df0000-b7df2000 rw-p 00001000 08:03 1014272 /lib/tls/i686/cmov/
libdl-2.7.so
b7df2000-b7df3000 rw-p b7df2000 00:00 0
b7df3000-b7ed7000 r-xp 00000000 08:03 213159 /usr/lib/libX11.so.
6.2.0
b7ed7000-b7eda000 rw-p 000e4000 08:03 213159 /usr/lib/libX11.so.
6.2.0
b7eda000-b7eef000 r-xp 00000000 08:03 212719 /usr/lib/libICE.so.
6.3.0
b7eef000-b7ef0000 rw-p 00014000 08:03 212719 /usr/lib/libICE.so.
6.3.0
b7ef0000-b7ef2000 rw-p b7ef0000 00:00 0
b7ef2000-b7ef9000 r-xp 00000000 08:03 213821 /usr/lib/libSM.so.
6.0.0
b7ef9000-b7efa000 rw-p 00006000 08:03 213821 /usr/lib/libSM.so.
6.0.0
b7f06000-b7f0b000 rw-p b7f06000 00:00 0
b7f0b000-b7f0c000 r-xp b7f0b000 00:00 0 [vdso]
b7f0c000-b7f26000 r-xp 00000000 08:03 981373 /lib/ld-2.7.so
b7f26000-b7f28000 rw-p 00019000 08:03 981373 /lib/ld-2.7.so
bfe01000-bfe16000 rw-p bffeb000 00:00 0 [stack]
Aborted
Could anyone tell me how to fix this. I think SAC is running
properly, but I'm not sure I trust the output. Plus, all this junk
on the screen is very annoying.
Thanks for your help,
Amanda L.
_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help