duckOS icon indicating copy to clipboard operation
duckOS copied to clipboard

[BUG] Error if exit in terminal and then close it

Open ParfenovIgor opened this issue 1 year ago • 1 comments

Logs

If I open Terminal, enter exit and then close the terminal, then following error on red screen appears:

Whoops! Something terrible happened.
If you weren't expecting this, please open an issue on GitHub to report it.
Here are the details:
Assertion failed: _state == ALIVE || _state == STOPPED
In pid: 14 (terminal) tid: 14
/home/runner/work/duckOS/duckOS/kernel/tasking/Process.cpp at line 249

Screenshot

error

Environment

Host OS is Windows 10. Virtualization Software is QEMU 8.2.0. qemu-system-x86_64 is used.

To Reproduce

  1. Wait until OS is ready to work
  2. Open Terminal
  3. Enter exit
  4. Close Terminal

ParfenovIgor avatar Mar 21 '24 16:03 ParfenovIgor

Seems to be an issue with the way the reaper task works - this seems to happen a lot. I'll look into it, thank you!

byteduck avatar Mar 27 '24 19:03 byteduck