Crash when working with "Transparent background"

STHSTH Global Mapper UserPosts: 434Trusted User
edited January 2010 in Bug Report
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?

Comments

  • global_mapperglobal_mapper Administrator Posts: 17,238
    edited January 2010
    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
  • STHSTH Global Mapper User Posts: 434Trusted User
    edited January 2010
    I`ll check next time if the memory is full when it happens and report back.
Sign In or Register to comment.