[haiku-bugs] Re: [Haiku] #9900: "Double fault!", copying from BFS partition on USB external drive

  • From: "bonefish" <trac@xxxxxxxxxxxx>
  • Date: Fri, 26 Jul 2013 21:52:45 -0000

#9900: "Double fault!", copying from BFS partition on USB external drive
-------------------------+----------------------------
   Reporter:  ttcoder    |      Owner:  nobody
       Type:  bug        |     Status:  new
   Priority:  normal     |  Milestone:  R1
  Component:  - General  |    Version:  R1/Development
 Resolution:             |   Keywords:
 Blocked By:             |   Blocking:
Has a Patch:  0          |   Platform:  All
-------------------------+----------------------------

Comment (by bonefish):

 Actually the last part of the stack trace would be quite interesting as
 one would see how the problem started. What can be seen now is that
 there's an IO request which is processed synchronously (as the underlying
 driver doesn't seem to support handling I/O requests asynchronously) but
 it still uses the finished-callback mechanism that is normally used for
 asynchronous processing. So it ends up performing the iteration through
 the request recursively, running out of stack.

 I have the suspicion the problem is caused by the VFS providing an `io()`
 hook, which lets the VFS assume asynchronous request handling is
 supported, while the hook itself just calls the synchronous handler. But
 it would be nice to verify that with the stack trace.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9900#comment:2>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: