10.4-stable systematically crashing inside pselect() when a tun device is used

Kristof Provost kristof at sigsegv.be
Sat Nov 18 10:30:05 UTC 2017

On 18 Nov 2017, at 10:27, Jukka A. Ukkonen wrote:
> Hello all,
> As briefly stated in the subject I have a 10-stable system on
> which I have been testing a program which opens either a tun
> device or a tap device, waits in pselect() for the descriptor
> to become readable, and then proceeds to read the packet/frame.
> When using a tun descriptor the pselect() call always panics the
> kernel with the complaints shown in the photo below. When using
> a tap device the same code works just fine.
The mailing lists don’t allow attachments. You’ll have to get a text 
version of the backtrace.

(Set dumpdev="AUTO" in /etc/rc.conf, reboot, trigger the crash. Look for 


More information about the freebsd-questions mailing list