MINGW-packages: osgearth_viewer: freezes on exit

Opening earth files with osgearth_viewer works ok but the application will freeze when exiting.

I must then stop it with the Windows process manager (a kill -9 will not do).

This is the earth file that I use:

<Map name="ReadyMap">
    <TMSImage name="ReadyMap 15m Imagery">
        <url>http://readymap.org/readymap/tiles/1.0.0/7/</url>
    </TMSImage>

    <TMSElevation name="ReadyMap 90m Elevation">
        <url>http://readymap.org/readymap/tiles/1.0.0/116/</url>
        <vdatum>egm96</vdatum>
    </TMSElevation>
</Map>

Command line: osgearth_viewer readymap.earth

You can make osgearth_viewer more verbose with export OSG_NOTIFY_LEVEL=DEBUG. But it did not help…

And this is what osgearth_version says:

$ osgearth_version --caps
[osgEarth]  [Registry] Note: GDAL_DATA environment variable is not set
[osgEarth]  [Capabilities] Capabilities:
[osgEarth]  [Capabilities]   osgEarth Version:  3.3.0 build 135
[osgEarth]  [Capabilities]   OSG Version:       3.6.5
[osgEarth]  [Capabilities]   GDAL Version:      3.5.1
[osgEarth]  [Capabilities]   GEOS Version:      3.9.1
[osgEarth]  [Capabilities]   GPU Vendor:        Collabora Ltd
[osgEarth]  [Capabilities]   GPU Renderer:      zink (NVIDIA GeForce RTX 2060)
[osgEarth]  [Capabilities]   GL/Driver Version: 4.6 (Compatibility Profile) Mesa 22.1.7 (460)
[osgEarth]  [Capabilities]   GL Core Profile:   no

Can anyone reproduce this issue ?

About this issue

  • Original URL
  • State: open
  • Created 2 years ago
  • Comments: 28 (20 by maintainers)

Most upvoted comments

osgearth project points to a similar issue : https://github.com/gwaldron/osgearth/issues/1827

Doesn’t hang on exit with CLANG64.

should probably report findings here as well https://github.com/gwaldron/osgearth/issues

Aaah. Are you referring to this previous frame inner to this frame (corrupt stack?)? I see that pretty often on mingw. Afaict, it doesn’t necessarily mean that the stack is actually corrupt…