---
** [tickets:#158] Sporadic TIOCSWINSZ ioctl() failure on some Solaris versions**
**Status:** open
**Created:** Wed Sep 17, 2014 06:34 PM UTC by Peter Schow
**Last Updated:** Wed Sep 17, 2014 06:34 PM UTC
**Owner:** Nicholas Marriott
Some older versions of Solaris are susceptible to an occasional ENXIO failue
for the ioctl(TIOCSWINSZ) in server-client.c, which leads to a tmux server
failure. There is already a comment here about one such TIOCSWINSZ failure on
Solaris:
~~~~~
#ifdef __sun
/*
* Some versions of Solaris apparently can return an error when
* resizing; don't know why this happens, can't reproduce on
* other platforms and ignoring it doesn't seem to cause any
* issues.
*/
if (errno != EINVAL)
#endif
~~~~~
The following client script may demonstrate the ENXIO failure:
~~~~~
while sleep 1; do tmux split-w 'sleep 1; exit'; done
~~~~~
The attached patch addresses the server failure, with no apparent issues. Will
update this ticket when more is known about the core reason for the ioctl()
failure.
---
Sent from sourceforge.net because tmux-users@lists.sourceforge.net is
subscribed to https://sourceforge.net/p/tmux/tickets/
To unsubscribe from further messages, a project admin can change settings at
https://sourceforge.net/p/tmux/admin/tickets/options. Or, if this is a mailing
list, you can unsubscribe from the mailing list.
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&iu=/4140/ostg.clktrk
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users