delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/02/18/09:37:56

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs
Date: Wed, 18 Feb 2004 09:36:58 -0500 (EST)
From: Igor Pechtchanski <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Thomas Mellman <tmellman AT yahoo DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: ftp bug report
In-Reply-To: <20040218102114.66049.qmail@web14306.mail.yahoo.com>
Message-ID: <Pine.GSO.4.56.0402180933330.5630@slinky.cs.nyu.edu>
References: <20040218102114 DOT 66049 DOT qmail AT web14306 DOT mail DOT yahoo DOT com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 2.39

On Wed, 18 Feb 2004, Thomas Mellman wrote:

> Re: ftp crash
>   I tried to debug it with gdb but for some reason that I don't
>   understand, it hangs when run.
>
>   Nevertheless, using gdb to get the symbols (which appear to
>   be correct) and the ftp.exe.stackdump, I believe that I have
>   localized the problem to the call to dataconn() in recvrequest().
> [snip]
>   The funny thing is that the datacon() routine is in ftp.c, at
>
>   Local exec file:
>         `/opt/pub/inetutils-1.3.2-25/ftp/ftp.exe', file type pei-i386.
>         Entry point: 0x401000
>         0x00401000 - 0x0040cb04 is .text
>         0x0040d000 - 0x0040e280 is .data
>         0x0040f000 - 0x00411310 is .bss
>         0x00412000 - 0x00412ba4 is .idata
>
>   But the "entry point" for dataconn is somewhere completely different:
>
>     Exception: STATUS_ACCESS_VIOLATION at eip=610AB030
>     eax=611489F4 ebx=00000038 ecx=7070736D edx=611489F4 esi=0A045018 edi=000001B0
>     ebp=0022E9E8 esp=0022E9C8 program=D:\Programme\pub\inetutils-1.3.2-25\ftp\ftp.exe
>     cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
>     Stack trace:
>     Frame     Function  Args
> [snip]
>     0022EDB8  61086211  (00401083, 00405EDB, 0A044B70, 00000001)
>
>                   ^ - dataconn?
>   recvrequest - v
>
>     0022EE88  00402E15  (00405EDB, 0A045258, 0A044B70, 00405E3C)
> [snip]
>     End of stack trace (more stack frames may be present)
>
>   Or is these frames starting at 0x22edb8 (0x61086211) some kind
>   of an interrupt?
>
>   Oh, perhaps the dataconn stack frame got lost somehow.  Anyway,
> [strace output snipped]

0x61000000 is the base address for cygwin1.dll, IIRC.
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha AT cs DOT nyu DOT edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor AT watson DOT ibm DOT com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski, Ph.D.
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster."  -- Patrick Naughton

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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