All Posts by Date or last 15, 30, 90 or 180 days.
also by Lloyd: diglloyd.com photography and WindInMyFace.com
Thank you for purchasing through links and ads on this site.
OWC / MacSales.com...
diglloyd Deal Finder...
Buy other stuff at Amazon.com...
Upgrade the memory of your 2019 iMac up to 128GB
Handpicked deals...
$30 $15
SAVE $15

$2998 $2498
SAVE $500

$1199 $920
SAVE $279

$1999 $1599
SAVE $400

$2799 $2399
SAVE $400

$89 $59
SAVE $30

$400 $280
SAVE $120

$1798 $1598
SAVE $200

$3297 $2797
SAVE $500

$3397 $2797
SAVE $600

$150 $90
SAVE $60

$1398 $898
SAVE $500

$3698 $2998
SAVE $700

$1799 $1329
SAVE $470

$1999 $1199
SAVE $800

$2299 $1599
SAVE $700

$2399 $2049
SAVE $350

$2799 $1899
SAVE $900

$997 $897
SAVE $100

$2099 $1699
SAVE $400

$1999 $1369
SAVE $630

$1349 $949
SAVE $400

$4499 $3999
SAVE $500

$329 $329
SAVE $0

$1499 $1029
SAVE $470

$1499 $1289
SAVE $210

$2199 $1999
SAVE $200

$3399 $2199
SAVE $1200

OWC
USB-C Travel Dock

Fast charging with up to 100W!

HDMI, SD card reader,
USB-C port, 2 USB Type-A ports
Built-in cable self-stores neatly.
See also OWC 14-port Thunderbolt 3 Dock"

OS X File System Hang Bug

UPDATE June 2014: As far as I can determine, this bug has been fixed in OS X 10.9.3. While my bug report at Apple has not been updated to reflect the fix, I have yet to see the issue resurface in 10.9.3.

Update December 2014: Apple still has not fixed the bug.

However, Apple developer support tells me that the bug is NOT fixed in 10.9.x (but to be fixed in 10.10 Yosemite), so the workaround of disabling file system journaling is still a wise precaution when testing drives.

I spent all weekend tracking down a hang bug in the OS X Mavericks file system (the bug is new to Mavericks, the most bug-ridden OS X version ever released).

It is a severe bug: a reboot does not cure it, the file system always verifies as good, but any attempt to access the file causes a complete OS X lockup, and the only fix is to erase the volume. A nasty little bugger.

This particular bug involves the file system, but only Mac OS Extended (does not affect ExFAT). I reported it a few months ago, and it is 100% reproducible by myself on several different machines with different hardware and by independent 3rd parties, yet the response in Apple Bug Reporter has been a “cannot reproduce” so lacking in details as to make one skeptical that it was actually even tested at all.

For programming nerds, it involves FSAllocateFork(), or in POSIX API terms, fcntl(fd, F_PREALLOCATE, &params). It requires use of software RAID-0 (Disk Utility or SoftRAID, doesn't matter) or concatenated RAID, occurs with SSDs or hard drives, with Thunderbolt or eSATA, and on a laptop or desktop. It requires a large file, but the size varies and the bug can be triggered below certain threshold in other ways too.

So my weekend was spent in a fruitless effort to find a workaround—none.

But I did determine that the bug occurs not just in Carbon APIs but also in low-level POSIX APIs (rather scary to see it at that level), so it runs deep and it’s just one more core rot introduced by Mavericks.

I have now submitted source code along with a binary program showing the problem, which is again confirmed by multiple 3rd parties. I wonder if “cannot reproduce” will be the response yet again from Apple. It’s incredibly frustrating to see the long latency in response time as well as the apparent inattention to detail. I have the distinct impression of little interest or inclination to investigate.

Update April 1st

(It’s April 1st but this is no joke).

A thank you to the OWC staff for reproducing and confirming.

Also, Tim Standing of SoftRAID.com was able to help by reproducing the bug and getting a stack dump to submit to Apple.

UPDATE: staffing at Apple is apparently minimal. A request for the core dump upload instructions going unanswered, and my bug updates have not been addressed for three days.

The key factor appears to be journaled HFS+ file system. It will be nice if Apple fixes it (bug #15821723 updated), but at least there is a workaround that does not require a complete volume erase.

Disabling journaling not only prevents the issue from occurring (at least I can no longer reproduce it with journaling off), but it allows a volume with a problem test file to be removed (put into trash, empty trash).

Disabling HFS journaling

In Terminal, use the commands in red. It is easily reversible. Journaling is strongly advised for most all uses, so disable it temporarily only.

    # Disable HFS journaling on volume 'Scratch'
diglloyd:DIGLLOYD lloyd$ diskutil disableJournal Scratch
Journaling has been disabled for volume Scratch on disk14
... remove the file, e.g., put into trash and empty trash ...
# Enable HFS journaling on volume 'Scratch'
diglloyd:DIGLLOYD lloyd$ diskutil enableJournal Scratch
Journaling has been enabled for volume Scratch on disk14

Apple’s (non) Response

Update May 8: a response from Apple. No details on when the bug will be fixed.

We’ve managed to reproduce the problem and we understand what is going wrong. Apologies for the delay in responding.

After 10 days, no response from Apple
OWC Thunderbolt 3 Dock
Ideal for any Mac with Thunderbolt 3


Dual Thunderbolt 3 ports
USB 3 • USB-C
Gigabit Ethernet
5K and 4K display support plus Mini Display Port
Analog sound in/out and Optical sound out

Works on any Mac with Thunderbolt 3
OWC Thunderblade Thunderbolt 3 SSD
Gen 2!

Blazing fast, 1TB, 2TB, 4TB, 8TB.

Lloyd’s all-time favorite SSD!

√ No more slow and noisy hard drives!
View all handpicked deals...

Pelican 3rd-Generation 1910B LED Flashlight (Black)
$30 $15
SAVE $15

diglloyd.com | Terms of Use | PRIVACY POLICY
Contact | About Lloyd Chambers | Consulting | Photo Tours
Mailing Lists | RSS Feeds | Twitter
Copyright © 2019 diglloyd Inc, all rights reserved.
Display info: __RETINA_INFO_STATUS__