[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

20001201: Question: Gempak5.6 SIGSEGV with sfchck



Stephen,

This may be the problem I fixed and reported to NCEP at:
http://www.unidata.ucar.edu/glimpse/gempak/3935

This fix will be in my 5.6a release which I'm trying to get
out in the next week. Until then, you can edit your:
$GEMPAK/source/programs/sf/sfchck/sfchck.f file and change:
head*132 to head*512 
and 
string*132 to string*512

Then recompile with:

cd $GEMPAK/source/programs/sf/sfchck
make clean
make all
make install
make clean

See if this fixes your problem.

Steve Chiswell
Unidata User Support

>From: address@hidden
>Organization: UCAR/Unidata
>Keywords: 200012011859.eB1IxNo13196

>
>
>Hi.
>
>I have searched the e-mail lists for help on this, but have not found any   
>ideas.
>
>I have recently installed Gempak5.6 on an HP-UX 10.20 C200.  Everything   
>seems ok so far.  Thank-you.
>
>However, I am getting a core dump when I try to use sfchck:
>
>Pid 2185 received a SIGSEGV for stack growth failure.
>Possible causes: insufficient memory or swap space,
>or stack size exceeded maxssiz.
>Segmentation fault (core dumped)
>
>The current system maxssiz (Maximum Stack Size) is 32 MB (8KB x 4KB per   
>page).  The maxdsiz (Maximum Data Space) is 288 MB (72KB x 4KB per page).   
> How many KB should they be?
>
># sysdef | grep -i max
>NAME                      VALUE       BOOT        MIN-MAX        UNITS   
>  FLAGS
>dbc_max_pct                  50          -           -   
>                  -
>maxdsiz                   73728          -        256-655360     Pages   
>  -
>maxfiles                     60          -         30-2048   
>              -
>maxfiles_lim               1024          -         30-2048   
>              -
>maxssiz                    8192          -        256-655360     Pages   
>  -
>maxswapchunks               512          -          1-16384   
>             -
>maxtsiz                   16384          -        256-655360     Pages   
>  -
>maxuprc                      75          -          3-   
>                  -
>maxvgs                       10          -           -   
>                  -
>netmemmax              68489216          -           -   
>                  -
>
>pelmops3 43: make all
>        rm -f *.o
>         fort77 +E4 +E6 -I/OPS/Apps/GEMPAK5.6/gempak/include   
> -I/OPS/Apps/GEMPAK5.6/gempak/include/HPUX -Wl,+n sfchck.f   
>/OPS/Apps/GEMPAK5.6/lib/hpux/sfchck.a   
>/OPS/Apps/GEMPAK5.6/lib/hpux/gemlib.a   
> /OPS/Apps/GEMPAK5.6/lib/hpux/appl.a   
> /OPS/Apps/GEMPAK5.6/lib/hpux/syslib.a   
> /OPS/Apps/GEMPAK5.6/lib/hpux/cgemlib.a   
> /OPS/Apps/GEMPAK5.6/lib/hpux/gemlib.a -o sfchck
>sfchck.f:
>   MAIN sfchck:
>/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (sfchck.o) was   
>detected. The linked output may not run on a PA 1.x system.
>
>pelmops3 44: which sfchck
>no sfchck in /usr/bin /opt/ansic/bin /usr/ccs/bin /var/yp   
>/usr/lib/netsvc/yp /usr/contrib/bin /opt/nettladm/bin /opt/pd/bin   
>/usr/bin/X11 /usr/contrib/bin/X11 /opt/upgrade/bin /opt/hparray/bin   
>/opt/ignite/bin /opt/langtools/bin /opt/fortran/bin /opt/imake/bin   
>/opt/graphics/OpenGL/debugger/bin /opt/aCC/bin /opt/CC/bin   
>/OPS/Apps/GEMPAK5.6/bin/hpux /OPS/Apps/GEMPAK5.6/bin/scripts
>
>pelmops3 45: make install
>        rm -f *.o
>        install -i sfchck /OPS/Apps/GEMPAK5.6/bin/hpux
>sfchck installed as /OPS/Apps/GEMPAK5.6/bin/hpux
>
>pelmops3 46: which sfchck
>/OPS/Apps/GEMPAK5.6/bin/hpux/sfchck
>
>pelmops3 47: /OPS/Apps/GEMPAK5.6/bin/hpux/sfchck
>
>Pid 2185 received a SIGSEGV for stack growth failure.
>Possible causes: insufficient memory or swap space,
>or stack size exceeded maxssiz.
>Segmentation fault (core dumped)
>
>root@pelmops3 [/OPS/Apps/GEMPAK5.6/gempak/source/programs/sf/sfchck]
># dmesg core
>
>Dec  1 18:33
>Magic number wrong (namelist mismatch?)
>
>
>Stephen Sinnis | Tell:905.566.9511x379
>Pelmorex Inc    | Cell:416.409.1141
>