Mail Archives: cygwin/2000/06/02/08:10:06
------=_NextPart_000_00C6_01BFCC93.072CD260
Content-Type: multipart/alternative;
boundary="----=_NextPart_001_00C7_01BFCC93.072CD260"
------=_NextPart_001_00C7_01BFCC93.072CD260
Content-Type: text/plain;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
Hello anybody who can help,
CygwinDLL version 1.1 and version B20.1
Further to my email on 26-May-00 I have tried a different approach.
However, I seem to get similar results.
My main problem is trying to link Visual C++ compatible C libraries=20
developed by National Instruments with a GNU compiled dll which uses=20
the Cygwin Win API dll (version B20.1).
I tried the 'How do I link against .lib files' appraoch but that did not =
work because I could not extract all the objects out of all the =
libraries.
One of the libraries seem to have several references to a single dll.
I can only seem to extract the first reference.
Having satisfied myself that GNU would understand the NI .lib files if I
simply by renaming them. I tried this approach. It linked, however, =
when
I tried to execute the program, it fell over before the first line of =
code
with a STATUS_ACCESS_VIOLATION.
Beacause the NI libraries are extensive I tried a different approach.
This was to explicitly link to the GNU dll in a Visual C++ developed =
executable.
This was possible because the dll had a C++ class interface.
I cannot explicitly link to it without some knowledge of the class, in =
order to=20
type cast the class methods into method pointers.
My next approach was to provide a further GNU developed wrapper dll =
which had a
pure C style interface to the other dll. I could then expilicitly link =
to this in my
Visual C++ executable.
This works fine until I actually try to invoke a function pointer =
retunred by=20
GetProcAddress. It complains about an ACCESS VIOLATION to the NTDLL.DLL.
This dll is called by the Cygwin1.dll which is being called by my =
wrapper dll.
I have written a simple program in GNU which links to my wrapper dll =
implicitly.
This hangs when trying to invoke the first function in the dll.
I have also written a simple program which includes the dll object in =
its build.
It also hangs when trying to access the first function call in the dll =
object.
I guess these are hanging for the same reason.
I have provided the strace output for each.
The dll test program strace output is named dll_strace.txt and the non =
dll
version is called main_strace.txt.
I have also provided the cygcheck output for each. Similarly named.
I linked all these programs with Cygwin 1.1.0, which appears to use a =
later
version of the Cygwin1.dll to the dll I am providing a C wrapper for.
I would prefer to be able to explicitly link the GNU wrapper dll to a =
Visual C++
program. This appears to me to be the simplest solution, if only I could =
find it.
Could there be a bug with the new Cygwin1.dll and its interaction with =
the NTDLL.DLL.
Would it be best to compile all the dll's and the executable with the =
same version
of the Cygwin1.dll.
I am going to download B20.1 full.exe and I will get back to you.
If anyone can help then I would be very grateful.
Cheers,
Robert Rose.
***********************************************************************
This mail is intended only for the addressee shown above.
It may contain information that is privileged, confidential
or otherwise protected from disclosure. Any review,
publication, dissemination, copying or use of this mail or
its contents by persons other than the addressee is strictly
prohibited, unless prior authorisation is received from MASS.
If you have recieved this mail in error please notify MASS
immediately by telephone and delete the mail returning any hard
copies in the post to MASS at the address below.
Mass Consultants Ltd, Grove House, Rampley Lane, Little Paxton,
St Neots, Cambs, PE19 4EL Tel: 01480 222600
------=_NextPart_001_00C7_01BFCC93.072CD260
Content-Type: text/html;
charset="Windows-1252"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Dwindows-1252" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2919.6307" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT size=3D2>Hello anybody who can help,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>CygwinDLL version 1.1 and version B20.1</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Further to my email on 26-May-00 I have tried a =
different=20
approach.<BR>However, I seem to get similar results.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>My main problem is trying to link Visual C++ =
compatible C=20
libraries <BR>developed by National Instruments with a GNU compiled dll =
which=20
uses <BR>the Cygwin Win API dll (version B20.1).</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I tried the 'How do I link against .lib files' =
appraoch but=20
that did not <BR>work because I could not extract all the objects out of =
all the=20
libraries.<BR>One of the libraries seem to have several references to a =
single=20
dll.<BR>I can only seem to extract the first reference.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Having satisfied myself that GNU would understand =
the NI .lib=20
files if I<BR> simply by renaming them. I tried this approach. It =
linked,=20
however, when<BR>I tried to execute the program, it fell over before the =
first=20
line of code<BR>with a STATUS_ACCESS_VIOLATION.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Beacause the NI libraries are extensive I tried a =
different=20
approach.<BR>This was to explicitly link to the GNU dll in a Visual C++=20
developed executable.<BR>This was possible because the dll had a C++ =
class=20
interface.<BR>I cannot explicitly link to it without some knowledge of =
the=20
class, in order to <BR>type cast the class methods into method=20
pointers.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>My next approach was to provide a further GNU =
developed=20
wrapper dll which had a<BR>pure C style interface to the other dll. I =
could then=20
expilicitly link to this in my<BR>Visual C++ executable.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>This works fine until I actually try to invoke a =
function=20
pointer retunred by <BR>GetProcAddress. It complains about an ACCESS =
VIOLATION=20
to the NTDLL.DLL.<BR>This dll is called by the Cygwin1.dll which is =
being called=20
by my wrapper dll.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I have written a simple program in GNU which links =
to my=20
wrapper dll implicitly.<BR>This hangs when trying to invoke the first =
function=20
in the dll.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I have also written a simple program which includes =
the dll=20
object in its build.<BR>It also hangs when trying to access the first =
function=20
call in the dll object.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I guess these are hanging for the same =
reason.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I have provided the strace output for each.<BR>The =
dll test=20
program strace output is named dll_strace.txt and the non dll<BR>version =
is=20
called main_strace.txt.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I have also provided the cygcheck output for each. =
Similarly=20
named.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I linked all these programs with Cygwin 1.1.0, which =
appears=20
to use a later<BR>version of the Cygwin1.dll to the dll I am providing a =
C=20
wrapper for.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>I would prefer to be able to explicitly link the GNU =
wrapper=20
dll to a Visual C++<BR>program. This appears to me to be the simplest =
solution,=20
if only I could find it.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Could there be a bug with the new Cygwin1.dll and =
its=20
interaction with the NTDLL.DLL.<BR>Would it be best to compile all the =
dll's and=20
the executable with the same version<BR>of the Cygwin1.dll.</FONT></DIV>
<DIV><FONT size=3D2>I am going to download B20.1 full.exe and I will get =
back to=20
you.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>If anyone can help then I would be very =
grateful.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Cheers,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Robert Rose.<BR></FONT></DIV>
<DIV><FONT=20
size=3D2>****************************************************************=
*******</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>This mail is intended only for the addressee shown=20
above.<BR>It may contain information that is privileged, =
confidential<BR>or=20
otherwise protected from disclosure. Any review,<BR>publication,=20
dissemination, copying or use of this mail or<BR>its contents by persons =
other=20
than the addressee is strictly<BR>prohibited, unless prior authorisation =
is=20
received from MASS.<BR>If you have recieved this mail in error please =
notify=20
MASS<BR>immediately by telephone and delete the mail returning any=20
hard<BR>copies in the post to MASS at the address below.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=3D2>Mass Consultants Ltd, Grove House, Rampley Lane, =
Little=20
Paxton,<BR>St Neots, Cambs, PE19 4EL Tel: 01480=20
222600</FONT></DIV></BODY></HTML>
------=_NextPart_001_00C7_01BFCC93.072CD260--
------=_NextPart_000_00C6_01BFCC93.072CD260
Content-Type: text/plain;
name="Main_strace.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Main_strace.txt"
**********************************************
Program name: c:\working\vmetrodemo\mdrdll\mdrdll\bin\cMdrApi.exe
App version: 1001.0, api: 0.17
DLL version: 1001.0, api: 0.17
DLL build: 2000-03-01 00:15:19
OS version: Windows NT-4.0
Date/Time: 2000-06-02 10:50:05
**********************************************
3952 6808 [main] cMdrApi 1016 environ_init: =
!C:=3DC:\WINNT\Profiles\rrose.000\Desktop
684 7492 [main] cMdrApi 1016 environ_init: COMPUTERNAME=3DMASSTOR1
1065 8557 [main] cMdrApi 1016 environ_init: =
COMSPEC=3DC:\WINNT\system32\cmd.exe
880 9437 [main] cMdrApi 1016 environ_init: HOMEDRIVE=3DC:
614 10051 [main] cMdrApi 1016 environ_init: HOMEPATH=3D\
568 10619 [main] cMdrApi 1016 environ_init: HOSTNAME=3DMASSTOR1
556 11175 [main] cMdrApi 1016 environ_init: HOSTTYPE=3Di686
573 11748 [main] cMdrApi 1016 environ_init: LOGONSERVER=3D\\HOMER
605 12353 [main] cMdrApi 1016 environ_init: =
MACHTYPE=3Di686-pc-cygwin
558 12911 [main] cMdrApi 1016 environ_init: MAKE_MODE=3Dunix
558 13469 [main] cMdrApi 1016 environ_init: NUMBER_OF_PROCESSORS=3D1
606 14075 [main] cMdrApi 1016 environ_init: =
OLDPWD=3D/cygdrive/c/WINNT/Profiles/rrose.000/Desktop
579 14654 [main] cMdrApi 1016 environ_init: =
OS2LIBPATH=3DC:\WINNT\system32\os2\dll;
577 15231 [main] cMdrApi 1016 environ_init: OS=3DWindows_NT
589 15820 [main] cMdrApi 1016 environ_init: OSTYPE=3Dcygwin
578 16398 [main] cMdrApi 1016 getwinenv: can't set native for =
PATH=3D since no environ yet
649 17047 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\CygwinGNU\bin, keep-rel)
362 17409 [main] cMdrApi 1016 normalize_win32_path: c:\CygwinGNU\bin =
=3D normalize_win32_path (c:\CygwinGNU\bin)
361 17770 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
/usr/bin =3D conv_to_posix_path (c:\CygwinGNU\bin)
316 18086 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\CygwinGNU\usr\local\bin, keep-rel)
316 18402 [main] cMdrApi 1016 normalize_win32_path: =
c:\CygwinGNU\usr\local\bin =3D normalize_win32_path =
(c:\CygwinGNU\usr\local\bin)
323 18725 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
/usr/local/bin =3D conv_to_posix_path (c:\CygwinGNU\usr\local\bin)
315 19040 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program Files\Reflection, keep-rel)
317 19357 [main] cMdrApi 1016 normalize_win32_path: C:\Program =
Files\Reflection =3D normalize_win32_path (C:\Program Files\Reflection)
767 20124 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
/cygdrive/c/Program Files/Reflection =3D conv_to_posix_path (C:\Program =
Files\Reflection)
417 20541 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program Files\ReflectionDemo, keep-rel)
323 20864 [main] cMdrApi 1016 normalize_win32_path: C:\Program =
Files\ReflectionDemo =3D normalize_win32_path (C:\Program =
Files\ReflectionDemo)
329 21193 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
/cygdrive/c/Program Files/ReflectionDemo =3D conv_to_posix_path =
(C:\Program Files\ReflectionDemo)
325 21518 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\WINNT\system32, keep-rel)
314 21832 [main] cMdrApi 1016 normalize_win32_path: =
C:\WINNT\system32 =3D normalize_win32_path (C:\WINNT\system32)
336 22168 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
/cygdrive/c/WINNT/system32 =3D conv_to_posix_path (C:\WINNT\system32)
317 22485 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\WINNT, keep-rel)
310 22795 [main] cMdrApi 1016 normalize_win32_path: C:\WINNT =3D =
normalize_win32_path (C:\WINNT)
314 23109 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
/cygdrive/c/WINNT =3D conv_to_posix_path (C:\WINNT)
312 23421 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Enabler\Runtime, keep-rel)
313 23734 [main] cMdrApi 1016 normalize_win32_path: =
C:\Enabler\Runtime =3D normalize_win32_path (C:\Enabler\Runtime)
318 24052 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
/cygdrive/c/Enabler/Runtime =3D conv_to_posix_path (C:\Enabler\Runtime)
350 24402 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\measurementstudiodemo\VXIPNP\WINNT\BIN, keep-rel)
321 24723 [main] cMdrApi 1016 normalize_win32_path: =
c:\measurementstudiodemo\VXIPNP\WINNT\BIN =3D normalize_win32_path =
(c:\measurementstudiodemo\VXIPNP\WINNT\BIN)
331 25054 [main] cMdrApi 1016 mount_info::conv_to_posix_path: =
/cygdrive/c/measurementstudiodemo/VXIPNP/WINNT/BIN =3D =
conv_to_posix_path (c:\measurementstudiodemo\VXIPNP\WINNT\BIN)
902 25956 [main] cMdrApi 1016 win_env::add_cache: posix =
/usr/bin:/usr/local/bin:/cygdrive/c/Program =
Files/Reflection:/cygdrive/c/Program =
Files/ReflectionDemo:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdri=
ve/c/Enabler/Runtime:/cygdrive/c/measurementstudiodemo/VXIPNP/WINNT/BIN
339 26295 [main] cMdrApi 1016 win_env::add_cache: native =
PATH=3Dc:\CygwinGNU\bin;c:\CygwinGNU\usr\local\bin;C:\Program =
Files\Reflection;C:\Program =
Files\ReflectionDemo;C:\WINNT\system32;C:\WINNT;C:\Enabler\Runtime;c:\mea=
surementstudiodemo\VXIPNP\WINNT\BIN
333 26628 [main] cMdrApi 1016 posify: env var converted to =
PATH=3D/usr/bin:/usr/local/bin:/cygdrive/c/Program =
Files/Reflection:/cygdrive/c/Program =
Files/ReflectionDemo:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdri=
ve/c/Enabler/Runtime:/cygdrive/c/measurementstudiodemo/VXIPNP/WINNT/BIN
610 27238 [main] cMdrApi 1016 environ_init: =
PATH=3D/usr/bin:/usr/local/bin:/cygdrive/c/Program =
Files/Reflection:/cygdrive/c/Program =
Files/ReflectionDemo:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdri=
ve/c/Enabler/Runtime:/cygdrive/c/measurementstudiodemo/VXIPNP/WINNT/BIN
633 27871 [main] cMdrApi 1016 environ_init: =
PATHEXT=3D.COM;.EXE;.BAT;.CMD
579 28450 [main] cMdrApi 1016 environ_init: =
PROCESSOR_ARCHITECTURE=3Dx86
575 29025 [main] cMdrApi 1016 environ_init: =
PROCESSOR_IDENTIFIER=3Dx86 Family 6 Model 3 Stepping 4, GenuineIntel
600 29625 [main] cMdrApi 1016 environ_init: PROCESSOR_LEVEL=3D6
573 30198 [main] cMdrApi 1016 environ_init: =
PROCESSOR_REVISION=3D0304
582 30780 [main] cMdrApi 1016 environ_init: PROMPT=3D$P$G
575 31355 [main] cMdrApi 1016 environ_init: =
PWD=3D/cygdrive/c/working/vmetrodemo/mdrdll/mdrdll/bin
578 31933 [main] cMdrApi 1016 environ_init: SHELL=3D/bin/sh
574 32507 [main] cMdrApi 1016 environ_init: SHLVL=3D1
587 33094 [main] cMdrApi 1016 environ_init: SYSTEMDRIVE=3DC:
574 33668 [main] cMdrApi 1016 environ_init: SYSTEMROOT=3DC:\WINNT
573 34241 [main] cMdrApi 1016 environ_init: TEMP=3DC:\TEMP
590 34831 [main] cMdrApi 1016 environ_init: TERM=3Dcygwin
572 35403 [main] cMdrApi 1016 environ_init: TMP=3DC:\TEMP
574 35977 [main] cMdrApi 1016 environ_init: USERDOMAIN=3DSWDEVSECRET
588 36565 [main] cMdrApi 1016 environ_init: USERNAME=3Drrose
575 37140 [main] cMdrApi 1016 environ_init: =
USERPROFILE=3DC:\WINNT\Profiles\rrose.000
578 37718 [main] cMdrApi 1016 environ_init: =
VXIPNPPATH=3Dc:\measurementstudiodemo\VXIPNP
594 38312 [main] cMdrApi 1016 environ_init: WINDIR=3DC:\WINNT
573 38885 [main] cMdrApi 1016 environ_init: _=3D/usr/bin/strace
444 39329 [main] cMdrApi 1016 pinfo_init: pid 1016, pgid 1016
1157 40486 [main] cMdrApi 1016 hinfo::extend: size 32, fds 0xA040918
837 41323 [main] cMdrApi 1016 sigproc_init: process/signal handling =
enabled(1)
1337 42660 [main] cMdrApi 1016 hinfo::build_fhandler: /dev/conin - cb =
128, fd 0, fh 0xA0409A0
335 42995 [main] cMdrApi 1016 fhandler_base::set_io_handle: set =
handle to 0xB
330 43325 [main] cMdrApi 1016 fhandler_base::init: created new =
fhandler_base for handle 0xB
406 43731 [main] cMdrApi 1016 open_shared: name (null), shared =
0x14040000, h 0x10
357 44088 [main] cMdrApi 1016 fhandler_base::set_io_handle: set =
handle to 0xFFFFFFFF
1220 45308 [main] cMdrApi 1016 fhandler_base::set_io_handle: set =
handle to 0xF
499 45807 [main] cMdrApi 1016 fhandler_termios::set_ctty: attached =
tty1073741824 sid 1016, pid 1016, tty->pgid 1016, tty->sid 1016
333 46140 [main] cMdrApi 1016 fhandler_termios::set_ctty: resetting =
tty1073741824 sid. Was 1016, now 1016. pgid was 1016, now 1016.
377 46517 [main] cMdrApi 1016 fhandler_console::open: opened conin$ =
0xF, conout$ 0x13
408 46925 [main] cMdrApi 1016 fhandler_console::output_tcsetattr: 0 =
=3D tcsetattr (,14040018) (ENABLE FLAGS 3) (lflag 107 oflag 9)
328 47253 [main] cMdrApi 1016 hinfo::init_std_file_from_handle: fd =
0, handle 0xB
1549 48802 [sig] cMdrApi 1016 wait_sig: sigcatch_nonmain 0x4C
367 49169 [sig] cMdrApi 1016 wait_sig: Ready. dwProcessid 197
13422 62591 [main] cMdrApi 1016 hinfo::build_fhandler: some disk file =
- cb 64, fd 1, fh 0xA040AB8
357 62948 [main] cMdrApi 1016 fhandler_base::set_io_handle: set =
handle to 0x50
326 63274 [main] cMdrApi 1016 fhandler_base::init: created new =
fhandler_base for handle 0x50
328 63602 [main] cMdrApi 1016 hinfo::init_std_file_from_handle: fd =
1, handle 0x50
1261 64863 [main] cMdrApi 1016 hinfo::build_fhandler: /dev/conout - =
cb 128, fd 2, fh 0xA040BA0
325 65188 [main] cMdrApi 1016 fhandler_base::set_io_handle: set =
handle to 0x17
309 65497 [main] cMdrApi 1016 fhandler_base::init: created new =
fhandler_base for handle 0x17
311 65808 [main] cMdrApi 1016 fhandler_base::set_io_handle: set =
handle to 0xFFFFFFFF
421 66229 [main] cMdrApi 1016 fhandler_base::set_io_handle: set =
handle to 0xB
485 66714 [main] cMdrApi 1016 fhandler_termios::set_ctty: attached =
tty1073741824 sid 1016, pid 1016, tty->pgid 1016, tty->sid 1016
345 67059 [main] cMdrApi 1016 fhandler_termios::set_ctty: resetting =
tty1073741824 sid. Was 1016, now 1016. pgid was 1016, now 1016.
339 67398 [main] cMdrApi 1016 fhandler_console::open: opened conin$ =
0xB, conout$ 0x2B
399 67797 [main] cMdrApi 1016 fhandler_console::output_tcsetattr: 0 =
=3D tcsetattr (,14040018) (ENABLE FLAGS 3) (lflag 107 oflag 9)
341 68138 [main] cMdrApi 1016 hinfo::init_std_file_from_handle: fd =
2, handle 0x17
635 68773 [main] cMdrApi 1016 build_argv: argv[0] =3D 'cMdrApi'
316 69089 [main] cMdrApi 1016 build_argv: argv[1] =3D '(null)'
312 69401 [main] cMdrApi 1016 DllList::initAll: call to =
DllList::initAll
409 69810 [main] cMdrApi 1016 dll_crt0_1: user_data->main 0x4010E0
383 70193 [main] cMdrApi 1016 sig_send: pid 1016, signal -2, its_me =
1
386 70579 [main] cMdrApi 1016 sig_send: Waiting for thiscomplete =
0x28
308 70887 [sig] cMdrApi 1016 wait_sig: awake
313 71200 [sig] cMdrApi 1016 wait_sig: processing signal -2
341 71541 [sig] cMdrApi 1016 wait_sig: looping
349 71890 [main] cMdrApi 1016 sig_send: returning 0 from sending =
signal -2
17104 88994 [main] cMdrApi 1016 internal_getlogin: Domain: SWDEVSECRET
442 89436 [main] cMdrApi 1016 internal_getlogin: Logon Server: HOMER
324 89760 [main] cMdrApi 1016 internal_getlogin: Windows Username: =
rrose
409 90169 [main] cMdrApi 1016 lookup_name: name : rrose
12221 102390 [main] cMdrApi 1016 lookup_name: sid : [1002]
393 102783 [main] cMdrApi 1016 internal_getlogin: Cygwins Username: =
rrose
392 103175 [main] cMdrApi 1016 _open: open (/etc/passwd, 0x0)
5665 108840 [main] cMdrApi 1016 hinfo::build_fhandler: some disk file =
- cb 64, fd 3, fh 0xA040E58
356 109196 [main] cMdrApi 1016 fhandler_disk_file::open: =
(/etc/passwd, 0x0)
357 109553 [main] cMdrApi 1016 mount_info::conv_to_win32_path: =
conv_to_win32_path (/etc/passwd)
334 109887 [main] cMdrApi 1016 normalize_posix_path: /etc/passwd =3D =
normalize_posix_path (/etc/passwd)
348 110235 [main] cMdrApi 1016 mount_info::conv_to_win32_path: =
c:\CygwinGNU\etc\passwd(rel), c:\CygwinGNU\etc\passwd(abs) 0x2(flags) =
=3D conv_to_win32_path (/etc/passwd)
664 110899 [main] cMdrApi 1016 symlink_check_one: GetFileAttributesA =
(c:\CygwinGNU\etc\passwd) failed
335 111234 [main] cMdrApi 1016 =
../../../../src/winsup/cygwin/path.cc:2134 seterrno: 2 (FILE_NOT_FOUND) =
-> 2
384 111618 [main] cMdrApi 1016 symlink_check_one: 0 =3D =
symlink_check_one (c:\CygwinGNU\etc\passwd, 0x240F5E5, 260) (0x2)
520 112138 [main] cMdrApi 1016 symlink_check_one: 0 =3D =
symlink_check_one (c:\CygwinGNU\etc, 0x240F5E5, 260) (0x240F53C)
1428 113566 [main] cMdrApi 1016 fhandler_base::open: =
(c:\CygwinGNU\etc\passwd, 0x0)
552 114118 [main] cMdrApi 1016 fhandler_base::open: -1 =3D =
CreateFileA (c:\CygwinGNU\etc\passwd, 0x80000000, 0x7, 0x61085940, 0x3, =
0x80, 0)
364 114482 [main] cMdrApi 1016 =
../../../../src/winsup/cygwin/fhandler.cc:369 seterrno: 2 =
(FILE_NOT_FOUND) -> 2
333 114815 [main] cMdrApi 1016 fhandler_base::open: 0 =3D =
fhandler_base::open (c:\CygwinGNU\etc\passwd, 0x0)
333 115148 [main] cMdrApi 1016 fhandler_disk_file::open: 0 =3D =
fhandler_disk_file::open (c:\CygwinGNU\etc\passwd, 0x0)
2870 118018 [main] cMdrApi 1016 _open: -1 =3D open (/etc/passwd, 0x0)
325 118343 [main] cMdrApi 1016 read_etc_passwd: Emulating /etc/passwd
3643 121986 [main] cMdrApi 1016 _open: open (/etc/group, 0x0)
5735 127721 [main] cMdrApi 1016 hinfo::build_fhandler: some disk file =
- cb 64, fd 3, fh 0xA040FC0
336 128057 [main] cMdrApi 1016 fhandler_disk_file::open: (/etc/group, =
0x0)
328 128385 [main] cMdrApi 1016 mount_info::conv_to_win32_path: =
conv_to_win32_path (/etc/group)
317 128702 [main] cMdrApi 1016 normalize_posix_path: /etc/group =3D =
normalize_posix_path (/etc/group)
328 129030 [main] cMdrApi 1016 mount_info::conv_to_win32_path: =
c:\CygwinGNU\etc\group(rel), c:\CygwinGNU\etc\group(abs) 0x2(flags) =3D =
conv_to_win32_path (/etc/group)
558 129588 [main] cMdrApi 1016 symlink_check_one: GetFileAttributesA =
(c:\CygwinGNU\etc\group) failed
346 129934 [main] cMdrApi 1016 =
../../../../src/winsup/cygwin/path.cc:2134 seterrno: 2 (FILE_NOT_FOUND) =
-> 2
333 130267 [main] cMdrApi 1016 symlink_check_one: 0 =3D =
symlink_check_one (c:\CygwinGNU\etc\group, 0x240F8B5, 260) (0x2)
524 130791 [main] cMdrApi 1016 symlink_check_one: 0 =3D =
symlink_check_one (c:\CygwinGNU\etc, 0x240F8B5, 260) (0x240F604)
1324 132115 [main] cMdrApi 1016 fhandler_base::open: =
(c:\CygwinGNU\etc\group, 0x0)
538 132653 [main] cMdrApi 1016 fhandler_base::open: -1 =3D =
CreateFileA (c:\CygwinGNU\etc\group, 0x80000000, 0x7, 0x61085940, 0x3, =
0x80, 0)
359 133012 [main] cMdrApi 1016 =
../../../../src/winsup/cygwin/fhandler.cc:369 seterrno: 2 =
(FILE_NOT_FOUND) -> 2
328 133340 [main] cMdrApi 1016 fhandler_base::open: 0 =3D =
fhandler_base::open (c:\CygwinGNU\etc\group, 0x0)
316 133656 [main] cMdrApi 1016 fhandler_disk_file::open: 0 =3D =
fhandler_disk_file::open (c:\CygwinGNU\etc\group, 0x0)
2848 136504 [main] cMdrApi 1016 _open: -1 =3D open (/etc/group, 0x0)
322 136826 [main] cMdrApi 1016 read_etc_group: Emulating /etc/group
6785 143611 [main] cMdrApi 1016 fhandler_disk_file::fstat: 1 =3D =
GetFileInformationByHandle (some disk file, 80)
891 144502 [main] cMdrApi 1016 fhandler_disk_file::fstat: 0 =3D fstat =
(, 0x240FB54) st_atime=3D3937834D st_size=3D14848, st_mode=3D0x81A4, =
st_ino=3D0, sizeof=3D64
357 144859 [main] cMdrApi 1016 _fstat: 0 =3D fstat (1, 240FB54)
1421 146280 [main] cMdrApi 1016 _write: write (1, 0xA041088, 38)
Welcome to my little dll test program
333 146613 [main] cMdrApi 1016 fhandler_base::write: after write, =
name some disk file, rpos 38
331 146944 [main] cMdrApi 1016 _write: 38 =3D write (1, 0xA041088, =
38)
------=_NextPart_000_00C6_01BFCC93.072CD260
Content-Type: text/plain;
name="Dll_strace.txt"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="Dll_strace.txt"
**********************************************
Program name: c:\working\vmetrodemo\mdrdll\mdrdll\bin\cMdrApi.exe
App version: 1001.0, api: 0.17
DLL version: 1001.0, api: 0.17
DLL build: 2000-03-01 00:15:19
OS version: Windows NT-4.0
Date/Time: 2000-06-02 10:52:05
**********************************************
3892 6690 [main] cMdrApi 1043 environ_init: =
!C:=3DC:\WINNT\Profiles\rrose.000\Desktop
743 7433 [main] cMdrApi 1043 environ_init: COMPUTERNAME=3DMASSTOR1
1097 8530 [main] cMdrApi 1043 environ_init: =
COMSPEC=3DC:\WINNT\system32\cmd.exe
825 9355 [main] cMdrApi 1043 environ_init: HOMEDRIVE=3DC:
563 9918 [main] cMdrApi 1043 environ_init: HOMEPATH=3D\
599 10517 [main] cMdrApi 1043 environ_init: HOSTNAME=3DMASSTOR1
572 11089 [main] cMdrApi 1043 environ_init: HOSTTYPE=3Di686
556 11645 [main] cMdrApi 1043 environ_init: LOGONSERVER=3D\\HOMER
554 12199 [main] cMdrApi 1043 environ_init: =
MACHTYPE=3Di686-pc-cygwin
631 12830 [main] cMdrApi 1043 environ_init: MAKE_MODE=3Dunix
579 13409 [main] cMdrApi 1043 environ_init: NUMBER_OF_PROCESSORS=3D1
577 13986 [main] cMdrApi 1043 environ_init: =
OLDPWD=3D/cygdrive/c/WINNT/Profiles/rrose.000/Desktop
599 14585 [main] cMdrApi 1043 environ_init: =
OS2LIBPATH=3DC:\WINNT\system32\os2\dll;
580 15165 [main] cMdrApi 1043 environ_init: OS=3DWindows_NT
593 15758 [main] cMdrApi 1043 environ_init: OSTYPE=3Dcygwin
597 16355 [main] cMdrApi 1043 getwinenv: can't set native for =
PATH=3D since no environ yet
657 17012 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\CygwinGNU\bin, keep-rel)
362 17374 [main] cMdrApi 1043 normalize_win32_path: c:\CygwinGNU\bin =
=3D normalize_win32_path (c:\CygwinGNU\bin)
343 17717 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
/usr/bin =3D conv_to_posix_path (c:\CygwinGNU\bin)
319 18036 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\CygwinGNU\usr\local\bin, keep-rel)
319 18355 [main] cMdrApi 1043 normalize_win32_path: =
c:\CygwinGNU\usr\local\bin =3D normalize_win32_path =
(c:\CygwinGNU\usr\local\bin)
325 18680 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
/usr/local/bin =3D conv_to_posix_path (c:\CygwinGNU\usr\local\bin)
316 18996 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program Files\Reflection, keep-rel)
318 19314 [main] cMdrApi 1043 normalize_win32_path: C:\Program =
Files\Reflection =3D normalize_win32_path (C:\Program Files\Reflection)
325 19639 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
/cygdrive/c/Program Files/Reflection =3D conv_to_posix_path (C:\Program =
Files\Reflection)
324 19963 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Program Files\ReflectionDemo, keep-rel)
320 20283 [main] cMdrApi 1043 normalize_win32_path: C:\Program =
Files\ReflectionDemo =3D normalize_win32_path (C:\Program =
Files\ReflectionDemo)
328 20611 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
/cygdrive/c/Program Files/ReflectionDemo =3D conv_to_posix_path =
(C:\Program Files\ReflectionDemo)
326 20937 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\WINNT\system32, keep-rel)
314 21251 [main] cMdrApi 1043 normalize_win32_path: =
C:\WINNT\system32 =3D normalize_win32_path (C:\WINNT\system32)
317 21568 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
/cygdrive/c/WINNT/system32 =3D conv_to_posix_path (C:\WINNT\system32)
320 21888 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\WINNT, keep-rel)
312 22200 [main] cMdrApi 1043 normalize_win32_path: C:\WINNT =3D =
normalize_win32_path (C:\WINNT)
316 22516 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
/cygdrive/c/WINNT =3D conv_to_posix_path (C:\WINNT)
315 22831 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
conv_to_posix_path (C:\Enabler\Runtime, keep-rel)
314 23145 [main] cMdrApi 1043 normalize_win32_path: =
C:\Enabler\Runtime =3D normalize_win32_path (C:\Enabler\Runtime)
318 23463 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
/cygdrive/c/Enabler/Runtime =3D conv_to_posix_path (C:\Enabler\Runtime)
349 23812 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
conv_to_posix_path (c:\measurementstudiodemo\VXIPNP\WINNT\BIN, keep-rel)
322 24134 [main] cMdrApi 1043 normalize_win32_path: =
c:\measurementstudiodemo\VXIPNP\WINNT\BIN =3D normalize_win32_path =
(c:\measurementstudiodemo\VXIPNP\WINNT\BIN)
333 24467 [main] cMdrApi 1043 mount_info::conv_to_posix_path: =
/cygdrive/c/measurementstudiodemo/VXIPNP/WINNT/BIN =3D =
conv_to_posix_path (c:\measurementstudiodemo\VXIPNP\WINNT\BIN)
885 25352 [main] cMdrApi 1043 win_env::add_cache: posix =
/usr/bin:/usr/local/bin:/cygdrive/c/Program =
Files/Reflection:/cygdrive/c/Program =
Files/ReflectionDemo:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdri=
ve/c/Enabler/Runtime:/cygdrive/c/measurementstudiodemo/VXIPNP/WINNT/BIN
343 25695 [main] cMdrApi 1043 win_env::add_cache: native =
PATH=3Dc:\CygwinGNU\bin;c:\CygwinGNU\usr\local\bin;C:\Program =
Files\Reflection;C:\Program =
Files\ReflectionDemo;C:\WINNT\system32;C:\WINNT;C:\Enabler\Runtime;c:\mea=
surementstudiodemo\VXIPNP\WINNT\BIN
344 26039 [main] cMdrApi 1043 posify: env var converted to =
PATH=3D/usr/bin:/usr/local/bin:/cygdrive/c/Program =
Files/Reflection:/cygdrive/c/Program =
Files/ReflectionDemo:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdri=
ve/c/Enabler/Runtime:/cygdrive/c/measurementstudiodemo/VXIPNP/WINNT/BIN
610 26649 [main] cMdrApi 1043 environ_init: =
PATH=3D/usr/bin:/usr/local/bin:/cygdrive/c/Program =
Files/Reflection:/cygdrive/c/Program =
Files/ReflectionDemo:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT:/cygdri=
ve/c/Enabler/Runtime:/cygdrive/c/measurementstudiodemo/VXIPNP/WINNT/BIN
616 27265 [main] cMdrApi 1043 environ_init: =
PATHEXT=3D.COM;.EXE;.BAT;.CMD
582 27847 [main] cMdrApi 1043 environ_init: =
PROCESSOR_ARCHITECTURE=3Dx86
579 28426 [main] cMdrApi 1043 environ_init: =
PROCESSOR_IDENTIFIER=3Dx86 Family 6 Model 3 Stepping 4, GenuineIntel
582 29008 [main] cMdrApi 1043 environ_init: PROCESSOR_LEVEL=3D6
576 29584 [main] cMdrApi 1043 environ_init: =
PROCESSOR_REVISION=3D0304
576 30160 [main] cMdrApi 1043 environ_init: PROMPT=3D$P$G
575 30735 [main] cMdrApi 1043 environ_init: =
PWD=3D/cygdrive/c/working/vmetrodemo/mdrdll/mdrdll/bin
582 31317 [main] cMdrApi 1043 environ_init: SHELL=3D/bin/sh
576 31893 [main] cMdrApi 1043 environ_init: SHLVL=3D1
570 32463 [main] cMdrApi 1043 environ_init: SYSTEMDRIVE=3DC:
578 33041 [main] cMdrApi 1043 environ_init: SYSTEMROOT=3DC:\WINNT
575 33616 [main] cMdrApi 1043 environ_init: TEMP=3DC:\TEMP
573 34189 [main] cMdrApi 1043 environ_init: TERM=3Dcygwin
577 34766 [main] cMdrApi 1043 environ_init: TMP=3DC:\TEMP
577 35343 [main] cMdrApi 1043 environ_init: USERDOMAIN=3DSWDEVSECRET
583 35926 [main] cMdrApi 1043 environ_init: USERNAME=3Drrose
578 36504 [main] cMdrApi 1043 environ_init: =
USERPROFILE=3DC:\WINNT\Profiles\rrose.000
582 37086 [main] cMdrApi 1043 environ_init: =
VXIPNPPATH=3Dc:\measurementstudiodemo\VXIPNP
578 37664 [main] cMdrApi 1043 environ_init: WINDIR=3DC:\WINNT
577 38241 [main] cMdrApi 1043 environ_init: _=3D/usr/bin/strace
449 38690 [main] cMdrApi 1043 pinfo_init: pid 1043, pgid 1043
1159 39849 [main] cMdrApi 1043 hinfo::extend: size 32, fds 0x10010918
794 40643 [main] cMdrApi 1043 sigproc_init: process/signal handling =
enabled(1)
1343 41986 [main] cMdrApi 1043 hinfo::build_fhandler: /dev/conin - cb =
128, fd 0, fh 0x100109A0
336 42322 [main] cMdrApi 1043 fhandler_base::set_io_handle: set =
handle to 0xB
310 42632 [main] cMdrApi 1043 fhandler_base::init: created new =
fhandler_base for handle 0xB
402 43034 [main] cMdrApi 1043 open_shared: name (null), shared =
0x1A010000, h 0x28
362 43396 [main] cMdrApi 1043 fhandler_base::set_io_handle: set =
handle to 0xFFFFFFFF
1211 44607 [main] cMdrApi 1043 fhandler_base::set_io_handle: set =
handle to 0xF
507 45114 [main] cMdrApi 1043 fhandler_termios::set_ctty: attached =
tty1073741824 sid 1043, pid 1043, tty->pgid 1043, tty->sid 1043
331 45445 [main] cMdrApi 1043 fhandler_termios::set_ctty: resetting =
tty1073741824 sid. Was 1043, now 1043. pgid was 1043, now 1043.
364 45809 [main] cMdrApi 1043 fhandler_console::open: opened conin$ =
0xF, conout$ 0x13
409 46218 [main] cMdrApi 1043 fhandler_console::output_tcsetattr: 0 =
=3D tcsetattr (,1A010018) (ENABLE FLAGS 3) (lflag 107 oflag 9)
330 46548 [main] cMdrApi 1043 hinfo::init_std_file_from_handle: fd =
0, handle 0xB
877 47425 [main] cMdrApi 1043 hinfo::build_fhandler: some disk file =
- cb 64, fd 1, fh 0x10010AB8
340 47765 [main] cMdrApi 1043 fhandler_base::set_io_handle: set =
handle to 0x54
311 48076 [main] cMdrApi 1043 fhandler_base::init: created new =
fhandler_base for handle 0x54
312 48388 [main] cMdrApi 1043 hinfo::init_std_file_from_handle: fd =
1, handle 0x54
1181 49569 [main] cMdrApi 1043 hinfo::build_fhandler: /dev/conout - =
cb 128, fd 2, fh 0x10010BA0
315 49884 [main] cMdrApi 1043 fhandler_base::set_io_handle: set =
handle to 0x17
305 50189 [main] cMdrApi 1043 fhandler_base::init: created new =
fhandler_base for handle 0x17
313 50502 [main] cMdrApi 1043 fhandler_base::set_io_handle: set =
handle to 0xFFFFFFFF
378 50880 [main] cMdrApi 1043 fhandler_base::set_io_handle: set =
handle to 0xB
465 51345 [main] cMdrApi 1043 fhandler_termios::set_ctty: attached =
tty1073741824 sid 1043, pid 1043, tty->pgid 1043, tty->sid 1043
329 51674 [main] cMdrApi 1043 fhandler_termios::set_ctty: resetting =
tty1073741824 sid. Was 1043, now 1043. pgid was 1043, now 1043.
324 51998 [main] cMdrApi 1043 fhandler_console::open: opened conin$ =
0xB, conout$ 0x2B
385 52383 [main] cMdrApi 1043 fhandler_console::output_tcsetattr: 0 =
=3D tcsetattr (,1A010018) (ENABLE FLAGS 3) (lflag 107 oflag 9)
327 52710 [main] cMdrApi 1043 hinfo::init_std_file_from_handle: fd =
2, handle 0x17
590 53300 [main] cMdrApi 1043 build_argv: argv[0] =3D 'cMdrApi'
301 53601 [main] cMdrApi 1043 build_argv: argv[1] =3D '(null)'
307 53908 [main] cMdrApi 1043 DllList::initAll: call to =
DllList::initAll
409 54317 [main] cMdrApi 1043 dll_crt0_1: user_data->main 0x4010E0
1302 55619 [sig] cMdrApi 1043 wait_sig: sigcatch_nonmain 0x5C
379 55998 [sig] cMdrApi 1043 wait_sig: Ready. dwProcessid 196
403 56401 [main] cMdrApi 1043 sig_send: pid 1043, signal -2, its_me =
1
359 56760 [main] cMdrApi 1043 sig_send: Waiting for thiscomplete =
0x44
308 57068 [sig] cMdrApi 1043 wait_sig: awake
314 57382 [sig] cMdrApi 1043 wait_sig: processing signal -2
343 57725 [sig] cMdrApi 1043 wait_sig: looping
339 58064 [main] cMdrApi 1043 sig_send: returning 0 from sending =
signal -2
17116 75180 [main] cMdrApi 1043 internal_getlogin: Domain: SWDEVSECRET
442 75622 [main] cMdrApi 1043 internal_getlogin: Logon Server: HOMER
434 76056 [main] cMdrApi 1043 internal_getlogin: Windows Username: =
rrose
394 76450 [main] cMdrApi 1043 lookup_name: name : rrose
10058 86508 [main] cMdrApi 1043 lookup_name: sid : [1002]
380 86888 [main] cMdrApi 1043 internal_getlogin: Cygwins Username: =
rrose
381 87269 [main] cMdrApi 1043 _open: open (/etc/passwd, 0x0)
5703 92972 [main] cMdrApi 1043 hinfo::build_fhandler: some disk file =
- cb 64, fd 3, fh 0x10010E58
319 93291 [main] cMdrApi 1043 fhandler_disk_file::open: =
(/etc/passwd, 0x0)
354 93645 [main] cMdrApi 1043 mount_info::conv_to_win32_path: =
conv_to_win32_path (/etc/passwd)
335 93980 [main] cMdrApi 1043 normalize_posix_path: /etc/passwd =3D =
normalize_posix_path (/etc/passwd)
349 94329 [main] cMdrApi 1043 mount_info::conv_to_win32_path: =
c:\CygwinGNU\etc\passwd(rel), c:\CygwinGNU\etc\passwd(abs) 0x2(flags) =
=3D conv_to_win32_path (/etc/passwd)
652 94981 [main] cMdrApi 1043 symlink_check_one: GetFileAttributesA =
(c:\CygwinGNU\etc\passwd) failed
349 95330 [main] cMdrApi 1043 =
../../../../src/winsup/cygwin/path.cc:2134 seterrno: 2 (FILE_NOT_FOUND) =
-> 2
367 95697 [main] cMdrApi 1043 symlink_check_one: 0 =3D =
symlink_check_one (c:\CygwinGNU\etc\passwd, 0x240F5E5, 260) (0x2)
543 96240 [main] cMdrApi 1043 symlink_check_one: 0 =3D =
symlink_check_one (c:\CygwinGNU\etc, 0x240F5E5, 260) (0x240F53C)
1422 97662 [main] cMdrApi 1043 fhandler_base::open: =
(c:\CygwinGNU\etc\passwd, 0x0)
537 98199 [main] cMdrApi 1043 fhandler_base::open: -1 =3D =
CreateFileA (c:\CygwinGNU\etc\passwd, 0x80000000, 0x7, 0x61085940, 0x3, =
0x80, 0)
347 98546 [main] cMdrApi 1043 =
../../../../src/winsup/cygwin/fhandler.cc:369 seterrno: 2 =
(FILE_NOT_FOUND) -> 2
333 98879 [main] cMdrApi 1043 fhandler_base::open: 0 =3D =
fhandler_base::open (c:\CygwinGNU\etc\passwd, 0x0)
331 99210 [main] cMdrApi 1043 fhandler_disk_file::open: 0 =3D =
fhandler_disk_file::open (c:\CygwinGNU\etc\passwd, 0x0)
2872 102082 [main] cMdrApi 1043 _open: -1 =3D open (/etc/passwd, 0x0)
322 102404 [main] cMdrApi 1043 read_etc_passwd: Emulating /etc/passwd
3575 105979 [main] cMdrApi 1043 _open: open (/etc/group, 0x0)
5747 111726 [main] cMdrApi 1043 hinfo::build_fhandler: some disk file =
- cb 64, fd 3, fh 0x10010FC0
332 112058 [main] cMdrApi 1043 fhandler_disk_file::open: (/etc/group, =
0x0)
326 112384 [main] cMdrApi 1043 mount_info::conv_to_win32_path: =
conv_to_win32_path (/etc/group)
330 112714 [main] cMdrApi 1043 normalize_posix_path: /etc/group =3D =
normalize_posix_path (/etc/group)
338 113052 [main] cMdrApi 1043 mount_info::conv_to_win32_path: =
c:\CygwinGNU\etc\group(rel), c:\CygwinGNU\etc\group(abs) 0x2(flags) =3D =
conv_to_win32_path (/etc/group)
578 113630 [main] cMdrApi 1043 symlink_check_one: GetFileAttributesA =
(c:\CygwinGNU\etc\group) failed
346 113976 [main] cMdrApi 1043 =
../../../../src/winsup/cygwin/path.cc:2134 seterrno: 2 (FILE_NOT_FOUND) =
-> 2
336 114312 [main] cMdrApi 1043 symlink_check_one: 0 =3D =
symlink_check_one (c:\CygwinGNU\etc\group, 0x240F8B5, 260) (0x2)
512 114824 [main] cMdrApi 1043 symlink_check_one: 0 =3D =
symlink_check_one (c:\CygwinGNU\etc, 0x240F8B5, 260) (0x240F604)
1316 116140 [main] cMdrApi 1043 fhandler_base::open: =
(c:\CygwinGNU\etc\group, 0x0)
527 116667 [main] cMdrApi 1043 fhandler_base::open: -1 =3D =
CreateFileA (c:\CygwinGNU\etc\group, 0x80000000, 0x7, 0x61085940, 0x3, =
0x80, 0)
360 117027 [main] cMdrApi 1043 =
../../../../src/winsup/cygwin/fhandler.cc:369 seterrno: 2 =
(FILE_NOT_FOUND) -> 2
331 117358 [main] cMdrApi 1043 fhandler_base::open: 0 =3D =
fhandler_base::open (c:\CygwinGNU\etc\group, 0x0)
332 117690 [main] cMdrApi 1043 fhandler_disk_file::open: 0 =3D =
fhandler_disk_file::open (c:\CygwinGNU\etc\group, 0x0)
2830 120520 [main] cMdrApi 1043 _open: -1 =3D open (/etc/group, 0x0)
323 120843 [main] cMdrApi 1043 read_etc_group: Emulating /etc/group
6897 127740 [main] cMdrApi 1043 fhandler_disk_file::fstat: 1 =3D =
GetFileInformationByHandle (some disk file, 84)
405 128145 [main] cMdrApi 1043 fhandler_disk_file::fstat: 0 =3D fstat =
(, 0x240FB54) st_atime=3D393783C5 st_size=3D14854, st_mode=3D0x81A4, =
st_ino=3D0, sizeof=3D64
333 128478 [main] cMdrApi 1043 _fstat: 0 =3D fstat (1, 240FB54)
1469 129947 [main] cMdrApi 1043 _write: write (1, 0x10011088, 38)
Welcome to my little dll test program
351 130298 [main] cMdrApi 1043 fhandler_base::write: after write, =
name some disk file, rpos 38
330 130628 [main] cMdrApi 1043 _write: 38 =3D write (1, 0x10011088, =
38)
------=_NextPart_000_00C6_01BFCC93.072CD260
Content-Type: text/plain;
name="Main_cygcheck.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Main_cygcheck.txt"
Here is where the OS will find your program, and which dlls
will be used for it. Use -v to see DLL version info
Found: .\cMdrApi.exe
.\cMdrApi.exe - os=4.0 img=1.0 sys=4.0
c:\CygwinGNU\usr\local\bin\mdrapi.dll - os=4.0 img=1.0 sys=4.0
"mdrapi.dll" v0.0 ts=2000/4/18 7:35
C:\WINNT\System32\advapi32.dll - os=4.0 img=4.0 sys=4.0
"ADVAPI32.dll" v0.0 ts=1999/4/20 19:41
C:\WINNT\System32\ntdll.dll - os=4.0 img=4.0 sys=4.0
"ntdll.dll" v0.0 ts=1999/2/26 0:15
C:\WINNT\System32\KERNEL32.dll - os=4.0 img=4.0 sys=4.0
"KERNEL32.dll" v0.0 ts=1999/2/28 23:47
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\USER32.dll - os=4.0 img=4.0 sys=4.0
"USER32.dll" v0.0 ts=1998/10/13 10:39
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\GDI32.dll - os=4.0 img=4.0 sys=4.0
"GDI32.dll" v0.0 ts=1998/9/23 7:27
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\USER32.dll (recursive)
C:\WINNT\System32\ADVAPI32.dll (recursive)
C:\WINNT\System32\ADVAPI32.dll (recursive)
C:\WINNT\System32\RPCRT4.dll - os=4.0 img=4.0 sys=4.0
"RPCRT4.dll" v0.0 ts=1999/3/30 1:19
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\ADVAPI32.dll (recursive)
c:\CygwinGNU\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2000/3/1 5:15
C:\WINNT\System32\ADVAPI32.DLL (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\kernel32.dll (already done)
C:\WINNT\System32\wsock32.dll - os=4.0 img=4.0 sys=4.0
"WSOCK32.dll" v0.0 ts=1999/4/13 22:56
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\WS2_32.dll - os=4.0 img=4.0 sys=4.0
"WS2_32.dll" v0.0 ts=1999/2/23 23:04
C:\WINNT\System32\MSVCRT.dll - os=4.0 img=0.0 sys=4.0
"MSVCRT.dll" v0.0 ts=1999/2/2 4:45
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\USER32.dll (already done)
C:\WINNT\System32\ADVAPI32.dll (already done)
C:\WINNT\System32\WS2HELP.dll - os=4.0 img=4.0 sys=4.0
"WS2HELP.dll" v0.0 ts=1998/5/8 20:50
C:\WINNT\System32\MSVCRT.dll (already done)
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\ADVAPI32.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\USER32.dll (already done)
c:\CygwinGNU\bin\cygwin1.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
------=_NextPart_000_00C6_01BFCC93.072CD260
Content-Type: text/plain;
name="Dll_cygcheck.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="Dll_cygcheck.txt"
Here is where the OS will find your program, and which dlls
will be used for it. Use -v to see DLL version info
Found: .\cMdrApi.exe
.\cMdrApi.exe - os=4.0 img=1.0 sys=4.0
c:\CygwinGNU\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0
"cygwin1.dll" v0.0 ts=2000/3/1 5:15
C:\WINNT\System32\ADVAPI32.DLL - os=4.0 img=4.0 sys=4.0
"ADVAPI32.dll" v0.0 ts=1999/4/20 19:41
C:\WINNT\System32\ntdll.dll - os=4.0 img=4.0 sys=4.0
"ntdll.dll" v0.0 ts=1999/2/26 0:15
C:\WINNT\System32\KERNEL32.dll - os=4.0 img=4.0 sys=4.0
"KERNEL32.dll" v0.0 ts=1999/2/28 23:47
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\USER32.dll - os=4.0 img=4.0 sys=4.0
"USER32.dll" v0.0 ts=1998/10/13 10:39
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\GDI32.dll - os=4.0 img=4.0 sys=4.0
"GDI32.dll" v0.0 ts=1998/9/23 7:27
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\USER32.dll (recursive)
C:\WINNT\System32\ADVAPI32.dll (recursive)
C:\WINNT\System32\ADVAPI32.dll (recursive)
C:\WINNT\System32\RPCRT4.dll - os=4.0 img=4.0 sys=4.0
"RPCRT4.dll" v0.0 ts=1999/3/30 1:19
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\ADVAPI32.dll (recursive)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
Warning: .\cMdrApi.dll hides c:\CygwinGNU\usr\local\bin\cMdrApi.dll
.\cMdrApi.dll - os=4.0 img=1.0 sys=4.0
"cMdrApi.dll" v0.0 ts=2000/6/2 10:51
c:\CygwinGNU\usr\local\bin\mdrapi.dll - os=4.0 img=1.0 sys=4.0
"mdrapi.dll" v0.0 ts=2000/4/18 7:35
C:\WINNT\System32\advapi32.dll (already done)
c:\CygwinGNU\bin\cygwin1.dll (already done)
C:\WINNT\System32\kernel32.dll (already done)
C:\WINNT\System32\wsock32.dll - os=4.0 img=4.0 sys=4.0
"WSOCK32.dll" v0.0 ts=1999/4/13 22:56
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\WS2_32.dll - os=4.0 img=4.0 sys=4.0
"WS2_32.dll" v0.0 ts=1999/2/23 23:04
C:\WINNT\System32\MSVCRT.dll - os=4.0 img=0.0 sys=4.0
"MSVCRT.dll" v0.0 ts=1999/2/2 4:45
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\USER32.dll (already done)
C:\WINNT\System32\ADVAPI32.dll (already done)
C:\WINNT\System32\WS2HELP.dll - os=4.0 img=4.0 sys=4.0
"WS2HELP.dll" v0.0 ts=1998/5/8 20:50
C:\WINNT\System32\MSVCRT.dll (already done)
C:\WINNT\System32\ntdll.dll (already done)
C:\WINNT\System32\ADVAPI32.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
C:\WINNT\System32\USER32.dll (already done)
c:\CygwinGNU\bin\cygwin1.dll (already done)
C:\WINNT\System32\KERNEL32.dll (already done)
------=_NextPart_000_00C6_01BFCC93.072CD260
Content-Type: text/plain; charset=us-ascii
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com
------=_NextPart_000_00C6_01BFCC93.072CD260--
- Raw text -