#16441: BEntry fails to add volume name to BPath (non BeFS volumes)
------------------------------+------------------------------------
Reporter: smallstepforman | Owner: nobody
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: File Systems | Version: R1/beta2
Resolution: | Keywords: BEntry entry_ref BPath
Blocked By: | Blocking:
Platform: All |
------------------------------+------------------------------------
Comment (by smallstepforman):
I'm sorry about the noise, but I honestly cannot find a sure method to
reproduce the problem. It's a hit/miss Heisenbug, it will show up roughly
20% of the time when opening a folder from tracker.
If I work with the entry_ref directly (via RefsReceived), I can access the
file. If I convert to a BPath first, the volume name may be missing.
BPath fails to resolve if the volume name is missing.
Haiku apps which just work with entry_ref are fine and wont exhibit the
bug (eg. MediaPlayer). However, if you create a playlist then it will
reveal itself since the entry_ref is not saved, the BPath is. If you use
the Tracker addon to open a Terminal, it will fail.
--
Ticket URL: <https://dev.haiku-os.org/ticket/16441#comment:6>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.