#9449: bfs: SegFault while unmounting at shutdown --------------------------------+------------------------- Reporter: jahaiku | Owner: axeld Type: bug | Status: new Priority: normal | Milestone: R1 Component: File Systems/BFS | Version: R1/alpha4.1 Resolution: | Keywords: Blocked By: | Blocking: 10443 Has a Patch: 0 | Platform: All --------------------------------+------------------------- Comment (by ithamar): ok, in the case of my USB disk removal the notification of the USB stack that the device was removed comes after BFS tries to update the journal. Since the BlockWriter in the block cache panic's on failed writes (and reads), the panic comes before the notification. I've simply tried making the panics TRACE_ALWAYS() and I see a bunch of them in the syslog then, just before the "Device Removed" notification comes by, and things seem to be fine. I've had a quick look at the installer code, but I don't see it ejecting the boot volume or such, is this triggered from some other part of the system? Somehow it seems the USB (boot) disk has disappeared by time the block cache tries to write to it. In my removal case, there's no hope of writing it ever, but in this installer case, I guess it should get the chance. -- Ticket URL: <https://dev.haiku-os.org/ticket/9449#comment:13> Haiku <https://dev.haiku-os.org> Haiku - the operating system.