[gembud] FW: VGF file causes NMAP2 from GEMPAK6.4.0 to Seg Fault

From: Andrew Little
Sent: Thursday, December 01, 2011 5:43 PM
To: Michael James (mjames@xxxxxxxxxxxxxxxx)
Subject: VGF file causes NMAP2 from GEMPAK6.4.0 to Seg Fault

Michael,

I am trying to view a custom-made VGF file that was made using an older version 
of GEMPAK (GEMPAK5.10.2). However, when I go to view the VGF file, NMAP2 seg 
faults. Attached is the vgf file

Below is my backtrace from gdb

avwxdell9 /home/alittle$ nmap2
Finished reading tables...
Resource File:  /usr/nawips/GEMPAK6.4.0/resource/Nmap
Segmentation fault
avwxdell9 /home/alittle$ gdb nmap2
GNU gdb (GDB) Red Hat Enterprise Linux (7.0.1-37.el5_7.1)
Copyright (C) 2009 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/nawips/GEMPAK6.4.0/os/linux/bin/nmap2...done.
(gdb) run
Starting program: /usr/nawips/GEMPAK6.4.0/os/linux/bin/nmap2
warning: .dynamic section for "/lib/libgcc_s.so.1" is not at the expected 
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXmu.so.6" is not at the expected 
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXext.so.6" is not at the expected 
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXft.so.2" is not at the expected 
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXrender.so.1" is not at the expected 
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libSM.so.6" is not at the expected 
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXau.so.6" is not at the expected 
address
warning: difference appears to be caused by prelink, adjusting expectations
warning: .dynamic section for "/usr/lib/libXdmcp.so.6" is not at the expected 
address
warning: difference appears to be caused by prelink, adjusting expectations
[Thread debugging using libthread_db enabled]
Finished reading tables...
Resource File:  /usr/nawips/GEMPAK6.4.0/resource/Nmap

Program received signal SIGSEGV, Segmentation fault.
0x08400476 in gtrans (sysin=..., sysout=..., np=@0xbffda50c, xin=0xbffdb968, 
yin=0x41b7770c, xout=0xbffd9d30, yout=0xbffd9560, iret=@0xbffd84c0, _sysin=1, _
    at gtrans.f:89
89                  yout (i) = yin (i)
(gdb) bt
#0  0x08400476 in gtrans (sysin=..., sysout=..., np=@0xbffda50c, 
xin=0xbffdb968, yin=0x41b7770c, xout=0xbffd9d30, yout=0xbffd9560, 
iret=@0xbffd84c0, _sysin=
    at gtrans.f:89
#1  0x08392d26 in cgr_range_ (syspts=0x86c1bb8 'M\000', npts=0xbffda50c, 
x=0xbffdb968, y=0x41b7770c, qpoly=0xbffd9520, sysout=0x86c1baa 'D\000', 
rollout=0xb
    nout=0xbffd9518, xout=0xbffd9d30, yout=0xbffd9560, xll=0xbffd855c, 
yll=0xbffd8558, xur=0xbffd8554, yur=0xbffd8550, iret=0xbffd9528) at 
cgrrange.c:254
#2  0x083d7893 in cvg_todev2 (el=0xbffdb580, np=0xbffda50c, dx=0xbffd9d30, 
dy=0xbffd9560, iret=0xbfff8d50) at cvgtodev2.c:147
#3  0x083c067f in cvg_trkstmregpl (id=42400, el=0xbffdb580, iret=0xbfff8d50) at 
cvgel2place.c:995
#4  0x083bf776 in cvg_el2place (elpos=424, el=0xbffdb580, iret=0xbfff8d50) at 
cvgel2place.c:121
#5  0x083edbbc in cvg_ld4place (filename=0x1b01d931 
'/product/arc2/aviation/vgf/flightplans/ZYTX_RKSS.vgf\000', iret=0xbfff8d50) at 
cvgld4place.c:91
#6  0x083c2be9 in cvg_load (fname=0x1b01d931 
'/product/arc2/aviation/vgf/flightplans/ZYTX_RKSS.vgf\000', selflag=0 '\000', 
wrtflg=0 '\000', plotflg=0 '\000'
    iret=0xbfff8d50) at cvgload.c:181
#7  0x083c279f in cvg_load2 (fname=0x1b01d931 
'/product/arc2/aviation/vgf/flightplans/ZYTX_RKSS.vgf\000', icol=0, 
iret=0xbfff8d50) at cvgload2.c:50
#8  0x0828770d in gg_dvgf_ (vgfile=0x1b01d931 
'/product/arc2/aviation/vgf/flightplans/ZYTX_RKSS.vgf\000', icol=0xbfff9db0, 
iret=0xbfff96b8) at ggdvgf.c:44
#9  0x08217d4a in nms_dspl (panel=..., dattim=..., alias=..., 
isbcat=@0x1b020a0c, filnam=..., numc=@0x1b01e998, ionoff=0xbfff9e20, 
iclrs=0xbfff9db0, iclrs2=
    numf=@0x1b01fcc0, iflgs=0xbfff9cd0, fvalu=0xbfff9c60, fline=0xbfff9b30, 
fsym1=0xbfff9870, fsym2=0xbfff9740, farrw=0xbfff99a0, ititl=@0xbfff9ed0, iret=@0
    _dattim=11, _alias=3, _filnam=52) at nmsdspl.f:481
#10 0x0820d6ec in nms_plot (pixmap=1, index=0, panel=0xbfffa550 'ALL\000', 
time=0xbfffa82c '111201/2144\000', endtim=0xbfff9f00 '111201/2144\000', 
mrange=-1
    ititl=-2, iret=0xbfffa784) at nmsplot.c:106
#11 0x0806b5e3 in dsp_loadFrame (lp=0, frm=1, pxm=1, ctime=0xbfffa800 
'111201/2144\000', ftime=0xbfffa82c '111201/2144\000', view_frm=1 '\001', 
nsrcs=1, fst
    reload=0 '\000') at nmap_dsp.c:1221
#12 0x0806a8d3 in dsp_loadLoop (lp=0, view_lp=1 '\001', loaded=0xbfffc3b0) at 
nmap_dsp.c:735
#13 0x0806a0e8 in dsp_reloadLoop (lp=0, iret=0xbfffc3e8) at nmap_dsp.c:209
#14 0x080564a4 in dataw_loadData () at nmap_dataw.c:1447
#15 0x08057a16 in dataw_bottomCtlCb (wid=0x1e3af468, which=0, call=0xbfffc470) 
at nmap_dataw.c:2688
#16 0x071e940b in XtCallCallbackList () from /usr/lib/libXt.so.6
#17 0x004ea3fc in ?? () from /usr/lib/libXm.so.4
#18 0x0721f371 in ?? () from /usr/lib/libXt.so.6
#19 0x0721fa4b in _XtTranslateEvent () from /usr/lib/libXt.so.6
#20 0x071f7645 in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
#21 0x071f7dca in ?? () from /usr/lib/libXt.so.6
#22 0x071f6ca7 in XtDispatchEvent () from /usr/lib/libXt.so.6
#23 0x071f6e5c in XtAppMainLoop () from /usr/lib/libXt.so.6
#24 0x0804fb6f in main (argc=1, argv=0xbfffdcc4) at nmap2.c:359

Attachment: ZYTX_RKSS.vgf
Description: ZYTX_RKSS.vgf

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