reactorlabs / rir

GNU General Public License v2.0
62 stars 18 forks source link

PIR_WARMUP=3 fails test_release_1 #1286

Open fikovnik opened 1 month ago

fikovnik commented 1 month ago

While playing with the kill-time-based-heuristics, I set PIR_WARMUP=3 to see how it affects the benchmarks. When the pipeline was running there was a failure:

/bin/bash: line 1:  6173 Segmentation fault      (core dumped) LANGUAGE=en LC_ALL=C SRCDIR=. R_DEFAULT_PACKAGES= ../bin/R --vanilla < reg-tests-2.R > reg-tests-2.Rout.fail 2>&1
running code in 'reg-tests-2.R' ...make[2]: *** [Makefile.common:109: reg-tests-2.Rout] Error 1

Looking further, in the log file:

> detg1.m0

Call:  glm(formula = cbind(X, M) ~ 1, family = binomial, data = detg1)

Coefficients:
(Intercept)  
    0.01587  

Degrees of Freedom: 11 Total (i.e. Null);  11 Residual
Null Deviance:      32.83 
Residual Deviance: 32.83    AIC: 92.52
> step(detg1.m0,scope=list(upper=~M.user*Temp*Soft))
Start:  AIC=92.52
cbind(X, M) ~ 1

Error: instruction 'val+            %36.0 = CallSafeBuiltin    vwed  vector(
 *** caught segfault ***
address (nil), cause 'memory not mapped'

Traceback:
 1: summary.glm(object, dispersion = NULL)
 2: summary(object, dispersion = NULL)
 3: add1.glm(fit, scope$add, scale = scale, trace = trace, k = k,     ...)
 4: add1(fit, scope$add, scale = scale, trace = trace, k = k, ...)
 5: step(detg1.m0, scope = list(upper = ~M.user * Temp * Soft))
An irrecoverable exception occurred. R is aborting now ...

I tried to reproduce it locally on prl5, but with no success. Simply running:

build-release$ RIR_CHECK_PIR_TYPES=1 bin/gnur-make-tests check-devel

did not trigger it again.