Skip to content

Crash when resizing window #262

@datwelk

Description

@datwelk

Describe the bug
Crash when resizing window.

To Reproduce
Run standalone map as QtQuickItem

Expected behavior
Window resizes without problem.

Platform information (please complete the following information):
OS macOS
Qt 6.9.3
Version 4.0.0

Additional context
Crashes in MBGL_VERIFY_THREAD of updateRenderer
Stack trace:

libsystem_kernel.dylib!__pthread_kill (Unknown Source:0)
libsystem_pthread.dylib!pthread_kill (Unknown Source:0)
libsystem_c.dylib!abort (Unknown Source:0)
libsystem_c.dylib!__assert_rtn (Unknown Source:0)
xxxxxxx!QMapLibre::MapRenderer::updateRenderer(mbgl::Size const&, double, unsigned int) (/me/dev/xxxxxxxqt/third-party/maplibre-native-qt/src/core/map_renderer.cpp:133)
xxxxxxx!QMapLibre::MapPrivate::updateRenderer(QSize const&, double, unsigned int) (/me/dev/xxxxxxxqt/third-party/maplibre-native-qt/src/core/map.cpp:1973)
xxxxxxx!QMapLibre::Map::updateRenderer(QSize const&, double, unsigned int) (/me/dev/xxxxxxxqt/third-party/maplibre-native-qt/src/core/map.cpp:1674)
xxxxxxx!QMapLibre::Map::resize(QSize const&, double) (/me/dev/xxxxxxxqt/third-party/maplibre-native-qt/src/core/map.cpp:1144)
xxxxxxx!QMapLibre::MapQuickItem::geometryChange(QRectF const&, QRectF const&) (/me/dev/xxxxxxxqt/third-party/maplibre-native-qt/src/quick/plugins/map_quick_item.cpp:248)
QtQuick!QQuickItem::setSize(QSizeF const&) (Unknown Source:0)
QtQuick!___lldb_unnamed_symbol11778 (Unknown Source:0)
QtQuick!QQuickItem::geometryChange(QRectF const&, QRectF const&) (Unknown Source:0)
QtQuick!QQuickItem::setSize(QSizeF const&) (Unknown Source:0)
QtQuickTemplates2!QQuickControlPrivate::resizeContent() (Unknown Source:0)
QtQuickTemplates2!QQuickControl::geometryChange(QRectF const&, QRectF const&) (Unknown Source:0)
QtQuick!QQuickItem::setSize(QSizeF const&) (Unknown Source:0)
QtQuickTemplates2!QQuickApplicationWindowPrivate::relayout() (Unknown Source:0)
QtGui!QWindow::event(QEvent*) (Unknown Source:0)
QtQuick!QQuickWindow::event(QEvent*) (Unknown Source:0)
QtQuick!QQuickWindowQmlImpl::event(QEvent*) (Unknown Source:0)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions