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
- Some UXML Template Asset foldouts appear enabled when all fields inside are disabled
- URP Terrain Demo crash on burst_signal_handler after Generating lighting
- Project window button icons are poorly visible and their shades differ in Light theme
- GC.Alloc called by HDRenderPipeline.LensFlareMergeOcclusionDataDrivenPass() when playing the default HDRP Sample Template project
- Automatic LOD fails and SRP Batcher incompatibility occurs when using spline-based quad-topology meshes
This is a duplicate of issue #1391895