[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#229566: xterm fails to start with EINVAL



On Wed, Jan 28, 2004 at 11:37:39PM -0500, Branden Robinson wrote:
 
> Don Armstrong and I both have PowerPC machines, but he experiences the
> problem, and I don't.
> 
> I prepared an unstripped, unoptimized, trace-enabled xterm binary for
> PowerPC and Don and I each produced xterm Traces and system call
> straces.
> 
> Hopefully these will be of some use in tracking down the bug.

They seem to give some hints.  Your trace shows the process-ids, no timestamps
and Don's doesn't show process-ids.  But stripping away that column, I can see
that his process is (I'm guessing) running on a network connection while yours
is local machine (that's guessing by looking at some of the calls they make). 
His is getting occasional EAGAIN errno's reading from the pty (perhaps because
it's slower).  I don't see any detail from the subprocess on his - perhaps it
doesn't use the -f option of strace.  Anyway, it seems that the failure is
on the child process, since I don't see a call on the parent side that fails.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net




Reply to: