[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[netCDF #YFO-861586]: nc_inq crashes



Hello,

Can you provide the file in question? This seems like an issue that needs to be 
addressed, but tyhe first step will be for me to recreate the issue.  
Additionally, were you able to open this file properly using netCDF 4.4.1 or 
any other previous version?

Thanks in advance, and thank you for the bug report; if we can get this 
recreated, I will fix the issue ASAP.

-Ward

> Full Name: david oloughlin
> Email Address: address@hidden
> Organization: North Carolina Dept. of Agriculture
> Package Version: netcdf-4.4.1.1
> Operating System: centos 7 docker container
> Hardware:
> Description of problem: Hi,
> 
> I am using C code that opens a NETCDF 4 (classic) file then tries to 
> determine how many netCDF variables, dimensions, and global attributes are in 
> the file. GDB tells me that it dies in dfile.c:1500 with the call:
> nc_inq (ncid=65536, ndimsp=0x7fffffffd520, nvarsp=0x7fffffffd524, 
> nattsp=0x7fffffffd528, unlimdimidp=0x0).
> It appears that ncp->dispatch is an invalid address. I can open the file with 
> NetCDF (4.6) Tools UI.
> Would you have any suggestions for how I should go about fixing this?
> 
> Thanks for any help,
> Dave
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: YFO-861586
Department: Support netCDF
Priority: Normal
Status: Closed
===================
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata 
inquiry tracking system and then made publicly available through the web.  If 
you do not want to have your interactions made available in this way, you must 
let us know in each email you send to us.