Opened 16 years ago

Closed 16 years ago

#2614 closed bug (fixed)

Indexes not being correctly maintained.

Reported by: bga Owned by: bga
Priority: blocker Milestone: R1/alpha1
Component: File Systems/BFS Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by mmlr)

I have been doing experiments on a real Haiku installation and playing with emails I just noticed the indexes are not being correctly maintained.

Here is what I mean:

~> query MAIL:subject=\*

/boot/home/development/mdr/AGMSBayesianSpamServer/SoundUncertain
/boot/home/development/mdr/outbound_filters
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpamServer\ Settings
/boot/home/development/mdr/bemail/ObjectList.h
/boot/home/development/mdr/bemail
/boot/home/development/mdr/daemon/.cvsignore
/boot/home/development/mdr/bemail/Enclosures.cpp
/boot/home/development/mdr/lib/crypt.cpp
/boot/home/development/spam_server/CVS/Entries
/boot/home/development/mdr/config/ConfigWindow.cpp
/boot/home/development/mdr/bemail/QueryMenu.cpp
/boot/home/development/mdr/CVSROOT/verifymsg
/boot/home/development/mdr/CVSROOT/modules
/boot/home/development/mdr/inbound_protocols
/boot/home/development/mdr/CVSROOT/notify
/boot/home/development/mdr/bemail/Content.h
/boot/home/development/mdr/bemail/Content.cpp
/boot/home/development/mdr/lib/numailkit.cpp
/boot/home/development/mdr/lib/status.cp
/boot/home/development/mdr/config/ConfigWindow.h
/boot/home/development/mdr/bemail/FindWindow.h
/boot/home/development/mdr/bemail/Header.cpp
/boot/home/development/mdr/bemail/LICENSE
/boot/home/development/mdr/bemail/Mail.cpp
/boot/home/development/mdr/bemail/Prefs.h
/boot/home/development/mdr/inbound_protocols/makefile
/boot/home/development/mdr/lib
/boot/home/development/mdr/bemail/Signature.h
/boot/home/development/mdr/bemail/BeMail.rsrc
/boot/home/development/mdr/bemail/Signature.cpp
/boot/home/development/mdr/bemail/QueryMenu.h
/boot/home/development/mdr/daemon/SlowMenu.h
/boot/home/development/mdr/AGMSBayesianSpamServer/BuyLogoLayers.image.x-becasso
/boot/home/development/mdr/bemail/Utilities.cpp
/boot/home/development/mdr/bemail/WIndex.cpp
/boot/home/development/mdr/bemail/Words.cpp
/boot/home/development/mdr/bemail/WIndex.h
/boot/home/development/mdr/bemail/Words.h
/boot/home/development/mdr/bemail/geekspeak
/boot/home/development/mdr/bemail/Utilities.h
/boot/home/development/mdr/config/E-mail.rsrc
/boot/home/development/mdr/daemon/NavMenu.h
/boot/home/development/mdr/bemail/BmapButton.h
/boot/home/development/mdr/daemon/main.cp

And, just to confirm in one file:

~> listattr /boot/home/development/mdr/daemon/main.cp
File: /boot/home/development/mdr/daemon/main.cp
  Type         Size                 Name
-----------  ---------  -------------------------------

0 bytes total in attributes.

I was working with those files before I checked the email so it looks a lot like BFS getting confused about the inodes that it puts on the indexes.

Change History (12)

comment:1 by bga, 16 years ago

Description: modified (diff)

comment:2 by bga, 16 years ago

Milestone: R1R1/alpha1

comment:3 by mmlr, 16 years ago

Description: modified (diff)

comment:4 by bga, 16 years ago

More index problems:

~/mail/BGA(BUG-Br)/in> query MAIL:subject=\* | wc -l
query: could not get path for entry
query: could not get path for entry
152

BTW, there are only 110 emails in my system right now and it seems the MAIL:subject index have 152 entries.

Here is what I see on syslog when running the command above:

KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623466 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623466 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623397 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623397 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623494 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623494 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623377 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623377 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623526 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623526 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623462 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623462 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623489 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623489 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623513 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623513 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623487 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623487 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623482 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623482 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623486 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623486 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623492 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623492 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623381 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623381 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623400 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623400 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623405 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623405 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623377 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623377 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623387 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623387 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623418 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623418 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623550 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623550 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623686 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623686 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623463 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623463 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623441 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623441 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623430 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623430 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623382 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623382 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623400 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623400 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623453 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623453 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623460 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623460 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623454 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623454 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623456 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623456 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623531 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623531 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623419 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623419 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623420 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623420 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623421 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623421 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623427 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623427 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623426 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623426 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623425 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623425 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623388 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623388 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623378 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623378 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623381 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623381 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623398 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623398 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623424 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623424 in index "MAIL:subject"!
KERN: bfs: inode 2623354 in query has no name!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623398 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623398 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623367 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623367 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623378 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623378 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623369 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623369 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623462 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623462 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623461 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623461 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623463 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623463 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623467 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623467 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623434 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623434 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623460 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623460 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623367 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623367 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623379 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623379 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623419 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623419 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623355 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623355 in index "MAIL:subject"!
KERN: bfs: KERN: inode 2623356 in query has no name!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623666 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623666 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623585 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623585 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623612 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623612 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623384 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623384 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623369 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623369 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623485 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623485 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623566 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623566 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623571 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623571 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623572 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623572 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623407 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623407 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623426 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623426 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623427 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623427 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623414 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623414 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623479 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623479 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623397 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623397 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623399 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623399 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623431 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623431 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623388 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623388 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623380 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623380 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623630 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623630 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623451 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623451 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623410 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623410 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623421 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623421 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623383 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623383 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623369 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623369 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623379 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623379 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623380 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623380 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623381 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623381 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623385 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623385 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623408 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623408 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623444 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623444 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623367 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623367 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623405 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623405 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623422 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623422 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623604 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623604 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623456 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623456 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623412 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623412 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623407 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623407 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623404 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623404 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623588 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623588 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623377 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623377 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623422 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623422 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623423 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623423 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623401 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623401 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623385 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623385 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623493 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623493 in index "MAIL:subject"!
KERN: bfs: inode 2623354 in query has no name!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623495 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623495 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623376 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623376 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623400 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623400 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623378 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623378 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623385 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623385 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623390 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623390 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623399 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623399 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623410 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623410 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623432 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623432 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623450 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623450 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623456 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623456 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623457 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623457 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623461 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623461 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623464 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623464 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623469 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623469 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623416 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623416 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623649 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623649 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623457 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623457 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623699 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623699 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623355 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623355 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623367 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623367 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623391 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623391 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623430 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623430 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623434 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623434 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623445 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623445 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623458 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623458 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623388 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623388 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623466 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623466 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623378 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623378 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623509 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623509 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623510 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623510 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623511 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623511 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623387 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623387 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623419 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623419 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623420 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623420 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623398 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623398 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623712 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623712 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623713 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623713 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623376 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623376 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623379 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623379 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623382 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623382 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623383 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623383 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623383 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623383 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623383 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623383 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623383 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623383 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623384 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623384 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623385 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623385 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623389 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623389 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623389 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623389 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623390 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623390 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623391 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623391 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623392 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623392 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623393 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623393 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623397 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623397 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623399 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623399 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623399 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623399 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623405 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623405 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623410 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623410 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623412 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623412 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623413 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623413 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623417 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623417 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623419 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623419 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623422 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623422 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623430 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623430 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623445 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623445 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623455 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623455 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623458 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623458 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623615 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623615 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623440 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623440 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623441 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623441 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623423 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623423 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623377 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623377 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623414 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623414 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623464 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623464 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623391 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623391 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623464 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623464 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623541 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623541 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623384 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623384 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623387 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623387 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623398 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623398 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623441 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623441 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623446 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623446 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623449 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623449 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623379 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623379 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623416 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623416 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623425 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623425 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623428 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623428 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623446 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623446 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623448 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623448 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623475 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623475 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623477 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623477 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623528 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623528 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623396 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623396 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623385 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623385 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623414 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623414 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623393 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623393 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623384 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623384 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623462 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623462 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623400 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623400 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623404 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623404 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623409 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623409 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623413 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623413 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623442 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623442 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623451 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623451 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623460 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623460 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623387 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623387 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623367 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623367 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623378 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623378 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623382 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623382 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623384 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623384 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623385 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623385 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623386 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623386 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623386 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623386 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623387 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623387 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623391 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623391 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623396 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623396 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623396 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623396 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623428 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623428 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623431 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623431 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623443 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623443 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623447 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623447 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623459 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623459 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623463 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623463 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623466 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623466 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623467 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623467 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623468 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623468 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623470 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623470 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623474 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623474 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623377 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623377 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623408 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623408 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623389 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623389 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623392 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623392 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623401 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623401 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623455 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623455 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623369 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623369 in index "MAIL:subject"!
KERN: bfs: inode 2623356 in query has no name!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623454 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623454 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623382 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623382 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623671 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623671 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623381 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623381 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623408 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623408 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623717 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623717 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623646 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623646 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623506 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623506 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623650 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623650 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623529 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623529 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623445 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623445 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623501 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623501 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623405 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623405 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623393 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623393 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623702 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623702 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623378 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623378 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623425 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623425 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623637 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623637 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623449 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: KERN: could not get inode 2623449 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623411 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623411 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623689 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623689 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623396 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623396 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623479 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623479 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623407 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623407 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623565 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623565 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623407 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623407 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623414 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623414 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623392 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623392 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623386 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623386 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: KERN: inode at 2623555 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623555 in index "MAIL:subject"!
KERN: bfs: InitCheck:301: Bad data
KERN: bfs: inode at 2623447 is corrupt!
KERN: bfs: GetNextMatching:1060: Bad data
KERN: bfs: could not get inode 2623447 in index "MAIL:subject"!

