R Under development (unstable) (2026-01-14 r89303) -- "Unsuffered Consequences" Copyright (C) 2026 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. Natural language support but running in an English locale R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > pkgname <- "graphpcor" > source(file.path(R.home("share"), "R", "examples-header.R")) > options(warn = 1) > library('graphpcor') Loading required package: Matrix Loading required package: INLAtools Loading required package: inlabru Loading required package: fmesher Loading required package: graph Loading required package: BiocGenerics Loading required package: generics Attaching package: ‘generics’ The following object is masked from ‘package:inlabru’: generate The following objects are masked from ‘package:base’: as.difftime, as.factor, as.ordered, intersect, is.element, setdiff, setequal, union Attaching package: ‘BiocGenerics’ The following objects are masked from ‘package:stats’: IQR, mad, sd, var, xtabs The following objects are masked from ‘package:base’: Filter, Find, Map, Position, Reduce, anyDuplicated, aperm, append, as.data.frame, basename, cbind, colnames, dirname, do.call, duplicated, eval, evalq, get, grep, grepl, is.unsorted, lapply, mapply, match, mget, order, paste, pmax, pmax.int, pmin, pmin.int, rank, rbind, rownames, sapply, saveRDS, table, tapply, unique, unsplit, which.max, which.min Loading required package: numDeriv > > base::assign(".oldSearch", base::search(), pos = 'CheckExEnv') > base::assign(".old_wd", base::getwd(), pos = 'CheckExEnv') > cleanEx() > nameEx("basecor-class") > ### * basecor-class > > flush(stderr()); flush(stdout()) > > ### Name: basecor-class > ### Title: Information for a base model for correlation matrices > ### Aliases: basecor-class basecor basecor.numeric basecor.matrix > ### print.basecor > > ### ** Examples > > library(graphpcor) > > ## A correlation matrix > c0 <- matrix(c(1,.8,-.625, 0.8,1,-.5, -0.625,-.5,1), 3) > > ## build the 'basecor' > pc.c0 <- basecor(c0) ## base as matrix > pc.c0 Parameters (CPC parametrization): [1] 1.0986131 -0.7331689 0.0000000 Base correlation matrix: [,1] [,2] [,3] [1,] 1.000 0.8 -0.625 [2,] 0.800 1.0 -0.500 [3,] -0.625 -0.5 1.000 > > ## elements > pc.c0$base [,1] [,2] [,3] [1,] 1.000 0.8 -0.625 [2,] 0.800 1.0 -0.500 [3,] -0.625 -0.5 1.000 > pc.c0$theta [1] 1.0986131 -0.7331689 0.0000000 > pc.c0$I0 [,1] [,2] [,3] [1,] 1.639998e+00 -2.497593e-12 -7.817465e-10 [2,] -2.497593e-12 1.390625e+00 -2.047276e-09 [3,] -7.817465e-10 -2.047276e-09 1.000001e+00 attr(,"decomposition") eigen() decomposition $values [1] 1.639998 1.390625 1.000001 $vectors [,1] [,2] [,3] [1,] 1.000000e+00 -1.001545e-11 -1.221484e-09 [2,] -1.001545e-11 -1.000000e+00 -5.241046e-09 [3,] -1.221484e-09 5.241045e-09 -1.000000e+00 attr(,"decomposition") [1] "eigen" attr(,"determinant") [1] 2.280624 attr(,"h.5") [,1] [,2] [,3] [1,] 1.280624e+00 -1.015335e-12 -3.427773e-10 [2,] -1.015335e-12 1.179247e+00 -9.394410e-10 [3,] -3.427773e-10 -9.394410e-10 1.000001e+00 attr(,"hneg.5") [,1] [,2] [,3] [1,] 7.808692e-01 6.723304e-13 2.676641e-10 [2,] 6.723304e-13 8.479984e-01 7.966445e-10 [3,] 2.676641e-10 7.966445e-10 9.999994e-01 > > ## from 'theta' > th0 <- pc.c0$theta > pc.th0 <- basecor(th0) ## base as vector > pc.th0 Parameters (CPC parametrization): [1] 1.0986131 -0.7331689 0.0000000 Base correlation matrix: [,1] [,2] [,3] [1,] 1.0000000 0.8000003 -0.6250002 [2,] 0.8000003 1.0000000 -0.5000004 [3,] -0.6250002 -0.5000004 1.0000000 > > ## numerically the same > all.equal(c0, pc.th0$base) [1] "Mean relative difference: 4.927703e-07" > > ## from a numeric vector (theta) > th2 <- c(-1, -0.5) > b2 <- basecor(th2, p = 3, itheta = c(2,3)) > b2 Parameters (CPC parametrization): [1] -1.0 -0.5 Base correlation matrix: [,1] [,2] [,3] [1,] 1.0000000 -0.7615942 -0.4621172 [2,] -0.7615942 1.0000000 0.3519457 [3,] -0.4621172 0.3519457 1.0000000 > > ## from the correlation matrix > b2c <- basecor(b2$base, itheta = c(2,3)) > > all.equal(th2, b2c$theta, tol = 1e-4) [1] TRUE > > ## Hessian around the base (and its decomposition, etc.) > b2$I0 [,1] [,2] [1,] 1.580026e+00 6.973038e-15 [2,] 6.973038e-15 1.213552e+00 attr(,"decomposition") eigen() decomposition $values [1] 1.580026 1.213552 $vectors [,1] [,2] [1,] -1.000000e+00 1.902741e-14 [2,] -1.902741e-14 -1.000000e+00 attr(,"decomposition") [1] "eigen" attr(,"determinant") [1] 1.917444 attr(,"h.5") [,1] [,2] [1,] 1.256991e+00 2.956426e-15 [2,] 2.956426e-15 1.101613e+00 attr(,"hneg.5") [,1] [,2] [1,] 7.955508e-01 -2.135038e-15 [2,] -2.135038e-15 9.077594e-01 > > > > cleanEx() > nameEx("basepcor-class") > ### * basepcor-class > > flush(stderr()); flush(stdout()) > > ### Name: basepcor-class > ### Title: Information for a base model for correlation matrices > ### Aliases: basepcor-class basepcor basepcor.numeric basepcor.matrix > ### print.basepcor > > ### ** Examples > > > ## p = 3, m = 2 > bc <- basepcor(c(-1,-1), p = 3, itheta = c(2,3)) > bc Parameters: [1] -1 -1 Base correlation matrix: [,1] [,2] [,3] [1,] 1.000000 0.6000000 0.7453560 [2,] 0.600000 1.0000000 0.4472136 [3,] 0.745356 0.4472136 1.0000000 > > round(solve(bc$base), 4) [,1] [,2] [,3] [1,] 2.8125 -0.9375 -1.6771 [2,] -0.9375 1.5625 0.0000 [3,] -1.6771 0.0000 2.2500 > > all.equal(bc, basepcor(bc$base, itheta =c(2,3))) [1] TRUE > > ## p = 4, m = 4 > th2 <- c(0.5,-1,0.5,-0.3) > ith2 <- c(2,3,8,12) > b2 <- basepcor(th2, p = 4, itheta = ith2) > b2 Parameters: [1] 0.5 -1.0 0.5 -0.3 Base correlation matrix: [,1] [,2] [,3] [,4] [1,] 1.0000000 -0.2541265 0.4826785 0.2045389 [2,] -0.2541265 1.0000000 -0.2036868 -0.4635738 [3,] 0.4826785 -0.2036868 1.0000000 0.2873479 [4,] 0.2045389 -0.4635738 0.2873479 1.0000000 > > Sparse(solve(b2$base), zeros.rm = TRUE) 4 x 4 sparse Matrix of class "dgTMatrix" [1,] 1.348266e+00 2.191679e-01 -6.061373e-01 -2.775558e-17 [2,] 2.191679e-01 1.318196e+00 1.483589e-17 5.662529e-01 [3,] -6.061373e-01 1.483589e-17 1.370069e+00 -2.697079e-01 [4,] -2.775558e-17 5.662529e-01 -2.697079e-01 1.340000e+00 > > all.equal(th2, basepcor(b2$base, itheta = ith2)$theta) [1] TRUE > > ## Hessian around the base (and its decomposition, etc.) > b2$I0 [,1] [,2] [,3] [,4] [1,] 0.17662951 -0.05346952 0.07705034 -0.02083052 [2,] -0.05346952 0.26655061 -0.03330951 0.08078378 [3,] 0.07705034 -0.03330951 0.95930898 -0.02309828 [4,] -0.02083052 0.08078378 -0.02309828 1.02141550 attr(,"decomposition") eigen() decomposition $values [1] 1.0420100 0.9572015 0.2771784 0.1475147 $vectors [,1] [,2] [,3] [,4] [1,] -0.06159851 0.082044761 0.39538737 0.91276673 [2,] 0.11593868 -0.007789691 -0.90825531 0.40195750 [3,] -0.36186242 0.925621599 -0.08538932 -0.07063221 [4,] 0.92294065 0.369367883 0.10700364 -0.01726709 attr(,"determinant") [1] 0.04078213 attr(,"h.5") [,1] [,2] [,3] [,4] [1,] 0.41275443 -0.05606496 0.05451656 -0.01216376 [2,] -0.05606496 0.51014149 -0.01995361 0.05258172 [3,] 0.05451656 -0.01995361 0.97766197 -0.01076395 [4,] -0.01216376 0.05258172 -0.01076395 1.00915155 attr(,"hneg.5") [,1] [,2] [,3] [,4] [1,] 2.47674712 0.26550734 -0.132529118 0.014605518 [2,] 0.26550734 2.00078280 0.024920123 -0.100784465 [3,] -0.13252912 0.02492012 1.030836315 0.008099352 [4,] 0.01460552 -0.10078447 0.008099352 0.996445246 > > > > cleanEx() > nameEx("cgeneric_LKJ") > ### * cgeneric_LKJ > > flush(stderr()); flush(stdout()) > > ### Name: cgeneric_LKJ > ### Title: Build an 'cgeneric' model for the LKG prior on correlation > ### matrix. > ### Aliases: cgeneric_LKJ > > ### ** Examples > > ## a cgeneric model for the LKJ prior > ## for theta from the CPC parametrization > cglkj <- cgeneric( + model = "LKJ", n = 3, eta = 2, + useINLAprecomp = FALSE)##!is.na(packageCheck("INLA", "25.12.16"))) > > ## correlation matrix, p = 3 > cc <- matrix(c(1,.8,-.625, 0.8,1,-.5, -0.625,-.5,1), 3) > > ## CPC parametrization: C(theta) > (bb <- basecor(cc)) Parameters (CPC parametrization): [1] 1.0986131 -0.7331689 0.0000000 Base correlation matrix: [,1] [,2] [,3] [1,] 1.000 0.8 -0.625 [2,] 0.800 1.0 -0.500 [3,] -0.625 -0.5 1.000 > th <- bb$theta > > ## p(theta | eta) > prior(cglkj, theta = th) graphpcor_utils.c:116:6: runtime error: index 2 out of bounds for type 'double [*]' #0 0x7b3c5a9c6011 in cpcCholesky /data/gannet/ripley/R/packages/tests-gcc-SAN/graphpcor/src/graphpcor_utils.c:116 #1 0x7b3c5a9c6d9b in inla_cgeneric_LKJ /data/gannet/ripley/R/packages/tests-gcc-SAN/graphpcor/src/cgeneric_LKJ.c:193 #2 0x7b3de8471dfe in inla_cgeneric_element_get /tmp/RtmpgGcpoj/R.INSTALL2433587431752c/INLAtools/src/cgeneric_get.c:363 #3 0x00000074f082 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:780 #4 0x000000753bca in do_dotcall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1437 #5 0x0000008ceb12 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8132 #6 0x0000008bbd5b in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7515 #7 0x00000085c5b2 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167 #8 0x0000008722fa in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2389 #9 0x0000008763ba in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2302 #10 0x000000a96dd3 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2324 #11 0x000000a96dd3 in applyMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:120 #12 0x000000a9abd0 in dispatchMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:473 #13 0x000000a9cb55 in Rf_usemethod.isra.0 /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:513 #14 0x000000a9d776 in do_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:579 #15 0x0000008dbd21 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8152 #16 0x0000008bbd5b in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7515 #17 0x00000085c5b2 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167 #18 0x0000008722fa in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2389 #19 0x0000008763ba in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2302 #20 0x00000085cc53 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2324 #21 0x00000085cc53 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1280 #22 0x000000a02408 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:264 #23 0x000000a02408 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:317 #24 0x000000a104ea in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1235 #25 0x000000a10582 in Rf_mainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1242 #26 0x00000041318f in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29 #27 0x7f3e014115f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #28 0x7f3e014116a7 in __libc_start_main@@GLIBC_2.34 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #29 0x000000413b74 in _start (/data/gannet/ripley/R/gcc-SAN3/bin/exec/R+0x413b74) (BuildId: c84ba7ce6eb358d998562f72463652524c845173) graphpcor_utils.c:116:10: runtime error: store to address 0x7ffebca445f0 with insufficient space for an object of type 'double' 0x7ffebca445f0: note: pointer points here 32 33 e3 3f 10 98 36 0c 8e 7d 00 00 30 f5 93 bf 67 0f 00 00 30 46 a4 bc fe 7f 00 00 80 a9 9f fc ^ #0 0x7b3c5a9c5f38 in cpcCholesky /data/gannet/ripley/R/packages/tests-gcc-SAN/graphpcor/src/graphpcor_utils.c:116 #1 0x7b3c5a9c6d9b in inla_cgeneric_LKJ /data/gannet/ripley/R/packages/tests-gcc-SAN/graphpcor/src/cgeneric_LKJ.c:193 #2 0x7b3de8471dfe in inla_cgeneric_element_get /tmp/RtmpgGcpoj/R.INSTALL2433587431752c/INLAtools/src/cgeneric_get.c:363 #3 0x00000074f082 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:780 #4 0x000000753bca in do_dotcall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1437 #5 0x0000008ceb12 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8132 #6 0x0000008bbd5b in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7515 #7 0x00000085c5b2 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167 #8 0x0000008722fa in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2389 #9 0x0000008763ba in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2302 #10 0x000000a96dd3 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2324 #11 0x000000a96dd3 in applyMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:120 #12 0x000000a9abd0 in dispatchMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:473 #13 0x000000a9cb55 in Rf_usemethod.isra.0 /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:513 #14 0x000000a9d776 in do_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:579 #15 0x0000008dbd21 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8152 #16 0x0000008bbd5b in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7515 #17 0x00000085c5b2 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167 #18 0x0000008722fa in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2389 #19 0x0000008763ba in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2302 #20 0x00000085cc53 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2324 #21 0x00000085cc53 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1280 #22 0x000000a02408 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:264 #23 0x000000a02408 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:317 #24 0x000000a104ea in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1235 #25 0x000000a10582 in Rf_mainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1242 #26 0x00000041318f in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29 #27 0x7f3e014115f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #28 0x7f3e014116a7 in __libc_start_main@@GLIBC_2.34 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #29 0x000000413b74 in _start (/data/gannet/ripley/R/gcc-SAN3/bin/exec/R+0x413b74) (BuildId: c84ba7ce6eb358d998562f72463652524c845173) ================================================================= ==1567567==ERROR: AddressSanitizer: dynamic-stack-buffer-overflow on address 0x7ffebca445f0 at pc 0x7b3c5a9c59dc bp 0x7ffebca445b0 sp 0x7ffebca445a8 WRITE of size 8 at 0x7ffebca445f0 thread T0 #0 0x7b3c5a9c59db in cpcCholesky /data/gannet/ripley/R/packages/tests-gcc-SAN/graphpcor/src/graphpcor_utils.c:116 #1 0x7b3c5a9c6d9b in inla_cgeneric_LKJ /data/gannet/ripley/R/packages/tests-gcc-SAN/graphpcor/src/cgeneric_LKJ.c:193 #2 0x7b3de8471dfe in inla_cgeneric_element_get /tmp/RtmpgGcpoj/R.INSTALL2433587431752c/INLAtools/src/cgeneric_get.c:363 #3 0x00000074f082 in R_doDotCall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:780 #4 0x000000753bca in do_dotcall /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1437 #5 0x0000008ceb12 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8132 #6 0x0000008bbd5b in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7515 #7 0x00000085c5b2 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167 #8 0x0000008722fa in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2389 #9 0x0000008763ba in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2302 #10 0x000000a96dd3 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2324 #11 0x000000a96dd3 in applyMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:120 #12 0x000000a9abd0 in dispatchMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:473 #13 0x000000a9cb55 in Rf_usemethod.isra.0 /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:513 #14 0x000000a9d776 in do_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:579 #15 0x0000008dbd21 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8152 #16 0x0000008bbd5b in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7515 #17 0x00000085c5b2 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167 #18 0x0000008722fa in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2389 #19 0x0000008763ba in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2302 #20 0x00000085cc53 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2324 #21 0x00000085cc53 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1280 #22 0x000000a02408 in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:264 #23 0x000000a02408 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:317 #24 0x000000a104ea in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1235 #25 0x000000a10582 in Rf_mainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1242 #26 0x00000041318f in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29 #27 0x7f3e014115f4 in __libc_start_call_main (/lib64/libc.so.6+0x35f4) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #28 0x7f3e014116a7 in __libc_start_main@@GLIBC_2.34 (/lib64/libc.so.6+0x36a7) (BuildId: a1dda014206b55b07f58fe8db80121b752dc3d03) #29 0x000000413b74 in _start (/data/gannet/ripley/R/gcc-SAN3/bin/exec/R+0x413b74) (BuildId: c84ba7ce6eb358d998562f72463652524c845173) Address 0x7ffebca445f0 is located in stack of thread T0 SUMMARY: AddressSanitizer: dynamic-stack-buffer-overflow /data/gannet/ripley/R/packages/tests-gcc-SAN/graphpcor/src/graphpcor_utils.c:116 in cpcCholesky Shadow bytes around the buggy address: 0x7ffebca44300: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7ffebca44380: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7ffebca44400: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7ffebca44480: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7ffebca44500: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 =>0x7ffebca44580: 00 00 00 00 00 00 00 00 ca ca ca ca 00 00[cb]cb 0x7ffebca44600: cb cb cb cb 00 00 00 00 ca ca ca ca 00 00 00 00 0x7ffebca44680: 00 00 cb cb cb cb cb cb 00 00 00 00 00 00 00 00 0x7ffebca44700: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7ffebca44780: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 0x7ffebca44800: ca ca ca ca 00 00 00 00 00 00 cb cb cb cb cb cb Shadow byte legend (one shadow byte represents 8 application bytes): Addressable: 00 Partially addressable: 01 02 03 04 05 06 07 Heap left redzone: fa Freed heap region: fd Stack left redzone: f1 Stack mid redzone: f2 Stack right redzone: f3 Stack after return: f5 Stack use after scope: f8 Global redzone: f9 Global init order: f6 Poisoned by user: f7 Container overflow: fc Array cookie: ac Intra object redzone: bb ASan internal: fe Left alloca redzone: ca Right alloca redzone: cb ==1567567==ABORTING