calamine icon indicating copy to clipboard operation
calamine copied to clipboard

memory allocation error when reading xls files with merged regions

Open bwkam opened this issue 2 months ago • 0 comments

Hello, I was trying out the new merged regions commits recently, it all works perfectly fine except for XLS files. I'm not sure why. I've managed to create a minimal reproducible sample of the bug. When I run it, it panics with:

2024-06-24T11:19:14.794480Z DEBUG calamine::cfb: load minis    
memory allocation of 2199023255552 bytes failed

This is the sample: https://github.com/bwkam/calamine-bug-sample I checked, and this is also reproducible with v0.25.

Edit: I tried with another XLS file, and it worked fine. I don't know what's wrong with this one. Perhaps its something with the XLSX to XLS converter I used.

Thanks.

bwkam avatar Jun 24 '24 11:06 bwkam