Bug 1376616 - [abrt] qemu-system-x86: snd_disconnect_channel(): qemu-system-x86_64 killed by SIGSEGV
Summary: [abrt] qemu-system-x86: snd_disconnect_channel(): qemu-system-x86_64 killed b...
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: spice
Version: 26
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Christophe Fergeau
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:811611bf729f7c046a76f494e0b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-15 23:56 UTC by iliketurtlesbro
Modified: 2018-05-29 11:43 UTC (History)
18 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-05-29 11:43:05 UTC
Type: ---


Attachments (Terms of Use)
File: backtrace (39.10 KB, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: cgroup (223 bytes, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: core_backtrace (12.99 KB, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: dso_list (17.16 KB, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: environ (180 bytes, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: exploitable (82 bytes, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: limits (1.29 KB, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: maps (82.28 KB, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: mountinfo (3.31 KB, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: namespaces (102 bytes, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: open_fds (1.87 KB, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: proc_pid_status (1.12 KB, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details
File: var_log_messages (28 bytes, text/plain)
2016-09-15 23:56 UTC, iliketurtlesbro
no flags Details

Description iliketurtlesbro 2016-09-15 23:56:15 UTC
Description of problem:
Closed Gnome Boxes. 

Version-Release number of selected component:
qemu-system-x86-2.7.0-1.fc26

Additional info:
reporter:       libreport-2.8.0
backtrace_rating: 4
cmdline:        /usr/bin/qemu-system-x86_64 -machine accel=kvm -name guest=boxes-unknown,debug-threads=on -S -object secret,id=masterKey0,format=raw,file=/home/user/.config/libvirt/qemu/lib/domain-4-boxes-unknown/master-key.aes -machine pc-i440fx-2.7,accel=kvm,usb=off -cpu SandyBridge -m 2012 -realtime mlock=off -smp 4,sockets=1,cores=2,threads=2 -uuid 67ab641f-1bdb-4028-a6fe-65dbbecac139 -no-user-config -nodefaults -chardev socket,id=charmonitor,path=/home/user/.config/libvirt/qemu/lib/domain-4-boxes-unknown/monitor.sock,server,nowait -mon chardev=charmonitor,id=monitor,mode=control -rtc base=utc,driftfix=slew -global kvm-pit.lost_tick_policy=discard -no-hpet -no-reboot -global PIIX4_PM.disable_s3=1 -global PIIX4_PM.disable_s4=1 -boot strict=on -device ich9-usb-ehci1,id=usb,bus=pci.0,addr=0x6.0x7 -device ich9-usb-uhci1,masterbus=usb.0,firstport=0,bus=pci.0,multifunction=on,addr=0x6 -device ich9-usb-uhci2,masterbus=usb.0,firstport=2,bus=pci.0,addr=0x6.0x1 -device ich9-usb-uhci3,masterbus=usb.0,firstport=4,bus=pci.0,addr=0x6.0x2 -device virtio-serial-pci,id=virtio-serial0,bus=pci.0,addr=0x5 -device usb-ccid,id=ccid0,bus=usb.0,port=2 -device usb-hub,id=hub0,bus=usb.0,port=1 -drive file=/home/user/.local/share/gnome-boxes/images/boxes-unknown,format=qcow2,if=none,id=drive-ide0-0-0,cache=writeback -device ide-hd,bus=ide.0,unit=0,drive=drive-ide0-0-0,id=ide0-0-0,bootindex=2 -drive if=none,id=drive-ide0-1-0,readonly=on -device ide-cd,bus=ide.1,unit=0,drive=drive-ide0-1-0,id=ide0-1-0,bootindex=1 -netdev user,id=hostnet0 -device rtl8139,netdev=hostnet0,id=net0,mac=52:54:00:bf:fa:fb,bus=pci.0,addr=0x3 -chardev spicevmc,id=charsmartcard0,name=smartcard -device ccid-card-passthru,chardev=charsmartcard0,id=smartcard0,bus=ccid0.0 -chardev pty,id=charserial0 -device isa-serial,chardev=charserial0,id=serial0 -chardev spicevmc,id=charchannel0,name=vdagent -device virtserialport,bus=virtio-serial0.0,nr=1,chardev=charchannel0,id=channel0,name=com.redhat.spice.0 -device usb-tablet,id=input0,bus=usb.0,port=3 -device usb-mouse,id=input1,bus=usb.0,port=4 -device usb-kbd,id=input2,bus=usb.0,port=5 -spice port=0,disable-ticketing,image-compression=off,seamless-migration=on -device qxl-vga,id=video0,ram_size=67108864,vram_size=67108864,vram64_size_mb=0,vgamem_mb=16,max_outputs=1,bus=pci.0,addr=0x2 -device AC97,id=sound0,bus=pci.0,addr=0x4 -chardev spicevmc,id=charredir0,name=usbredir -device usb-redir,chardev=charredir0,id=redir0,bus=usb.0,port=6 -chardev spicevmc,id=charredir1,name=usbredir -device usb-redir,chardev=charredir1,id=redir1,bus=usb.0,port=1.1 -chardev spicevmc,id=charredir2,name=usbredir -device usb-redir,chardev=charredir2,id=redir2,bus=usb.0,port=1.2 -chardev spicevmc,id=charredir3,name=usbredir -device usb-redir,chardev=charredir3,id=redir3,bus=usb.0,port=1.3 -device virtio-balloon-pci,id=balloon0,bus=pci.0,addr=0x7 -msg timestamp=on
crash_function: snd_disconnect_channel
executable:     /usr/bin/qemu-system-x86_64
global_pid:     16235
kernel:         4.8.0-0.rc6.git0.1.fc26.x86_64
pkg_vendor:     Fedora Project
runlevel:       unknown
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (5 frames)
 #0 snd_disconnect_channel at sound.c:221
 #1 snd_detach_common at sound.c:1589
 #2 snd_detach_playback at sound.c:1602
 #3 spice_server_remove_interface at reds.c:3392
 #4 audio_cleanup at /usr/src/debug/qemu-2.7.0/audio/audio.c:1762

Comment 1 iliketurtlesbro 2016-09-15 23:56:28 UTC
Created attachment 1201462 [details]
File: backtrace

Comment 2 iliketurtlesbro 2016-09-15 23:56:29 UTC
Created attachment 1201463 [details]
File: cgroup

Comment 3 iliketurtlesbro 2016-09-15 23:56:30 UTC
Created attachment 1201465 [details]
File: core_backtrace

Comment 4 iliketurtlesbro 2016-09-15 23:56:32 UTC
Created attachment 1201466 [details]
File: dso_list

Comment 5 iliketurtlesbro 2016-09-15 23:56:33 UTC
Created attachment 1201467 [details]
File: environ

Comment 6 iliketurtlesbro 2016-09-15 23:56:34 UTC
Created attachment 1201468 [details]
File: exploitable

Comment 7 iliketurtlesbro 2016-09-15 23:56:36 UTC
Created attachment 1201469 [details]
File: limits

Comment 8 iliketurtlesbro 2016-09-15 23:56:37 UTC
Created attachment 1201470 [details]
File: maps

Comment 9 iliketurtlesbro 2016-09-15 23:56:38 UTC
Created attachment 1201471 [details]
File: mountinfo

Comment 10 iliketurtlesbro 2016-09-15 23:56:40 UTC
Created attachment 1201472 [details]
File: namespaces

Comment 11 iliketurtlesbro 2016-09-15 23:56:41 UTC
Created attachment 1201473 [details]
File: open_fds

Comment 12 iliketurtlesbro 2016-09-15 23:56:42 UTC
Created attachment 1201474 [details]
File: proc_pid_status

Comment 13 iliketurtlesbro 2016-09-15 23:56:44 UTC
Created attachment 1201475 [details]
File: var_log_messages

Comment 14 Pavel Grunt 2016-09-16 08:21:18 UTC
Hi,
I cannot reproduce

What is the version of spice-server ?
Was your virtual machine doing something ? Or you just closed Boxes?

Thanks

Comment 15 Frediano Ziglio 2016-09-16 11:45:01 UTC
channel->channel_client is corrupted, is 0xccccccccccb3333.
channel should be 0x55ae4f3cc000 which is more likely
reds is coherent and got from channel too

The crash happened at this line

    spice_debug("SndChannel=%p rcc=%p type=%d",
                 channel, channel->channel_client, channel->channel_client->channel->type);

specifically getting channel->channel_client->channel.
From the value of channel->channel_client looks like a possible double free.
The initial call came from atexit, so on cleanup of the program (Qemu).
Looking at audio/spiceaudio.c in Qemu seems unlikely that a possible double
free can came from a wrong sequence of spice_server_playback_get_buffer and
spice_server_playback_put_samples.

Comment 16 iliketurtlesbro 2016-10-26 22:47:56 UTC
I believe Boxes crashed while a VM was active. 

I am not sure how to retrieve the version info for spice-server, sorry. Although since I am primarily running rawhide, the version I was running at the time of the crash event may not be the same version I am now running. I update daily, so I would have been running the latest version of spice avalable in the rawhide repos as of 9-15-2016

Comment 17 Fedora End Of Life 2017-02-28 10:18:52 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 18 Fedora End Of Life 2018-05-03 08:29:00 UTC
This message is a reminder that Fedora 26 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 26. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '26'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 26 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged  change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

Comment 19 Fedora End Of Life 2018-05-29 11:43:05 UTC
Fedora 26 changed to end-of-life (EOL) status on 2018-05-29. Fedora 26
is no longer maintained, which means that it will not receive any
further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


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