Hi all again,

In order to add some more information about what happens when I start
emacs and I don't change to its assigned workspace, an 'strace -p `pidof
emacs`' repeats and repeats this kind of output:

-----------------------------------------------------------
--- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} ---
rt_sigreturn({mask=[]})                 = 1
recvmsg(8, {msg_name(0)=NULL, 
msg_iov(1)=[{"\1\1\275\213\0\0\0\0\"\0\300\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(8, 0x7fff63453840, 0)           = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(8, 0x7fff63453840, 0)           = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=8, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=8, 
revents=POLLOUT}])
writev(8, [{"+\1\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=8, events=POLLIN}], 1, 4294967295) = 1 ([{fd=8, revents=POLLIN}])
--- SIGIO {si_signo=SIGIO, si_code=SI_KERNEL} ---
rt_sigreturn({mask=[]})                 = 1
recvmsg(8, {msg_name(0)=NULL, 
msg_iov(1)=[{"\1\1\276\213\0\0\0\0\"\0\300\1\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0",
 4096}], msg_controllen=0, msg_flags=0}, 0) = 32
recvmsg(8, 0x7fff63453870, 0)           = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(8, 0x7fff63453870, 0)           = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(8, 0x7fff634536c0, 0)           = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=5, events=POLLIN}, {fd=7, events=POLLIN}, {fd=8, events=POLLIN}, 
{fd=11, events=POLLIN}], 4, 0) = 0 (Timeout)
recvmsg(8, 0x7fff634538c0, 0)           = -1 EAGAIN (Resource temporarily 
unavailable)
recvmsg(8, 0x7fff63453890, 0)           = -1 EAGAIN (Resource temporarily 
unavailable)
poll([{fd=8, events=POLLIN|POLLOUT}], 1, 4294967295) = 1 ([{fd=8, 
revents=POLLOUT}])
writev(8, [{"+\1\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
poll([{fd=8, events=POLLIN}], 1, 4294967295) = 1 ([{fd=8, revents=POLLIN}])
--------------------------------------------------------------

And the output of 'ls -l /proc/`pidof emacs`/fd/8' is:

/proc/`pidof emacs`/fd/8 -> socket:[119884]

For fd=5,11 it also says socket:[something] and fd=7 says
anon_inode:[eventfd]

Antonio

> El Tue, 28 Apr 2015 11:57:21 +0200
> Fabian Keil <freebsd-lis...@fabiankeil.de> escribio:
> 
> > I've observed similar behaviour as a result of the i3 config line:
> > 
> > | exec --no-startup-id i3-msg 'workspace 4; exec emacs; workspace 1'
> > 
> > My workaround is to drop the "workspace 1", otherwise emacs
> > busy-loops on fd 6 (socket /tmp/.X11-unix/X0) until I switch to its
> > workspace and wait for the window to be rendered.
> > 
> > I don't use chromium (not enough RAM to build it).
> > 
> > Fabian
> 
> Hi Fabian!
> 
> I think that this is the behaviour I've seen with emacs and chromium.
> Thank's for your response...at least I'm not alone 8-)
> 
> Antonio

Reply via email to