Code Monkey home page Code Monkey logo

Comments (5)

jtorresfabra avatar jtorresfabra commented on June 9, 2024 2

Ok, just detected the problem. Your model shares indices between meshes Cube.10 and Cube.11 and when releasing them in the draco compression path it was causing a double free. Fix implemented, and will reach the next release hopefully. For the time being, either you can avoid to use draco compression or use different indices array for each primitive.

Thanks a lot for the report and the data!

I will close this issue once the fix is released.

from mapbox-maps-ios.

MichaelDanielTom avatar MichaelDanielTom commented on June 9, 2024 1

Thank you so much @jtorresfabra!

from mapbox-maps-ios.

jtorresfabra avatar jtorresfabra commented on June 9, 2024

Hi @MichaelDanielTom:
Thanks for the headsup. Is this happening with a model in particular that you can share? Or is it happening for you with every model? Mapbox landmarks use glb format as well, and we did not detect any problem with those, so wondering if your models have any particularity that we could have missed.

from mapbox-maps-ios.

MichaelDanielTom avatar MichaelDanielTom commented on June 9, 2024

@jtorresfabra Upon further inspection, it looks like most of the glb models are working as expected (my bad for first assuming it was a problem with all glbs), and the crash is happening with this model in particular. Not entirely sure what's different between this model and the others that are working but hopefully it's helpful!

from mapbox-maps-ios.

MichaelDanielTom avatar MichaelDanielTom commented on June 9, 2024

@jtorresfabra It looks like with that model, if I export that model to glb from Blender with the Compression setting checked, mapbox will crash, but exporting the same model without compression checked will work ok. Here are the settings in the Blender gltf export extension that will crash mapbox (unchecking compression makes it work with mapbox).
image

Looking back at the crash I see a KHR_draco_mesh_compression in there too.
image

from mapbox-maps-ios.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.