Re: crash on startup: duplicate GeoTagHandler registrations

Steven Robbins <[email protected]> Mon, 11 Mar 2024 21:16:20 -0500
Newsgroups gmane.comp.kde.digikam.devel
Message-ID <4082751.MHq7AAxBmi@riemann>
On Sunday, March 10, 2024 1:38:43 A.M. CDT Maik Qualmann wrote:
> Hi Steve,
> 
> I removed this Q_ASSERT. We had a bug report here before, when Marble was
> not yet part of digiKam and the user probably had duplicate versions of
> Marble in the system.

That should be fine.  I removed it myself and then it crashed in a different 
place, but with a helpful message!  :-)   I hope you retained this one:

        qCWarning(DIGIKAM_MARBLE_LOG) << "Warning: The tag" << name << "is 
already registered. Often this indicates that multiple versions of the 
marblewidget library are loaded at the same time. This will likely lead to 
problems. Please check your installation, especially internal Marble plugins 
and external applications that install Marble plugins.";

As noted previously, I did, indeed, have a second version of marblewidget -- 
from the debian digikam package.

-Steve

> Maik
> 
> Am Sonntag, 10. März 2024, 04:42:51 CET schrieb Steven Robbins:
> > On Saturday, March 9, 2024 9:26:56 P.M. CST Steven Robbins wrote:
> > > Hi,
> > > 
> > > I pulled the current git sources to see how things are progressing.  Was
> > > able to build fine but it crashed immediately on startup due to the
> > > first
> > 
> > > assert in the following code:
> > Solved it.  Turns out *everything* was inserted twice.  Presumably because
> > I had the debian packages for digikam (8.1.0) installed and the code was
> > finding something twice.  The issue went away after I removed the debian
> > packages.
> > 
> > -Steve
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEy89k8fa3rclNjyokyeVeL63I9LkFAmXvuvQACgkQyeVeL63I
9Ll4GhAAi1E+E15DyYBr8EbPAT7BduuGuBp+C14M7rRIhAc7lf8KHLZgj4Q13DzY
YWuB6fflNBtV2fbfIiVHfUiZA8rrnynJSRGYKwQbmMaN+RuIHQ03n/c6Ljv/1b86
g5c8MDwib3kffNS+gnxVHHWrI4r4LPaOXv38g976cbzn1BR+NvHMdWBWQfwr1M6f
amwRxwwqfaicOGPbnGaOUofO/OTTOEGMt9fMEMvIgeA+ufC5OZuArTo6+SWYL2bd
vgNklPa1Zt6rozzxZJBDIhyGrQK8PIGjpgPRRaaBH9Hmutul/YmsB/oRI4u7QhdF
oHz+w0M0ebo4Hl+hhXkDypcAo29/gFYT8msvPewOJy2AAUfJZRI/KTg977Ts5z23
3D8RPvZpbrp0NZafGZ6qTljeIpxA9eKrLciXW02cuQzN9rzfg57XbM4JEVrxvY9R
CfWPfIjP49C0Z/BdDmTVHk61zQEAyhaozEMwJH+VGHfKlThTN60/EJCSi86SFJVF
85NEgQ3QBmwoySVbipklC6XCC4HCFk8muSpR2tGgZdM2wiVhvrcWUpDvmzBiukRl
KsIJDtdbM9mUKP42onX/FgbTPW5v27E/GwqV6LY3OazeFV8ahl9OxIq3gREmkjk2
zsqgT5zvzV4O9fRMNfwvTa0BecRomzfjV9S7Ddv4pijq+Y4aNSE=
=wfHD
-----END PGP SIGNATURE-----