Opened 4 years ago

Last modified 2 years ago

#16605 new bug

deskbar replicant settings overwrite Vision settings

Reported by: pulkomandy Owned by: axeld
Priority: normal Milestone: R1
Component: File Systems/BFS Version: R1/beta2
Keywords: Cc:
Blocked By: #12676 Blocking:
Platform: All

Description

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?

Change History (1)

comment:1 by waddlesplash, 2 years ago

Blocked By: 12676 added

Seems likely to be related to #12676.

Note: See TracTickets for help on using tickets.