Hi,

I have built Marble 19.08 with Qt 5.15.5 and am trying to create an application which uses GeoDataFolder but have run into an issue. The following snippet gives me a seg fault:

GeoDataFolder *myFolder = new GeoDataFolder(); myFolder->begin();

I get a similar seg fault when I try to call end(). The stack trace shows the following: 1 QVector<Marble::GeoDataFeature *>::isDetached qvector.h 113 0x7ffff78f0b36 2 QVector<Marble::GeoDataFeature *>::detach qvector.h 399 0x7ffff78f0cfa 3 QVector<Marble::GeoDataFeature *>::begin qvector.h 219 0x7ffff78ef4c9 4 Marble::GeoDataContainer::begin GeoDataContainer.cpp 349 0x7ffff78ee6fa 5 main main.cpp 54 0x55555555b6e4

It looks like the d pointer is either becoming corrupted or is getting deleted, only for the iterator methods. I can call other methods without problems, such as at() and last(). I ran the same snippet with Marble 16.04 and it runs fine. Has anyone seen this error before? Any help would be much appreciated.

Thank you,

Sarah Magliocca

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

Reply via email to