Immediately after acceptance of 0.5.8, I received this message 😞
Dear maintainer,
Please see the problems shown on
<https://cran.r-project.org/web/checks/check_results_htmltools.html>.
Please correct before 2024-04-09 to safely retain your package on CRAN.
Do remember to look at the 'Additional issues'.
The CRAN Team
Here is the relevant log
* using log directory ‘/data/gannet/ripley/R/packages/tests-clang-ASAN/htmltools.Rcheck’
* using R Under development (unstable) (2024-03-25 r86192)
* using platform: x86_64-pc-linux-gnu
* R was compiled by
clang version 18.1.1
flang-new version 18.1.1
* running under: Fedora Linux 36 (Workstation Edition)
* using session charset: UTF-8
* using option ‘--no-stop-on-test-error’
* checking for file ‘htmltools/DESCRIPTION’ ... OK
* checking extension type ... Package
* this is package ‘htmltools’ version ‘0.5.8’
* package encoding: UTF-8
* checking package dependencies ... OK
* checking if this is a source package ... OK
* checking if there is a namespace ... OK
* checking for hidden files and directories ... OK
* checking for portable file names ... OK
* checking whether package ‘htmltools’ can be installed ... [38s/53s] OK
* used C compiler: ‘clang version 18.1.2’
* checking package directory ... OK
* checking whether the package can be loaded ... OK
* checking whether the package can be loaded with stated dependencies ... OK
* checking whether the package can be unloaded cleanly ... OK
* checking whether the namespace can be loaded with stated dependencies ... OK
* checking whether the namespace can be unloaded cleanly ... OK
* checking loading without being on the library search path ... OK
* checking compiled code ... OK
* checking examples ... ERROR
Running examples in ‘htmltools-Ex.R’ failed
The error most likely occurred in:
> ### Name: capturePlot
> ### Title: Capture a plot as a saved file
> ### Aliases: capturePlot
>
> ### ** Examples
>
> # Default settings
> res <- capturePlot(plot(cars))
=================================================================
==721594==ERROR: AddressSanitizer: container-overflow on address 0x521000449a30 at pc 0x55b1be3a92aa bp 0x7ffe8c244990 sp 0x7ffe8c244158
WRITE of size 4560 at 0x521000449a30 thread T0
#0 0x55b1be3a92a9 in memset /data/gannet/ripley/Sources2/LLVM/18/llvm-project-18.1.2.src/compiler-rt/lib/asan/../sanitizer_common/sanitizer_common_interceptors_memintrinsics.inc:87:3
#1 0x7f751ed37293 in std::__1::vector<textshaping::Point, std::__1::allocator<textshaping::Point> >::__append(unsigned long) (/data/gannet/ripley/R/test-clang/ragg/libs/ragg.so+0x137293)
#2 0x7f751ed7be9d in void TextRenderer<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >::plot_text<agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> >, agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3u, 0u> > >, agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3u, 0u> >, agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip<agg::ras_conv_int> >, agg::scanline_u8>(double, double, char const*, double, double, agg::renderer_scanline_aa_solid<agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3u, 0u> > >&, agg::renderer_base<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3u, 0u> >&, agg::scanline_u8&, unsigned int, agg::rasterizer_scanline_aa<agg::rasterizer_sl_clip<agg::ras_conv_int> >&, bool, agg::path_base<agg::vertex_block_storage<double, 8u, 256u> >*) (/data/gannet/ripley/R/test-clang/ragg/libs/ragg.so+0x17be9d)
#3 0x7f751ed7b393 in AggDevice<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3u, 0u>, agg::rgba8T<agg::linear>, agg::pixfmt_alpha_blend_rgba<agg::blender_rgba_pre<agg::rgba8T<agg::linear>, agg::order_rgba>, agg::row_accessor<unsigned char> > >::drawText(double, double, char const*, char const*, int, double, double, double, int) (/data/gannet/ripley/R/test-clang/ragg/libs/ragg.so+0x17b393)
#4 0x7f751ed98b5c in void agg_text<AggDevicePng<agg::pixfmt_alpha_blend_rgb<agg::blender_rgb_pre<agg::rgba8T<agg::linear>, agg::order_rgb>, agg::row_accessor<unsigned char>, 3u, 0u> > >(double, double, char const*, double, double, R_GE_gcontext*, _DevDesc*) (/data/gannet/ripley/R/test-clang/ragg/libs/ragg.so+0x198b5c)
#5 0x55b1be5a80af in clipText /data/gannet/ripley/R/svn/R-devel/src/main/engine.c
#6 0x55b1be5a80af in GEText /data/gannet/ripley/R/svn/R-devel/src/main/engine.c:2013:7
#7 0x7f7527799ca8 in Rf_GText /data/gannet/ripley/R/svn/R-devel/src/library/graphics/src/graphics.c:3094:5
#8 0x7f7527799ca8 in Rf_GMtext /data/gannet/ripley/R/svn/R-devel/src/library/graphics/src/graphics.c:3364:5
#9 0x7f75277cfe12 in C_mtext /data/gannet/ripley/R/svn/R-devel/src/library/graphics/src/plot.c:2572:3
#10 0x55b1be55149b in do_External /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:576:11
#11 0x55b1be566483 in do_Externalgr /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:1511:5
#12 0x55b1be6267eb in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7957:12
#13 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#14 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#15 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#16 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#17 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#18 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#19 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#20 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#21 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#22 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#23 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#24 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#25 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#26 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#27 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#28 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#29 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#30 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#31 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#32 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#33 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#34 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#35 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#36 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#37 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#38 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#39 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#40 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#41 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#42 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#43 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#44 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#45 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#46 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#47 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#48 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#49 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#50 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#51 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#52 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#53 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#54 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#55 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#56 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#57 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#58 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#59 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#60 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#61 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#62 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#63 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#64 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#65 0x55b1be602d28 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#66 0x55b1be72f8d7 in dispatchMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:472:16
#67 0x55b1be72e5c8 in Rf_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:522:9
#68 0x55b1be730b1f in do_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:578:9
#69 0x55b1be60d792 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8017:15
#70 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#71 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#72 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#73 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#74 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#75 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#76 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#77 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#78 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#79 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#80 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#81 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#82 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#83 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#84 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#85 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#86 0x55b1be602d28 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#87 0x55b1be72f8d7 in dispatchMethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:472:16
#88 0x55b1be72e454 in Rf_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:512:10
#89 0x55b1be730b1f in do_usemethod /data/gannet/ripley/R/svn/R-devel/src/main/objects.c:578:9
#90 0x55b1be60d792 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8017:15
#91 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#92 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#93 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#94 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#95 0x55b1be5ffd0e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#96 0x55b1be5ffd0e in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1285:12
#97 0x7f7522dd0402 in rlang_eval_tidy (/data/gannet/ripley/R/test-clang/rlang/libs/rlang.so+0x10402)
#98 0x55b1be551494 in do_External /data/gannet/ripley/R/svn/R-devel/src/main/dotcode.c:573:11
#99 0x55b1be61cc74 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7997:14
#100 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#101 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#102 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#103 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#104 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#105 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#106 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#107 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#108 0x55b1be60171e in forcePromise /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:976:13
#109 0x55b1be5ff4b2 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1192:6
#110 0x55b1be67e403 in do_withVisible /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:4006:9
#111 0x55b1be7290d9 in do_internal /data/gannet/ripley/R/svn/R-devel/src/main/names.c:1409:11
#112 0x55b1be60d792 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:8017:15
#113 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#114 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#115 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#116 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#117 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#118 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#119 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#120 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#121 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#122 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#123 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#124 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#125 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#126 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#127 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#128 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#129 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#130 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#131 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#132 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#133 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#134 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#135 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#136 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#137 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#138 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#139 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#140 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#141 0x55b1be626a66 in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#142 0x55b1be626a66 in bcEval_loop /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:7968:12
#143 0x55b1be600e56 in bcEval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c
#144 0x55b1be5ff2b8 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1167:8
#145 0x55b1be66c50b in R_execClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2397:22
#146 0x55b1be66b2b4 in applyClosure_core /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2310:16
#147 0x55b1be5ffd0e in Rf_applyClosure /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:2332:16
#148 0x55b1be5ffd0e in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1285:12
#149 0x55b1be678830 in do_set /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:3589:8
#150 0x55b1be5ff801 in Rf_eval /data/gannet/ripley/R/svn/R-devel/src/main/eval.c:1237:12
#151 0x55b1be6f3b8b in Rf_ReplIteration /data/gannet/ripley/R/svn/R-devel/src/main/main.c:262:2
#152 0x55b1be6f6310 in R_ReplConsole /data/gannet/ripley/R/svn/R-devel/src/main/main.c:314:11
#153 0x55b1be6f6310 in run_Rmainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1216:5
#154 0x55b1be6f63a2 in Rf_mainloop /data/gannet/ripley/R/svn/R-devel/src/main/main.c:1223:5
#155 0x55b1be3eaa1c in main /data/gannet/ripley/R/svn/R-devel/src/main/Rmain.c:29:5
#156 0x7f753322950f in __libc_start_call_main (/lib64/libc.so.6+0x2950f) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c)
#157 0x7f75332295c8 in __libc_start_main@GLIBC_2.2.5 (/lib64/libc.so.6+0x295c8) (BuildId: 8257ee907646e9b057197533d1e4ac8ede7a9c5c)
#158 0x55b1be3124b4 in _start (/data/gannet/ripley/R/clang-ASAN/bin/exec/R+0x1584b4)
0x521000449a30 is located 304 bytes inside of 4864-byte region [0x521000449900,0x52100044ac00)
allocated by thread T0 here:
#0 0x55b1be3aaaaf in malloc /data/gannet/ripley/Sources2/LLVM/18/llvm-project-18.1.2.src/compiler-rt/lib/asan/asan_malloc_linux.cpp:68:3
#1 0x7f75312b4a1b in operator new(unsigned long) /data/gannet/ripley/Sources2/gcc13/build/x86_64-pc-linux-gnu/libstdc++-v3/libsupc++/../../../../latest/libstdc++-v3/libsupc++/new_op.cc:50:22
HINT: if you don't care about these errors you may set ASAN_OPTIONS=detect_container_overflow=0.
If you suspect a false positive see also: https://github.com/google/sanitizers/wiki/AddressSanitizerContainerOverflow.
SUMMARY: AddressSanitizer: container-overflow (/data/gannet/ripley/R/test-clang/ragg/libs/ragg.so+0x137293) in std::__1::vector<textshaping::Point, std::__1::allocator<textshaping::Point> >::__append(unsigned long)
Shadow bytes around the buggy address:
0x521000449780: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x521000449800: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x521000449880: fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa fa
0x521000449900: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
0x521000449980: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
=>0x521000449a00: 00 00 00 00 00 00[fc]fc fc fc fc fc fc fc fc fc
0x521000449a80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
0x521000449b00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
0x521000449b80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
0x521000449c00: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
0x521000449c80: fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc fc
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
==721594==ABORTING
* checking tests ... [195s/203s] OK
Running ‘test-all.R’ [194s/201s]
* DONE
Status: 1 ERROR
Immediately after acceptance of 0.5.8, I received this message 😞
Here is the relevant log
It seems
{ragg}
has fixed this issue (https://github.com/r-lib/ragg/commit/952cd21f1468ea8d49825c7530295c1d0e92fad3), so it could be that BDR has an outdated version?