Opened 10 years ago

Last modified 4 years ago

#3566 new bug

Data corruption when compiling under hybrid

Reported by: Adek336 Owned by: axeld
Priority: normal Milestone: R1
Component: File Systems/BFS Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

I've been compiling some userland applications a lot recently. I have seen

under vmware, hybrid, two BFS partitions, code is being compiled on the non-boot partition, suddenly the build process ends with an error like garbage in config.status, syntax error in .c file, lack of separator in Makefile. These error always turned out to be caused by corruption in the mentioned files. This happened a lot in a revision circa hrev29330, now under circa hrev29500 I didn't see it but perhaps it's just a matter of chance. Perhaps related to #3347 which happened even more often than data corruption.

under real hw, hrev29503, hybrid, two partitions, compiling on non-boot partition, I've seen this happen once: compiling compiling then boom restart, after booting up many files are corrupt, even sources which were compiled an hour earlier didn't want to compile again due to garbage in files, some stuff in /boot/common/bin and /boot/common/lib didn't work because of elf header errors like if they were corrupted.

Attachments (3)

corruption.txt (6.7 KB) - added by jessicah 4 years ago.
diff of the sections of a tarball that got corrupted
checkfs-output.txt (4.5 KB) - added by jessicah 4 years ago.
Weird checkfs output
syslog-excerpt.txt (1.4 KB) - added by jessicah 4 years ago.
some of the syslog whilst running checkfs

Download all attachments as: .zip

Change History (7)

comment:1 Changed 7 years ago by diver

Component: - GeneralFile Systems/BFS

comment:2 Changed 5 years ago by bonefish

Has this issue still been observed recently?

Changed 4 years ago by jessicah

Attachment: corruption.txt added

diff of the sections of a tarball that got corrupted

comment:3 Changed 4 years ago by pulkomandy

I have seen corruption happen, usually on the build.ninja file while building webkit. Garbage would be found in the middle of the file. It seemed to be a cache problem, because rebooting the machine would solve it.

I haven't seen that issue again since BeGeistert, but I've not worked on WebKit as much since then. I'll keep looking for it.

comment:4 Changed 4 years ago by jessicah

This just happened to me today, after compiling GHC multiple times with haikuporter, trying to iron out some bugs.

Running checkfs multiple times, seems to find a new corrupted directory entry each run now.

On hrev48310 gcc2hybrid.

Last edited 4 years ago by jessicah (previous) (diff)

Changed 4 years ago by jessicah

Attachment: checkfs-output.txt added

Weird checkfs output

Changed 4 years ago by jessicah

Attachment: syslog-excerpt.txt added

some of the syslog whilst running checkfs

Note: See TracTickets for help on using tickets.