delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/01/16/23:23:36

Mailing-List: contact cygwin-developers-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT cygwin DOT com>
List-Help: <mailto:cygwin-developers-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT cygwin DOT com
Delivered-To: mailing list cygwin-developers AT cygwin DOT com
Message-ID: <18cf01c19f0e$13242920$0200a8c0@lifelesswks>
From: "Robert Collins" <robert DOT collins AT itdomain DOT com DOT au>
To: <cygwin-developers AT cygwin DOT com>
References: <18c301c19f0c$7176a770$0200a8c0 AT lifelesswks> <20020117041203 DOT GA5805 AT redhat DOT com>
Subject: Re: tty and the cygwin server
Date: Thu, 17 Jan 2002 15:18:52 +1100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 6.00.2600.0000
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
X-OriginalArrivalTime: 17 Jan 2002 04:19:52.0998 (UTC) FILETIME=[36272C60:01C19F0E]

===
----- Original Message -----
From: "Christopher Faylor" <cgf AT redhat DOT com>

> Probably it is looking like stdin (the pty) is being closed for some
> reason.  That seems to be what's happening from the strace.  Or it has
> received a signal?  You should be able to attach to the process via
gdb
> and watch it happen.

heh. debug output help needed (I feel like a fr8**ing newbie).

(gdb) attach 3648
Attaching to program `/bin/sh.exe', process 3648
[Switching to thread 3648.0xe14]
(gdb) step
Single stepping until exit from function _system_dlls__,
which has no line number information.

Program exited with code 0200400.

                      ^ ^^^^^^^^^^^^
How should this code be interpreted?
Rob

(gdb) attach 2652
Attaching to program `/bin/sh.exe', process 2652
[Switching to thread 2652.0xbb0]
(gdb) stepi
0x77f970a4 in _system_dlls__ ()
(gdb)
0x77f970ad in _system_dlls__ ()
(gdb)
0x77f970b1 in _system_dlls__ ()
(gdb)
0x77f970b3 in _system_dlls__ ()
(gdb)
0x77fa4828 in _system_dlls__ ()
(gdb)
0x77fa482e in _system_dlls__ ()
(gdb)
0x77fa4832 in _system_dlls__ ()
(gdb)
0x77fa4839 in _system_dlls__ ()
(gdb)
0x77fa483b in _system_dlls__ ()
(gdb)
0x77f7f3d3 in _system_dlls__ ()
(gdb)
0x77f7f3d8 in _system_dlls__ ()
(gdb)
0x77f7f3dd in _system_dlls__ ()
(gdb)
0x7ffe0300 in ?? ()
(gdb)
0x7ffe0302 in ?? ()
(gdb)

Program exited with code 0200400.



- Raw text -


  webmaster     delorie software   privacy  
  Copyright 2019   by DJ Delorie     Updated Jul 2019