Re: [gembud] GEMPAK 6.6.0 Segmentation Faults (Mandriva 2011.0 64-bit)

Hi All

I've tried compiling OM 2.3.3 and 2.3.1 from source and have also tried the 
Mandriva builds generously offered by James Murakami (rebuilding and testing 
after each) and unfortunately I am still coming up seg faults.  

In "gdb-ing" garp, nmap2 and nwx, I'm getting the following output -- all of 
them are hanging on the following:

0x00007ffff5a2bc50 in __parse_one_specmb () from /lib64/libc.so.6 

(which is greek to me and my people here.)

Any further ideas?

Thanks Much
Bill
-----


GARP GDB OUTPUT

(crashes before gui appears,  segmentation faults out)

% gdb garp
GNU gdb (GDB) 7.1-5 (Mandriva Linux release 2011.0)
Copyright (C) 2010 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 "x86_64-mandriva-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/GEMPAK-6.6.0_GNU64/os/linux64/bin/garp...done.
(gdb) run
Starting program: /usr/local/GEMPAK-6.6.0_GNU64/os/linux64/bin/garp 
G A R P - v2.1 starting...

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5a2bc50 in __parse_one_specmb () from /lib64/libc.so.6
(gdb) 



-----------------------

NMAP2 GDB OUTPUT

(creates an empty gui: empty gray top bar, black veiwing area, then 
segmentation faults out)

% gdb nmap2
GNU gdb (GDB) 7.1-5 (Mandriva Linux release 2011.0)
Copyright (C) 2010 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 "x86_64-mandriva-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/GEMPAK-6.6.0_GNU64/os/linux64/bin/nmap2...done.
(gdb) run
Starting program: /usr/local/GEMPAK-6.6.0_GNU64/os/linux64/bin/nmap2 
[Thread debugging using libthread_db enabled]
Finished reading tables...
Resource File:  /usr/local/GEMPAK-6.6.0_GNU64/resource/Nmap

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff580fc50 in __parse_one_specmb () from /lib64/libc.so.6
(gdb) quit

--------------


GDB  NWX OUTPUT

(opens, provides a gui, lets me poke on a station for obs data, then crashes 
with the same seg fault)

% gdb nwx
GNU gdb (GDB) 7.1-5 (Mandriva Linux release 2011.0)
Copyright (C) 2010 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 "x86_64-mandriva-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/local/GEMPAK-6.6.0_GNU64/os/linux64/bin/nwx...done.
(gdb) run

================================================================
Bill Capehart <William.Capehart@xxxxxxxxx>   Associate Professor
Department of Atmospheric Sciences
213 Mineral Industries Building             Skype/EVO: wcapehart
South Dakota School of Mines and Technology  Ph: +1-605-394-1994
501 East Saint Joseph Street                Fax: +1-605-394-6061
Rapid City, SD 57701-3995                Mobile: +1-605-484-5692
=================== http://capehart.sdsmt.edu ==================

________________________________________
From: James Murakami [tenki@xxxxxxxxxxxxxx]
Sent: Friday, June 01, 2012 4:47 PM
To: Capehart, William J
Cc: gembud@xxxxxxxxxxxxxxxx
Subject: Re: [gembud] GEMPAK 6.6.0 Segmentation Faults (Mandriva 2011.0 64-bit)

Hi William,

Unless Michael James says otherwise, I think you'll need to compile OpenMotif 
2.3.3(version 2.3.2 is flawed with respect to Gempak...2.3.1 is O.K. if you 
have it).

We run Gempak6.6.0 on workstations running on Mandriva 2010.2(64 bit), and I 
haven't seen the segmentation errors you describe. Garp does crash when you try 
opening NIDS data or you clear/reset some graphics, which have station 
overlays. However, since Garp isn't supported anymore, and you can do similar 
things using Nmap, it's no big deal for us.

James

----------------------------------------------
James Murakami
Staff Meteorologist/Student Affairs
Department of Atmospheric and Oceanic Sciences
University of California, Los Angeles
405 Hilgard Ave.
Los Angeles, CA  90095-1565


   e-mail: tenki@xxxxxxxxxxxxxx<mailto:tenki@xxxxxxxxxxxxxx>
telephone: 310-825-2418
      Fax: 310-206-5219
----------------------------------------------


On 06/01/2012 03:27 PM, Capehart, William J wrote:
Michael:

OpenMotif comes as an RPM in the Mandriva-64 2011 Powerpack distribution:
        Version: 2.3.2-1mdv2010.0
        Currently installed version: 2.3.2-1mdv2010.0
        Group: Development/C
        Architecture: x86_64
        Size: 25079 KB
        Medium: None (installed)

Do you recommend that we build a /usr/local/ install of it?

From: Michael James <mjamesis@xxxxxxxxx<mailto:mjamesis@xxxxxxxxx>>
To: "gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>" 
<gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>>
Subject: Re: [gembud] GEMPAK 6.6.0 Segmentation Faults (Mandriva 2011.0 64-bit)

William,

I've seen this happen with NPROGS when OpenMotif is installed as a pre-compiled 
RPM.  Is that the case here or did you build OpenMotif from source?

-Michael

On Fri, Jun 1, 2012 at 3:47 PM, Capehart, William J 
<William.Capehart@xxxxxxxxx<mailto:William.Capehart@xxxxxxxxx>> wrote:
We've been able to install GEMPAK 6.6.0 on our Mandriva 2011.0 (64-bit)  
machines and have had good results with the command line programs (e.g,. 
SFLIST) as well as the graphics scripts (e.g., SFMAP).

However, with the GUIs, we've had nothing but segmentation faults for NMAP2 and 
GARP.

Sample for NMAP2:
/home/temp/gempaktest]% nmap2
Finished reading tables...
Resource File:  /usr/local/GEMPAK-6.6.0_GNU64/resource/Nmap
(empty gray GUI comes on the screen very briefly and then…)
Segmentation fault (core dumped)

Other Sample for GARP
temp@sky:/home/temp/gempaktest]% garp
G A R P - v2.1 starting...
Segmentation fault (core dumped)
(no flash of a GUI at all)

We get good results with NSHARP.  NWX runs but does not access any of the data.

We have  Open Motif 2.3.2 and the gcc/gfortran 4.6.1 compilers

Our Makefile seems to be pointing at the correct libraries and includes….

Has anyone else had luck building with Mandriva and recent versions of GEMPAK?


================================================================
Bill Capehart <William.Capehart@xxxxxxxxx<mailto:William.Capehart@xxxxxxxxx>>   
Associate Professor
Department of Atmospheric Sciences
213 Mineral Industries Building             Skype/EVO: wcapehart
South Dakota School of Mines and Technology  Ph: 
+1-605-394-1994<tel:%2B1-605-394-1994>
501 East Saint Joseph Street                Fax: 
+1-605-394-6061<tel:%2B1-605-394-6061>
Rapid City, SD 57701-3995                Mobile: 
+1-605-484-5692<tel:%2B1-605-484-5692>
=================== http://capehart.sdsmt.edu ==================


_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/




_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx<mailto:gembud@xxxxxxxxxxxxxxxx>
For list information or to unsubscribe,  visit: 
http://www.unidata.ucar.edu/mailing_lists/