The system has only been running for a few hours (after installing hrev27057) and I checked for emails (and downloaded then) around 10 times in this period. No unexpected reboot, crash or anything else that would have a bigger chance of corrupting data.

And. just as reported originally (and considering all my email files are inside the mail directory:

~/mail/BGA(BUG-Br)/in> query MAIL:subject=\* | grep -v mail
query: could not get path for entry
/boot/home/development/haiku/generated/Jamfile
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 9
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 1
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 8
/boot/home/config/settings/Media/MDefaultManager
/boot/home/config/settings/Media/multi_audio_settings
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 1
/boot/home/config/settings/Mail/BeMail\ Settings
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 0
/boot/home/config/settings/Media/multi_audio_settings
/boot/home/config/settings/Mail/BeMail\ Settings
query: could not get path for entry
/boot/home/development/haiku/generated/haiku.image
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 7
/boot/home/development/haiku/data
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 0
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 0
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 2
/boot/home/development/haiku/generated/haiku.image
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 7
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 3
/boot/home/development/haiku/headers
/boot/home/development/haiku/generated/haiku.image
/boot/home/development/haiku/3rdparty
/boot/home/development/haiku/3rdparty
/boot/home/development/haiku/docs
/boot/home/development/haiku/headers
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 9
/boot/home/config/settings/Media/multi_audio_settings
/boot/home/config/settings/Media/multi_audio_settings
/boot/home/development/haiku/docs
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 9
/boot/home/development/haiku/data
/boot/home/config/settings/Media/multi_audio_settings
/boot/home/config/settings/Media/MDefaultManager
/boot/home/development/haiku/generated/Jamfile
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 5
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 4
/boot/home/config/settings/Media/MDefaultManager
/boot/home/config/settings/AGMSBayesianSpam/AGMSBayesianSpam\ Database.backup\ 0

So this is definitely the case that files that have nothing to do with a specific index but were accessed (in some cases, even read-only, it seems), were incorrectly added to it.

Note that my example involves MAIL:* indexes, but It is probably also affecting BEOS:APP_SIG, for example, and maybe even last_modified, name and size indexes. In fact:

~/mail/BGA(BUG-Br)/in> query name=\* | wc -l 
116415

~/mail/BGA(BUG-Br)/in> query size\<1000000000 | wc -l 
93916

Considering I have no files that are equal or bigger to the size I used, those numbers shoulkd match, right? Not that I another thing I also see from time to time is the same file added twice to one index so it could be that name has more files than it should, size has less files than it should or even both.

}}}

