Global Mapper v25.0

14.1.7 starts really slowly

AndrewW
AndrewW Global Mapper UserTrusted User
edited May 2013 in Bug Report
Hi,
Not long ago I upgraded Globalmapper from ver14.1 to 14.1.7 due to Digitalglobe issue. GM now does nothing for 45sec before is starts as opposed to near instant before.
System is Win7 64bit 8Gb ram AMD Phenom 9750.
Any ideas?

Comments

  • global_mapper
    global_mapper Administrator
    edited May 2013
    There was an issue like that just fixed last week. Can you try getting the latest builds and see if it fixes the problem? I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    Hi Mike,
    Sorry no.
    Installed all latest updates, rebooted. GM took 50 secs to start this time.

    Andrew
  • global_mapper
    global_mapper Administrator
    edited May 2013
    Andrew,

    Is your machine online? The issue last week was only on machines that were completely offline. Now those should be the same as online machines. It starts up instantly on every machine that I've tried. What version of Windows do you have?

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    What happened to the other replies in this thread?
  • PaulTocknell
    PaulTocknell Forum Administrator Unconfirmed
    edited May 2013
    Andrew,

    There was a server update and because of this, a couple of threads got "lost" in the move. I apologize for the inconvenience.

    Paul
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    Hi,
    Slight muck up with the posts.
    Tried b050713 on a different machine which started immediately, which suggests it machine specific.
    Any ideas, - you were going to to send me a debug version.

    Andrew
  • global_mapper
    global_mapper Administrator
    edited May 2013
    Andrew,

    There was a post with a new build to try. If you get the latest build it should log in a file some times so I can pinpoint where the slowdown is. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    To get the log you need to add a string value 'LOG_FILENAME' in 'HKEY_CURRENT_USER\Software\GlobalMapper' with the value set to the full path and filename to store a text log file to (like 'C:\global_mapper.txt'). If you run the new build and then provide that file to me I can see where the time is going.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    Ok,
    Found previous post in email.

    Here is startup log. Started GM 3 times. Took about 22 sec.

    [05/09/13 08:25:33] Start ViewerConfig::Init
    [05/09/13 08:25:54] Leave ViewerConfig::Init
    [05/09/13 08:25:54] Start VerifyEmbeddedSignature
    [05/09/13 08:25:54] Leave VerifyEmbeddedSignature
    [05/09/13 08:27:00] Start ViewerConfig::Init
    [05/09/13 08:27:21] Leave ViewerConfig::Init
    [05/09/13 08:27:21] Start VerifyEmbeddedSignature
    [05/09/13 08:27:22] Leave VerifyEmbeddedSignature
    [05/09/13 08:28:32] Start ViewerConfig::Init
    [05/09/13 08:28:53] Leave ViewerConfig::Init
    [05/09/13 08:28:53] Start VerifyEmbeddedSignature
    [05/09/13 08:28:53] Leave VerifyEmbeddedSignature
    [05/09/13 08:30:16] Start ViewerConfig::Init
    [05/09/13 08:30:37] Leave ViewerConfig::Init
    [05/09/13 08:30:37] Start VerifyEmbeddedSignature
    [05/09/13 08:30:38] Leave VerifyEmbeddedSignature
  • global_mapper
    global_mapper Administrator
    edited May 2013
    Thanks that is helpful, the slowdown is not at all in the new stuff that had caused the earlier problems. I have added additional logging to narrow down why the ViewerConfig::Init is taking about 20 seconds on your machine. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    [05/09/13 09:48:20] ViewerConfig::Init - 1
    [05/09/13 09:48:20] ViewerConfig::Init - 2
    [05/09/13 09:48:20] ViewerConfig::Init - 3
    [05/09/13 09:48:41] ViewerConfig::Init - 4
    [05/09/13 09:48:41] ViewerConfig::Init - 5
    [05/09/13 09:48:41] ViewerConfig::Init - 6
    [05/09/13 09:48:41] FindLicense - 1
    [05/09/13 09:48:41] FindLicense - 2
    [05/09/13 09:48:41] FindLicense - 3
    [05/09/13 09:48:41] FindLicense - 4
    [05/09/13 09:48:41] FindLicense - 5
    [05/09/13 09:48:41] ViewerConfig::Init - 7
    [05/09/13 09:48:41] ViewerConfig::Init - Leaving
  • global_mapper
    global_mapper Administrator
    edited May 2013
    Ah that is interesting, not where I expected. Do you have a crazy number of custom shaders or symbols? I've made one more build which will tell me exactly which custom thing is taking so long. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    Just a few Line/Area symbols and shaders

    [05/09/13 10:18:02] ViewerConfig::Init - 1
    [05/09/13 10:18:02] ViewerConfig::Init - 2
    [05/09/13 10:18:02] ViewerConfig::Init - 3
    [05/09/13 10:18:02] ViewerConfig::Init - 3.1
    [05/09/13 10:18:23] ViewerConfig::Init - 3.2
    [05/09/13 10:18:23] ViewerConfig::Init - 3.3
    [05/09/13 10:18:23] ViewerConfig::Init - 3.4
    [05/09/13 10:18:23] ViewerConfig::Init - 3.5
    [05/09/13 10:18:23] ViewerConfig::Init - 4
    [05/09/13 10:18:23] ViewerConfig::Init - 5
    [05/09/13 10:18:23] ViewerConfig::Init - 6
    [05/09/13 10:18:23] FindLicense - 1
    [05/09/13 10:18:23] FindLicense - 2
    [05/09/13 10:18:23] FindLicense - 3
    [05/09/13 10:18:23] FindLicense - 4
    [05/09/13 10:18:23] FindLicense - 5
    [05/09/13 10:18:23] ViewerConfig::Init - 7
    [05/09/13 10:18:23] ViewerConfig::Init - Leaving
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    Hi Mike,
    Tried removing all the custom symbols, shaders etc from the "User data Folder" but it didn't make much difference.

    Andrew
  • global_mapper
    global_mapper Administrator
    edited May 2013
    Andrew,

    Sorry with the forum switching servers last week I lost some notifications so I didn't know you had responded! The time is all at 3.1, which is the loading of the custom shaders file. Is there a custom_shaders.txt file in your user data folder listed on the Help->About dialog? If so can you provide that, even if large, before getting rid of it? Even if you have a bunch I'd like to see why it is taking so long to read it.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    Thought that might be the case.
    I have attached all the txt files in the data directory. I moved them to a subdirectory called tmp then re-opened GM but it was still slow.

    Andrew
  • global_mapper
    global_mapper Administrator
    edited May 2013
    What does the error log show after removing those? The file really isn't very large. Is there perhaps another custom_shaders.txt hiding somewhere on your system?

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • global_mapper
    global_mapper Administrator
    edited May 2013
    I did just try your file and it loads in pretty much instantly, so there must be another one hiding somewhere or something. I can't imagine why it would take so long. The only other thing that the custom shaders does is it's the first thing that reads the path to the settings files, so if for some reason your system is taking a very long time to get that path it could explain it. I've added logging for that operation to see if that's it if you want to run a new build.

    I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    Error log

    [05/14/13 13:38:22] ViewerConfig::Init - 1
    [05/14/13 13:38:22] ViewerConfig::Init - 2
    [05/14/13 13:38:22] ViewerConfig::Init - 3
    [05/14/13 13:38:22] ViewerConfig::Init - 3.1
    [05/14/13 13:38:22] ViewerConfig::GetSettingsFilePath - 1
    [05/14/13 13:38:43] ViewerConfig::GetSettingsFilePath - 2
    [05/14/13 13:38:43] ViewerConfig::GetSettingsFilePath - 3
    [05/14/13 13:38:43] ViewerConfig::GetSettingsFilePath - 4
    [05/14/13 13:38:43] ViewerConfig::GetSettingsFilePath - 5
    [05/14/13 13:38:43] ViewerConfig::Init - 3.2
    [05/14/13 13:38:43] ViewerConfig::Init - 3.3
    [05/14/13 13:38:43] ViewerConfig::Init - 3.4
    [05/14/13 13:38:43] ViewerConfig::Init - 3.5
    [05/14/13 13:38:43] ViewerConfig::Init - 4
    [05/14/13 13:38:43] ViewerConfig::Init - 5
    [05/14/13 13:38:43] ViewerConfig::Init - 6
    [05/14/13 13:38:43] ViewerConfig::Init - 7
    [05/14/13 13:38:43] ViewerConfig::Init - Leaving


    There was only one on whole computer, which I deleted.

    Setting file could be the issue but not sure where that is.
  • global_mapper
    global_mapper Administrator
    edited May 2013
    Oh that is interesting. The 20 second gap is trying to just determine what the settings file path even is! I've added more debugging in there to hopefully track down exactly which step is taking so long (i.e. reading the path from the registry or trying to create the folder in case it doesn't exist. I have placed a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14.zip with the latest changes for you to try. Simply download that file and extract the contents into your existing v14.xx installation folder to give it a try. If you are using the 64-bit v14 version there is a new build at http://www.bluemarblegeo.com/downloads/global-mapper/global_mapper14_64bit.zip .

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    [05/14/13 14:17:27] ViewerConfig::Init - 1
    [05/14/13 14:17:27] ViewerConfig::Init - 2
    [05/14/13 14:17:27] ViewerConfig::Init - 3
    [05/14/13 14:17:27] ViewerConfig::Init - 3.1
    [05/14/13 14:17:27] ViewerConfig::GetSettingsFilePath - 1
    [05/14/13 14:17:27] ViewerConfig::GetSettingsFilePath - 1.1
    [05/14/13 14:17:27] ViewerConfig::GetSettingsFilePath - 1.2
    [05/14/13 14:17:27] ViewerConfig::GetSettingsFilePath - 1.3
    [05/14/13 14:17:27] ViewerConfig::GetSettingsFilePath - 1.4
    [05/14/13 14:17:27] ViewerConfig::GetSettingsFilePath - 1.5 - \\Helpdesk\d\Photogram-Misc\GlobalMapper\Custom\
    [05/14/13 14:17:27] ViewerConfig::GetSettingsFilePath - 2
    [05/14/13 14:17:27] ViewerConfig::GetSettingsFilePath - 3
    [05/14/13 14:17:27] ViewerConfig::GetSettingsFilePath - 4
    [05/14/13 14:17:27] ViewerConfig::GetSettingsFilePath - 5
    [05/14/13 14:17:27] ViewerConfig::Init - 3.2
    [05/14/13 14:17:27] ViewerConfig::Init - 3.3
    [05/14/13 14:17:27] ViewerConfig::Init - 3.4
    [05/14/13 14:17:27] ViewerConfig::Init - 3.5
    [05/14/13 14:17:27] ViewerConfig::Init - 4
    [05/14/13 14:17:27] ViewerConfig::Init - 5
    [05/14/13 14:17:27] ViewerConfig::Init - 6
    [05/14/13 14:17:27] ViewerConfig::Init - 7
    [05/14/13 14:17:28] ViewerConfig::Init - Leaving

    Aah ha
    Helpdesk used to have all our office settings, and I just turned it on. So where is that setting hidden?
  • global_mapper
    global_mapper Administrator
    edited May 2013
    That path was set in your registry at some point. When you startup Global Mapper reads that path, then if it can't write to it uses the default path, but leaves whatever you had in the registry. The test to write to that path which isn't connected is apparently taking over 20 seconds! I'll update this to just clear out the setting the first time it can't get to it.

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • global_mapper
    global_mapper Administrator
    edited May 2013
    I forgot to mention you can set the path on the Help->About dialog to something manually, which will overwrite what is in the registry (the old path).

    Thanks,

    Mike
    Global Mapper Guru
    gmsupport@bluemarblegeo.com
    Blue Marble Geographics for Coordinate Conversion, Image Reprojection and Vector Translation
  • AndrewW
    AndrewW Global Mapper User Trusted User
    edited May 2013
    Thanks Mike,
    The path in Help->about is the default path and not the registry path.
    I changed this which has now updated the registry.:o

    All is good now.