Crash when working with "Transparent background"
STH
Global Mapper UserTrusted User
I often work with many GeoTIFFs with JPEG compression and overlays. I often set the background to be transparent on for instance, 0,0,0 - 1,1,1 - 253,253,253 or 254,254,254. When zooming in and out many times and changing to different areas suddenly GlobalMapper crashes. It does not seem to have anything with a particular file to do (see attached error image).
If I remember correctly I have not seen this error (or not as often) when I do NOT use the "Transparent background" - option on the raster files - so it might relate to that option in combination with the overviews and changing the background-pixels from now and then? Its hard to reproduce this bug but will try to bugfix some more. I will try to notice if it is another error-number displayed also, but I think this is the same error message every time.
Another thing. When encountering an error like this, is it too late for GlobalMapper to have a button: "Try to restart GlobalMapper with last remembered workspace" ? Ie can it save a Workspace then and then load it?
If I remember correctly I have not seen this error (or not as often) when I do NOT use the "Transparent background" - option on the raster files - so it might relate to that option in combination with the overviews and changing the background-pixels from now and then? Its hard to reproduce this bug but will try to bugfix some more. I will try to notice if it is another error-number displayed also, but I think this is the same error message every time.
Another thing. When encountering an error like this, is it too late for GlobalMapper to have a button: "Try to restart GlobalMapper with last remembered workspace" ? Ie can it save a Workspace then and then load it?
Comments
-
The actual error message happens when Global Mapper is unable to allocate memory for a tile from the TIFF to cache it. Are you perhaps running out of memory when this happens? I did go ahead and make recovery from this error ok as I will just not grow the cache when the memory allocation fails. I have placed a new build at http://www.globalmapper.com/global_mapper11.zip with the change for you to try. Simply download that file and extract the contents into your existing v11.xx installation folder to give it a try. If you are using the 64-bit version, there is a new build available at http://www.globalmapper.com/global_mapper11_64bit.zip .
I'm not sure what this would have to do with the transparent option though.
Typically when you get an error while rendering it doesn't close the entire program, so you should still be able to save a workspace or close some layers and continue.
Let me know if I can be of further assistance.
Thanks,
Mike
Global Mapper Support
support@globalmapper.com -
I`ll check next time if the memory is full when it happens and report back.
Categories
- 12.8K All Categories
- 5.7K Features Discussion
- 345 Downloading Imagery
- 1.3K Elevation Data
- 385 Georeferencing Imagery Discussion
- 636 GM Script Language
- 54 User Scripts
- 114 GPS Features
- 417 Projection Questions
- 826 Raster Data
- 1.3K Vector Data
- 6.6K Support
- 178 Announcement and News
- 913 Bug Report
- 558 SDK
- 1.2K Suggestion Box
- 3.7K Technical Support
- 569 Other Discussion
- 131 GIS Data Sources
- 27 Global Mapper Showcase
- 238 How I use Global Mapper
- 107 Global Mapper Forum Website