question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

no bash prompt after Kolibri exits

See original GitHub issue

Observed behavior

hang on ‘Waiting for child threads to terminate…’

I waited for a few minutes. However then I pressed ‘enter’ and the process actually seemed like it had finished.

Looks sort of like the behavior described here: https://stackoverflow.com/questions/23125527/how-to-return-to-bash-prompt-after-printing-output-from-backgrounded-function

Expected behavior

prompt shown after full exit

User-facing consequences

user will not know that process has actually exited and might sit there waiting

Errors and logs

^CINFO     ENGINE Caught signal SIGINT.
INFO     ENGINE Bus STOPPING
WARNING  SCHEDULECHECKER shut down event received; closing.
INFO     Kolibri instance '211d7b3fd94d8fb8908e8014513318ac' has left the zeroconf network.
WARNING  JOBCHECKER shut down event received; closing.
WARNING  JOBCHECKER shut down event received; closing.
(k013x) d@slate ~/P/l/k013x (release-v0.13.x) [130]> INFO     ENGINE Bus STOPPED
INFO     ENGINE Bus EXITING
INFO     ENGINE Bus EXITED
INFO     ENGINE Caught signal SIGINT.
INFO     ENGINE Bus STOPPING
INFO     ENGINE Bus STOPPED
INFO     ENGINE Bus EXITING
INFO     ENGINE Bus EXITED
INFO     ENGINE Waiting for child threads to terminate...

Steps to reproduce

kill server with ^C

Context

0.13.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
jonboisercommented, Jan 16, 2020

@lyw07 This seems to happen more consistently when using the devserver yarn run devserver-hot. When running the server from the PEX, like you said, the shell prompt is restored after the ENGINE Waiting for child threads to terminate... log.

1reaction
indirectlylitcommented, Jan 10, 2020

yes, I still reproduce, but I’ll de-prioritize if not everyone sees it

Read more comments on GitHub >

github_iconTop Results From Across the Web

There is no bash indicator prompt after a forked process ...
The original process prints its will exit trace. The shell is notified that the original process exited and prints its prompt.
Read more >
Bash prompt with the last exit code - linux - Stack Overflow
bashrc is run, and the result is substituted forever after. This makes the name always green, even if the last exit code is...
Read more >
Manage Kolibri — Kolibri 0.11.0.dev documentation - overtag.dk
Click DELETE in the confirmation window to proceed, or CANCEL to exit without deleting the class. Note. Users enrolled in the class you...
Read more >
Kolibri User Guide - Read the Docs
Open the Terminal on Linux or the command prompt on Windows. 2. Stop Kolibri server with the following command kolibri stop.
Read more >
Failed 0.15 beta installation - Kolibri
I installed 0.15 via the downloaded deb file and then via the apt install command on RPi OS. I have installed the RPi...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found