Questions, enhancements, tips, etc.
Bug report
Describe the bug
When trying to thumbnail or get the headers for a very large BTF file it give an error and crashes/exits.
To Reproduce
Steps to reproduce the behavior:
Download this huge BTF file (warning, 11-12ish gig)
https://cf.10xgenomics.com/samples/spatial-exp/3.0.0/Visium_HD_Human_Colon_Cancer/Visium_HD_Human_Colon_Cancer_tissue_image.btf
Try to use vipsheader (or vipsthumbnail) on it by piping..
cat Visium_HD_Human_Colon_Cancer_tissue_image.btf | vipsheader -a stdin
(vipsheader:28): GLib-ERROR **: 16:00:14.638: adding 4096 to array would overflow
Trace/breakpoint trap (core dumped)
Expected behavior
Work as expected and print out information or thumbnail.
Actual behavior
Traps and coredumps.
Environment
Tried in ubuntu 22 with 8.12.1 and Alpine latest with 8.15.0-r0
- OS: [e.g. Ubuntu 16.04, MacOS 10.13]
- Vips: [e.g. 8.8, 8.9, etc]
Additional context
Add any other context about the problem here.
Questions, enhancements, tips, etc.
Bug report
Describe the bug
When trying to thumbnail or get the headers for a very large BTF file it give an error and crashes/exits.
To Reproduce
Steps to reproduce the behavior:
Download this huge BTF file (warning, 11-12ish gig)
https://cf.10xgenomics.com/samples/spatial-exp/3.0.0/Visium_HD_Human_Colon_Cancer/Visium_HD_Human_Colon_Cancer_tissue_image.btf
Try to use vipsheader (or vipsthumbnail) on it by piping..
Expected behavior
Work as expected and print out information or thumbnail.
Actual behavior
Traps and coredumps.
Environment
Tried in ubuntu 22 with 8.12.1 and Alpine latest with 8.15.0-r0
Additional context
Add any other context about the problem here.