I have a simple earth file that is almost identical to tests/readymap.earth. The only difference is that I left out the extensions portion of the XML. As long as I am connected to the web when using my osgEarth-based application everything is fine.
A problem occurs if I add a cache_policy block, set the usage to 'cache_only', and unplug my laptop from the web. Once I do that I get frequent crashes until I remove the cache_policy block from the earth file and reconnect the laptop to the network.
We need to be able to demo our application offline. Obviously for a production system the idea is that the user would have internet access enabled or have their own map server. For demo purposes we can't assume that though. Is offline usage of readymap.org cache data both possible and permitted under the terms of service?
Sometimes even when connected to the internet we are seeing failed write messages. I am not sure why this is happening since the directories it attempts to write to do exist. It writes some map data but not all. I don't know if this is related but thought I would mention it.
I just wanted to make sure that it was successfully writing the imagery to the cache while connected and using a 'read-write' cache policy. I thought maybe there were some partial output files so it is good to hear it is not an issue.
I finally managed to get a call stack and it looks like it is crashing in the DatabasePager. I posted a message on the OSG forum about it here but would be interested to know if any osgEarth users have encountered DatabasePager issues.