Thread: Re: sac-help Digest, Vol 48, Issue 2

Started: 2009-08-17 21:20:56
Last activity: 2009-08-17 21:20:56
Topics: SAC Help
George Sand França
2009-08-17 21:20:56
Dear Maria,

Example for you

SAC> r file.z.sac file.n.sac file.e.sac
SAC> color on inc l red blue black % list each
seismogram with different color
SAC> p2

Prof. George Sand L. A. de França
Chefe do Observatório Sismológico
Universidade de Brasília
SG 13 Campus Universitário Darcy Ribeiro
70910-900
55 61 33404055




sac-help-request<at>iris.washington.edu escreveu:
Send sac-help mailing list submissions to
sac-help<at>iris.washington.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://www.iris.washington.edu/mailman/listinfo/sac-help
or, via email, send a message with subject or body 'help' to
sac-help-request<at>iris.washington.edu

You can reach the person managing the list at
sac-help-owner<at>iris.washington.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of sac-help digest..."


Today's Topics:

1. Re: glibc detected (Brian Savage)
2. color plot (MAR?ALAURA ROSA)
3. Re: color plot (Bob Myhill)
4. plot1 problem (Onur Tan)


----------------------------------------------------------------------

Message: 1
Date: Sat, 1 Aug 2009 22:25:14 -0400
From: Brian Savage <savage<at>uri.edu>
Subject: Re: [SAC-HELP] glibc detected
To: SAC HELP <sac-help<at>iris.washington.edu>
Message-ID: <A53104E8-2B9A-47E7-9923-2C9FEE2269E8<at>uri.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes

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




------------------------------

Message: 2
Date: Thu, 13 Aug 2009 12:25:13 -0700 (PDT)
From: MAR?ALAURA ROSA <maia153<at>yahoo.com.ar>
Subject: [SAC-HELP] color plot
To: sac-help<at>iris.washington.edu
Message-ID: <475477.42543.qm<at>web38804.mail.mud.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1

Dear Sac user's,
I want to generate a plot of different files in only one plot, so I want to generate it in color to distinguish each file. I use P2, but I can?t remember what to write after that, to generate it in color. Can you help me, please?
Thank you so much.
Mar?a



Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/



------------------------------

Message: 3
Date: Thu, 13 Aug 2009 20:09:16 +0000
From: Bob Myhill <rm438<at>cam.ac.uk>
Subject: Re: [SAC-HELP] color plot
To: MAR?ALAURA ROSA <maia153<at>yahoo.com.ar>
Cc: sac-help<at>iris.washington.edu
Message-ID:
<d44dd58f0908131309u3c923fc0m9f653c4df27d03cb<at>mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Dear Mar?a,

Before you type in p2, try the command 'color on increment on'. That should
produce a plot with different colors for each trace (although the colors do
repeat if you have many traces to plot).

Best wishes,
Bob Myhill

2009/8/13 MAR?ALAURA ROSA <maia153<at>yahoo.com.ar>


Dear Sac user's,
I want to generate a plot of different files in only one plot, so I want to
generate it in color to distinguish each file. I use P2, but I can?t
remember what to write after that, to generate it in color. Can you help me,
please?
Thank you so much.
Mar?a



Yahoo! Cocina

Encontra las mejores recetas con Yahoo! Cocina.


http://ar.mujer.yahoo.com/cocina/

_______________________________________________
sac-help mailing list
sac-help<at>iris.washington.edu
http://www.iris.washington.edu/mailman/listinfo/sac-help








--
Prof. George Sand L. A. de França
Chefe do Observatório Sismológico
Universidade de Brasília
SG 13 Campus Universitário Darcy Ribeiro
70910-900
55 61 33404055
55 61 96365556 (chefia)
55 61 93033829 (pessoal)
www.obsis.unb.br
www.tremordeterra.blogspot.com.br


06:58:31 v.01697673