-
Notifications
You must be signed in to change notification settings - Fork 124
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
输入和执行命令有机率导致键盘失灵或者 Panic。 #2
Labels
Comments
无法稳定复现该 bug,猜测是因为多个进程对 proc 变量和 ptable 表的操作产生的冲突。 有趣的现象: 进程一 |
SilverRainZ
added a commit
that referenced
this issue
Oct 16, 2015
* little fix of exec() in proc/exec.c
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
当执行用户级别的
getchar()
时,过多地调用printl()
打印 log 似乎会导致奇怪的 panic,比如 Invaild OPCode 或者 GenernalPortection,亦可能导致键盘无响应:无法进入kb_handle()
函数,而时钟中断正常。如果将
printl()
替换为空语句,问题似乎不再出现,但是现在 log 仍然非常需要,因此暂不改动。这可能和
printl()
中的 IO 操作比较耗时有关系。The text was updated successfully, but these errors were encountered: