Comments (5)
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.
Thank you so much @jtorresfabra!
from mapbox-maps-ios.
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.
@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.
@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).
Looking back at the crash I see a KHR_draco_mesh_compression
in there too.
from mapbox-maps-ios.
Related Issues (20)
- Crash in mapbox::common::CleanupManager::cleanup() HOT 1
- Polyline "Cannot assign value of type 'String.UnicodeScalarView.SubSequence'" HOT 6
- Model Position Incorrectly Changed from Centre for some Coordinates HOT 6
- ITMS-91056: Invalid privacy manifest HOT 5
- Create CircleLayers with a Physical Unit Radius HOT 1
- No way to customize font on SwiftUI PointAnnotation HOT 1
- Position of layers in PointAnnotationManager and Cluster code does not affect the order on the screen HOT 2
- ITMS-91056 HOT 1
- I need the initial center latitude and longitude for the map view after loading markers in swiftUI. HOT 2
- queryRenderedFeatures() reports no features (e.g. contour) despite visible/rendered features are displayed HOT 1
- Routes Not Showing for Globe HOT 1
- One finger rotate
- carplay's street names blink on mapbox maps HOT 4
- Regression: EXC_BAD_ACCESS in 11.4.0 on iOS Simulator when calling `mapView.mapboxMap.cameraState` HOT 2
- [Bug]: Incompatible with mapbox-search-ios v2 HOT 10
- When updating the pitch of the camera, the location changes unexpectedly
- Camera and Model Position Misalignment at High Pitch Angles
- Crash with SIGSEGV 0x0000000000000010 mapbox::common::EventsService::sendEvent(mapbox::common::Event&&, std::__1::optional<std::__1::function<void (nonstd::expected_lite::expected<void, mapbox::common::EventsServiceError> const&)>> const&)
- Crash in Mapbox map symbol location/display HOT 1
- Crash on UIView.removeFromSuperview() from MapViewAnnotation object HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapbox-maps-ios.