/usr/sbin/libvirtd:11:virSecurityManagerTransactionStart:qemuSecurityRestoreAllLabel:qemuProcessStop:qemuDomainSaveInternal:qemuDomainManagedSave

Bug #1939643 reported by errors.ubuntu.com bug bridge
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt
Fix Released
Unknown
libvirt (Ubuntu)
Fix Released
Undecided
Unassigned
Focal
Incomplete
Undecided
Unassigned

Bug Description

The Ubuntu Error Tracker has been receiving reports about a problem regarding libvirt. This problem was most recently seen with package version 6.0.0-0ubuntu8.12, the problem page at https://errors.ubuntu.com/problem/227a7f4d7b698c340f928038ad78fcaf4bb2de5a contains more details, including versions of packages affected, stacktrace or traceback, and individual crash reports.
If you do not have access to the Ubuntu Error Tracker and are a software developer, you can request it at http://forms.canonical.com/reports/.

Also another slightly different trace seems to be the same
https://errors.ubuntu.com/problem/49e76f2070b85b5bb1ef09b837c90f9b2fb8bf47

Revision history for this message
Christian Ehrhardt  (paelzer) wrote (last edit ):

The crash is in
   255 int
   256 virSecurityManagerTransactionStart(virSecurityManagerPtr mgr)
   257 {
   258 int ret = 0;
   259
   260 virObjectLock(mgr);
   261 if (mgr->drv->transactionStart)
   262 ret = mgr->drv->transactionStart(mgr);
   263 virObjectUnlock(mgr);
   264 return ret;
   265 }

virObjectLock checks references before access.
But one can think of "mgr->drv" being a bad pointer and then the mgr->drv->transactionStart being the crash.

description: updated
tags: added: groovy
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

It still looks the same in recent master.

Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Reported for an upstream discussion
https://gitlab.com/libvirt/libvirt/-/issues/200

Changed in libvirt:
status: Unknown → New
Changed in libvirt:
status: New → Fix Released
Revision history for this message
Christian Ehrhardt  (paelzer) wrote :

Fixed in 6.6 and later, but nobody is sure via which changes exactly - therefore we can't backport anything yet.

Changed in libvirt (Ubuntu):
status: New → Fix Released
Changed in libvirt (Ubuntu Focal):
status: New → Triaged
status: Triaged → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.