Processes in system are not terminated properly #82

Open
opened 2024-07-27 12:46:07 +02:00 by Burer · 1 comment

If close any program while Process manager is running (or terminate any process in the Process manager itself) it's row doesn't disappear from Process manager processes list and continue to be displayed with zero values.

Also, processes numbering looks a little bit odd, but I am not sure that it is a bug and not intended to be so.

If close any program while Process manager is running (or terminate any process in the Process manager itself) it's row doesn't disappear from Process manager processes list and continue to be displayed with zero values. Also, processes numbering looks a little bit odd, but I am not sure that it is a bug and not intended to be so.
Sweetbread added the
Kind
Bug
Priority
Medium
Category/Applications
labels 2024-07-27 12:58:05 +02:00
Author

UPD. @Doczom did some investigation and found that the problem is not in Process manager code itself, but rather in kernel code, especially in file /kernel/trunk/core/sys32.inc.
For example, System Monitor faces the same bug and use stub to check for empty processes and skip them:

for (j=0; j<11; j++) if (Process.name[j]!=' ') 
{
   *show process info*
}

Thus, this issue should be marked as Category/Kernel and maybe have higher priority, than Medium.

UPD. @Doczom did some investigation and found that the problem is not in **Process manager** code itself, but rather in kernel code, especially in file **/kernel/trunk/core/sys32.inc**. For example, **System Monitor** faces the same bug and use stub to check for empty processes and skip them: ```c for (j=0; j<11; j++) if (Process.name[j]!=' ') { *show process info* } ``` Thus, this issue should be marked as **Category/Kernel** and maybe have higher priority, than **Medium**.
Burer changed title from Process manager doesn't delete rows of terminated processes to Processes in system are not terminated properly 2024-10-15 08:37:32 +02:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: KolibriOS/kolibrios#82
No description provided.