[haiku-bugs] Re: [Haiku] #11280: Intermittent no USB on boot

  • From: "ttcoder" <trac@xxxxxxxxxxxx>
  • Date: Wed, 08 Apr 2015 17:18:41 -0000

#11280: Intermittent no USB on boot
---------------------------+----------------------------
Reporter: vidrep | Owner: mmlr
Type: bug | Status: new
Priority: normal | Milestone: R1
Component: Drivers/USB | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking: 11432
Has a Patch: 0 | Platform: All
---------------------------+----------------------------

Comment (by ttcoder):

It's occuring right now on my desktop, keeping it open in debugger in
case someone wants me to try out a command?

I tried to step.. step.. step.. for a while in debugger, and we never
ever get out of GetAncestor(), I'm always either in node_ref::eq() or in
GeAncestor().

So I would theorize that..
- BOpenHashTable<AncestorHashDefinition>::Lookup() is inlined inside
GetAncestor()
- the infinite loop culprit is inside (i.e. it's not caused by a
continuous stream of B_ENTRY_CREATED messages)
- thus the "root" so to speak, of the stoppage is either [ http://cgit
.haiku-os.org/haiku/tree/src/kits/storage/PathMonitor.cpp#n1394this call]
or [http://cgit.haiku-
os.org/haiku/tree/src/kits/storage/PathMonitor.cpp#n1424 this call] and
the actual guilty party (loop that never exists) would be that one:

http://grok.bikemonkey.org/source/xref/haiku/headers/private/kernel/util/OpenHashTable.h#160

Plausible?

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

Other related posts: