Re: [R-pkg-devel] Exited with status -1073741819.

2017-11-29 Thread Marc Schwartz
Rampal,

One additional thought here.

Since you reference RTools in your initial post, I presume that this is 
occurring on Windows, though not sure which version.

Have you tried to build the package using the WinBuilder site provided by Uwe?

If not, go here:

  https://win-builder.r-project.org

and request a build of the package using R-Devel.

See if any warnings/errors are picked up there. If not, then that would seem to 
reinforce the notion that there is something going on locally on your system.

Also, unless I missed it, you did not indicate which version of R-Devel you are 
running or where you obtained it. Did you get it from:

  https://cran.r-project.org/bin/windows/base/rdevel.html

?

Regards,

Marc


> On Nov 29, 2017, at 8:22 AM, Rampal S. Etienne  
> wrote:
> 
> Dear Marc, Martin, Dason,
> 
> I agree that the status number is not very informative, but neither is:
> "Package does not build". The point is that I have no clue what is going
> on, and was just hoping that someone might have seen the exit status
> number before.
> 
> I have done a clean install as suggested but still it won't work with
> R-devel, but it does with R-3.4.2.
> 
> I don't see how my setup is special in any way. It never caused me any
> problems until installing the latest R-devel. What are the changes in
> the latest R-devel that affect the building of packages?
> 
> Cheers, Rampal
> 
> 
> 
> On 29-11-2017 11:16, Martin Maechler wrote:
>>> Rampal S Etienne 
>>>on Wed, 29 Nov 2017 09:19:29 +0100 writes:
>>> Dear Dason,
>>> I don't get this error, but it crashes anyway. 
>> 
>> and you don't show what "crashes" means here.
>> (and yes, Dason is right: The RStudio status number in the
>> 'Subject' is not really useful)
>> 
>>> I've that if I use the
>>> stable version of R (3.4.2) I do NOT get the error anymore, so I assume
>>> there is something wrong with the current R-devel.
>> 
>>> Regards,
>>> Rampal Etienne
>> 
>> OTOH, the CRAN checks of your package run without any problem
>> with all 5 versions of R-devel there :
>> 
>>  https://cran.r-project.org/web/checks/check_results_SADISA.html
>> 
>> so it may rather be something specific to your setup ??
>> 
>> Martin Maechler
>> 
>> 
>>> On 29-11-2017 0:36, Dason Kurkiewicz wrote:
 Do you get the same error if you try to build on the command line
 outside of RStudio?
 
 On Nov 28, 2017 3:51 PM, "Rampal Etienne" > wrote:
 
 Dear all,
 
 I updated RStudio, Rtools and R-devel, and then I tried to build a
 package in RStudio that I had been able to build before without
 any problems. But now I got the following error:
 
 Updating SADISA documentatiob
 Loading SADISA
 Exited with status -1073741819.
 
 That's all. What is this exit status? I can still build other
 packages, so it does not happen all the time. I can use "Load all"
 and all functions sseem to work fine.
 
 Any suggestions?
 
 Kind regards, Rampal Etienne

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


Re: [R-pkg-devel] Exited with status -1073741819.

2017-11-29 Thread William Dunlap
You wrote
Exited with status -1073741819.

The low byte of that status code is 5, which I think means a segmentation
fault - reading
or writing an address that you do not have permission of use.
  > as.hexmode(-1073741819)
  [1] "c005"
If your code uses memory that it has not allocated it is somewhat random
whether you
get a segmentation fault or not.  'valgrind' can detect such errors more
reliably.  Try that
on a platform where your package builds.


Bill Dunlap
TIBCO Software
wdunlap tibco.com

On Tue, Nov 28, 2017 at 12:51 PM, Rampal Etienne 
wrote:

> Dear all,
>
> I updated RStudio, Rtools and R-devel, and then I tried to build a package
> in RStudio that I had been able to build before without any problems. But
> now I got the following error:
>
> Updating SADISA documentatiob
> Loading SADISA
> Exited with status -1073741819.
>
> That's all. What is this exit status? I can still build other packages, so
> it does not happen all the time. I can use "Load all" and all functions
> sseem to work fine.
>
> Any suggestions?
>
> Kind regards, Rampal Etienne
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

[[alternative HTML version deleted]]

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


Re: [R-pkg-devel] Exited with status -1073741819.

2017-11-29 Thread Martin Maechler
> Rampal S Etienne 
> on Wed, 29 Nov 2017 14:22:54 +0100 writes:

> Dear Marc, Martin, Dason,
> I agree that the status number is not very informative, but neither is:
> "Package does not build". The point is that I have no clue what is going
> on, and was just hoping that someone might have seen the exit status
> number before.

> I have done a clean install as suggested but still it won't work with
> R-devel, but it does with R-3.4.2.

