Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check redland using rchk #78

Closed
gothub opened this issue Mar 21, 2019 · 1 comment
Closed

Check redland using rchk #78

gothub opened this issue Mar 21, 2019 · 1 comment
Assignees
Milestone

Comments

@gothub
Copy link

gothub commented Mar 21, 2019

The rchk program checks C source code for potential memory protection errors. @cboettig and others has reported that this tool reports potential problems with the SWIG generated source.

Use this tool to find and fix memory problems.

@gothub gothub added this to the 1.0.17-11 milestone Mar 21, 2019
@gothub gothub self-assigned this Mar 21, 2019
@gothub
Copy link
Author

gothub commented Oct 7, 2019

CRAN package checks flagged the 1.10.17-10 release as getting a warning from rchk as shown here:
https://raw.githubusercontent.com/kalibera/cran-checks/master/rchk/results/redland.out

Package redland version 1.0.17-10
Package built using 76738/R 3.7.0; x86_64-pc-linux-gnu; 2019-06-27 01:24:38 UTC; unix   
Checked with rchk version 6400f4a0aa14a4379fcc72d8dbf07a49b4725e07
More information at https://github.com/kalibera/cran-checks/blob/master/rchk/PROTECT.md

Function SWIG_R_NewPointerObj
  [UP] calling allocating function R_MakeExternalPtr with argument allocated using R_MakeExternalPtr redland/src/redland.c:977

This rchk violation was fixed in commit 27f5842.

The package was checked on Ubuntu 17.10 using the directions posted here: https://github.com/kalibera/rchk and the checked passed

@gothub gothub closed this as completed Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant