[ 
https://issues.apache.org/jira/browse/ARROW-13039?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Antoine Pitrou updated ARROW-13039:
-----------------------------------
    Description: 
When propagating a Status error up to R, we call {{cpp11::stop}} which actually 
has a printf-style syntax.

When our error message contains {{'%'}} characters, this messes formatting and 
can trigger Valgrind errors (since the formatting tries to read additional 
arguments from the C stack).

  was:
We need to escape special chars or use a fixed cpp11 version :

[https://github.com/r-lib/cpp11/issues/181]


> [R] Fix error message handling
> ------------------------------
>
>                 Key: ARROW-13039
>                 URL: https://issues.apache.org/jira/browse/ARROW-13039
>             Project: Apache Arrow
>          Issue Type: Bug
>          Components: R
>            Reporter: Antoine Pitrou
>            Priority: Major
>
> When propagating a Status error up to R, we call {{cpp11::stop}} which 
> actually has a printf-style syntax.
> When our error message contains {{'%'}} characters, this messes formatting 
> and can trigger Valgrind errors (since the formatting tries to read 
> additional arguments from the C stack).



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to