[haiku-bugs] Re: [Haiku] #12929: [XHCI] crash in _LinkDescriptorForPipe()

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 18 Feb 2019 16:18:57 -0000

#12929: [XHCI] crash in _LinkDescriptorForPipe()
--------------------------------+----------------------------------------
   Reporter:  diver             |      Owner:  nobody
       Type:  bug               |     Status:  assigned
   Priority:  normal            |  Milestone:  R1/beta2
  Component:  Drivers/USB/XHCI  |    Version:  R1/Development
 Resolution:                    |   Keywords:
 Blocked By:                    |   Blocking:  12915, 12951, 13912, 14798
Has a Patch:  0                 |   Platform:  All
--------------------------------+----------------------------------------

Comment (by korli):

 Replying to [comment:14 waddlesplash]:

Well, if we should make sure trbCount is non-zero, then tdCount will of
 course be 1 in that case, yes?

 Yes

OK, then in that case I really don't understand how we get a page fault
 here.

 SubmitControlRequest() could at least check _LinkDescriptorForPipe()
 return value and exit, instead of calling Ring() and returning B_OK.

-- 
Ticket URL: <https://dev.haiku-os.org/ticket/12929#comment:16>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: