segmentation fault when using usb-net and -netdev tap
Public bug reported:
The following command causes a Segmentation fault:
qemu-kvm -usb -device usb-net,netdev=net0 -netdev tap,id=net0 Segmentation fault
The following command does not:
qemu-kvm -usb -device usb-net,netdev=net0 -netdev user,id=net0
Program received signal SIGSEGV, Segmentation fault. usbnet_can_receive (nc=0x55555657dc20)
at /home/pbonzini/work/upstream/qemu/hw/usb/dev-network.c:1292
1292 if (is_rndis(s) && s->rndis_state != RNDIS_DATA_INITIALIZED) {
First reported at https://bugzilla.redhat.com/show_bug.cgi?id=843310
** Affects: qemu
Importance: Undecided
Status: New
Signature · 29 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1050823
Title:
segmentation fault when using usb-net and -netdev tap
Status in QEMU:
New
Bug description:
The following command causes a Segmentation fault:
qemu-kvm -usb -device usb-net,netdev=net0 -netdev tap,id=net0
Segmentation fault
The following command does not:
qemu-kvm -usb -device usb-net,netdev=net0 -netdev user,id=net0
Program received signal SIGSEGV, Segmentation fault.
usbnet_can_receive (nc=0x55555657dc20)
at /home/pbonzini/work/upstream/qemu/hw/usb/dev-network.c:1292
1292 if (is_rndis(s) && s->rndis_state != RNDIS_DATA_INITIALIZED) {
First reported at https://bugzilla.redhat.com/show_bug.cgi?id=843310
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1050823/+subscriptionsPatch has been included here:
http://git.qemu.org/?p=qemu.git;a=commitdiff;h=278412d0e710e2e848c
... so I think it should be OK now to close this ticket.
** Changed in: qemu
Status: New => Fix Released
Signature · 29 lines
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1050823
Title:
segmentation fault when using usb-net and -netdev tap
Status in QEMU:
Fix Released
Bug description:
The following command causes a Segmentation fault:
qemu-kvm -usb -device usb-net,netdev=net0 -netdev tap,id=net0
Segmentation fault
The following command does not:
qemu-kvm -usb -device usb-net,netdev=net0 -netdev user,id=net0
Program received signal SIGSEGV, Segmentation fault.
usbnet_can_receive (nc=0x55555657dc20)
at /home/pbonzini/work/upstream/qemu/hw/usb/dev-network.c:1292
1292 if (is_rndis(s) && s->rndis_state != RNDIS_DATA_INITIALIZED) {
First reported at https://bugzilla.redhat.com/show_bug.cgi?id=843310
To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1050823/+subscriptions