reiserfsck enters an infinite loop when pointer data is corrupt

Bug #901704 reported by Joao Carreira
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
reiserfsprogs (Ubuntu)
New
Undecided
Unassigned

Bug Description

When data of a child pointer in an internal node is corrupt, reiserfsck --check suggests using --fix-fixable to fix the problem.
However, reiserfsck gets stuck in an infinite loop (message below). However, when run with the --rebuild-tree argument, reiserfsck is able to fix the corruption.

get_next_directory_item: The entry [3 9 0x1 DIR (3)] cannot be found in [3 9 0x1120 DIR (3)] - entry was added
get_next_directory_item: The entry [3 9 0x1 DIR (3)] cannot be found in [3 9 0x1120 DIR (3)] - entry was added
get_next_directory_item: The entry [3 9 0x1 DIR (3)] cannot be found in [3 9 0x1120 DIR (3)] - entry was added

I have attached a sample disk that illustrates this problem. To exercise this error just run fsck.reiserfs --fix-fixable -y on this disk.

Revision history for this message
Joao Carreira (jokarreira) wrote :
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.