Bug 449584 - Crash Occurs when trying to Download a Region
Summary: Crash Occurs when trying to Download a Region
Status: RESOLVED FIXED
Alias: None
Product: marble
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR crash
Target Milestone: ---
Assignee: marble-bugs
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2022-02-04 02:46 UTC by clin
Modified: 2023-04-23 18:33 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description clin 2022-02-04 02:46:17 UTC
Application: marble (2.2.20 (2.3 development version))

Qt Version: 5.15.2
Frameworks Version: 5.91.0
Operating System: Linux 5.17.0-rc2-2.g4e68920-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.24.80 [KCrashBackend]

-- Information about the crash:
After clicking on "Download a Region" and then "OK", KDE Maps crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Marble Virtual Globe (marble), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f39cf2ffc54 in QSize::isEmpty (this=<optimized out>) at /usr/include/qt5/QtCore/qsize.h:131
#5  Marble::GeoSceneTileDataset::tileSize (this=0x0) at /usr/src/debug/marble-22.03.70git.20220131T151740~ce53bf63a-ku.11.1.x86_64/src/lib/marble/geodata/scene/GeoSceneTileDataset.cpp:177
#6  0x00007f39cf36df28 in Marble::DownloadRegionPrivate::rad2PixelX (textureLayer=0x7f39d07aa4c0, lon=-3.1415926535897931, this=0x7f39d424ae40) at /usr/src/debug/marble-22.03.70git.20220131T151740~ce53bf63a-ku.11.1.x86_64/src/lib/marble/DownloadRegion.cpp:45
#7  Marble::DownloadRegion::region (this=0x7f39d380ad18, textureLayer=0x7f39d07aa4c0, downloadRegion=...) at /usr/src/debug/marble-22.03.70git.20220131T151740~ce53bf63a-ku.11.1.x86_64/src/lib/marble/DownloadRegion.cpp:99
#8  0x00007f39cf3700e0 in Marble::DownloadRegionDialog::region (this=0x7f39d4522860) at /usr/src/debug/marble-22.03.70git.20220131T151740~ce53bf63a-ku.11.1.x86_64/src/lib/marble/DownloadRegionDialog.cpp:334
#9  0x00007f39cf7794af in Marble::MarblePart::downloadRegion (this=0x7f39d06f1100) at /usr/src/debug/marble-22.03.70git.20220131T151740~ce53bf63a-ku.11.1.x86_64/src/apps/marble-kde/marble_part.cpp:1344
#10 Marble::MarblePart::qt_static_metacall (_o=0x7f39d06f1100, _id=<optimized out>, _a=<optimized out>, _c=<optimized out>) at /usr/src/debug/marble-22.03.70git.20220131T151740~ce53bf63a-ku.11.1.x86_64/build/src/apps/marble-kde/marble_autogen/include/moc_marble_part.cpp:312
#11 0x00007f39cd8e0528 in doActivate<false> (sender=0x7f39d4522860, signal_index=10, argv=0x7ffd9e70caf0) at kernel/qobject.cpp:3898
#12 0x00007f39cd8e0528 in doActivate<false> (sender=0x7f39d453f8c0, signal_index=9, argv=0x7ffd9e70cc20) at kernel/qobject.cpp:3898
#13 0x00007f39cd8d99bf in QMetaObject::activate (sender=sender@entry=0x7f39d453f8c0, m=m@entry=0x7f39ce9784e0 <QAbstractButton::staticMetaObject>, local_signal_index=local_signal_index@entry=2, argv=argv@entry=0x7ffd9e70cc20) at kernel/qobject.cpp:3946
#14 0x00007f39ce54df32 in QAbstractButton::clicked (this=<optimized out>, _t1=<optimized out>) at .moc/moc_qabstractbutton.cpp:308
#15 0x00007f39ce54e1aa in QAbstractButtonPrivate::emitClicked (this=<optimized out>) at widgets/qabstractbutton.cpp:415
#16 0x00007f39ce54fd70 in QAbstractButtonPrivate::click (this=<optimized out>) at widgets/qabstractbutton.cpp:408
#17 0x00007f39ce54ff93 in QAbstractButton::mouseReleaseEvent (this=<optimized out>, e=<optimized out>) at widgets/qabstractbutton.cpp:1044
#18 0x00007f39ce49c8de in QWidget::event (this=<optimized out>, event=<optimized out>) at kernel/qwidget.cpp:9020
#19 0x00007f39ce45aa7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=<optimized out>, e=<optimized out>) at kernel/qapplication.cpp:3632
#20 0x00007f39ce462584 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=<optimized out>) at kernel/qapplication.cpp:3076
#21 0x00007f39cd8a9e2a in QCoreApplication::notifyInternal2 (receiver=0x7f39d453f8c0, event=0x7ffd9e70d1c0) at kernel/qcoreapplication.cpp:1064
#22 0x00007f39ce461093 in QApplicationPrivate::sendMouseEvent (receiver=<optimized out>, event=<optimized out>, alienWidget=<optimized out>, nativeWidget=<optimized out>, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2614
#23 0x00007f39ce4b59dc in QWidgetWindow::handleMouseEvent (this=<optimized out>, event=<optimized out>) at kernel/qwidgetwindow.cpp:683
#24 0x00007f39ce4b8df5 in QWidgetWindow::event (this=<optimized out>, event=<optimized out>) at kernel/qwidgetwindow.cpp:300
#25 0x00007f39ce45aa7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=<optimized out>, e=<optimized out>) at kernel/qapplication.cpp:3632
#26 0x00007f39cd8a9e2a in QCoreApplication::notifyInternal2 (receiver=0x7f39d44487e0, event=0x7ffd9e70d490) at kernel/qcoreapplication.cpp:1064
#27 0x00007f39cdd06627 in QGuiApplicationPrivate::processMouseEvent (e=<optimized out>) at kernel/qguiapplication.cpp:2282
#28 0x00007f39cdcdc85c in QWindowSystemInterface::sendWindowSystemEvents (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#29 0x00007f39bbf43e0a in xcbSourceDispatch (source=<optimized out>) at qxcbeventdispatcher.cpp:105
#30 0x00007f39cba04fef in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#31 0x00007f39cba05378 in ?? () from /lib64/libglib-2.0.so.0
#32 0x00007f39cba0542f in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#33 0x00007f39cd901364 in QEventDispatcherGlib::processEvents (this=0x7f39d0454c50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#34 0x00007f39cd8a882b in QEventLoop::exec (this=this@entry=0x7ffd9e70d7c0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#35 0x00007f39cd8b0b00 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#36 0x00007f39cdcfa25c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#37 0x00007f39ce45a9f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#38 0x00007f39cf760079 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/marble-22.03.70git.20220131T151740~ce53bf63a-ku.11.1.x86_64/src/apps/marble-kde/kdemain.cpp:441
[Inferior 1 (process 26402) detached]

Possible duplicates by query: bug 397379.

Reported using DrKonqi
Comment 1 Torsten Rahn 2023-04-23 18:33:20 UTC
Looks like you invoked the "Download Region"-Dialog while using VectorOSM.

This scenario was technically not supported and resulted in a crash before it got fixed recently:

commit 615fd043286d4d6a7ac880879e1a79d66bd4ba4d
Author: Torsten Rahn <rahn@kde.org>
Date:   Tue Mar 7 23:11:45 2023 +0100

    DownloadRegion support for VectorTile-based themes.