[Bug]: Update does not check validity of installed extension pack, causing crashes

Offen
#995 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen

Maintainer antworten meist innerhalb von 6 Tagen

Dieses Issue hat noch niemand übernommen.

Bewertung

Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Anfängerfreundlichkeit
25/100
Issue-Typ
Bug
Klarheit
Größtenteils klar
Aktivitätsstatus
Aktiv
Tech-Stack
c, cpp

Rechercherichtung

The failure surfaces as VERR_PDM_DRIVER_NAME_CLASH when a stale extension pack is loaded by a newer VirtualBox, so start in the main API's extension-pack manager (src/VBox/Main/src-server/ExtPackManagerImpl.cpp) and the extpack sources under src/VBox/ExtPacks, then trace where the UI/installer path (src/VBox/Frontends) decides to load a pack at startup. Reproduce by installing an older extension pack alongside the newly installed 7.2.22 build on macOS and noting that no version check fires. Done means the update path detects the version mismatch and warns or refuses instead of loading and crashing.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Beschreibung

bug
Version

trunk/main

Host OS Type

macOS

Host OS name + version

Tahoe 26.6.2

Host Architecture

x86

Guest OS Type

Linux

Guest Architecture

x86

Guest OS name + version
Component

Unspecified

What happened?

VERR_PDM_DRIVER_NAME_CLASH after updating to 7.2.22, without updating the extension pack - as there was no message and no warning.

This bug seems to exist for more than 10 years. This is insane.

How can we reproduce this?

install a new version when an old version with extension pack is installed and the new version would need an updated extension pack

Did you upload all of your necessary log files, screenshots, etc.?
  • Yes, I've uploaded all pertinent files to this issue.
Vorherrschende Sprache
C
Sterne
1.4k
Forks
219
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Entwicklungsumgebung

Erste Schritte

  1. Lesen Sie das ganze Issue und danach den Beitragsleitfaden des Projekts.
  2. Schreiben Sie ins Issue, dass Sie es übernehmen — das erspart doppelte Arbeit.
  3. Forken Sie das Repository und arbeiten Sie in einem Branch.
  4. Öffnen Sie einen Pull Request, der die Issue-Nummer nennt.

Mehr aus VirtualBox/virtualbox

Alle Issues in VirtualBox/virtualbox

Ähnliche Issues

Weitere Issues zu C

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.