FS#38131 - [vde2] vde_pcapplug crashes

Attached to Project: Arch Linux
Opened by yochai (yochai) - Saturday, 14 December 2013, 10:10 GMT
Last edited by Gerardo Exequiel Pozzi (djgera) - Friday, 14 March 2014, 17:16 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
vde_pcapplug crashes, coping from my forum post:
When started without the -d flag:
[code]
kernel: device enp2s6 entered promiscuous mode
kernel: device enp2s6 left promiscuous mode
vde_switch[13591]: EOF data port: Interrupted system call
[/code]

When started with the -d flag:
[code]
vde_pcapplug[13594]: VDE_PCAPPLUG started
kernel: device enp2s6 entered promiscuous mode
kernel: device enp2s6 left promiscuous mode
vde_switch[13591]: EOF data port: Interrupted system call
[/code]

strace shows this output:
[code]
poll([{fd=3, events=POLLIN|POLLHUP}, {fd=5, events=POLLIN|POLLHUP}, {fd=4, events=POLLIN|POLLHUP}], 3, 4294967295) = 1 ([{fd=3, revents=POLLIN}])
setsockopt(3, SOL_PACKET, PACKET_RX_RING, {block_size=0, block_nr=0, frame_size=0, frame_nr=0}, 16) = -1 EINVAL (Invalid argument)
munmap(0x7f1580354000, 2097152) = 0
close(3) = 0
sendto(5, NULL, 0, 0, NULL, 0) = 0
unlink("/var/run/vde.13613-00001") = 0
close(5) = 0
close(4) = 0
exit_group(0) = ?
+++ exited with 0 +++
[/code]

I've tried on two computers, both are 64 bit.

Additional info:
I'm not sure, I noticed it after updating an out of date system (two months last update), after that I checked and it happens on a different system.
My forum post - https://bbs.archlinux.org/viewtopic.php?pid=1359973


Steps to reproduce:

Start a vde_switch, connect to it a physical device with vde_pcapplug, see how vde_pcapplug crashes.
This task depends upon

Closed by  Gerardo Exequiel Pozzi (djgera)
Friday, 14 March 2014, 17:16 GMT
Reason for closing:  No response
Comment by yochai (yochai) - Saturday, 14 December 2013, 12:08 GMT
New information, after comparing the update log with the dependencies of vde I tried to downgrading (1.5.1-1 => 1.4.0-1) libpcap. vde seems to be working now.
Something in the change from libpcap 1.4.0.1 to 1.5.1-1 breaks vde_pcapplug.
Comment by Gerardo Exequiel Pozzi (djgera) - Wednesday, 12 February 2014, 02:51 GMT
  • Field changed: Status (Assigned → Waiting on Response)
  • Field changed: Category (Packages: Extra → Upstream Bugs)
status? upstream report?

Loading...