Bug 729181 - libvirtd futex deadlock due to unparsable JSON string
Summary: libvirtd futex deadlock due to unparsable JSON string
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Fedora
Classification: Fedora
Component: libvirt
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Libvirt Maintainers
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-08-08 23:54 UTC by Richard Harman
Modified: 2012-06-07 00:31 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-06-07 00:31:55 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
gdb backtrace (with debugging info) of deadlocked (4.49 KB, text/plain)
2011-08-08 23:54 UTC, Richard Harman
no flags Details

Description Richard Harman 2011-08-08 23:54:10 UTC
Created attachment 517322 [details]
gdb backtrace (with debugging info) of deadlocked

Description of problem:

libvirtd deadlocks due to an unparsable JSON string from either virsh or virt-manager.

Version-Release number of selected component (if applicable):

Name        : libvirt
Version     : 0.8.8
Release     : 7.fc15
Architecture: x86_64


How reproducible:

Unknown?  I kill -9'd a virt-manager that became unresponsive, which appears to have deadlocks libvirtd.

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Syslog error message in /var/log/messages from libvirtd:

Aug  8 22:41:34 workstation libvirtd: 22:41:34.079: 1555: error : virJSONValueFromString:914 : internal error cannot parse json {"timestamp": {"seconds": 1312843294, "microseconds": 78869}, "event": "SPICE_DIS
CONNECTED", "data": {"serv{"tim{"portestam0": {"se1", "": 13128mi294,ly"icroseconds": 7"872}, "eve"t": "1 .5.128"29"}, CE_DIS"ONNECTcD"lient": {"port": "50608",{"family"" "ipv4",s"host": e10.5v.r": {1port"
:28.57"}}}"fami: lexical error: invalid string in json text.#012          SCONNECTED", "data": {"serv{"tim{"portestam0": {"se1", "": 1#012                     (right here) ------^#012
Aug  8 22:41:34 workstation libvirtd: 22:41:34.079: 1555: warning : virJSONValueFromString:925 : cleanup state 2

Comment 1 Daniel Veillard 2011-08-10 07:33:50 UTC
Thanks, could you attach a the virsh dumpxml for the guest if you still have it,
as it is using Spice and it could be related to spice arguments too.

  TIA

Daniel

Comment 2 Fedora Admin XMLRPC Client 2011-09-22 17:53:11 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 3 Fedora Admin XMLRPC Client 2011-09-22 17:56:59 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Fedora Admin XMLRPC Client 2011-11-30 20:03:44 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 5 Fedora Admin XMLRPC Client 2011-11-30 20:03:49 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 6 Fedora Admin XMLRPC Client 2011-11-30 20:08:15 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 7 Fedora Admin XMLRPC Client 2011-11-30 20:08:19 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 8 Richard Harman 2011-12-01 00:43:45 UTC
Actually I don't have the xml for the VM anymore.


Note You need to log in before you can comment on or make changes to this bug.