Console's offline flow seems broken with R when lldb is involved (Ark development, or R packages with C++) #6126
Labels
area: console
Issues related to Console category.
frontend
Issues having to do with the frontend (Electron) part of a category
I've been having problems with the
R is offline, waiting to reconnect
+R reconnected
flow.It will often say it has reconnected but the Console is totally dead in the water, I can type but Enter won't have any affect. The code you see my type here sticks around even after pressing Enter.
test.mov
A few things of note:
It is expected that ark cannot send back heartbeats in this case. lldb is attached to ark and has locked it up, and that is normal behavior here.
There are no other logs that I can find that suggest that the front end part of the console is registering what I'm typing at all
Here is an easyish way to reproduce a similar problem:
Sys.getpid()
attach --pid <pid>
exit
lldb and detach from the process (or hitc
to continue)In this particular case I don't even get the "online" notification, so possibly this is a slightly different issue, but its basically doing the same thing as my first video.
Screen.Recording.2025-01-27.at.11.22.12.AM.mov
The text was updated successfully, but these errors were encountered: