[Ocfs2-tools-devel] debufs.ocfs2: issue cat command against some of the system files cause core dump

jeff.liu jeff.liu at oracle.com
Tue Mar 17 01:30:37 PDT 2009


Hello,

issue command 'cat' against some of the OCFS2 system files in
debugfs.ocfs2 cause core dump.
for example:
-----------
debugfs.ocfs: cat //global_bitmap
debugfs.ocfs2: extend_file.c:211: ocfs2_new_path: Assertion
`root_el->l_tree_depth < 5' failed.
Aborted (core dumped)

looks the command get some unexpected data just cause the assertion
failed. :(

I am wonder whether the system files could be cat or not, the patch
checking if the target to cat is a system file, if yes, just return and
show user
the related message.


Thanks,
Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ocfs2-tools-add-OCFS2-system-file-check-for-debugfs.patch
Type: text/x-diff
Size: 1128 bytes
Desc: not available
Url : http://oss.oracle.com/pipermail/ocfs2-tools-devel/attachments/20090317/da023f20/attachment.bin 


More information about the Ocfs2-tools-devel mailing list