Skip to content

Crash Embedding Navigation View in ios production  #378

Open

Description

@Pedro-001

When I render the navigation mode in a Container with height and width, it works correctly the first time, but on subsequent attempts, the app crashes and returns an error only on physical iOS devices. The iPhone emulator runs without problems and shows no exceptions or error messages.

Steps to Reproduce
Render the navigation mode inside a SizedContainer on a physical iOS device.
Notice that it renders correctly the first time.
Try to perform the same operation again, and observe that the app crashes.
Expected Behavior
The navigation mode should render correctly every time without causing a crash.

Actual Behavior
The app crashes after the first rendering, but no error messages or exceptions are displayed. This only happens on physical iOS devices.

Device Information
Device: iPhone 13
iOS Version: 17.6.1
Battery: 100%
Time Zone: America/Mexico_City
Architecture: arm64e
Connection: Wi-Fi
Free Disk Space: 89.3 GB available out of 119.08 GB
Screen Resolution: 390 pts by 844 pts
Crash Details
App Version: 0.5.31 (1)
App Type: App
Crash Log
The crash is related to the Metal framework and occurs in the following call:

Metal: MTLReportFailure.cold.1 + 48 Thread 0: libsystem_c.dylib abort libsystem_c.dylib __assert_rtn Metal MTLReportFailure.cold.1 Metal MTLReportFailure Metal MTLMessageContextEnd Metal [MTLTextureDescriptorInternal validateWithDevice:] AGXMetalG15 [AGXTexture initWithDevice:desc:siSuballocDisabled:] MapboxCoreMaps mbgl::metal::Offscreen2DTextureResource::createColorTexture() MapboxCoreMaps mbgl::metal::CommandEncoder::createRenderPass(char const*, mbgl::gfx::RenderPassDescriptor const&) MapboxCoreMaps mbgl::RenderHeatmapLayer::render(mbgl::PaintParameters&) MapboxCoreMaps mbgl::RendererImpl::render(mbgl::RenderTree const&) ...

Screenshot 2024-09-12 at 10 17 35 p m

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions