Rainer Hurling
2018-Apr-15 09:01 UTC
[Rd] packageDate() segfaults, if used without argument
Out of curiosity, I played a bit with the new function packageDate() from April, 4th. All works fine, except using it without any argument. In this case, it segfaults: #> packageDate() Error in packageDescription(pkg, lib.loc = lib.loc, fields = date.fields) : argument "pkg" is missing, with no default *** caught segfault *** address 0x77bc3c0, cause 'memory not mapped' Segmentation fault (core dumped) My system is FreeBSD 12.0-CURRENT amd64 with R-devel (r74601). Regards, Rainer Hurling
Martin Maechler
2018-Apr-16 07:03 UTC
[Rd] packageDate() segfaults, if used without argument
>>>>> Rainer Hurling <rhurlin at gwdg.de> >>>>> on Sun, 15 Apr 2018 11:01:59 +0200 writes:> Out of curiosity, I played a bit with the new function > packageDate() from April, 4th. All works fine, except > using it without any argument. In this case, it > segfaults: Thank you, Rainer, for the report -- about the *development* version of R Note that the segfault would not have happened in 'R 3.5.0 beta' (today turning to be 'R 3.5.0 RC' : RC := Release Candidate ) which we'd be very happy if you used extensively. > #> packageDate() Error in packageDescription(pkg, lib.loc > = lib.loc, fields = date.fields) : argument "pkg" is > missing, with no default > *** caught segfault *** address 0x77bc3c0, cause 'memory > not mapped' Segmentation fault (core dumped) > My system is FreeBSD 12.0-CURRENT amd64 with R-devel > (r74601). It was a lapsus -- of mine -- not at all related to packageDate(), corrected yesterday (svn r 74604). Martin
Rainer Hurling
2018-Apr-16 14:03 UTC
[Rd] packageDate() segfaults, if used without argument
Hi Martin, Am 16.04.2018 um 09:03 schrieb Martin Maechler:>>>>>> Rainer Hurling <rhurlin at gwdg.de> >>>>>> on Sun, 15 Apr 2018 11:01:59 +0200 writes: > > > Out of curiosity, I played a bit with the new function > > packageDate() from April, 4th. All works fine, except > > using it without any argument. In this case, it > > segfaults: > > Thank you, Rainer, for the report -- about the *development* version of RYupp.> > Note that the segfault would not have happened in 'R 3.5.0 beta' > (today turning to be 'R 3.5.0 RC' : RC := Release Candidate ) > which we'd be very happy if you used extensively.Ah, interesting news, that this does not occur with beta and RC.> > > #> packageDate() Error in packageDescription(pkg, lib.loc > > = lib.loc, fields = date.fields) : argument "pkg" is > > missing, with no default > > > *** caught segfault *** address 0x77bc3c0, cause 'memory > > not mapped' Segmentation fault (core dumped) > > > My system is FreeBSD 12.0-CURRENT amd64 with R-devel > > (r74601). > > It was a lapsus -- of mine -- not at all related to packageDate(), > corrected yesterday (svn r 74604).Nice to here. Thanks for the fast response and greetings, Rainer> > Martin >