delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2001/09/23/11:59:53

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-developers-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-developers-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin-developers AT sources DOT redhat DOT com
To: cygdev <cygwin-developers AT cygwin DOT com>
Subject: Re: [SHOWSTOPPER] `man man' causes access violation.
References: <20010922131333 DOT A2838 AT redhat DOT com> <s1s66aaq9el DOT fsf AT jaist DOT ac DOT jp>
<20010923164348 DOT G17037 AT cygbert DOT vinschen DOT de>
<s1s3d5eq76z DOT fsf AT jaist DOT ac DOT jp>
<20010923171357 DOT H17037 AT cygbert DOT vinschen DOT de>
Mime-Version: 1.0 (generated by tm-edit 7.106)
From: Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
Date: 24 Sep 2001 00:59:39 +0900
In-Reply-To: Corinna Vinschen's message of Sun, 23 Sep 2001 17:13:57 +0200
Message-ID: <s1s1ykxrj84.fsf@jaist.ac.jp>
Lines: 36
X-Mailer: Gnus v5.3/Emacs 19.34

>>> On Sun, 23 Sep 2001 17:13:57 +0200
>>> Corinna Vinschen <vinschen AT redhat DOT com> said:

> It doesn't happen for me.  Could you debug that with gdb?

(gdb) where
#0  0x61002679 in cstrdup (s=0x240ea24 <Address 0x240ea24 out of bounds>)
    at ../../../../winsup/cygwin/cygheap.cc:349
#1  0x610a91c8 in fhandler_base::operator= (this=0x6146616c, x=@0x614626fc)
    at ../../../../winsup/cygwin/fhandler.cc:41
#2  0x61009255 in dtable::dup_worker (this=0x614600d4, oldfh=0x614626fc)
    at ../../../../winsup/cygwin/dtable.cc:353
#3  0x6100a00d in dtable::vfork_child_dup (this=0x614600d4)
    at ../../../../winsup/cygwin/dtable.cc:566
#4  0x6102f69b in vfork () at ../../../../winsup/cygwin/fork.cc:721
#5  0x00402a3f in _size_of_stack_reserve__ ()
#6  0x00401d90 in _size_of_stack_reserve__ ()
#7  0x00401ce5 in _size_of_stack_reserve__ ()
...
(gdb) up
#1  0x610a91c8 in fhandler_base::operator= (this=0x6146616c, x=@0x614626fc)
    at ../../../../winsup/cygwin/fhandler.cc:41
41        win32_path_name = x.win32_path_name ? cstrdup (x.win32_path_name) : NULL;
(gdb) p x
$3 = (fhandler_base &) @0x614626fc: {status = 1082241040, cb = 60,
  access = -2147483648, io_handle = 0x8c, namehash = 259195384,
  openflags = 65536, rabuf = 0x0, ralen = 0, raixget = 0, raixput = 0,
  rabuflen = 0, unix_path_name = 0x610b1a64 "some disk file",
  win32_path_name = 0x240ea24 <Address 0x240ea24 out of bounds>,
  open_status = 1082241040, _vptr$ = 0x610af980}
(gdb)

____
  | AIST      Kazuhiro Fujieda <fujieda AT jaist DOT ac DOT jp>
  | HOKURIKU  Center for Information Science
o_/ 1990      Japan Advanced Institute of Science and Technology

- Raw text -


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