Thread: SAC Memory Dump

Started: 2010-06-04 15:18:38
Last activity: 2010-06-04 20:55:29
Topics: SAC Help
Katie Boyle
2010-06-04 15:18:38
Hi All,

Every time I run SAC, it barfs this out (all I did for this example was type
'sac' and then immediately typed 'quit'):

me@me-desktop:~$ 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): 0x09ba1178 ***
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6[0xb7d06454]
/lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7d084b6]
sac[0x81e5fc6]
sac[0x81d82eb]
sac[0x8052154]
sac[0x808db9f]
sac[0x8058d7e]
sac[0x804f314]
sac[0x804b6eb]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7cad685]
sac[0x804b041]
======= Memory map: ========
08048000-0820b000 r-xp 00000000 08:01 20277010 /usr/local/sac/bin/sac
0820b000-082d1000 rw-p 001c3000 08:01 20277010 /usr/local/sac/bin/sac
082d1000-08555000 rw-p 082d1000 00:00 0
09b8c000-09bad000 rw-p 09b8c000 00:00 0 [heap]
b7b00000-b7b21000 rw-p b7b00000 00:00 0
b7b21000-b7c00000 ---p b7b21000 00:00 0
b7c52000-b7c5f000 r-xp 00000000 08:01 11468812 /lib/libgcc_s.so.1
b7c5f000-b7c60000 r--p 0000c000 08:01 11468812 /lib/libgcc_s.so.1
b7c60000-b7c61000 rw-p 0000d000 08:01 11468812 /lib/libgcc_s.so.1
b7c71000-b7c72000 rw-p b7c71000 00:00 0
b7c72000-b7c76000 r-xp 00000000 08:01 19940930 /usr/lib/libXdmcp.so.6.0.0
b7c76000-b7c77000 rw-p 00003000 08:01 19940930 /usr/lib/libXdmcp.so.6.0.0
b7c77000-b7c79000 r-xp 00000000 08:01 19940919 /usr/lib/libXau.so.6.0.0
b7c79000-b7c7a000 rw-p 00001000 08:01 19940919 /usr/lib/libXau.so.6.0.0
b7c7a000-b7c91000 r-xp 00000000 08:01 11313175 /usr/lib/libxcb.so.1.0.0
b7c91000-b7c92000 r--p 00016000 08:01 11313175 /usr/lib/libxcb.so.1.0.0
b7c92000-b7c93000 rw-p 00017000 08:01 11313175 /usr/lib/libxcb.so.1.0.0
b7c93000-b7c94000 rw-p b7c93000 00:00 0
b7c94000-b7c95000 r-xp 00000000 08:01 11313173
/usr/lib/libxcb-xlib.so.0.0.0
b7c95000-b7c96000 r--p 00000000 08:01 11313173
/usr/lib/libxcb-xlib.so.0.0.0
b7c96000-b7c97000 rw-p 00001000 08:01 11313173
/usr/lib/libxcb-xlib.so.0.0.0
b7c97000-b7def000 r-xp 00000000 08:01 11486016 /lib/tls/i686/cmov/
libc-2.8.90.so
b7def000-b7df1000 r--p 00158000 08:01 11486016 /lib/tls/i686/cmov/
libc-2.8.90.so
b7df1000-b7df2000 rw-p 0015a000 08:01 11486016 /lib/tls/i686/cmov/
libc-2.8.90.so
b7df2000-b7df5000 rw-p b7df2000 00:00 0
b7df5000-b7e22000 r-xp 00000000 08:01 11468877 /lib/libncurses.so.5.6
b7e22000-b7e25000 rw-p 0002c000 08:01 11468877 /lib/libncurses.so.5.6
b7e25000-b7e49000 r-xp 00000000 08:01 11486020 /lib/tls/i686/cmov/
libm-2.8.90.so
b7e49000-b7e4a000 r--p 00023000 08:01 11486020 /lib/tls/i686/cmov/
libm-2.8.90.so
b7e4a000-b7e4b000 rw-p 00024000 08:01 11486020 /lib/tls/i686/cmov/
libm-2.8.90.so
b7e4b000-b7e4d000 r-xp 00000000 08:01 11486019 /lib/tls/i686/cmov/
libdl-2.8.90.so
b7e4d000-b7e4e000 r--p 00001000 08:01 11486019 /lib/tls/i686/cmov/
libdl-2.8.90.so
b7e4e000-b7e4f000 rw-p 00002000 08:01 11486019 /lib/tls/i686/cmov/
libdl-2.8.90.so
b7e4f000-b7e50000 rw-p b7e4f000 00:00 0
b7e50000-b7f3b000 r-xp 00000000 08:01 19940107 /usr/lib/libX11.so.6.2.0
b7f3b000-b7f3c000 r--p 000ea000 08:01 19940107 /usr/lib/libX11.so.6.2.0
b7f3c000-b7f3e000 rw-p 000eb000 08:01 19940107 /usr/lib/libX11.so.6.2.0
b7f3e000-b7f3f000 rw-p b7f3e000 00:00 0
b7f3f000-b7f54000 r-xp 00000000 08:01 19940878 /usr/lib/libICE.so.6.3.0
b7f54000-b7f55000 rw-p 00014000 08:01 19940878 /usr/lib/libICE.so.6.3.0
b7f55000-b7f57000 rw-p b7f55000 00:00 0
b7f57000-b7f5e000 r-xp 00000000 08:01 19940907 /usr/lib/libSM.so.6.0.0
b7f5e000-b7f5f000 r--p 00006000 08:01 19940907 /usr/lib/libSM.so.6.0.0
b7f5f000-b7f60000 rw-p 00007000 08:01 19940907 /usr/lib/libSM.so.6.0.0
b7f6d000-b7f72000 rw-p b7f6d000 00:00 0
b7f72000-b7f8c000 r-xp 00000000 08:01 11468862 /lib/ld-2.8.90.so
b7f8c000-b7f8d000 r-xp b7f8c000 00:00 0 [vdso]
b7f8d000-b7f8e000 r--p 0001a000 08:01 11468862 /lib/ld-2.8.90.so
b7f8e000-b7f8f000 rw-p 0001b000 08:01 11468862 /lib/ld-2.8.90.so
bfda0000-bfdb5000 rw-p bffeb000 00:00 0 [stack]
Aborted

  • Brian Savage
    2010-06-04 20:55:29
    Dear Katie

    Try looking at this page:

    http://www.iris.washington.edu/pipermail/sac-help/2009-August/000593.html

    It is the same issue as you are running into. This will make sure SAC
    does not perform a memory dump when you run it.

    Brian Savage
    savage<at>uri.edu

    On Jun 4, 2010, at 11:18 AM, Katie Boyle wrote:

    Hi All,

    Every time I run SAC, it barfs this out (all I did for this example
    was type 'sac' and then immediately typed 'quit'):

    me@me-desktop:~$ 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):
    0x09ba1178 ***
    ======= Backtrace: =========
    /lib/tls/i686/cmov/libc.so.6[0xb7d06454]
    /lib/tls/i686/cmov/libc.so.6(cfree+0x96)[0xb7d084b6]
    sac[0x81e5fc6]
    sac[0x81d82eb]
    sac[0x8052154]
    sac[0x808db9f]
    sac[0x8058d7e]
    sac[0x804f314]
    sac[0x804b6eb]
    /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7cad685]
    sac[0x804b041]
    ======= Memory map: ========
    08048000-0820b000 r-xp 00000000 08:01 20277010 /usr/local/sac/bin/
    sac
    0820b000-082d1000 rw-p 001c3000 08:01 20277010 /usr/local/sac/bin/
    sac
    082d1000-08555000 rw-p 082d1000 00:00 0
    09b8c000-09bad000 rw-p 09b8c000 00:00 0 [heap]
    b7b00000-b7b21000 rw-p b7b00000 00:00 0
    b7b21000-b7c00000 ---p b7b21000 00:00 0
    b7c52000-b7c5f000 r-xp 00000000 08:01 11468812 /lib/libgcc_s.so.1
    b7c5f000-b7c60000 r--p 0000c000 08:01 11468812 /lib/libgcc_s.so.1
    b7c60000-b7c61000 rw-p 0000d000 08:01 11468812 /lib/libgcc_s.so.1
    b7c71000-b7c72000 rw-p b7c71000 00:00 0
    b7c72000-b7c76000 r-xp 00000000 08:01 19940930 /usr/lib/
    libXdmcp.so.6.0.0
    b7c76000-b7c77000 rw-p 00003000 08:01 19940930 /usr/lib/
    libXdmcp.so.6.0.0
    b7c77000-b7c79000 r-xp 00000000 08:01 19940919 /usr/lib/libXau.so.
    6.0.0
    b7c79000-b7c7a000 rw-p 00001000 08:01 19940919 /usr/lib/libXau.so.
    6.0.0
    b7c7a000-b7c91000 r-xp 00000000 08:01 11313175 /usr/lib/libxcb.so.
    1.0.0
    b7c91000-b7c92000 r--p 00016000 08:01 11313175 /usr/lib/libxcb.so.
    1.0.0
    b7c92000-b7c93000 rw-p 00017000 08:01 11313175 /usr/lib/libxcb.so.
    1.0.0
    b7c93000-b7c94000 rw-p b7c93000 00:00 0
    b7c94000-b7c95000 r-xp 00000000 08:01 11313173 /usr/lib/libxcb-
    xlib.so.0.0.0
    b7c95000-b7c96000 r--p 00000000 08:01 11313173 /usr/lib/libxcb-
    xlib.so.0.0.0
    b7c96000-b7c97000 rw-p 00001000 08:01 11313173 /usr/lib/libxcb-
    xlib.so.0.0.0
    b7c97000-b7def000 r-xp 00000000 08:01 11486016 /lib/tls/i686/cmov/
    libc-2.8.90.so
    b7def000-b7df1000 r--p 00158000 08:01 11486016 /lib/tls/i686/cmov/
    libc-2.8.90.so
    b7df1000-b7df2000 rw-p 0015a000 08:01 11486016 /lib/tls/i686/cmov/
    libc-2.8.90.so
    b7df2000-b7df5000 rw-p b7df2000 00:00 0
    b7df5000-b7e22000 r-xp 00000000 08:01 11468877 /lib/libncurses.so.
    5.6
    b7e22000-b7e25000 rw-p 0002c000 08:01 11468877 /lib/libncurses.so.
    5.6
    b7e25000-b7e49000 r-xp 00000000 08:01 11486020 /lib/tls/i686/cmov/
    libm-2.8.90.so
    b7e49000-b7e4a000 r--p 00023000 08:01 11486020 /lib/tls/i686/cmov/
    libm-2.8.90.so
    b7e4a000-b7e4b000 rw-p 00024000 08:01 11486020 /lib/tls/i686/cmov/
    libm-2.8.90.so
    b7e4b000-b7e4d000 r-xp 00000000 08:01 11486019 /lib/tls/i686/cmov/
    libdl-2.8.90.so
    b7e4d000-b7e4e000 r--p 00001000 08:01 11486019 /lib/tls/i686/cmov/
    libdl-2.8.90.so
    b7e4e000-b7e4f000 rw-p 00002000 08:01 11486019 /lib/tls/i686/cmov/
    libdl-2.8.90.so
    b7e4f000-b7e50000 rw-p b7e4f000 00:00 0
    b7e50000-b7f3b000 r-xp 00000000 08:01 19940107 /usr/lib/libX11.so.
    6.2.0
    b7f3b000-b7f3c000 r--p 000ea000 08:01 19940107 /usr/lib/libX11.so.
    6.2.0
    b7f3c000-b7f3e000 rw-p 000eb000 08:01 19940107 /usr/lib/libX11.so.
    6.2.0
    b7f3e000-b7f3f000 rw-p b7f3e000 00:00 0
    b7f3f000-b7f54000 r-xp 00000000 08:01 19940878 /usr/lib/libICE.so.
    6.3.0
    b7f54000-b7f55000 rw-p 00014000 08:01 19940878 /usr/lib/libICE.so.
    6.3.0
    b7f55000-b7f57000 rw-p b7f55000 00:00 0
    b7f57000-b7f5e000 r-xp 00000000 08:01 19940907 /usr/lib/libSM.so.
    6.0.0
    b7f5e000-b7f5f000 r--p 00006000 08:01 19940907 /usr/lib/libSM.so.
    6.0.0
    b7f5f000-b7f60000 rw-p 00007000 08:01 19940907 /usr/lib/libSM.so.
    6.0.0
    b7f6d000-b7f72000 rw-p b7f6d000 00:00 0
    b7f72000-b7f8c000 r-xp 00000000 08:01 11468862 /lib/ld-2.8.90.so
    b7f8c000-b7f8d000 r-xp b7f8c000 00:00 0 [vdso]
    b7f8d000-b7f8e000 r--p 0001a000 08:01 11468862 /lib/ld-2.8.90.so
    b7f8e000-b7f8f000 rw-p 0001b000 08:01 11468862 /lib/ld-2.8.90.so
    bfda0000-bfdb5000 rw-p bffeb000 00:00 0 [stack]
    Aborted
    _______________________________________________
    sac-help mailing list
    sac-help<at>iris.washington.edu
    http://www.iris.washington.edu/mailman/listinfo/sac-help


18:54:39 v.9bc884e1