This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
I would guess that commenting out the line leaves the output of this 
non-existent function (numDateTimeStamps) empty, the same that it was before, 
so the seg faults will continue until numDateTimestamps is assigned a value 
before being used on line 928:   
for( i = 0; i < numDateTimestamps; i++ ) {
-mj
> Trying to track down an openGarp seg fault upon opening the models selector.  
> Don't have much experience with this, in C at least, but I think I've 
> bracketed a section in /openGarp/build/gui/mod.c that looks like:
> 
> /*
> *      Make sure year is in 4 digits.
> */
> Y2KList ( &dateTimestamps, numDateTimestamps );
> 
> I've grep'd for Y2KList in all *.c and *.h in both the openGarp and GEMPAK6.8 
> tree but can't find the function definition.
> 
> What's even weirder is, if I comment out that function execution, garp will 
> still seg fault at same place in the 'verbose -9' output.
> 
> Not asking for a fix, just what comes to mind.
> 
> Thanks,
> -Neil
> 
> 
> ---
> Neil Smith  address@hidden   979.845.6272
> Senior IT Specialist, Atmospheric Sciences, TAMU
> 
> 
> 
> 
> 
> 
> 
Ticket Details
===================
Ticket ID: RCQ-916322
Department: Support GEMPAK
Priority: Critical
Status: Open