Opened 7 years ago

Last modified 3 years ago

#8513 new bug

ProcessController not correctly handling item recycling with high amounts of concurrent team creation/destruction.

Reported by: anevilyak Owned by: nobody
Priority: normal Milestone: R1
Component: Applications/ProcessController Version: R1/Development
Keywords: Cc:
Blocked By: Blocking: #11152, #13255
Has a Patch: no Platform: All

Description

To trigger this issue, a simple test case is: go into the haiku source tree and issue a jam -qj16. Now open up one of ProcessController's menus and simply observe activity. The menu will rapidly grow to the point where it requires scrollers. However, as teams exit, the menu doesn't appear to handle the case of resizing itself back properly, the observed behavior is that the menu rapidly becomes all white and completely unusable. Note that this problem is only observable when large numbers of add/removes like this that extend the menu to scrolling range occur. A smaller activity set like -j2 or -j4 doesn't appear to exhibit the issue.

The problem was observed on hrev44090 but after searching back for a while, does not appear to be new.

Change History (4)

comment:1 by anevilyak, 7 years ago

Component: Kits/Interface KitApplications/ProcessController
Owner: changed from axeld to nobody

Upon closer inspection this might actually be a ProcessController problem after all, it appears to try to recycle/reuse menu items when teams exit (by reassigning them to new teams), and some of the code there looks potentially a bit suspect.

comment:2 by anevilyak, 7 years ago

Summary: BMenu not handling certain cases of resizing on add/remove correctlyProcessController not correctly handling item recycling with high amounts of concurrent team creation/destruction.

comment:3 by humdinger, 5 years ago

Blocking: 11152 added

(In #11152) Duplicate. Sorry for the noise...

comment:4 by diver, 3 years ago

Blocking: 13255 added
Note: See TracTickets for help on using tickets.