GithubHelp home page GithubHelp logo

Comments (5)

pfmooney avatar pfmooney commented on June 21, 2024 1

This has been diagnosed as illumos#15036

from smartos-live.

jclulow avatar jclulow commented on June 21, 2024

That seems unusual. From the manual page for port_associate(3C):

       The port_associate() function will fail if:

       EACCES
                  The source argument is PORT_SOURCE_FILE and, Search permission
                  is denied on a component of path prefix or the file exists and
                  the permissions, corresponding to the events argument, are
                  denied.

...

Have you tried tracing the arguments to the port_associate() call to see what's being associated when it fails this way?

from smartos-live.

whorfin avatar whorfin commented on June 21, 2024

Here are the results of

$ truss -t port_associate tmux load-buffer test.txt >& log.txt

for a "it worked" and an "it hung with the message" case
(The SIGTERM is from me killing the hanging tmux)

00tmux-fail.txt
00tmux-ok.txt

from smartos-live.

whorfin avatar whorfin commented on June 21, 2024

...I pulled down and built from source various versions from upstream https://github.com/tmux/tmux/releases
tmux-3.2 behaves just as the joyent/pkgsrc version does
tmux-3.1c is similarly broken
tmux-3.0a appears to be OK
so you might want to downgrade the version provided; I will report upstream

from smartos-live.

whorfin avatar whorfin commented on June 21, 2024

Per the tmux upstream conversation, this appears to be a bug in libevent.
Setting EVENT_NOEVPORT=1 fixes tmux!
This might explain a secondary annoyance of bizarre lockup/hangs-until-timeouts when resizing the enclosing terminal over ssh
A random google hit which points to this being observed in opensolaris long ago would be:
https://forum.transmissionbt.com/viewtopic.php?t=6680&start=15

from smartos-live.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.