mgserver locks up when using AGG renderer
|Reported by:||jbirch||Owned by:||waltweltonlair|
In some cases, when zooming to large scales (depends on dataset and screen size), mgserver.exe enters a state where it locks up. It consumes 98% cpu, and can not be terminated with a ctrl-c when run interactively. This only occurs when using the AGG renderer; switching to GD prevents this behaviour.
The attached (or maybe hyperlinked if it's too big) data set can be used to exhibit this problem:
- Load the package hanging_ajax.mgp
- In Studio, open the weblayout to Library://ccgismap-ext/test/Layout/error_test
- Preview this layout in the AJAX viewer (from the link in the layout editor) and use the mouse wheel to zoom in in increments until the server stops responding.
- you may notice that at a particular scale, the feature no longer renders, though the server still responds. I saw this behaviour at about 1:100 on my 1280x1024 screen.
This problem was initially found by Jonathan Manafi, and has been verified by Jason Birch, for MGOS 2.0 RC4.