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
- MeshRenderer.sortingLayerID cannot be changed when change is being done in a built Player
- Warnings related to App Icon are being thrown when building project to VisionOS Platform
- [Mobile] Developer Console does not appear when an error is thrown
- [HDRP] Game view renders artifacts when Camera's Component "Post Anti-aliasing" is set to "TAA" and Dynamic Resolution's "Forced Screen Percentage" is changed
- A deactivated Prefab's name color becomes white when a GameObject in the scene is deactivated
This is a duplicate of issue #1391895