Your message dated Mon, 19 Jan 2015 22:14:11 +0100
with message-id <54bd73a3.60...@the-gammons.net>
and subject line Fixed netcdf Bug
has caused the Debian Bug report #600728,
regarding ncgen fails to pass more than 2 ^{18} (or so) elements to a variable
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
600728: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=600728
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: 1:4.1.1-5
Version: netcdf-bin

$ cat xxx.cdl 
netcdf xxx {
    dimensions:
        count = 524288;

    variables:
        integer foo(count);

    data:
        foo = 1, 2, 3, 4, [and so on…], 524286, 524287, 524288;
}

$ 

        Given a CDL file like one shown above (as generated by the Shell
        script MIME'd), ncgen(1) fails to properly pass all the values
        to the variable in the NetCDF file created:

$ ncgen -o xxx.nc xxx.nc.text 
$ ncdump   xxx.nc 
netcdf xxx {
dimensions:
        count = 524288 ;
variables:
        int foo(count) ;
data:

 foo = 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 
[27834 more lines…]
    262138, 262139, 262140, 262141, 262142, 262143, 262144, _, _, _, _, _, _, 
[10922 more lines…]
    _, _, _, _, _, _, _, _, _, _ ;
}
$ 

        (Please note that there's no diagnostics which may suggest that
        anything has gone wrong.)

        To me, it would seem like a fixed buffer problem, though I
        didn't look at the code as of yet.

-- 
FSF associate member #7257
#!/bin/bash

: ${count:=$((512 * 1024))}

cat <<EOF
netcdf xxx {
    dimensions:
        count = ${count};

    variables:
        integer foo(count);

    data:
        foo = 1$(seq -f ", %.0f" 2 "$count" | tr -d \\n);
}
EOF

Attachment: pgppVFBFtsmbL.pgp
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 1:4.1.3-7.2

Hi,

I have confirmed this bug existed in my old-stable (squeeze) box running
netcdf 1:4.1.3-7.2.

This bug was fixed at, or sometime before netcdf 1:4.1.3-7.2 which is
the current version in unstable.

Regards,

Ross

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
_______________________________________________
Pkg-grass-devel mailing list
Pkg-grass-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel

Reply via email to