[marble] [Bug 377231] Color of track not modifyable

Dave Gilbert bugzilla_noreply at kde.org
Sun Apr 23 12:27:39 BST 2023


https://bugs.kde.org/show_bug.cgi?id=377231

--- Comment #11 from Dave Gilbert <gilbertd+kde at treblig.org> ---
playing with the tick and stuff I managed to trigger valgrind:

==15894== Invalid read of size 8
==15894==    at 0x49C99F8: Marble::GeoDataObject::parent()
(GeoDataObject.cpp:67)
==15894==    by 0x4B69F7D: Marble::GeoDataTreeModel::parent(QModelIndex const&)
const (GeoDataTreeModel.cpp:434)
==15894==    by 0x4B7390D: QModelIndex::parent() const
(qabstractitemmodel.h:443)
==15894==    by 0x4B70384:
Marble::KDescendantsProxyModel::mapFromSource(QModelIndex const&) const
(kdescendantsproxymodel.cpp:417)
==15894==    by 0x4B7177F:
Marble::KDescendantsProxyModelPrivate::sourceRowsAboutToBeRemoved(QModelIndex
const&, int, int) (kdescendantsproxymodel.cpp:661)
==15894==    by 0x4B734CE:
Marble::KDescendantsProxyModel::qt_static_metacall(QObject*, QMetaObject::Call,
int, void**) (moc_kdescendantsproxymodel.cpp:118)
==15894==    by 0xF9C27D7: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3935)
==15894==    by 0xF93C399: QAbstractItemModel::rowsAboutToBeRemoved(QModelIndex
const&, int, int, QAbstractItemModel::QPrivateSignal)
(moc_qabstractitemmodel.cpp:599)
==15894==    by 0xF944A9B: QAbstractItemModel::beginRemoveRows(QModelIndex
const&, int, int) (qabstractitemmodel.cpp:2818)
==15894==    by 0x4B6B9E7:
Marble::GeoDataTreeModel::removeFeature(Marble::GeoDataContainer*, int)
(GeoDataTreeModel.cpp:738)
==15894==    by 0x4B6BB37:
Marble::GeoDataTreeModel::removeFeature(Marble::GeoDataFeature*)
(GeoDataTreeModel.cpp:765)
==15894==    by 0x4B6BB80:
Marble::GeoDataTreeModel::updateFeature(Marble::GeoDataFeature*)
(GeoDataTreeModel.cpp:779)
==15894==  Address 0x23dd2340 is 16 bytes inside a block of size 32 free'd
==15894==    at 0x4844669: operator delete(void*) (vg_replace_malloc.c:935)
==15894==    by 0x49C34FD:
Marble::GeoDataMultiGeometry::~GeoDataMultiGeometry()
(GeoDataMultiGeometry.cpp:36)
==15894==    by 0x49B26C7:
Marble::GeoDataPlacemark::setGeometry(Marble::GeoDataGeometry*)
(GeoDataPlacemark.cpp:282)
==15894==    by 0x49B2663:
Marble::GeoDataPlacemark::setCoordinate(Marble::GeoDataCoordinates const&)
(GeoDataPlacemark.cpp:276)
==15894==    by 0x4C24922: Marble::EditPlacemarkDialog::restoreInitial(int)
(EditPlacemarkDialog.cpp:484)
==15894==    by 0x4C24EAA:
Marble::EditPlacemarkDialog::qt_static_metacall(QObject*, QMetaObject::Call,
int, void**) (moc_EditPlacemarkDialog.cpp:153)
==15894==    by 0xF9C27D7: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3935)
==15894==    by 0xED6439F: QDialog::finished(int) (moc_qdialog.cpp:230)
==15894==    by 0xF9C27D7: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3935)
==15894==    by 0xECF3B27: QDialogButtonBoxPrivate::_q_handleButtonClicked()
(qdialogbuttonbox.cpp:882)
==15894==    by 0xF9C27D7: void doActivate<false>(QObject*, int, void**)
(qobject.cpp:3935)
==15894==    by 0xEC42B83: QAbstractButton::clicked(bool)
(moc_qabstractbutton.cpp:308)
==15894==  Block was alloc'd at
==15894==    at 0x4841FF5: operator new(unsigned long)
(vg_replace_malloc.c:434)
==15894==    by 0x352FC2E2: ??? (in /opt/lib64/marble/plugins/GpxPlugin.so)
==15894==    by 0x4A114EA: Marble::GeoParser::parseDocument()
(GeoParser.cpp:139)
==15894==    by 0x4A115B9: Marble::GeoParser::parseDocument()
(GeoParser.cpp:166)
==15894==    by 0x4A10D2E: Marble::GeoParser::read(QIODevice*)
(GeoParser.cpp:79)
==15894==    by 0x352F839B: ??? (in /opt/lib64/marble/plugins/GpxPlugin.so)
==15894==    by 0x4CAC7C9: Marble::ParsingTask::run() (RunnerTask.cpp:90)
==15894==    by 0xF7D275F: QThreadPoolThread::run() (qthreadpool.cpp:100)
==15894==    by 0xF7CF56C: operator() (qthread_unix.cpp:350)
==15894==    by 0xF7CF56C:
terminate_on_exception<QThreadPrivate::start(void*)::<lambda()> >
(qthread_unix.cpp:287)
==15894==    by 0xF7CF56C: QThreadPrivate::start(void*) (qthread_unix.cpp:310)
==15894==    by 0x10035C56: start_thread (pthread_create.c:444)
==15894==    by 0x100BB973: clone (clone.S:100)

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list