Thread: Re: sac problems with MacOSx 10.7

Started: 2012-01-25 23:13:49
Last activity: 2012-01-25 23:13:49
Topics: SAC Help
Arthur Snoke
2012-01-25 23:13:49

I got temporary access to a OS10.7.2 machine but had no problems.

I had sent out a "beta" version of v101.5, and I think someone wrote back
that it had worked okay for them on OS 10.7.2. Still, it is not working
for you, so we need to figure out the reason. Please repeat the steps I do
below and make a file of the screen interactions and send it to me.
Important questions are the version of gcc you are using. (The one
here is the defalt that comes with xcode -- which was put on this
morning.) Also, send me (off list) your SAC file so I can try truly to
reproduce your tests. My tar file: sac-101.5b-mac_64.tar.gz so my results
are for 101.5b, but I would be amazed if the results are any
different from those for 101.5 as only one change was made in the source
code. Most of the changes are in the help files.

uname -a
Darwin kingmac.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9
20:56:15 PDT 2011; root:xnu-1699.24.8~1/RELEASE_I386 i386
[gs4039:~/Desktop/jan25/tests] arthur%

gcc --version
i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build
5658) (LLVM build 2336.1.00)
Copyright (C) 2007 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO

SEISMIC ANALYSIS CODE [01/13/2012 (Version 101.5b)]
Copyright 1995 Regents of the University of California

SAC> fg seismo
SAC> p
SAC> quit
[gs4039:~/Desktop/jan25/tests] arthur% sac
SEISMIC ANALYSIS CODE [01/13/2012 (Version 101.5b)]
Copyright 1995 Regents of the University of California

SAC> fg seismo
SAC> p1
SAC> save seismo.png
save file seismo.png [PNG]
SAC> save
save file [PS]
SAC> save seismo.pdf
save file seismo.pdf [PDF]which Xcode
SAC> quit

[gs4039:~/Desktop/jan25] arthur% otool -L sac/bin/sac
/usr/X11/lib/libSM.6.dylib (compatibility version 7.0.0, current
version 7.0.0)
/usr/X11/lib/libICE.6.dylib (compatibility version 10.0.0, current
version 10.0.0)
/usr/X11/lib/libXpm.4.dylib (compatibility version 16.0.0, current
version 16.0.0)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current
version 1.2.3)
/usr/X11/lib/libX11.6.dylib (compatibility version 9.0.0, current
version 9.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
version 125.2.11)
/usr/lib/libncurses.5.4.dylib (compatibility version 5.4.0,
current version 5.4.0)
[gs4039:~/Desktop/jan25] arthur% strings sac/bin/sac | grep version
Header version number is incorrect.
sgf_to_ps: No SGF file for conversion from
sgf_to_ps: No PS file for conversion to
Matlab routines in the default version of SAC are not available
VARS version number is incorrect.
Unable to open file (%s) for version check.
Failed to determine version number!
This version of SAC does not support database queries.
libpng version 1.2.44 - June 26, 2010
libpng version 1.2.44 - June 26, 2010
zlib failed to initialize compressor -- version error
Incompatible libpng version in application and library
[gs4039:~/Desktop/jan25] arthur%

I will lose access to this machine tomorrow afternoon (the system was
built for a student).


On Tue, 24 Jan 2012, jose rial wrote:


I'm running SAC on Mac OSX 10.7.2 and thought it installed correctly and
seems to work OK, it crashes a lot. It crashes sometimes as in the
example below after seemingly routine commands, like read and plot.
Sometimes it crashes for a segmentation fault, without apparent motive,
just when plot is invoked.

SAC> lp co .001 n 4 p 2
SAC> p
SAC> xlim 8000 20000
SAC> p
SAC> ls
159.18E 72.82S.txt TALDICE_18O_TALDICE1_8-25ka.txt
HP [Converted].jpg cucu.sac taldice.sac
Stenni et al_Nature Geoscience_2011.pdf untitled [Converted].jpg
SAC> r taldice.sac
SAC> p
Assertion failed: (dpy->xcb->pending_requests_tail->next == NULL),
function append_pending_request, file xcb_io.c, line 129.

Other times it crashes due to an apparent segmentation fault.

If sac is launched again it fails right off the bat, so I have to
restart my computer in order for it to work for another, say half hour,
until it crashes again...

Does anyone have similar problems?



Page built 10:59:46 | v.b'4482ed