Bug 1202350

Summary: [abrt] libvirt-daemon-driver-network: virJSONValueToStringOne(): libvirt_leaseshelper killed by SIGSEGV
Product: [Fedora] Fedora Reporter: Jiri Popelka <jpopelka>
Component: libvirtAssignee: Libvirt Maintainers <libvirt-maint>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 23CC: agedosier, berrange, clalancette, crobinso, itamar, jforbes, jorti, jtomko, laine, libvirt-maint, mailings, veillard, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/f2e558761bda7b02aadb0446be8173707df924ee
Whiteboard: abrt_hash:fd0e32cbaac6af2d51bf2ac7796d406f2d5ce8ae
Fixed In Version: libvirt-1.2.18.2-2.fc23 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-24 03:29:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: open_fds
none
File: proc_pid_status
none
File: var_log_messages none

Description Jiri Popelka 2015-03-16 13:01:45 UTC
Description of problem:
I think I was doing some 'virsh net-destroy' & 'virsh net-start' when the crash occured.

Version-Release number of selected component:
libvirt-daemon-driver-network-1.2.13-2.fc22

Additional info:
reporter:       libreport-2.4.0
backtrace_rating: 4
cmdline:        libvirt_leaseshelper old 00:01:00:01:1c:87:22:59:52:54:00:ea:29:63 fd00:dead:beef:ff0::1a3
crash_function: virJSONValueToStringOne
executable:     /usr/libexec/libvirt_leaseshelper
kernel:         4.0.0-0.rc3.git0.1.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (2 frames)
 #0 virJSONValueToStringOne at util/virjson.c:1594
 #2 virJSONValueToString at util/virjson.c:1683

Comment 1 Jiri Popelka 2015-03-16 13:01:50 UTC
Created attachment 1002259 [details]
File: backtrace

Comment 2 Jiri Popelka 2015-03-16 13:01:51 UTC
Created attachment 1002260 [details]
File: cgroup

Comment 3 Jiri Popelka 2015-03-16 13:01:53 UTC
Created attachment 1002261 [details]
File: core_backtrace

Comment 4 Jiri Popelka 2015-03-16 13:01:54 UTC
Created attachment 1002262 [details]
File: dso_list

Comment 5 Jiri Popelka 2015-03-16 13:01:56 UTC
Created attachment 1002263 [details]
File: environ

Comment 6 Jiri Popelka 2015-03-16 13:01:57 UTC
Created attachment 1002264 [details]
File: limits

Comment 7 Jiri Popelka 2015-03-16 13:01:59 UTC
Created attachment 1002265 [details]
File: maps

Comment 8 Jiri Popelka 2015-03-16 13:02:00 UTC
Created attachment 1002266 [details]
File: open_fds

Comment 9 Jiri Popelka 2015-03-16 13:02:02 UTC
Created attachment 1002267 [details]
File: proc_pid_status

Comment 10 Jiri Popelka 2015-03-16 13:02:03 UTC
Created attachment 1002268 [details]
File: var_log_messages

Comment 11 Cole Robinson 2016-01-19 16:00:45 UTC
*** Bug 1292941 has been marked as a duplicate of this bug. ***

Comment 12 Ján Tomko 2016-01-20 10:19:58 UTC
Upstream fix:
commit df9fe124d650bc438c531673492569da87523d20
Author:     Ján Tomko <jtomko>
AuthorDate: 2016-01-14 14:31:17 +0100
Commit:     Ján Tomko <jtomko>
CommitDate: 2016-01-20 09:32:59 +0100

    leaseshelper: fix crash when no mac is specified
    
    If dnsmasq specified DNSMASQ_IAID (so we're dealing with an IPv6
    lease) but no DNSMASQ_MAC, we skip creation of the new lease object.
    
    Also skip adding it to the leases array.
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1202350

git describe: v1.3.1-12-gdf9fe12 

backported as v1.2.13.2-2-g931888e and v1.2.18.2-2-gd5ef3cb

Comment 13 Fedora Update System 2016-01-21 17:16:48 UTC
libvirt-1.2.18.2-2.fc23 has been submitted as an update to Fedora 23. https://bodhi.fedoraproject.org/updates/FEDORA-2016-02dc87c44e

Comment 14 Fedora Update System 2016-01-22 04:55:28 UTC
libvirt-1.2.18.2-2.fc23 has been pushed to the Fedora 23 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2016-02dc87c44e

Comment 15 Fedora Update System 2016-01-24 03:28:51 UTC
libvirt-1.2.18.2-2.fc23 has been pushed to the Fedora 23 stable repository. If problems still persist, please make note of it in this bug report.