<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:Tanktalus@gmail.com" title="Darin McBride <Tanktalus@gmail.com>"> <span class="fn">Darin McBride</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - qemu crash if I reboot a windows guest when "past / copy clipboard" function is enabled ( vd_agent )"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83284">bug 83284</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>Tanktalus@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - qemu crash if I reboot a windows guest when "past / copy clipboard" function is enabled ( vd_agent )"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83284#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - qemu crash if I reboot a windows guest when "past / copy clipboard" function is enabled ( vd_agent )"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=83284">bug 83284</a>
              from <span class="vcard"><a class="email" href="mailto:Tanktalus@gmail.com" title="Darin McBride <Tanktalus@gmail.com>"> <span class="fn">Darin McBride</span></a>
</span></b>
        <pre>I keep having much of this problem, found this bug, and could reproduce it in
gdb.  I hope this trace can help.

I'm running on Gentoo x86_64, Win7 guest.  I've been having this problem for a
while, but didn't think to look in the system logs for qemu up until now. 
Currently 3.19.2 kernel, 10.4.4 mesa, nvidia drivers, etc.

I don't get BSOD on next boot, but rebooting doesn't work.  Win7 also dies all
on its own from time to time, I wonder if it's related, so I'm going to leave
it running under gdb for a while to see.  Anyway, for the reboot issue:

Program received signal SIGSEGV, Segmentation fault.
0x00007f631fdbea11 in spice_char_device_write_to_device (
    dev=dev@entry=0x7f6324f491e0) at char_device.c:443
443     char_device.c: No such file or directory.
(gdb) thread apply all bt

Thread 6 (Thread 0x7f631b2f2700 (LWP 19485)):
#0  sem_timedwait () at ../sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S:101
#1  0x00007f632368ce7f in qemu_sem_timedwait (sem=sem@entry=0x7f6324cf5618, 
    ms=ms@entry=10000)
    at
/var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/util/qemu-thread-posix.c:257
#2  0x00007f63235eb3fc in worker_thread (opaque=0x7f6324cf55b0)
    at
/var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/thread-pool.c:92
#3  0x00007f6320ac1224 in start_thread (arg=0x7f631b2f2700)
    at pthread_create.c:310
#4  0x00007f631f3e55ed in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f631a70e700 (LWP 19486)):
#0  pthread_cond_wait ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f632368cc99 in qemu_cond_wait (cond=<optimized out>, 
    mutex=mutex@entry=0x7f6323b4ff40 <qemu_global_mutex>)
    at
/var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/util/qemu-thread-posix.c:135
#2  0x00007f632331455a in qemu_kvm_wait_io_event (cpu=<optimized out>)
    at /var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/cpus.c:926
#3  qemu_kvm_cpu_thread_fn (arg=0x7f6324e619d0)
    at /var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/cpus.c:962
#4  0x00007f6320ac1224 in start_thread (arg=0x7f631a70e700)
    at pthread_create.c:310
#5  0x00007f631f3e55ed in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f6319f0d700 (LWP 19487)):
#0  pthread_cond_wait ()
    at ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f632368cc99 in qemu_cond_wait (cond=<optimized out>, 
    mutex=mutex@entry=0x7f6323b4ff40 <qemu_global_mutex>)
    at
/var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/util/qemu-thread-posix.c:135
#2  0x00007f632331455a in qemu_kvm_wait_io_event (cpu=<optimized out>)
    at /var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/cpus.c:926
#3  qemu_kvm_cpu_thread_fn (arg=0x7f6324e9ec50)
---Type <return> to continue, or q <return> to quit---
    at /var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/cpus.c:962
#4  0x00007f6320ac1224 in start_thread (arg=0x7f6319f0d700)
    at pthread_create.c:310
#5  0x00007f631f3e55ed in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f63191ff700 (LWP 19488)):
#0  0x00007f631f3dc99d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f631fe05423 in poll (__timeout=<optimized out>, __nfds=20, 
    __fds=0x7f61fc0008f8) at /usr/include/bits/poll2.h:46
