[haiku-bugs] Re: [Haiku] #5790: panic: out of ports, but sUsedPorts is broken

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Tue, 06 Jan 2015 09:49:59 -0000

#5790: panic: out of ports, but sUsedPorts is broken
-----------------------------+----------------------------
   Reporter:  mmlr           |      Owner:  axeld
       Type:  enhancement    |     Status:  new
   Priority:  normal         |  Milestone:  Unscheduled
  Component:  System/Kernel  |    Version:  R1/Development
 Resolution:                 |   Keywords:
 Blocked By:                 |   Blocking:
Has a Patch:  0              |   Platform:  All
-----------------------------+----------------------------
Changes (by pulkomandy):

 * type:  bug => enhancement
 * milestone:  R1/beta1 => Unscheduled


Comment:

 It seems http://cgit.haiku-
 
os.org/haiku/diff/src/system/kernel/port.cpp?id=24df65921befcd0ad0c5c7866118f922da61cb96
 changed the port ID computation and the new code handles overflows. This
 solves the initial problem.

 I'm making this an enhancement ticket and moving it out of beta1, since it
 would still be better to use vmem for allocation of port, area, and
 process IDs (and possibly in other places).

--
Ticket URL: <https://dev.haiku-os.org/ticket/5790#comment:15>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: