Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Mar 2013 22:18:02 +0300
From:      Jan Beich <jbeich@tormail.org>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        current@FreeBSD.org
Subject:   Re: HEADS UP: Capsicum overhaul.
Message-ID:  <1UCEUA-000Fgt-O5@internal.tormail.org>
References:  <20130302020544.GF16664@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Pawel Jakub Dawidek <pjd@FreeBSD.org> writes:

> I just committed pretty large change that affects not only Capsicum, but
> also descriptor handling code in the kernel. If you will find some
> strange problems after r243611 (like panics, unexpected application
> errors, etc.) I may be at fault. I'll be looking at current@ mailing
> list closly, so report here if you find problems that look related to my
> change.

tmux started to behave weirdly, sometimes failing to attach:

  $ printenv
  PATH=/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/sbin:/usr/local/bin
  OLDPWD=/
  DISPLAY=:0
  PWD=/home/foo
  TERM=xterm
  USER=foo
  HOME=/home/foo
  SHELL=/bin/sh

  $ ktrace -i tmux -L test -f /dev/null
  $ echo $?
  1
  $ kdump -r | pastebinit -a 'tmux fails to attach'
  http://pastebin.com/U3nCPrFY

  $ env -i TERM=$TERM ktrace -i /usr/local/bin/tmux -L test -f /dev/null
  $ ^D
  [exited]
  $ kdump -r | pastebinit -a 'tmux fails to attach (workaround)'
  http://pastebin.com/w1dsUAU4

I've tried so far:

  * booting allbsd.org snapshot -> no joy
  * enabling capsicum options -> no joy
  * reverting recent capsicum commits -> works fine



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1UCEUA-000Fgt-O5>