[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[netCDF #ACY-339573]: Segmentation Fault when trying to read variable from netCDF file
- Subject: [netCDF #ACY-339573]: Segmentation Fault when trying to read variable from netCDF file
- Date: Thu, 08 Dec 2016 10:17:49 -0700
Is there a typo in your program?
I see
double**** rcld_in = malloc(sizeof(*rcld_in)*NREC);
but should this not be
double* rcld_in = malloc(sizeof(*rcld_in)*NREC* sizeof(double));
=Dennis Heimbigner
Unidata
Ticket Details
===================
Ticket ID: ACY-339573
Department: Support netCDF
Priority: Normal
Status: Open
===================
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.