fsck.hfsplus fails due to "buffer overflow detected"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
hfsplus (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Running `mkfs.hfsplus` on a partition on a USB 3.0 connected HDD which ran without problems on Mac OS X before fails immediately with
$ sudo fsck.hfsplus /dev/disk/
*** buffer overflow detected ***: fsck.hfsplus terminated
======= Backtrace: =========
/lib/
/lib/
/lib/
fsck.
fsck.
fsck.
/lib/
fsck.
======= Memory map: ========
00400000-
0062b000-
0062c000-
0062e000-
01074000-
7fc40c17e00
7fc40c19400
7fc40c39300
7fc40c39400
7fc40c55400
7fc40c75400
7fc40c75800
7fc40c75a00
7fc40c75e00
7fc40c76c00
7fc40c96b00
7fc40c96c00
7fc40c96d00
7fc40c96e00
7fc40cb5300
7fc40cb8e00
7fc40cb9100
7fc40cb9200
7fc40cb9300
7ffefa70600
7ffefa74100
7ffefa74300
ffffffffff6
ProblemType: Bug
DistroRelease: Ubuntu 15.04
Package: hfsplus 1.0.4-12.1ubuntu1
Uname: Linux 4.0.1-040001-
ApportVersion: 2.17.2-0ubuntu1
Architecture: amd64
CurrentDesktop: Unity
Date: Fri May 1 12:04:42 2015
Dependencies:
gcc-5-base 5.1~rc1-0ubuntu1
libc6 2.21-0ubuntu4
libgcc1 1:5.1~rc1-0ubuntu1
libhfsp0 1.0.4-12.1ubuntu1
multiarch-support 2.21-0ubuntu4
EcryptfsInUse: Yes
InstallationDate: Installed on 2015-04-02 (28 days ago)
InstallationMedia: Ubuntu 15.04 "Vivid Vervet" - Beta amd64 (20150326)
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: hfsplus
SystemImageInfo:
current build number: 0
device name:
channel: daily
last update: Unknown
UpgradeStatus: No upgrade log present (probably fresh install)
I could repair the filesystem with `fsck.hfsplus` in a `qemu` instance running Ubuntu 14.04.2 amd64.