Search Issue Tracker
Duplicate
Votes
0
Found in
2019.4
2019.4.34f1
2020.3
2021.2
2022.1
2022.2
Issue ID
1409561
Regression
No
Editor crashes on FreeImage_CloneTag when importing a .tif file with exif data
How to reproduce:
1. Create a new Unity project
2. Import the attached .tif file ("repro_tif.tif")
Reproducible with: 2019.4.37f1, 2020.3.31f1, 2021.2.17f1, 2022.1.0b13, 2022.2.0a8
Stack trace:
#0 0x007ff803897249 in _platform_memmove$VARIANT$Haswell
#1 0x0000011ab169fd in FreeImage_CloneTag
#2 0x0000011aacfab1 in FreeImage_SetMetadata
#3 0x0000011ab1ad56 in tiff_read_exif_tag(tiff*, unsigned int, FIBITMAP*, TagLib::MDMODEL)
#4 0x0000011ab1a7db in tiff_read_exif_tags(tiff*, TagLib::MDMODEL, FIBITMAP*)
#5 0x0000011aaf6bef in Load(FreeImageIO*, void*, int, int, void*)
#6 0x0000011aaf6dd6 in Load(FreeImageIO*, void*, int, int, void*)
#7 0x0000011aad59c0 in FreeImage_LoadFromHandle
#8 0x0000011aad17e9 in FreeImage_LoadFromMemory
Note:
- Import "norepro_exif_removed.tif" and observe that the Editor doesn't crash
Add comment
All about bugs
View bugs we have successfully reproduced, and vote for the bugs you want to see fixed most urgently.
Latest issues
- Crash on TextCore::OTL_TableReader::GetOpenTypeLayoutTables when using Japanese Font as TMP Fallback
- TreeView.AddItem performance regression when opening EditorWindow
- Shadows are not visible in Player when using DX12 with Forward+ or Deferred+ rendering in URP
- Rendering Debugger Playmode debug UI scrolling is jittery when using click and drag to scroll
- Frame Debugger Target Selection Search Results window becomes too tiny to even see the default “Editor” selection when there are no search results
This is a duplicate of issue #1391895