Comment 11 for bug 902043

Revision history for this message
In , Karel (karel-redhat-bugs) wrote :

Thank you for the backtraces.

As for the backtrace from comment #2, it would help us to know which gethostname() call it is. One gethostbyname() call is used in function
make-network-process in src/process.c, and one in function socket_connection in lib-src/pop.c.

make-network-process is used in Emacs server code in the server-start function for (re)starting the server.

It's also used in ERC, Gnus, Tramp etc. If we'd know which part of Emacs calls it when it hangs, it would be easier find a reliable reproducer.

Which network libraries do you use in Emacs?

It seems Emacs would hang even when not run in server-client mode (?)

The backtrace from comment #3 seems to be the same as for fully functional Emacs server.