> I don't see how my setup is special in any way. It never caused me any
> problems until installing the latest R-devel. What are the changes in
> the latest R-devel that affect the building of packages?

1000s of packages are built every day with R-devel, notably on
the machines that produce the CRAN checks, but also in several
if not many other places.

Consequently, it must be *your* problem, notably as your package
does build flawlessly on 5 different CRAN check machines running R-devel.

But of course, the purpose of *this* list (not of R-devel!) is
to help you with this problem,
hence back to what you wrote above:

"Package does not build"  is actually  more useful than a status
   number that looks random (and/or from a large integer overflow ..).

To me it would mean the package does not even build and
therefore *check*ing the package did not even properly start.

As next step (in solving the problem) you should probably learn
to either debug the devtools which you are probably using
[otherwise you would give us more information !],
or---even more useful in the long run---learn to build a package
in the shell (aka "terminal") instead of inside RStudio, because then,
using 'Rcmd build ' would almost surely give you more clues
than just "does not build".


> On 29-11-2017 11:16, Martin Maechler wrote:
>>> Rampal S Etienne 
>>> on Wed, 29 Nov 2017 09:19:29 +0100 writes:
>> > Dear Dason,
>> > I don't get this error, but it crashes anyway. 
>> 
>> and you don't show what "crashes" means here.
>> (and yes, Dason is right: The RStudio status number in the
>> 'Subject' is not really useful)
>> 
>> > I've that if I use the
>> > stable version of R (3.4.2) I do NOT get the error anymore, so I assume
>> > there is something wrong with the current R-devel.
>> 
>> > Regards,
>> > Rampal Etienne
>> 
>> OTOH, the CRAN checks of your package run without any problem
>> with all 5 versions of R-devel there :
>> 
>> https://cran.r-project.org/web/checks/check_results_SADISA.html
>> 
>> so it may rather be something specific to your setup ??
>> 
>> Martin Maechler
>> 
>> 
>> > On 29-11-2017 0:36, Dason Kurkiewicz wrote:
>> >> Do you get the same error if you try to build on the command line
>> >> outside of RStudio?
>> >> 
>> >> On Nov 28, 2017 3:51 PM, "Rampal Etienne" > >> > wrote:
>> >> 
>> >> Dear all,
>> >> 
>> >> I updated RStudio, Rtools and R-devel, and then I tried to build a
>> >> package in RStudio that I had been able to build before without
>> >> any problems. But now I got the following error:
>> >> 
>> >> Updating SADISA documentatiob
>> >> Loading SADISA
>> >> Exited with status -1073741819.
>> >> 
>> >> That's all. What is this exit status? I can still build other
>> >> packages, so it does not happen all the time. I can use "Load all"
>> >> and all functions sseem to work fine.
>> >> 
>> >> Any suggestions?
>> >> 
>> >> Kind regards, Rampal Etienne

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


Re: [R-pkg-devel] Exited with status -1073741819.

2017-11-29 Thread Rampal S. Etienne
Dear Marc, Martin, Dason,

I agree that the status number is not very informative, but neither is:
"Package does not build". The point is that I have no clue what is going
on, and was just hoping that someone might have seen the exit status
number before.

I have done a clean install as suggested but still it won't work with
R-devel, but it does with R-3.4.2.

I don't see how my setup is special in any way. It never caused me any
problems until installing the latest R-devel. What are the changes in
the latest R-devel that affect the building of packages?

Cheers, Rampal



On 29-11-2017 11:16, Martin Maechler wrote:
>> Rampal S Etienne 
>> on Wed, 29 Nov 2017 09:19:29 +0100 writes:
> > Dear Dason,
> > I don't get this error, but it crashes anyway. 
>
> and you don't show what "crashes" means here.
> (and yes, Dason is right: The RStudio status number in the
> 'Subject' is not really useful)
>
> > I've that if I use the
> > stable version of R (3.4.2) I do NOT get the error anymore, so I assume
> > there is something wrong with the current R-devel.
>
> > Regards,
> > Rampal Etienne
>
> OTOH, the CRAN checks of your package run without any problem
> with all 5 versions of R-devel there :
>
>   https://cran.r-project.org/web/checks/check_results_SADISA.html
>
> so it may rather be something specific to your setup ??
>
> Martin Maechler
>
>
> > On 29-11-2017 0:36, Dason Kurkiewicz wrote:
> >> Do you get the same error if you try to build on the command line
> >> outside of RStudio?
> >> 
> >> On Nov 28, 2017 3:51 PM, "Rampal Etienne"  >> > wrote:
> >> 
> >> Dear all,
> >> 
> >> I updated RStudio, Rtools and R-devel, and then I tried to build a
> >> package in RStudio that I had been able to build before without
> >> any problems. But now I got the following error:
> >> 
> >> Updating SADISA documentatiob
> >> Loading SADISA
> >> Exited with status -1073741819.
> >> 
> >> That's all. What is this exit status? I can still build other
> >> packages, so it does not happen all the time. I can use "Load all"
> >> and all functions sseem to work fine.
> >> 
> >> Any suggestions?
> >> 
> >> Kind regards, Rampal Etienne
> >> 
> >> __
> >> R-package-devel@r-project.org
> >>  mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-package-devel
> >> 
> >> 
>
>
> > [[alternative HTML version deleted]]
>
> > __
> > R-package-devel@r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-package-devel

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


