You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Web browser and operating system: N/A (fleetd table). Host: macOS 27.0.1 (26A434), Apple Silicon
💥 Actual behavior
On macOS 27, app_icons returns error generating table: decoding tiff bytes: tiff: unsupported feature: sample format for every real application, so the table never returns an icon. A join like apps JOIN app_icons fails as a whole on the first app and returns no rows.
🛠️ Expected behavior
app_icons returns the app's icon (path, icon, hash) for an application path. It still does this for paths that get the generic document icon (e.g. a nonexistent path or /etc/hosts).
🧑💻 Steps to reproduce
These steps:
Have been confirmed to consistently lead to reproduction in multiple Fleet instances.
Describe the workflow that led to the error, but have not yet been reproduced in multiple Fleet instances.
On a macOS 27 host enrolled with fleetd, run a live report: SELECT path, hash FROM app_icons WHERE path = '/System/Applications/Calculator.app'
The host returns the error above and no rows. Same for /Applications/Safari.app and any other app.
SELECT path, hash FROM app_icons WHERE path = '/etc/hosts' returns a row, for comparison.
🕯️ More info (optional)
On macOS 27, NSBitmapImageRep's TIFFRepresentation of an app icon is 16-bit floating-point RGBA (SampleFormat=3, BitsPerSample=16). The generic document icon is still 8-bit unsigned (SampleFormat=1). golang.org/x/image/tiff (v0.45.0, reader.go:262) accepts only SampleFormat=1, so tiff.Decode in orbit/pkg/table/app-icons/app_icons_darwin.go:101 fails.
Seen on a macOS 27 UTM VM through Fleet live reports, and on a physical Apple Silicon Mac (macOS 27.0.1) by calling getAppIcon directly. Not checked on macOS 26 or earlier.
Activity