Bug 452291 - Download region -> try to lower max level to download using scroll arrow -> crash
Summary: Download region -> try to lower max level to download using scroll arrow -> c...
Status: CONFIRMED
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-04-05 10:37 UTC by j.mikkola
Modified: 2023-04-09 09:04 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 j.mikkola 2022-04-05 10:37:53 UTC
Application: marble (2.2.20 (2.3 development version))

Qt Version: 5.12.7
Frameworks Version: 5.76.0
Operating System: Linux 5.3.18-59.40-default x86_64
Windowing system: X11
Distribution: "openSUSE Leap 15.3"

-- Information about the crash:
- What I was doing when the application crashed:
	-File > Download Region
	-Dialog box: Visible region (Northern Finland, area approx. 300 x 400 km displayed), Tile Level Range 2 to 7, Number of tiles to download: (none)
	-Click scroll down arrow at "to" box
	-crash

- Custom settings of the application:
	-Vector OSM, Mercator view

The crash can be reproduced every time.

-- Backtrace:
Application: Marble Virtual Globe (marble), signal: Segmentation fault
[KCrash Handler]
#4  0x00007f7f7d8ba374 in Marble::GeoSceneTileDataset::tileSize() const () from /usr/lib64/libmarblewidget-qt5.so.28
#5  0x00007f7f7d9450fc in Marble::DownloadRegionPrivate::rad2PixelX(double, Marble::TextureLayer const*) const () from /usr/lib64/libmarblewidget-qt5.so.28
#6  0x00007f7f7d94544b in Marble::DownloadRegion::region(Marble::TextureLayer const*, Marble::GeoDataLatLonAltBox const&) const () from /usr/lib64/libmarblewidget-qt5.so.28
#7  0x00007f7f7d948259 in Marble::DownloadRegionDialog::region() const () from /usr/lib64/libmarblewidget-qt5.so.28
#8  0x00007f7f7d9483ba in Marble::DownloadRegionDialog::updateTilesCount() () from /usr/lib64/libmarblewidget-qt5.so.28
#9  0x00007f7f79d60e75 in QMetaObject::activate (sender=0x5559cf5f1c40, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3804
#10 0x00007f7f7d9c9ff1 in Marble::TileLevelRangeWidget::bottomLevelChanged(int) () from /usr/lib64/libmarblewidget-qt5.so.28
#11 0x00007f7f79d60e75 in QMetaObject::activate (sender=sender@entry=0x5559cc9fff10, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffce081d630) at kernel/qobject.cpp:3804
#12 0x00007f7f79d61587 in QMetaObject::activate (sender=sender@entry=0x5559cc9fff10, m=m@entry=0x7f7f7b2a01c0 <QSpinBox::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffce081d630) at kernel/qobject.cpp:3657
#13 0x00007f7f7ad56e5e in QSpinBox::valueChanged (this=this@entry=0x5559cc9fff10, _t1=<optimized out>) at .moc/moc_qspinbox.cpp:236
#14 0x00007f7f7ad57164 in QSpinBoxPrivate::emitSignals (this=0x5559cd49ae40, ep=<optimized out>, old=...) at widgets/qspinbox.cpp:1072
#15 0x00007f7f7ad5414a in QAbstractSpinBoxPrivate::setValue (this=this@entry=0x5559cd49ae40, val=..., ep=ep@entry=EmitIfChanged, doUpdate=doUpdate@entry=true) at widgets/qabstractspinbox.cpp:1790
#16 0x00007f7f7ad55259 in QAbstractSpinBox::stepBy (this=0x5559cc9fff10, steps=-1) at widgets/qabstractspinbox.cpp:668
#17 0x00007f7f7ad52a48 in QAbstractSpinBoxPrivate::updateState (this=this@entry=0x5559cd49ae40, up=up@entry=false, fromKeyboard=fromKeyboard@entry=false) at widgets/qabstractspinbox.cpp:1681
#18 0x00007f7f7ad52e2c in QAbstractSpinBox::mousePressEvent (this=0x5559cc9fff10, event=0x7ffce081dda0) at widgets/qabstractspinbox.cpp:1393
#19 0x00007f7f7abfcc0f in QWidget::event (this=this@entry=0x5559cc9fff10, event=event@entry=0x7ffce081dda0) at kernel/qwidget.cpp:8959
#20 0x00007f7f7ad56485 in QAbstractSpinBox::event (this=0x5559cc9fff10, event=0x7ffce081dda0) at widgets/qabstractspinbox.cpp:820
#21 0x00007f7f7abbbf9c in QApplicationPrivate::notify_helper (this=this@entry=0x5559c865d310, receiver=receiver@entry=0x5559cc9fff10, e=e@entry=0x7ffce081dda0) at kernel/qapplication.cpp:3701
#22 0x00007f7f7abc4488 in QApplication::notify (this=<optimized out>, receiver=0x5559cc9fff10, e=0x7ffce081dda0) at kernel/qapplication.cpp:3161
#23 0x00007f7f79d31368 in QCoreApplication::notifyInternal2 (receiver=0x5559cc9fff10, event=0x7ffce081dda0) at kernel/qcoreapplication.cpp:1088
#24 0x00007f7f79d3154e in QCoreApplication::sendSpontaneousEvent (receiver=receiver@entry=0x5559cc9fff10, event=event@entry=0x7ffce081dda0) at kernel/qcoreapplication.cpp:1488
#25 0x00007f7f7abc2a7f in QApplicationPrivate::sendMouseEvent (receiver=receiver@entry=0x5559cc9fff10, event=event@entry=0x7ffce081dda0, alienWidget=0x5559cc9fff10, nativeWidget=0x5559ce453720, buttonDown=buttonDown@entry=0x7f7f7b2c73f0 <qt_button_down>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2647
#26 0x00007f7f7ac16f81 in QWidgetWindow::handleMouseEvent (this=this@entry=0x5559ceeb3ec0, event=event@entry=0x7ffce081e230) at kernel/qwidgetwindow.cpp:670
#27 0x00007f7f7ac19dda in QWidgetWindow::event (this=0x5559ceeb3ec0, event=0x7ffce081e230) at kernel/qwidgetwindow.cpp:289
#28 0x00007f7f7abbbf9c in QApplicationPrivate::notify_helper (this=this@entry=0x5559c865d310, receiver=receiver@entry=0x5559ceeb3ec0, e=e@entry=0x7ffce081e230) at kernel/qapplication.cpp:3701
#29 0x00007f7f7abc35b0 in QApplication::notify (this=0x7ffce081e7d0, receiver=0x5559ceeb3ec0, e=0x7ffce081e230) at kernel/qapplication.cpp:3447
#30 0x00007f7f79d31368 in QCoreApplication::notifyInternal2 (receiver=0x5559ceeb3ec0, event=0x7ffce081e230) at kernel/qcoreapplication.cpp:1088
#31 0x00007f7f7a33b4e5 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/libQt5Gui.so.5
#32 0x00007f7f7a33c835 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/libQt5Gui.so.5
#33 0x00007f7f7a3162bb in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQt5Gui.so.5
#34 0x00007f7f54d5a25a in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#35 0x00007f7f727b2694 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#36 0x00007f7f727b2a30 in ?? () from /usr/lib64/libglib-2.0.so.0
#37 0x00007f7f727b2abc in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#38 0x00007f7f79d8e3ef in QEventDispatcherGlib::processEvents (this=0x5559c874a920, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007f7f79d2f5ba in QEventLoop::exec (this=this@entry=0x7ffce081e5d0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:225
#40 0x00007f7f79d387c0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1389
#41 0x00005559c729f82f in main ()
[Inferior 1 (process 4760) detached]

