Skip to content

Deep stack trace error (execution frame not found) #4323

@shikokuchuo

Description

@shikokuchuo

Running Shinyrealtime (ggbot2) resulted in a deep stack trace error. Am using the current head(390f6d3) for Shiny.

Totally random - the only time in probably 50 or so runs. I have no idea what exactly triggered it, and there wasn't more information available (it was OTel traced, but had no more error information).

Opening this issue in case it's reproducible elsewhere (or someone has an idea).

This is the error in the console:

> ggbot(sushis::sushis)
Loading required package: shiny

Listening on http://127.0.0.1:4909
Using model = "gpt-4.1".
Warning in max(which(!hideable)) :
  no non-missing arguments to max; returning -Inf
Warning: Error in rep_len: invalid 'length.out' value
  122: rep_len
  121: dropTrivialFrames [/Users/shikokuchuo/r/shiny/R/conditions.R#537]
  120: printOneStackTrace [/Users/shikokuchuo/r/shiny/R/conditions.R#392]
  119: <Anonymous> [/Users/shikokuchuo/r/shiny/R/conditions.R#366]
  118: mapply
  117: shiny::printStackTrace [/Users/shikokuchuo/r/shiny/R/conditions.R#354]
  116: value[[3L]]
  115: tryCatchOne
  114: tryCatchList
  113: tryCatch
  112: observe
  111: <observer:observeEvent(input$key_event)> [/Users/shikokuchuo/r/shiny/R/utils.R#1482]
    3: runApp [/Users/shikokuchuo/r/shiny/R/runapp.R#397]
    2: print.shiny.appobj [/Users/shikokuchuo/r/shiny/R/shinyapp.R#625]
    1: <Anonymous>

System details

Browser Version:

Output of sessionInfo():

R version 4.5.2 (2025-10-31)
Platform: aarch64-apple-darwin20
Running under: macOS Tahoe 26.1

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.5-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.12.1

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: Europe/London
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] shiny_1.11.1.9001 ggbot2_0.0.0.9000 dplyr_1.1.4       ggplot2_4.0.1    

loaded via a namespace (and not attached):
 [1] rappdirs_0.3.3           sass_0.4.10              generics_0.1.4           digest_0.6.39           
 [5] magrittr_2.0.4           grid_4.5.2               RColorBrewer_1.1-3       fastmap_1.2.0           
 [9] jsonlite_2.0.0           promises_1.5.0.9000      httr_1.4.7               scales_1.4.0            
[13] coro_1.1.0.9000          textshaping_1.0.4        httr2_1.2.1.9000         jquerylib_0.1.4         
[17] cli_3.6.5                rlang_1.1.6              base64enc_0.1-3          withr_3.0.2             
[21] cachem_1.1.0             otel_0.2.0               tools_4.5.2              memoise_2.0.1           
[25] httpuv_1.6.16.9000       shinychat_0.3.0          curl_7.0.0               vctrs_0.6.5             
[29] R6_2.6.1                 mime_0.13                lifecycle_1.0.4          shinyrealtime_0.1.0.9000
[33] fs_1.6.6                 ragg_1.5.0               fontawesome_0.5.3        pkgconfig_2.0.3         
[37] pillar_1.11.1            bslib_0.9.0              later_1.4.4.9000         gtable_0.3.6            
[41] glue_1.8.0               Rcpp_1.1.0               systemfonts_1.3.1        tibble_3.3.0            
[45] tidyselect_1.2.1         rstudioapi_0.17.1        farver_2.1.2             xtable_1.8-4            
[49] otelsdk_0.2.2            bsicons_0.1.2            htmltools_0.5.8.1        ellmer_0.4.0.9000       
[53] sushis_0.0.0.9000        compiler_4.5.2           S7_0.2.1   

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions