[haiku-bugs] [Haiku] #16605: deskbar replicant settings overwrite Vision settings

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 15 Nov 2020 06:08:21 -0000

#16605: deskbar replicant settings overwrite Vision settings
------------------------------+-----------------------
 Reporter:  pulkomandy        |       Owner:  axeld
     Type:  bug               |      Status:  new
 Priority:  normal            |   Milestone:  R1
Component:  File Systems/BFS  |     Version:  R1/beta2
 Keywords:                    |  Blocked By:
 Blocking:                    |    Platform:  All
------------------------------+-----------------------
 This happened several time to me, sometimes I boot Haiku and I find Vision
 has reverted to its default settings. Looking at the settings I see this:

 {{{
 ~> message /boot/home/config/settings/Vision/VisionSettings
 BMessage(0x0) {
         replicant_path[0] = string("/boot/system/apps/NetworkStatus", 32
 bytes)
         replicant_path[1] = string("/boot/system/apps/PowerStatus", 30
 bytes)
         replicant_path[2] = string("/boot/system/apps/ProcessController",
 36 bytes)
 }
 failed to unflatten message: Data is not a message
 }}}

 Opening the file with DiskProbe, I see that towards the end there are
 still some settings from Vision, but apparently the start of the file is
 overwritten with unrelated data from another file. Checkfs does not see
 anything wrong with the partition.

 Sorry I cannot attach the file, it contains my nickserv passwords.

 Filing the ticket under BFS, but since there is no on-disk corruption I
 suspect the issue may be in some higher layer in the VFS maybe? resulting
 in two file descriptors being mixed up and the data being written to the
 wrong file?
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16605>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: