Skip to content

Commit 18d8d85

Browse files
committed
Ready for CRAN
1 parent 21bc208 commit 18d8d85

3 files changed

Lines changed: 32 additions & 1 deletion

File tree

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Package: filearray
22
Type: Package
33
Title: File-Backed Array for Out-of-Memory Computation
4-
Version: 0.1.4.9000
4+
Version: 0.1.5
55
Language: en-US
66
Encoding: UTF-8
77
License: LGPL-3

NEWS.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# filearray (development version)
22

3+
# filearray 0.1.5
4+
5+
* Fixed a bug when trying to read array data sequentially. The bug is caused by buffer size being greater than the array length, making in a pointer that controls the partition number exceed the end of vector, resulting in undefined behavior. The functions affected are: `fmap`, `fmap2`. The bug has been fixed and passed `valgrind` memory check.
6+
37
# filearray 0.1.4
48

59
* Fixed a bug when allocated memory is one byte short than requested. The bug would crash R when triggered in certain cases.

cran-comments.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,3 +11,30 @@
1111

1212
On `oldrelease`, `release` and `devel`
1313
0 errors | 0 warnings | 0 notes
14+
15+
## Additional tests
16+
17+
* `clang-UBSAN`: using `valgrind` to test all examples and tests (single threaded). The result showed insignificance.
18+
19+
```
20+
==40499==
21+
==40499== HEAP SUMMARY:
22+
==40499== in use at exit: 178,803,840 bytes in 20,419 blocks
23+
==40499== total heap usage: 1,294,546 allocs, 1,274,127 frees, 1,198,582,624 bytes allocated
24+
==40499==
25+
==40499== LEAK SUMMARY:
26+
==40499== definitely lost: 0 bytes in 0 blocks
27+
==40499== indirectly lost: 0 bytes in 0 blocks
28+
==40499== possibly lost: 0 bytes in 0 blocks
29+
==40499== still reachable: 178,803,840 bytes in 20,419 blocks
30+
==40499== of which reachable via heuristic:
31+
==40499== newarray : 4,264 bytes in 1 blocks
32+
==40499== suppressed: 0 bytes in 0 blocks
33+
==40499== Reachable blocks (those to which a pointer was found) are not shown.
34+
==40499== To see them, rerun with: --leak-check=full --show-leak-kinds=all
35+
==40499==
36+
==40499== For lists of detected and suppressed errors, rerun with: -s
37+
==40499== ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)
38+
```
39+
40+

0 commit comments

Comments
 (0)