Re: [gembud] FW: NMAP2 Segmentation Fault

for gembud,

I sent Andrew v6.2 nmap_dslw.c and recommended rebuild in $GEMPAK/source/programs/gui/nmap2/ to get around this segfault problem.

If anyone else encounters this error please contact me through support-gempak@xxxxxxxxxxxxxxxx and attach your ldm pqact file used to file images to $SAT.

Michael James
Unidata



On 11/15/2011 02:49 PM, Andrew Little wrote:

------------------------------------------------------------------------
*From:* Andrew Little
*Sent:* Tuesday, November 15, 2011 3:46 PM
*To:* gembud@xxxxxxxxxxxxxxx; support-gempak@xxxxxxxxxxxxxxxx
*Subject:* NMAP2 Segmentation Fault

After installing openmotif-2.3.3 from source and installing GEMPAK6.4.0 on RHEL5 i386 I tried to launch nmap2-->new source-->images-->sat-->goes-12-->conus and then NMAP2 crashes with a seg faut.
Below is the backtrace from gdb.

[nawips@avwxdell9 ~/GEMPAK]$ 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 "/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/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.
0x004ad782 in strncpy () from /lib/libc.so.6
(gdb) bt
#0  0x004ad782 in strncpy () from /lib/libc.so.6
#1 0x08065984 in dslw_listCb (wid=0x1e43c078, layer=4, cbs=0xbfffc5e8) at nmap_dslw.c:1374
#2  0x071e940b in XtCallCallbackList () from /usr/lib/libXt.so.6
#3 0x00887e76 in ClickElement (lw=0x1e43c078, event=0xbfffcb78, default_action=0 '\000') at List.c:5873 #4 0x008886b6 in UnSelectElement (wid=0x1e43c078, event=0xbfffcb78, params=0x1c68ebd8, num_params=0xbfffc6c0)
    at List.c:5021
#5  0x07214973 in XtCallActionProc () from /usr/lib/libXt.so.6
#6 0x008858da in ListProcessBtn1 (wid=0x1e43c078, event=0xbfffcb78, params=0x1c68ebd8, num_params=0x1c68ebb0)
    at List.c:7333
#7  0x0721f371 in ?? () from /usr/lib/libXt.so.6
#8  0x0721f74a in ?? () from /usr/lib/libXt.so.6
#9  0x0721fd4b in _XtTranslateEvent () from /usr/lib/libXt.so.6
#10 0x071f7645 in XtDispatchEventToWidget () from /usr/lib/libXt.so.6
#11 0x071f7dca in ?? () from /usr/lib/libXt.so.6
#12 0x071f6ca7 in XtDispatchEvent () from /usr/lib/libXt.so.6
#13 0x071f6e5c in XtAppMainLoop () from /usr/lib/libXt.so.6
#14 0x0804fb77 in main (argc=1, argv=0xbfffdf54) at nmap2.c:359
(gdb)
  • 2011 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the gembud archives: