[Libreoffice-bugs] [Bug 51685] crash on start / duplicate component registration issue ...

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 12 10:55:55 CEST 2012


https://bugs.freedesktop.org/show_bug.cgi?id=51685

Stephan Bergmann <sbergman at redhat.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #5 from Stephan Bergmann <sbergman at redhat.com> 2012-07-12 08:55:55 UTC ---
UserInstallation's
user/extensions/bundled/registry/com.sun.star.comp.deployment.component.PackageRegistryBackend/backenddb.xml
contains information about bundled extensions that still use active component
registration.

When an extension is switched from active to passive component registration, it
is important that its version is bumped.  (Otherwise, LO's extension mgr logic
would not detect that it needs to regenerate per-user extension information at
start up, which could lead to old, active-registration data for an extension's
component co-existing with new, passive-registration data, which in turn could
lead to the "duplicate <implementation name" exception at start up.)

The pdfimport extension had been changed to passive component registration (but
erroneously without bumping its version), and later on its version has been
bumped (from 1.0.5 to 1.0.6) with
<http://cgit.freedesktop.org/libreoffice/core/commit/?id=de562138eabd3ee3ecab28e5d1348a3fee7301e0>
"Bump extension versions after changing to passive registration."

If your existing UserInstallation has ever been produced/modified by some
"interim" developer build (instead of an "official" build, where it is known
that none of them can lead to these inconsistencies), it can have become
inconsistent to a point where only manually removing the UserInstallation's
user/extensions/bundled directory can fix this, see
<http://lists.freedesktop.org/archives/libreoffice/2012-April/030728.html>
"Weird runtime error."  However, this should not happen to ordinary end users
(who only ever installed "official" builds).

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



More information about the Libreoffice-bugs mailing list