[Rd] Request for help with UBSAN and total absense of CRAN response

2015-01-13 Thread Dirk Eddelbuettel

CRAN has a package of mine in upload limbo because it failed UBSAN.

I am not entirely ignorant on the topic of sanitizers and SAN / ASAN / UBSAN;
we created not one but two Docker containers with ASAN and USBAN:

   https://registry.hub.docker.com/u/rocker/r-devel-san/
   https://registry.hub.docker.com/u/rocker/r-devel-ubsan-clang/

as well as predecessors to them in earlier Docker repos.

Yet I fail to recreate the errors reported by CRAN:

   
http://www.stats.ox.ac.uk/pub/bdr/memtests/UBSAN-clang-trunk/RcppAnnoy/tests/runUnitTests.Rout
   
http://www.stats.ox.ac.uk/pub/bdr/memtests/UBSAN/RcppAnnoy/tests/runUnitTests.Rout

I asked politely (and twice) for help with the corresponding compiler
configuration(s).  But CRAN is of course way above communicating with mere
mortals such as yours truly.

So I have no recourse other than to spam all of you: if anybody here has a
working UBSAN setup which can replicate the issue seen in the (rather small)
RcppAnnoy package?

Erik (upstream for Annoy, CC'ed) and I would be most grateful.  We do not
like being held hostage on an error report we cannot replicate and for which
we do not receive any help (or even further communication) whatsoever.

Dirk
about to turn into yet another frustrated CRAN user

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Request for help with UBSAN and total absense of CRAN response

2015-01-13 Thread Avraham Adler
Hello, Dirk.

I have no experience with UBSAN etc., but as you mention not being
able to recreate the CRAN errors, it reminds me of the time I had
trouble getting my pacakge approved for CRAN as it passed all tets but
Win32, and I have a Win64 setup and could not test it. Have you tried
submitting the package to
 and seeing if the CRAN
errors get created there, or is the problem CRAN shows on platforms
other than Windows?

Avi

On Tue, Jan 13, 2015 at 10:30 AM, Dirk Eddelbuettel  wrote:
>
> CRAN has a package of mine in upload limbo because it failed UBSAN.
>
> I am not entirely ignorant on the topic of sanitizers and SAN / ASAN / UBSAN;
> we created not one but two Docker containers with ASAN and USBAN:
>
>https://registry.hub.docker.com/u/rocker/r-devel-san/
>https://registry.hub.docker.com/u/rocker/r-devel-ubsan-clang/
>
> as well as predecessors to them in earlier Docker repos.
>
> Yet I fail to recreate the errors reported by CRAN:
>
>
> http://www.stats.ox.ac.uk/pub/bdr/memtests/UBSAN-clang-trunk/RcppAnnoy/tests/runUnitTests.Rout
>
> http://www.stats.ox.ac.uk/pub/bdr/memtests/UBSAN/RcppAnnoy/tests/runUnitTests.Rout
>
> I asked politely (and twice) for help with the corresponding compiler
> configuration(s).  But CRAN is of course way above communicating with mere
> mortals such as yours truly.
>
> So I have no recourse other than to spam all of you: if anybody here has a
> working UBSAN setup which can replicate the issue seen in the (rather small)
> RcppAnnoy package?
>
> Erik (upstream for Annoy, CC'ed) and I would be most grateful.  We do not
> like being held hostage on an error report we cannot replicate and for which
> we do not receive any help (or even further communication) whatsoever.
>
> Dirk
> about to turn into yet another frustrated CRAN user
>
> --
> http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
>
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Request for help with UBSAN and total absense of CRAN response

2015-01-13 Thread Dan Tenenbaum


- Original Message -
> From: "Dirk Eddelbuettel" 
> To: r-devel@r-project.org
> Cc: "Erik Bernhardsson" , "Dirk Eddelbuettel" 
> 
> Sent: Tuesday, January 13, 2015 7:30:47 AM
> Subject: [Rd] Request for help with UBSAN and total absense of CRAN response
> 
> 
> CRAN has a package of mine in upload limbo because it failed UBSAN.
> 
> I am not entirely ignorant on the topic of sanitizers and SAN / ASAN
> / UBSAN;
> we created not one but two Docker containers with ASAN and USBAN:
> 
>https://registry.hub.docker.com/u/rocker/r-devel-san/
>https://registry.hub.docker.com/u/rocker/r-devel-ubsan-clang/
> 
> as well as predecessors to them in earlier Docker repos.
> 
> Yet I fail to recreate the errors reported by CRAN:
> 
>
> http://www.stats.ox.ac.uk/pub/bdr/memtests/UBSAN-clang-trunk/RcppAnnoy/tests/runUnitTests.Rout
>
> http://www.stats.ox.ac.uk/pub/bdr/memtests/UBSAN/RcppAnnoy/tests/runUnitTests.Rout
> 
> I asked politely (and twice) for help with the corresponding compiler
> configuration(s).  But CRAN is of course way above communicating with
> mere
> mortals such as yours truly.
> 
> So I have no recourse other than to spam all of you: if anybody here
> has a
> working UBSAN setup which can replicate the issue seen in the (rather
> small)
> RcppAnnoy package?
> 

Where should the package source be downloaded from? I see it in CRAN (but 
presumably the latest version that causes the issue is not yet downloadable) 
and in github.

Dan

> Erik (upstream for Annoy, CC'ed) and I would be most grateful.  We do
> not
> like being held hostage on an error report we cannot replicate and
> for which
> we do not receive any help (or even further communication)
> whatsoever.
> 
> Dirk
> about to turn into yet another frustrated CRAN user
> 
> --
> http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
> 
> __
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Request for help with UBSAN and total absense of CRAN response

2015-01-13 Thread Dirk Eddelbuettel

On 13 January 2015 at 08:21, Dan Tenenbaum wrote:
| Where should the package source be downloaded from? I see it in CRAN (but 
presumably the latest version that causes the issue is not yet downloadable) 
and in github.

The "presumable" assumption is incorrect AFAIK. 

The error should presumably came up in both versions as annoylib.h did not
change there.  Feel free to prove me wrong :) and just use whatever is easiest.

Dirk

-- 
http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel