httpgd icon indicating copy to clipboard operation
httpgd copied to clipboard

Server immediately crash

Open raffaem opened this issue 1 year ago • 22 comments

Thank you very much for this package.

It is what I need for my workflow.

I installed from github, since for the time being is not available on CRAN.

I start the server, but after opening the webpage in my browser, the server crashes.

Here is the code I'm running:

➜ radian
Using 18 cores for parallelisation
R version 4.3.2 (2023-10-31) -- "Eye Holes"
Platform: x86_64-pc-linux-gnu (64-bit)
(I) r$> library(httpgd)
(I) r$> hgd()
httpgd server running at:
  http://127.0.0.1:35723/live?token=7fM3mBoI
(I) r$> # Now I click on the link to open in the web browser
(I) r$> /usr/lib/gcc/x86_64-pc-linux-gnu/12.3.0/include/c++/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = unsigned int; _Alloc = std::allocator<unsigned int>; reference = unsigned int&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.
Aborted (core dumped)
[ble: exit 134]

Environment

  • OS: Arch Linux
  • Browser: Firefox 121.0.1
  • R version: 4.3.2
  • httpgd version: httpgd_2.0.0.9000 (last github version as of 2024-01-21 10:02:00 UTC+1)

raffaem avatar Jan 24 '24 09:01 raffaem