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

[netCDF #RUE-876772]: Netcdf/opendap build



Hi Kevin,

> tried running ncdump through dbx with access checking switched on.
> Tried first with a standard netcdf file and got a write to unallocated
> error:

Is the "standard netcdf file" you saw this with one of the test files
available with the source distribution?  If so, we can probably duplicate
this problem here and fix it.  Otherwise, can you make the file available
that demonstrates this "write to unallocated" problem?  Meanwhile, I'll
try dbx access checking on some of the test files to see if I can reproduce
this ...

--Russ

> Attempting to read 4 bytes at address 0xfefb2a2c
> t@1 (l@1) stopped in callout_lock_enter at 0xe179a9ac
> 0xe179a9ac: callout_lock_enter+0x0016:  hlt
> Current function is nc3_strerror
> 95                   const char *cp = (const char *) strerror(err);
> (dbx) cont
> Write to unallocated (wua) on thread 1:
> Attempting to write 1 byte at address 0x8046ac0
> t@1 (l@1) stopped in _real_gettext_u at 0xe1779b15
> 0xe1779b15: _real_gettext_u+0x02a6:     addl     $0x0000000c,%esp
> Current function is nc3_strerror
> 95                   const char *cp = (const char *) strerror(err);
> (dbx) where
> current thread: t@1
> [1] _real_gettext_u(0xe180a5c8, 0xe17ad4f2, 0x0, 0x0, 0x5, 0x0), at
> 0xe1779b15
> [2] _dgettext(0xe180a5c8, 0xe17ad4f2, 0xfeffb818, 0x8046f4c,
> 0x80ba7d9, 0x2), at 0xe17784f8
> [3] _strerror(0x2, 0x0, 0x0, 0x0, 0x8046f60, 0x8084f31), at 0xe1755111
> =>[4] nc3_strerror(err = 2), line 95 in "error.c"
> [5] nc_strerror(ncerr1 = 2), line 40 in "ncfunc.c"
> [6] main(argc = 1, argv = 0x8046fd0), line 2129 in "ncdump.c"
> 
> I also tried with a URL and got:
> 
> Write to unallocated (wua) on thread 1:
> Attempting to write 1 byte at address 0x8046c98
> t@1 (l@1) stopped in _mktemp at 0xe1745b0d
> 0xe1745b0d: _mktemp+0x005a:     addl     $0x00000008,%esp
> Current function is nc3d_open
> 135       fd = mkstemp(tmpname);
> (dbx) where
> current thread: t@1
> [1] _mktemp(0x81c6fb0, 0x706d742f, 0x6573702f, 0x666f6475, 0x58656c69,
> 0x58585858), at 0xe1745b0d
> [2] _mkstemp64(0x81c6fb0, 0x0, 0x100, 0x0, 0x10000, 0x81c6fb0), at
> 0xe175a26c
> =>[3] nc3d_open(path = 0x81c6e18
> "http://nomad1.ncep.noaa.gov:9090/dods/gfs/rotating/gfs_00z";, mode = 0,
> ncidp = 0x81c6f80), line 135 in "ncdap3.c"
> [4] nc3__open_mp(path = 0x81c6e18
> "http://nomad1.ncep.noaa.gov:9090/dods/gfs/rotating/gfs_00z";, mode = 0,
> basepe = 0, chunksizehintp = (nil), ncidp = 0x81c6f80), line 68 in
> "dapdispatch3.c"
> [5] l4nc_open_file(path = 0x81c6e18
> "http://nomad1.ncep.noaa.gov:9090/dods/gfs/rotating/gfs_00z";, mode = 0,
> basepe = 0, chunksizehintp = (nil), use_parallel = 0, comm = 0, info =
> 0, ncidp = 0x8046e98), line 2310 in "nc4file.c"
> [6] nc4d_open_file(path = 0x81c6e18
> "http://nomad1.ncep.noaa.gov:9090/dods/gfs/rotating/gfs_00z";, mode = 0,
> basepe = 0, chunksizehintp = (nil), use_parallel = 0, comm = 0, info =
> 0, ncidp = 0x8046f54), line 126 in "ncdap4.c"
> [7] nc_open_file(path = 0x81c6e18
> "http://nomad1.ncep.noaa.gov:9090/dods/gfs/rotating/gfs_00z";, mode = 0,
> basepe = 0, chunksizehintp = (nil), use_parallel = 0, comm = 0, info =
> 0, ncidp = 0x8046f54), line 69 in "dispatch4.c"
> [8] nc_open(path = 0x81c6e18
> "http://nomad1.ncep.noaa.gov:9090/dods/gfs/rotating/gfs_00z";, mode = 0,
> ncidp = 0x8046f54), line 2366 in "nc4file.c"
> [9] main(argc = 1, argv = 0x8046fac), line 2127 in "ncdump.c"
> 
> I tried to continue and for the second one it did but kept coming up
> with similar errors.
> 
> Regards
> 
> Kevin
> --
> ---------------------------------------------------------
> |                                                        |
> | Kevin I.Hodges                                         |
> | ESSC (Enviromental Systems Science Center)             |
> | University of Reading,                                 |
> | Harry Pitt Building,                                   |
> | 3 EarleyGate,                                          |
> | Whiteknights, PO Box 238,                              |
> | Reading RG6 6AL, U.K.                                  |
> |                                                        |
> | Tel:  0118 3787761                                     |
> | Fax:  0118 3786413                                     |
> |                                                        |
> | email: address@hidden                        |
> | WWW: http://www.nerc-essc.ac.uk/~kih/Home.html         |
> |                                                        |
> ---------------------------------------------------------
> 
> 

Russ Rew                                         UCAR Unidata Program
address@hidden                      http://www.unidata.ucar.edu



Ticket Details
===================
Ticket ID: RUE-876772
Department: Support netCDF
Priority: Normal
Status: Closed