[gembud] GEMPAK 5.11.4 Centos 5.5 i386 Segmentation Fault

Dear GEMBUD users,

 

Attached is my make and install logs as well as my Makeinc.common and
Makeinc.linux_gfortran.

 

I am not sure why I cannot get nex2gini to work. Every time I run
nex2gini, it returns a Segmentation Fault.

 

FYI: I am using the locally rpm installed netcdf-3.6.3-1.el5.rf and
netcdf-devel-3.6.3-1.el5.rf from rpmforge.

 

When I ran DDD(GDB) on nex2gini, this is the error message I received:

Program received signal SIGSEGV, Segmentation fault.

0x080c234c in ctb_dtget_ (alias_i=0xbfffdec1 "NEXRIII", path=0xbfffcfe0
' ' <repeats 200 times>..., template=0xbfffdce0 ' ' <repeats 80 times>,
catgry=0xbfffde58, subcat=0xbfffddec, nframe=0xbfffde2c,
range=0xbfffddf8, intrvl=0xbfffde20, ionoff=0xbfffde04,
hrsbfr=0xbfffde34, mnsbfr=0xbfffde28, hraftr=0xbfffde9c,
mnaftr=0xbfffde38, mstrct=0xa, dtmmtch=0x100, iret=0x50) at
ctbdtget.c:61

/usr/nawips/GEMPAK5.11.4/gempak/source/gemlib/ctb/ctbdtget.c:61:2609:beg
:0x80c234c

(gdb)

 

Also, while tracing through the source code using DDD( graphical GDB), I
came across this:

## From /usr/nawips/GEMPAK5.11.4/gempak/source/gemlib/ctb/ctbdtget.c:
line 61

     61     *iret = G_NORMAL;

 

Then I checked where *iret came from which is the function void
ctb_dtget.

## From /usr/nawips/GEMPAK5.11.4/gempak/source/gemlib/ctb/ctbdtget.c:
lines 8-12

       8 void ctb_dtget ( char *alias_i, char *path, char *template,

       9                  int *catgry, int *subcat, int *nframe, int
*range,

     10                  int *intrvl, int *ionoff, int *hrsbfr, int
*mnsbfr,

     11                  int *hraftr, int *mnaftr, int *mstrct,

     12                  int *dtmmtch, int *iret )


In nex2gini .f, ctb_dtget gets called using the local variables below.

## From /usr/nawips/GEMPAK5.11.4/unidata/programs/nex2gini/nex2gini.f:
lines 65,66

     65     CALL CTB_DTGET ( ctmpl, tpath, tplate, ic, is, if, ir, ii,
ion,

              +                  ihb, iha, idtmch, ier )

 

I know that source code should be an issue because I have GEMPAK5.11.1
which as this same source code and it all works.

 

Any help would be greatly appreciated.

 

Thanks.

 

Andrew Little

Systems Analyst

 

Universal Weather & Aviation

8787 Tallyho Road

Houston, Texas 77061

alittle@xxxxxxxxxxxx <mailto:alittle@xxxxxxxxxxxx> 

 

Office: 713.947.5633

Cell:    713.504.2719

 

Attachment: install.latest.log
Description: install.latest.log

Attachment: make.latest.log
Description: make.latest.log

Attachment: Makeinc.common
Description: Makeinc.common

Attachment: Makeinc.linux_gfortran
Description: Makeinc.linux_gfortran

  • 2010 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: