Bug 768061
Summary: | [abrt] hfsplus-tools-332.14-12.fc15: Process /sbin/fsck.hfsplus was killed by signal 11 (SIGSEGV) | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Mads Kiilerich <mads> | ||||||
Component: | hfsplus-tools | Assignee: | Adam Jackson <ajax> | ||||||
Status: | CLOSED RAWHIDE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||||
Severity: | unspecified | Docs Contact: | |||||||
Priority: | unspecified | ||||||||
Version: | 16 | CC: | cweyl | ||||||
Target Milestone: | --- | ||||||||
Target Release: | --- | ||||||||
Hardware: | x86_64 | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | abrt_hash:df2a3e63d779b15f4656bea3ff0c44674270b8cf | ||||||||
Fixed In Version: | Doc Type: | Bug Fix | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | Environment: | ||||||||
Last Closed: | 2012-06-05 15:17:40 UTC | Type: | --- | ||||||
Regression: | --- | Mount Type: | --- | ||||||
Documentation: | --- | CRM: | |||||||
Verified Versions: | Category: | --- | |||||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
Cloudforms Team: | --- | Target Upstream Version: | |||||||
Embargoed: | |||||||||
Attachments: |
|
Description
Mads Kiilerich
2011-12-15 16:35:23 UTC
Created attachment 547351 [details]
File: backtrace
Created attachment 547352 [details]
content of the hfs partition that reproduces the problem
[root@fladmast ~]# valgrind fsck.hfsplus crasher.hfs
==1682== Memcheck, a memory error detector
==1682== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al.
==1682== Using Valgrind-3.6.1 and LibVEX; rerun with -h for copyright info
==1682== Command: fsck.hfsplus crasher.hfs
==1682==
** crasher.hfs
** Checking HFS Plus volume.
==1682== Invalid read of size 2
==1682== at 0x4176A6: hfs_swap_BTNode (hfs_endian.c:519)
==1682== by 0x41B3F1: GetNode (BTreeNodeOps.c:147)
==1682== by 0x41D095: SearchTree (BTreeTreeOps.c:231)
==1682== by 0x4191A0: BTSearchRecord (BTree.c:761)
==1682== by 0x4203A4: SearchBTreeRecord (SBTree.c:83)
==1682== by 0x407744: CreateCatalogBTreeControlBlock (SVerify1.c:1148)
==1682== by 0x403C2C: ScavCtrl (SControl.c:393)
==1682== by 0x404392: CheckHFS (SControl.c:145)
==1682== by 0x401A01: main (fsck_hfs.c:296)
==1682== Address 0x20503effa is not stack'd, malloc'd or (recently) free'd
==1682==
==1682==
==1682== Process terminating with default action of signal 11 (SIGSEGV)
==1682== Access not within mapped region at address 0x20503EFFA
==1682== at 0x4176A6: hfs_swap_BTNode (hfs_endian.c:519)
==1682== by 0x41B3F1: GetNode (BTreeNodeOps.c:147)
==1682== by 0x41D095: SearchTree (BTreeTreeOps.c:231)
==1682== by 0x4191A0: BTSearchRecord (BTree.c:761)
==1682== by 0x4203A4: SearchBTreeRecord (SBTree.c:83)
==1682== by 0x407744: CreateCatalogBTreeControlBlock (SVerify1.c:1148)
==1682== by 0x403C2C: ScavCtrl (SControl.c:393)
==1682== by 0x404392: CheckHFS (SControl.c:145)
==1682== by 0x401A01: main (fsck_hfs.c:296)
==1682== If you believe this happened as a result of a stack
==1682== overflow in your program's main thread (unlikely but
==1682== possible), you can try to increase the size of the
==1682== main thread stack using the --main-stacksize= flag.
==1682== The main thread stack size used in this run was 8388608.
==1682==
==1682== HEAP SUMMARY:
==1682== in use at exit: 130,871 bytes in 16 blocks
==1682== total heap usage: 17 allocs, 1 frees, 130,884 bytes allocated
==1682==
==1682== LEAK SUMMARY:
==1682== definitely lost: 0 bytes in 0 blocks
==1682== indirectly lost: 0 bytes in 0 blocks
==1682== possibly lost: 0 bytes in 0 blocks
==1682== still reachable: 130,871 bytes in 16 blocks
==1682== suppressed: 0 bytes in 0 blocks
==1682== Rerun with --leak-check=full to see details of leaked memory
==1682==
==1682== For counts of detected and suppressed errors, rerun with: -v
==1682== ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 2 from 2)
Segmentation fault (core dumped)
This package has changed ownership in the Fedora Package Database. Reassigning to the new owner of this component. Unable to reproduce this in hfsplus-tools-540.1.linux3-1.fc17.x86_64: synephrine:~/hfsplus% fsck.hfsplus crasher.hfs ** crasher.hfs Executing fsck_hfs (version 540.1-Linux). ** Checking non-journaled HFS Plus Volume. The volume name is fedora-hfsplus ** Checking extents overflow file. ** Checking catalog file. Unused node is not erased (node = 2) ** Checking multi-linked files. ** Checking catalog hierarchy. ** Checking extended attributes file. Incorrect number of extended attributes (It should be 6 instead of 1) ** Checking volume bitmap. ** Checking volume information. ** Repairing volume. ** Rechecking volume. ** Checking non-journaled HFS Plus Volume. The volume name is fedora-hfsplus ** Checking extents overflow file. ** Checking catalog file. ** Checking multi-linked files. ** Checking catalog hierarchy. ** Checking extended attributes file. ** Checking volume bitmap. ** Checking volume information. ** The volume fedora-hfsplus was repaired successfully. Unfortunately F15's llvm (and gcc) aren't up to the task of building newer hfsplus-tools, and F15 is pretty close to EOL anyway, so I'm just calling this fixed in rawhide. |