Что означает код ошибки Windows 2019 (ERROR_DELETING_ICM_XFORM)?

 
Предыдущий Следующий
ERROR_ICM_NOT_ENABLED ERROR_INVALID_TRANSFORM

ERROR_DELETING_ICM_XFORM

Что означает ERROR_DELETING_ICM_XFORM

ERROR_DELETING_ICM_XFORM — при удалении цветового преобразования произошла ошибка.

Что проверить

  • Определите handle color transform, который удаляется, и где он был создан.
  • Проверьте, не был ли handle уже удалён, повреждён или передан не тому ICM/WCS контексту.
  • Если transform кэшируется между потоками, синхронизируйте его lifetime и исключите двойное удаление.

Что делать

Исправьте lifetime color-transform handle и удаляйте каждый созданный transform ровно один раз.

Исходная формулировка

  • Windows Color System could not delete the supplied color-transform object.
  • A rendering cache gives two wrapper instances ownership of one transform. The first destructor deletes it; the second receives 2019. Making the wrapper move-only and clearing the handle after release eliminates the double-destruction path.
  • a cached transform survives beyond the component or session that established its profiles and mode
  • several threads or wrapper objects believe they own the same HTRANSFORM
  • Check whether deletion is happening concurrently with TranslateBitmapBits , TranslateColors , gamut checks, or another consumer. Microsoft documents deletion and failure reporting but does not define application-safe sharing semantics; serialize final release after all users have completed.

Технические ссылки


Нужно найти другой код? Найти другой код состояния или ошибки.