comment:5 by bga, 16 years ago

Forget the last comment about the name and size index, as the name index includes directories while the size index does not. This does not change the problem, anyway.

comment:6 by bga, 16 years ago

I just confirmed that this also makes the same file be added twice to one index. This messes up the BEOS:APP_SIG index, for example, which makes the Open With menu in Tracker show full paths because it gets the same exacutable twice or more in the index (note it is not 2 exacutables with the same signature, it is the exact same executable twice in the index).

Based on all of the above I guess MDR is just doing thing is a way that triggers one of these (in Inode:WritteAttribute):

TODO: we actually depend on that the contents of "buffer" are constant. If they get changed during the write (hey, user programs), we may mess up our index trees! TODO: for attribute files, we need to log the first BPLUSTREE_MAX_KEY_LENGTH bytes of the data stream, or the same as above might happen.

comment:7 by bga, 16 years ago

Just found a reliable way to reproduce at least part of the problem I am seeing. The script attached to this bug will trigger the "Bad data" error problem all the time here in my computer. I was able to track this error down to the fact that there are still entries in the index that point to files that were deleted. Although this is doing that by creating copies of all applications in the apps folder and checking the BEOS:APP_SIG index, it looks like it would happoen even with 7 apps being copied (but not less) and the index problem happens to all indexes (except for name, size, last_modified, which are handled as a special case).

If someone else could confirm this bug, that would be much appreciated.

comment:8 by bga, 16 years ago

Attaching files is not working, so here is the script:

#!/bin/sh

APP_SIG_NUM_FILES=`query BEOS:APP_SIG=\* | wc -l`
echo "Number of readable files in BEOS:APP_SIG index : $APP_SIG_NUM_FILES"

echo -n "Copying /boot/beos/apps/* to ./test ... " 
mkdir test
copyattr -d /boot/beos/apps/* test/.
echo "Ok."

APP_SIG_NUM_FILES=`query BEOS:APP_SIG=\* | wc -l`
echo "Number of readable files in BEOS:APP_SIG index : $APP_SIG_NUM_FILES"

APP_SIG_NUM_FILES=`query BEOS:APP_SIG=\* | sort -u | wc -l`
echo "Number of unique readable files in BEOS:APP_SIG index : $APP_SIG_NUM_FILES"

echo -n "Erasing test dir ... "
rm -rf test
echo "Ok."

# This will generate errors in syslog. The index still contains references to
# files that were deleted. The funny thing is that not all files resukts in
# errors, whcih means that at least some are correctly removed from the index. 
APP_SIG_NUM_FILES=`query BEOS:APP_SIG=\* | xargs catattr BEOS:APP_SIG | wc -l`
echo "Number of readable files in BEOS:APP_SIG index : $APP_SIG_NUM_FILES"

APP_SIG_NUM_FILES=`query BEOS:APP_SIG=\* | xargs catattr BEOS:APP_SIG | sort -u | wc -l`
echo "Number of unique readable files in BEOS:APP_SIG index : $APP_SIG_NUM_FILES"

in reply to:  7 comment:9 by emitrax, 16 years ago

Replying to bga:

If someone else could confirm this bug, that would be much appreciated.

Script tested. I confirm the behavior. ;-)

comment:10 by bga, 16 years ago

hrev27180 fixes at least part of this bug (although it can be just hiding a different bug). Will do some more test to see if it fixes the other problems too.

comment:11 by bga, 16 years ago

Owner: changed from axeld to bga
Status: newassigned

comment:12 by bga, 16 years ago

Resolution: fixed
Status: assignedclosed

After some extensive testing (who would know downloading emails was a good way to stress-test a file system? :) ) it seems that this is really fixed.

Fixed in hrev27180.

Note: See TracTickets for help on using tickets.