delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2002/09/05/16:42:51

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: <3D7789B3.6683CC0A@ieee.org>
Date: Thu, 05 Sep 2002 12:43:31 -0400
From: "Pierre A. Humblet" <Pierre DOT Humblet AT ieee DOT org>
X-Accept-Language: en,pdf
MIME-Version: 1.0
To: cygwin-developers AT cygwin DOT com
Subject: ld problem with latest cvs

Last night CVS running on NT4
ld (called from gcc -g myprog.c) crashes.
I tried on several simple programs, 
it works fine with the official dll.

The crash seems to occur toward the end of ld. 
a.exe is created OK and runs fine.

Unfortunately I can't pursue this right now and I will take off in 
about 1/2 hour, until Sunday eve/Monday. Any quick question?

Pierre

  632 8362774 [main] ld 805 mount_info::conv_to_win32_path: conv_to_win32_path (/h/admin/a.exe)
  427 8363201 [main] ld 805 mount_info::cygdrive_win32_path: src '/h/admin/a.exe', dst
'h:\admin\a.exe'
  340 8363541 [main] ld 805 set_flags: flags: binary (0x2)
  306 8363847 [main] ld 805 mount_info::conv_to_win32_path: src_path /h/admin/a.exe, dst
h:\admin\a.exe, flags 0x22, rc 0
 6073 8369920 [main] ld 805 symlink_info::check: not a symlink
  547 8370467 [main] ld 805 symlink_info::check: 0 = symlink.check (h:\admin\a.exe, 0x22F658) (0x22)
  335 8370802 [main] ld 805 path_conv::check: root_dir(h:\), this->path(h:\admin\a.exe),
set_has_acls(8)
  379 8371181 [main] ld 805 cwdstuff::get: posix /h/admin
  331 8371512 [main] ld 805 cwdstuff::get: (h:\admin) = cwdstuff::get (0x22F3B8, 260, 0, 0), errno 0
 5219 8376731 [main] ld 805 set_file_attribute: 0 = set_file_attribute (a.exe, 11054, 10513, 0x1ED)
 4969 8381700 [main] ld 805 chmod: 0 = chmod (a.exe, 0x1ED)
 1922 8383622 [main] ld 805 handle_exceptions: In cygwin_except_handler exc 0xC0000005 at 0x610975AB
sp 0x22FDE0
  336 8383958 [main] ld 805 handle_exceptions: In cygwin_except_handler sig = 11 at 0x610975AB
  373 8384331 [main] ld 805 handle_exceptions: In cygwin_except_handler calling 0x0

> cat ld.exe.stackdump 
Exception: STATUS_ACCESS_VIOLATION at eip=610975AB
eax=00000400 ebx=0A01A1C4 ecx=0049B9B0 edx=61097570 esi=00000001 edi=0A01A1C4
ebp=0022FDF8 esp=0022FDE0 program=e:\bin\ld.exe
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame     Function  Args
0022FDF8  610975AB  (0A01A1C4, 0A014118, 00000001, 0022FE38)
0022FE38  610A1AA8  (610AD030, 61097570, 0022FE68, 61004657)
0022FE58  610A1EA3  (610AD030, 00065C01, 0022FE98, 6109726E)
0022FE98  61097291  (00000000, 0041F3E7, 0022FEF4, 0041F21C)
0022FEA8  00486ADC  (00000000, 616145FC, 0022FF00, 61067A73)
0022FEF4  0041F21C  (00000010, 616145FC, 0A010288, 00000010)
0022FF40  61005B7D  (00000000, 00000000, 00000000, 83658FE8)
0022FF70  61005E86  (0041E910, 00000000, 0022FF90, 00497C81)
0022FF90  61005EC5  (00000000, 00000000, 00000246, 8011748B)
0022FFB0  00497B62  (0041E910, 037F0009, 0022FFF0, 77F1BA06)
0022FFC0  0040103C  (00000000, 00000000, 7FFDF000, 7FFDF000)
0022FFF0  77F1BA06  (00401000, 00000000, 000000B0, 00000100)
End of stack trace

- Raw text -


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