[Marble-bugs] [Bug 218873] Digikam crashes while starting up [mem2chunk_check, free_check, Marble::GeoDataObject::~GeoDataObject]

Dennis Nienhüser earthwings at gentoo.org
Fri Jan 1 23:24:13 CET 2010


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


Dennis Nienhüser <earthwings at gentoo.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
                 CC|                            |earthwings at gentoo.org,
                   |                            |ps_ml at gmx.de
     Ever Confirmed|0                           |1




--- Comment #5 from Dennis Nienhüser <earthwings gentoo org>  2010-01-01 23:24:09 ---
One thing that is broken in GeoDataPlacemark is the constructor which takes a
QString as parameter: It forgets to initialize the d-pointer, which means that
the static_cast later in p() operates on a different object than it should.
This got lost in
http://websvn.kde.org/trunk/KDE/kdeedu/marble/src/lib/geodata/data/GeoDataPlacemark.cpp?r1=946665&r2=946666& 

As far as I can tell, this version of the constructor is nowhere used in Marble
however, so it shouldn't cause problems. I'd say the d-pointer should be
initialized anyway however or the constructor be removed.

@Patrick: Can you look at that?

-- 
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the Marble-bugs mailing list