The reporter indicates this bug may be a duplicate of or related to bug 397379, bug 449584.

Possible duplicates by query: bug 449584, bug 397379.

Reported using DrKonqi
Comment 1 Torsten Rahn 2023-04-08 09:59:30 UTC
You were trying to download the VectorOsm-theme. I had only recently adjusted the Marble code to make this work.

If you have the opportunity to check out Marble master please verify that this is now fixed :-)
Comment 2 Torsten Rahn 2023-04-08 10:00:31 UTC
Originally Vector-tile-based map themes could not be downloaded using the DownloadRegionDialog. This should work with current Marble master.
Comment 3 j.mikkola 2023-04-08 13:06:38 UTC
(In reply to Torsten Rahn from comment #1)
> You were trying to download the VectorOsm-theme. I had only recently
> adjusted the Marble code to make this work.
> 
> If you have the opportunity to check out Marble master please verify that
> this is now fixed :-)

Sorry, I got lost at the word "master". Probably something to do with github.com/KDE/
marble 
but I don't understand what it is and how to use it. My coding skills & knowledge are 0 
(=zero) so I'm afraid I can't be of any use here. 

Regards,
Jouko
Comment 4 Torsten Rahn 2023-04-08 14:10:20 UTC
(In reply to j.mikkola from comment #3)
> (In reply to Torsten Rahn from comment #1)
> > You were trying to download the VectorOsm-theme. I had only recently
> > adjusted the Marble code to make this work.
> > 
> > If you have the opportunity to check out Marble master please verify that
> > this is now fixed :-)
> 
> Sorry, I got lost at the word "master". Probably something to do with
> github.com/KDE/
> marble 
> but I don't understand what it is and how to use it. My coding skills &
> knowledge are 0 
> (=zero) so I'm afraid I can't be of any use here. 
> 
> Regards,
> Jouko

Hello Jouko. Yes it meant that if you are able to compile the Marble source code then everything should be "Hyvää" and the crash should be gone ;-) Otherwise you need to wait for the next Marble release to have the changes shipped with the OpenSUSE packages.
Comment 5 j.mikkola 2023-04-09 09:04:43 UTC
(In reply to Torsten Rahn from comment #4)
> (In reply to j.mikkola from comment #3)
> > (In reply to Torsten Rahn from comment #1)
> > > You were trying to download the VectorOsm-theme. I had only recently
> > > adjusted the Marble code to make this work.
> > > 
> > > If you have the opportunity to check out Marble master please verify that
> > > this is now fixed :-)
> > 
> > Sorry, I got lost at the word "master". Probably something to do with
> > github.com/KDE/
> > marble 
> > but I don't understand what it is and how to use it. My coding skills &
> > knowledge are 0 
> > (=zero) so I'm afraid I can't be of any use here. 
> > 
> > Regards,
> > Jouko
> 
> Hello Jouko. Yes it meant that if you are able to compile the Marble source
> code then everything should be "Hyvää" and the crash should be gone ;-)
> Otherwise you need to wait for the next Marble release to have the changes
> shipped with the OpenSUSE packages.

Tried compiling, failed, wait for Leap 15.5.

Terveisin,
Jouko