gwaldron / osgearth

3D Maps for OpenSceneGraph / C++14
https://www.pelicanmapping.com/home-1/opensource
Other
1.47k stars 772 forks source link

load local 3dtiles file error #2505

Closed wangdemon closed 4 months ago

wangdemon commented 4 months ago

Describe the bug I use osgearth_viewerd.exe to load a 3dtiles json file

The osgearth_viewer program crashes directly

Screenshots

the earth file

1

When crashing, prompt screenshot

2

Desktop (please complete the following information):

Additional context I didn't do anything, just used the mouse wheel to locate the area where 3dtiles were located, and then the program crashed

gwaldron commented 4 months ago

Are you able to show us a stack trace from the debugger? Or post your 3D tiles file so we can try to reproduce the crash?

wangdemon commented 4 months ago

Are you able to show us a stack trace from the debugger? Or post your 3D tiles file so we can try to reproduce the crash?

Please take a look at the screenshot and video below

img

https://github.com/gwaldron/osgearth/assets/20681339/73994da9-54c5-4f31-b96f-3d8b1dcf19d7

This 3dtile file is 3GB in size, I don't know how to send it to you img2

gwaldron commented 4 months ago

We need to see the call stack when it crashes. Debug menu -> Windows -> Call stack

wangdemon commented 4 months ago

Okay, the screenshot is below

1

jasonbeverage commented 4 months ago

I've pushed a hopeful fix for this in 12586ed. Grab the master and give it a shot!