#2  red_worker_main (arg=<optimized out>) at red_worker.c:11994
#3  0x00007f6320ac1224 in start_thread (arg=0x7f63191ff700)
    at pthread_create.c:310
#4  0x00007f631f3e55ed in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f6203fff700 (LWP 19490)):
#0  0x00007f631f3dc99d in poll () at ../sysdeps/unix/syscall-template.S:81
#1  0x00007f631fbaad54 in poll (__timeout=-1, __nfds=2, __fds=0x7f6203ffec60)
    at /usr/include/bits/poll2.h:46
#2  linux_udev_event_thread_main (arg=<optimized out>)
    at
/var/tmp/portage/dev-libs/libusb-1.0.19/work/libusb-1.0.19/libusb/os/linux_udev.c:176
#3  0x00007f6320ac1224 in start_thread (arg=0x7f6203fff700)
    at pthread_create.c:310
#4  0x00007f631f3e55ed in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f63231d29c0 (LWP 19484)):
#0  0x00007f631fdbea11 in spice_char_device_write_to_device (
    dev=dev@entry=0x7f6324f491e0) at char_device.c:443
#1  0x00007f631fdbf947 in spice_char_device_write_to_device (dev=<optimized
out>)
    at char_device.c:436
#2  spice_char_device_start (dev=0x7f6324f491e0) at char_device.c:798
#3  0x00007f631fe11709 in spice_server_vm_start (s=<optimized out>)
    at reds.c:3795
#4  0x00007f63234abf23 in device_reset (dev=0x7f6324f0df10)
    at
/var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/hw/core/qdev.c:1223
#5  qdev_reset_one (opaque=0x0, dev=0x7f6324f0df10)
    at
/var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/hw/core/qdev.c---Type
<return> to continue, or q <return> to quit---
:279
#6  qdev_walk_children (pre_devfn=0x0, pre_busfn=0x0, 
    post_devfn=0x7f63234abe00 <qdev_reset_one>, 
    post_busfn=0x7f63234aac10 <qbus_reset_one>, opaque=0x0, dev=0x7f6324f0df10)
    at
/var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/hw/core/qdev.c:593
#7  qbus_walk_children (bus=bus@entry=0x7f6324cd26a0, opaque=0x0, 
    post_busfn=0x7f63234aac10 <qbus_reset_one>, 
    post_devfn=0x7f63234abe00 <qdev_reset_one>, pre_busfn=0x0, pre_devfn=0x0)
    at
/var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/hw/core/qdev.c:551
#8  0x00007f63234abec1 in qdev_walk_children (pre_devfn=0x0, pre_busfn=0x0, 
    post_devfn=0x7f63234abe00 <qdev_reset_one>, 
    post_busfn=0x7f63234aac10 <qbus_reset_one>, opaque=0x0, dev=0x7f6324cd0db0)
    at
/var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/hw/core/qdev.c:585
#9  qbus_walk_children (bus=0x7f6324e61390, opaque=0x0, 
    post_busfn=0x7f63234aac10 <qbus_reset_one>, 
    post_devfn=0x7f63234abe00 <qdev_reset_one>, pre_busfn=0x0, pre_devfn=0x0)
    at
/var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/hw/core/qdev.c:551
#10 0x00007f63232db07d in qemu_devices_reset ()
    at /var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/vl.c:1702
#11 qemu_system_reset (report=true)
    at /var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/vl.c:1715
#12 main_loop_should_exit ()
    at /var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/vl.c:1846
#13 main_loop ()
    at /var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/vl.c:1886
#14 main (argc=<optimized out>, argv=<optimized out>, envp=<optimized out>)
    at /var/tmp/portage/app-emulation/qemu-2.2.1-r1/work/qemu-2.2.1/vl.c:4401</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>