Re: [R-pkg-devel] Exited with status -1073741819.

2017-11-29 Thread Martin Maechler
> Rampal S Etienne 
> on Wed, 29 Nov 2017 09:19:29 +0100 writes:

> Dear Dason,
> I don't get this error, but it crashes anyway. 

and you don't show what "crashes" means here.
(and yes, Dason is right: The RStudio status number in the
'Subject' is not really useful)

> I've that if I use the
> stable version of R (3.4.2) I do NOT get the error anymore, so I assume
> there is something wrong with the current R-devel.

> Regards,
> Rampal Etienne

OTOH, the CRAN checks of your package run without any problem
with all 5 versions of R-devel there :

  https://cran.r-project.org/web/checks/check_results_SADISA.html

so it may rather be something specific to your setup ??

Martin Maechler


> On 29-11-2017 0:36, Dason Kurkiewicz wrote:
>> Do you get the same error if you try to build on the command line
>> outside of RStudio?
>> 
>> On Nov 28, 2017 3:51 PM, "Rampal Etienne" > > wrote:
>> 
>> Dear all,
>> 
>> I updated RStudio, Rtools and R-devel, and then I tried to build a
>> package in RStudio that I had been able to build before without
>> any problems. But now I got the following error:
>> 
>> Updating SADISA documentatiob
>> Loading SADISA
>> Exited with status -1073741819.
>> 
>> That's all. What is this exit status? I can still build other
>> packages, so it does not happen all the time. I can use "Load all"
>> and all functions sseem to work fine.
>> 
>> Any suggestions?
>> 
>> Kind regards, Rampal Etienne
>> 
>> __
>> R-package-devel@r-project.org
>>  mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>> 
>> 


> [[alternative HTML version deleted]]

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

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


Re: [R-pkg-devel] Exited with status -1073741819.

2017-11-29 Thread Rampal S. Etienne
Dear Dason,

I don't get this error, but it crashes anyway. I've that if I use the
stable version of R (3.4.2) I do NOT get the error anymore, so I assume
there is something wrong with the current R-devel.

Regards,

Rampal Etienne


On 29-11-2017 0:36, Dason Kurkiewicz wrote:
> Do you get the same error if you try to build on the command line
> outside of RStudio?
>
> On Nov 28, 2017 3:51 PM, "Rampal Etienne"  > wrote:
>
> Dear all,
>
> I updated RStudio, Rtools and R-devel, and then I tried to build a
> package in RStudio that I had been able to build before without
> any problems. But now I got the following error:
>
> Updating SADISA documentatiob
> Loading SADISA
> Exited with status -1073741819.
>
> That's all. What is this exit status? I can still build other
> packages, so it does not happen all the time. I can use "Load all"
> and all functions sseem to work fine.
>
> Any suggestions?
>
> Kind regards, Rampal Etienne
>
> __
> R-package-devel@r-project.org
>  mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
> 
>


[[alternative HTML version deleted]]

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


Re: [R-pkg-devel] Exited with status -1073741819.

2017-11-28 Thread Dason Kurkiewicz
Do you get the same error if you try to build on the command line outside
of RStudio?

On Nov 28, 2017 3:51 PM, "Rampal Etienne"  wrote:

> Dear all,
>
> I updated RStudio, Rtools and R-devel, and then I tried to build a package
> in RStudio that I had been able to build before without any problems. But
> now I got the following error:
>
> Updating SADISA documentatiob
> Loading SADISA
> Exited with status -1073741819.
>
> That's all. What is this exit status? I can still build other packages, so
> it does not happen all the time. I can use "Load all" and all functions
> sseem to work fine.
>
> Any suggestions?
>
> Kind regards, Rampal Etienne
>
> __
> R-package-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel
>

[[alternative HTML version deleted]]

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


[R-pkg-devel] Exited with status -1073741819.

2017-11-28 Thread Rampal Etienne

Dear all,

I updated RStudio, Rtools and R-devel, and then I tried to build a 
package in RStudio that I had been able to build before without any 
problems. But now I got the following error:


Updating SADISA documentatiob
Loading SADISA
Exited with status -1073741819.

That's all. What is this exit status? I can still build other packages, 
so it does not happen all the time. I can use "Load all" and all 
functions sseem to work fine.


Any suggestions?

Kind regards, Rampal Etienne

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