delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/03/12/13:30:04

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
Delivered-To: mailing list cygwin AT cygwin DOT com
MIME-Version: 1.0
Message-ID: <15502.17413.872278.361051@asv-058.sjc.ca.bbnow.net>
Date: Tue, 12 Mar 2002 10:08:05 -0800
From: Stephen Weeks <sweeks AT acm DOT org>
To: cygwin AT cygwin DOT com
In-Reply-To: <20020312103645.F29574@cygbert.vinschen.de>
Subject: Re: mmap of large amount returns invalid pointer
X-Mailer: VM 6.89 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid

> However, before talking further about this I'd like you to run your
> below test application again but this time under strace.  Could
> you please send the strace output to this list (it's not that long)?

Here is the strace output.

**********************************************
Program name: c:\mmap.exe (159)
App version:  1003.10, api: 0.51
DLL version:  1003.10, api: 0.51
DLL build:    2002-02-25 11:14
OS version:   Windows NT-4.0
Date/Time:    2002-03-12 10:02:03
**********************************************
 7637   19265 [main] mmap 159 environ_init: 0xA010420: !C:=C:\WINNT\Profiles\sweeks\Desktop
 2224   21489 [main] mmap 159 environ_init: 0xA010450: !Z:=Z:\cygwin\bin
 2542   24031 [main] mmap 159 environ_init: 0xA010468: COMPUTERNAME=WINDOZE
 2498   26529 [main] mmap 159 environ_init: 0xA010488: COMSPEC=C:\WINNT\system32\cmd.exe
 2338   28867 [main] mmap 159 parse_options: binmode 65536
 2466   31333 [main] mmap 159 parse_options: ntsec 1
 2297   33630 [main] mmap 159 parse_options: tty 1001
 2517   36147 [main] mmap 159 parse_options: returning
 1180   37327 [main] mmap 159 environ_init: 0xA0104B0: CYGWIN=binmode ntsec tty 
 2166   39493 [main] mmap 159 getwinenv: can't set native for HOME= since no environ yet
 2358   41851 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\home\sweeks, no-keep-rel, no-add-slash)
 1392   43243 [main] mmap 159 normalize_win32_path: z:\cygwin\home\sweeks = normalize_win32_path (z:\cygwin\home\sweeks)
 2272   45515 [main] mmap 159 mount_info::conv_to_posix_path: /home/sweeks = conv_to_posix_path (z:\cygwin\home\sweeks)
 3429   48944 [main] mmap 159 win_env::add_cache: posix /home/sweeks
 1132   50076 [main] mmap 159 win_env::add_cache: native HOME=z:\cygwin\home\sweeks
 1137   51213 [main] mmap 159 posify: env var converted to HOME=/home/sweeks
 2183   53396 [main] mmap 159 environ_init: 0xA010520: HOME=/home/sweeks
 2708   56104 [main] mmap 159 environ_init: 0xA010500: HOMEDRIVE=C:
 2249   58353 [main] mmap 159 environ_init: 0xA010668: HOMEPATH=\
 2184   60537 [main] mmap 159 environ_init: 0xA010678: LOGONSERVER=\\WINDOZE
 2133   62670 [main] mmap 159 environ_init: 0xA010698: MAKE_MODE=unix
 2164   64834 [main] mmap 159 environ_init: 0xA0106B0: MANPATH=:/usr/ssl/man
 2669   67503 [main] mmap 159 environ_init: 0xA0106D0: NUMBER_OF_PROCESSORS=1
 2156   69659 [main] mmap 159 environ_init: 0xA0106F0: OLDPWD=/home/sweeks
 2169   71828 [main] mmap 159 environ_init: 0xA010708: OS2LIBPATH=C:\WINNT\system32\os2\dll;
 2164   73992 [main] mmap 159 environ_init: 0xA010738: OS=Windows_NT
 3044   77036 [main] mmap 159 getwinenv: can't set native for PATH= since no environ yet
 2261   79297 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\home\sweeks\bin, keep-rel, no-add-slash)
 1177   80474 [main] mmap 159 normalize_win32_path: z:\cygwin\home\sweeks\bin = normalize_win32_path (z:\cygwin\home\sweeks\bin)
 1156   81630 [main] mmap 159 mount_info::conv_to_posix_path: /home/sweeks/bin = conv_to_posix_path (z:\cygwin\home\sweeks\bin)
 1115   82745 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\sbin, keep-rel, no-add-slash)
 1134   83879 [main] mmap 159 normalize_win32_path: z:\cygwin\sbin = normalize_win32_path (z:\cygwin\sbin)
 1131   85010 [main] mmap 159 mount_info::conv_to_posix_path: /sbin = conv_to_posix_path (z:\cygwin\sbin)
 1606   86616 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\usr\sbin, keep-rel, no-add-slash)
 1192   87808 [main] mmap 159 normalize_win32_path: z:\cygwin\usr\sbin = normalize_win32_path (z:\cygwin\usr\sbin)
 1142   88950 [main] mmap 159 mount_info::conv_to_posix_path: /usr/sbin = conv_to_posix_path (z:\cygwin\usr\sbin)
 1104   90054 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\usr\local\bin, keep-rel, no-add-slash)
 1134   91188 [main] mmap 159 normalize_win32_path: z:\cygwin\usr\local\bin = normalize_win32_path (z:\cygwin\usr\local\bin)
 1130   92318 [main] mmap 159 mount_info::conv_to_posix_path: /usr/local/bin = conv_to_posix_path (z:\cygwin\usr\local\bin)
 1134   93452 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\bin, keep-rel, no-add-slash)
 1396   94848 [main] mmap 159 normalize_win32_path: z:\cygwin\bin = normalize_win32_path (z:\cygwin\bin)
 1618   96466 [main] mmap 159 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (z:\cygwin\bin)
 1193   97659 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (z:\cygwin\bin, keep-rel, no-add-slash)
 1145   98804 [main] mmap 159 normalize_win32_path: z:\cygwin\bin = normalize_win32_path (z:\cygwin\bin)
 1139   99943 [main] mmap 159 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (z:\cygwin\bin)
 1132  101075 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT\system32, keep-rel, no-add-slash)
 1133  102208 [main] mmap 159 normalize_win32_path: c:\WINNT\system32 = normalize_win32_path (c:\WINNT\system32)
 1134  103342 [main] mmap 159 mount_info::conv_to_posix_path: /cygdrive/c/WINNT/system32 = conv_to_posix_path (c:\WINNT\system32)
 1109  104451 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (c:\WINNT, keep-rel, no-add-slash)
 1384  105835 [main] mmap 159 normalize_win32_path: c:\WINNT = normalize_win32_path (c:\WINNT)
 1330  107165 [main] mmap 159 mount_info::conv_to_posix_path: /cygdrive/c/WINNT = conv_to_posix_path (c:\WINNT)
 3235  110400 [main] mmap 159 win_env::add_cache: posix /home/sweeks/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT
 1085  111485 [main] mmap 159 win_env::add_cache: native PATH=z:\cygwin\home\sweeks\bin;z:\cygwin\sbin;z:\cygwin\usr\sbin;z:\cygwin\usr\local\bin;z:\cygwin\bin;z:\cygwin\bin;c:\WINNT\system32;c:\WINNT
 1126  112611 [main] mmap 159 posify: env var converted to PATH=/home/sweeks/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT
 2161  114772 [main] mmap 159 environ_init: 0xA0107E8: PATH=/home/sweeks/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/bin:/usr/bin:/cygdrive/c/WINNT/system32:/cygdrive/c/WINNT
 2443  117215 [main] mmap 159 environ_init: 0xA010750: PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
 2319  119534 [main] mmap 159 environ_init: 0xA010790: PROCESSOR_ARCHITECTURE=x86
 2176  121710 [main] mmap 159 environ_init: 0xA010A30: PROCESSOR_IDENTIFIER=x86 Family 15 Model 1 Stepping 2, GenuineIntel
 2172  123882 [main] mmap 159 environ_init: 0xA0107B0: PROCESSOR_LEVEL=15
 2382  126264 [main] mmap 159 environ_init: 0xA0107C8: PROCESSOR_REVISION=0102
 2401  128665 [main] mmap 159 environ_init: 0xA010A78: PROMPT=$P$G
 2196  130861 [main] mmap 159 environ_init: 0xA010A88: PS1=\W% 
 2124  132985 [main] mmap 159 environ_init: 0xA010A98: PWD=/cygdrive/c
 2411  135396 [main] mmap 159 environ_init: 0xA010AB0: SHLVL=1
 2215  137611 [main] mmap 159 environ_init: 0xA010AC0: SYSTEMDRIVE=C:
 2561  140172 [main] mmap 159 environ_init: 0xA010AD8: SYSTEMROOT=C:\WINNT
 2177  142349 [main] mmap 159 getwinenv: can't set native for TEMP= since no environ yet
 2170  144519 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (c:\TEMP, no-keep-rel, no-add-slash)
 1346  145865 [main] mmap 159 normalize_win32_path: c:\TEMP = normalize_win32_path (c:\TEMP)
 1178  147043 [main] mmap 159 mount_info::conv_to_posix_path: /cygdrive/c/TEMP = conv_to_posix_path (c:\TEMP)
 3395  150438 [main] mmap 159 win_env::add_cache: posix /cygdrive/c/TEMP
 1139  151577 [main] mmap 159 win_env::add_cache: native TEMP=c:\TEMP
 1093  152670 [main] mmap 159 posify: env var converted to TEMP=/cygdrive/c/TEMP
 2157  154827 [main] mmap 159 environ_init: 0xA010B08: TEMP=/cygdrive/c/TEMP
 2439  157266 [main] mmap 159 environ_init: 0xA010AF0: TERM=cygwin
 2423  159689 [main] mmap 159 getwinenv: can't set native for TMP= since no environ yet
 2216  161905 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (c:\TEMP, no-keep-rel, no-add-slash)
 1125  163030 [main] mmap 159 normalize_win32_path: c:\TEMP = normalize_win32_path (c:\TEMP)
 1137  164167 [main] mmap 159 mount_info::conv_to_posix_path: /cygdrive/c/TEMP = conv_to_posix_path (c:\TEMP)
 3457  167624 [main] mmap 159 win_env::add_cache: posix /cygdrive/c/TEMP
 1391  169015 [main] mmap 159 win_env::add_cache: native TMP=c:\TEMP
 1326  170341 [main] mmap 159 posify: env var converted to TMP=/cygdrive/c/TEMP
 2172  172513 [main] mmap 159 environ_init: 0xA010C58: TMP=/cygdrive/c/TEMP
 2127  174640 [main] mmap 159 environ_init: 0xA010C48: USER=sweeks
 2458  177098 [main] mmap 159 environ_init: 0xA010D90: USERDOMAIN=WINDOZE
 2173  179271 [main] mmap 159 environ_init: 0xA010DA8: USERNAME=sweeks
 2307  181578 [main] mmap 159 environ_init: 0xA010DC0: USERPROFILE=C:\WINNT\Profiles\sweeks
 2167  183745 [main] mmap 159 environ_init: 0xA010DF0: WINDIR=C:\WINNT
 2514  186259 [main] mmap 159 environ_init: 0xA010E08: _=/usr/bin/strace
 4850  191109 [main] mmap 159 pinfo_init: pid 159, pgid 159
 1952  193061 [main] mmap 159 dtable::extend: size 32, fds 0x61560128
 4276  197337 [main] mmap 159 internal_getlogin: GetUserName() = sweeks
 1569  198906 [main] mmap 159 internal_getlogin: User: sweeks, Domain: WINDOZE, Logon Server: WINDOZE
 1162  200068 [main] mmap 159 internal_getlogin: Domain: WINDOZE, Logon Server: WINDOZE, Windows Username: sweeks
 1746  201814 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (0)
 1341  203155 [main] mmap 159 _cygwin_istext_for_stdio:  _cifs: fd not open
 1270  204425 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (1)
 1390  205815 [main] mmap 159 _cygwin_istext_for_stdio:  _cifs: fd not open
 1142  206957 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (2)
 1131  208088 [main] mmap 159 _cygwin_istext_for_stdio:  _cifs: fd not open
 1221  209309 [main] mmap 159 _open: open (/etc/passwd, 0x20000)
 1749  211058 [main] mmap 159 normalize_posix_path: src /etc/passwd
 1498  212556 [main] mmap 159 normalize_posix_path: /etc/passwd = normalize_posix_path (/etc/passwd)
 1267  213823 [main] mmap 159 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/passwd)
 1153  214976 [main] mmap 159 mount_info::conv_to_win32_path: src_path /etc/passwd, dst z:\cygwin\etc\passwd, flags 0xA, rc 0
 5890  220866 [main] mmap 159 symlink_info::check: not a symlink
 1752  222618 [main] mmap 159 symlink_info::check: 0 = symlink.check (z:\cygwin\etc\passwd, 0x22E7A0) (0xA)
 1224  223842 [main] mmap 159 path_conv::check: root_dir(z:\), this->path(z:\cygwin\etc\passwd), set_has_acls(8)
 1271  225113 [main] mmap 159 dtable::build_fhandler: fd 3, fh 0x615602C8
 1682  226795 [main] mmap 159 fhandler_base::open: (z:\cygwin\etc\passwd, 0x20000)
 3198  229993 [main] mmap 159 fhandler_base::open: 0x48 = CreateFileA (z:\cygwin\etc\passwd, 0x80000000, 0x7, 0x22EBE0, 0x3, 0x80, 0)
 1303  231296 [main] mmap 159 fhandler_base::open: filemode set to text
 1468  232764 [main] mmap 159 fhandler_base::open: 1 = fhandler_base::open (z:\cygwin\etc\passwd, 0x20000)
 1325  234089 [main] mmap 159 fhandler_disk_file::open: 1 = fhandler_disk_file::open (z:\cygwin\etc\passwd, 0x20000)
 1180  235269 [main] mmap 159 _open: 3 = open (/etc/passwd, 0x20000)
 1165  236434 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (3)
 1297  237731 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
 4917  242648 [main] mmap 159 fhandler_disk_file::fstat_helper: 1 = GetFileInformationByHandle (z:\cygwin\etc\passwd, 72)
 1625  244273 [main] mmap 159 get_nt_attribute: file: z:\cygwin\etc\passwd
 1965  246238 [main] mmap 159 read_sd: file = z:\cygwin\etc\passwd
11424  257662 [main] mmap 159 read_sd: file = z:\cygwin\etc\passwd: len=176
 1588  259250 [main] mmap 159 _open: open (/etc/group, 0x20000)
 1286  260536 [main] mmap 159 normalize_posix_path: src /etc/group
 1414  261950 [main] mmap 159 normalize_posix_path: /etc/group = normalize_posix_path (/etc/group)
 1102  263052 [main] mmap 159 mount_info::conv_to_win32_path: conv_to_win32_path (/etc/group)
 1299  264351 [main] mmap 159 mount_info::conv_to_win32_path: src_path /etc/group, dst z:\cygwin\etc\group, flags 0xA, rc 0
 4618  268969 [main] mmap 159 symlink_info::check: not a symlink
 1310  270279 [main] mmap 159 symlink_info::check: 0 = symlink.check (z:\cygwin\etc\group, 0x22CBC0) (0xA)
 1384  271663 [main] mmap 159 path_conv::check: root_dir(z:\), this->path(z:\cygwin\etc\group), set_has_acls(8)
 1293  272956 [main] mmap 159 dtable::build_fhandler: fd 4, fh 0x615603C0
 1516  274472 [main] mmap 159 fhandler_base::open: (z:\cygwin\etc\group, 0x20000)
 2781  277253 [main] mmap 159 fhandler_base::open: 0x70 = CreateFileA (z:\cygwin\etc\group, 0x80000000, 0x7, 0x22D000, 0x3, 0x80, 0)
 1308  278561 [main] mmap 159 fhandler_base::open: filemode set to text
 1263  279824 [main] mmap 159 fhandler_base::open: 1 = fhandler_base::open (z:\cygwin\etc\group, 0x20000)
 1059  280883 [main] mmap 159 fhandler_disk_file::open: 1 = fhandler_disk_file::open (z:\cygwin\etc\group, 0x20000)
 1050  281933 [main] mmap 159 _open: 4 = open (/etc/group, 0x20000)
 1079  283012 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (4)
 1054  284066 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
 5081  289147 [main] mmap 159 fhandler_disk_file::fstat_helper: 1 = GetFileInformationByHandle (z:\cygwin\etc\group, 112)
 1355  290502 [main] mmap 159 get_nt_attribute: file: z:\cygwin\etc\group
 1205  291707 [main] mmap 159 read_sd: file = z:\cygwin\etc\group
 7710  299417 [main] mmap 159 read_sd: file = z:\cygwin\etc\group: len=176
 1704  301121 [main] mmap 159 get_nt_attribute: file: z:\cygwin\etc\group 1E4, uid 2000, gid 2001
 1344  302465 [main] mmap 159 fhandler_disk_file::fstat_helper: 0 = fstat (, 0x22D380) st_atime=3C8E42DC st_size=277, st_mode=0x81E4, st_ino=325591779, sizeof=64
 1276  303741 [main] mmap 159 _fstat: 0 = fstat (4, 0x22D380)
 1365  305106 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (4)
 1699  306805 [main] mmap 159 _cygwin_istext_for_stdio:  _cifs: get_*_binary
 1282  308087 [main] mmap 159 setmode_helper: setmode: file was cle now raw
 1175  309262 [main] mmap 159 setmode: setmode (4</etc/group>, binary) returns text
 1232  310494 [main] mmap 159 _read: read (4, 0xA010F90, 1024) blocking, sigcatchers 0
 1264  311758 [main] mmap 159 _read: non-interruptible read
 2607  314365 [main] mmap 159 fhandler_base::read: returning 277 chars, binary mode
 1317  315682 [main] mmap 159 _read: 277 = read (4, 0xA010F90, 1024), errno 0
 1732  317414 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (4)
 1231  318645 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
 1087  319732 [main] mmap 159 setmode_helper: setmode: file was raw now cle
 1058  320790 [main] mmap 159 setmode: setmode (4</etc/group>, text) returns binary
21778  342568 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (4)
 1142  343710 [main] mmap 159 _cygwin_istext_for_stdio:  _cifs: get_*_binary
 1131  344841 [main] mmap 159 setmode_helper: setmode: file was cle now raw
 1450  346291 [main] mmap 159 setmode: setmode (4</etc/group>, binary) returns text
 1375  347666 [main] mmap 159 _read: read (4, 0xA010F90, 1024) blocking, sigcatchers 0
 1201  348867 [main] mmap 159 _read: non-interruptible read
 2313  351180 [main] mmap 159 _read: 0 = read (4, 0xA010F90, 1024), errno 0
 1359  352539 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (4)
 1180  353719 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
 1061  354780 [main] mmap 159 setmode_helper: setmode: file was raw now cle
 1430  356210 [main] mmap 159 setmode: setmode (4</etc/group>, text) returns binary
 2452  358662 [main] mmap 159 _close: close (4)
 1399  360061 [main] mmap 159 fhandler_base::close: closing '/etc/group' handle 0x70
 2605  362666 [main] mmap 159 _close: 0 = close (4)
 1544  364210 [main] mmap 159 normalize_posix_path: src /etc
 1152  365362 [main] mmap 159 normalize_posix_path: /etc = normalize_posix_path (/etc)
 1157  366519 [main] mmap 159 mount_info::conv_to_win32_path: conv_to_win32_path (/etc)
 1369  367888 [main] mmap 159 mount_info::conv_to_win32_path: src_path /etc, dst z:\cygwin\etc, flags 0xA, rc 0
 4415  372303 [main] mmap 159 symlink_info::check: not a symlink
 1330  373633 [main] mmap 159 symlink_info::check: 0 = symlink.check (z:\cygwin\etc, 0x22CFF0) (0xA)
 1155  374788 [main] mmap 159 path_conv::check: root_dir(z:\), this->path(z:\cygwin\etc), set_has_acls(8)
 4098  378886 [main] mmap 159 get_nt_attribute: file: z:\cygwin\etc\passwd 1C0, uid 2000, gid 2001
 1460  380346 [main] mmap 159 fhandler_disk_file::fstat_helper: 0 = fstat (, 0x22EF60) st_atime=3C8E42DC st_size=482, st_mode=0x81C0, st_ino=387896088, sizeof=64
 1231  381577 [main] mmap 159 _fstat: 0 = fstat (3, 0x22EF60)
 1164  382741 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (3)
 1140  383881 [main] mmap 159 _cygwin_istext_for_stdio:  _cifs: get_*_binary
 1123  385004 [main] mmap 159 setmode_helper: setmode: file was cle now raw
 1465  386469 [main] mmap 159 setmode: setmode (3</etc/passwd>, binary) returns text
 1217  387686 [main] mmap 159 _read: read (3, 0xA010F90, 1024) blocking, sigcatchers 0
 1170  388856 [main] mmap 159 _read: non-interruptible read
40291  429147 [main] mmap 159 fhandler_base::read: returning 482 chars, binary mode
 1694  430841 [main] mmap 159 _read: 482 = read (3, 0xA010F90, 1024), errno 0
 1063  431904 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (3)
 1276  433180 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
 1180  434360 [main] mmap 159 setmode_helper: setmode: file was raw now cle
 1684  436044 [main] mmap 159 setmode: setmode (3</etc/passwd>, text) returns binary
 8536  444580 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (3)
 1579  446159 [main] mmap 159 _cygwin_istext_for_stdio:  _cifs: get_*_binary
 1189  447348 [main] mmap 159 setmode_helper: setmode: file was cle now raw
 1141  448489 [main] mmap 159 setmode: setmode (3</etc/passwd>, binary) returns text
 1199  449688 [main] mmap 159 _read: read (3, 0xA010F90, 1024) blocking, sigcatchers 0
 1161  450849 [main] mmap 159 _read: non-interruptible read
 2266  453115 [main] mmap 159 _read: 0 = read (3, 0xA010F90, 1024), errno 0
 1342  454457 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio (3)
 1236  455693 [main] mmap 159 _cygwin_istext_for_stdio: _cygwin_istext_for_stdio says yes
 1498  457191 [main] mmap 159 setmode_helper: setmode: file was raw now cle
 1081  458272 [main] mmap 159 setmode: setmode (3</etc/passwd>, text) returns binary
 2352  460624 [main] mmap 159 _close: close (3)
 1221  461845 [main] mmap 159 fhandler_base::close: closing '/etc/passwd' handle 0x48
 2374  464219 [main] mmap 159 _close: 0 = close (3)
 4367  468586 [main] mmap 159 internal_getlogin: Cygwins Username: sweeks
 3149  471735 [main] mmap 159 sigproc_init: process/signal handling enabled(1001)
 5009  476744 [sig] mmap 159 wait_sig: sigcatch_nonmain 0x114, sigcatch_main 0x118
 1623  478367 [sig] mmap 159 wait_sig: Ready.  dwProcessid 159
124821  603188 [main] mmap 159 tty_list::allocate_tty: console 40076 already associated with tty0
 3055  606243 [main] mmap 159 build_argv: argv[0] = './mmap'
 1250  607493 [main] mmap 159 build_argv: argc 1
15982  623475 [main] mmap 159 normalize_posix_path: src /dev/piper
 1225  624700 [main] mmap 159 normalize_posix_path: /dev/piper = normalize_posix_path (/dev/piper)
 1123  625823 [main] mmap 159 mount_info::conv_to_win32_path: conv_to_win32_path (/dev/piper)
 1223  627046 [main] mmap 159 mount_info::conv_to_win32_path: src_path /dev/piper, dst \dev\piper, flags 0x2, rc 0
 1400  628446 [main] mmap 159 dtable::build_fhandler: fd 0, fh 0x615602C8
 1162  629608 [main] mmap 159 fhandler_base::init: created new fhandler_base for handle 0xF8
 1053  630661 [main] mmap 159 dtable::init_std_file_from_handle: fd 0, handle 0xF8
 2230  632891 [main] mmap 159 normalize_posix_path: src unknown disk file
 1711  634602 [main] mmap 159 mount_info::conv_to_posix_path: conv_to_posix_path (c:\, no-keep-rel, no-add-slash)
 1109  635711 [main] mmap 159 normalize_win32_path: c:\ = normalize_win32_path (c:\)
 1273  636984 [main] mmap 159 mount_info::conv_to_posix_path: /cygdrive/c = conv_to_posix_path (c:\)
 1394  638378 [main] mmap 159 cwdstuff::get: posix /cygdrive/c
 1161  639539 [main] mmap 159 cwdstuff::get: (/cygdrive/c) = cwdstuff::get (0x22F950, 260, 1, 0), errno 0
 1079  640618 [main] mmap 159 normalize_posix_path: /cygdrive/c/unknown disk file = normalize_posix_path (unknown disk file)
 1248  641866 [main] mmap 159 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/unknown disk file)
 1191  643057 [main] mmap 159 mount_info::cygdrive_win32_path: src '/cygdrive/c/unknown disk file', dst 'c:\unknown disk file'
 1361  644418 [main] mmap 159 mount_info::conv_to_win32_path: src_path /cygdrive/c/unknown disk file, dst c:\unknown disk file, flags 0x22, rc 0
 2421  646839 [main] mmap 159 symlink_info::check: GetFileAttributes (c:\unknown disk file) failed
 1342  648181 [main] mmap 159 geterrno_from_win_error: windows error 2 == errno 2
 1402  649583 [main] mmap 159 symlink_info::check: GetFileAttributes (c:\unknown disk file.lnk) failed
 1261  650844 [main] mmap 159 geterrno_from_win_error: windows error 2 == errno 2
 1191  652035 [main] mmap 159 symlink_info::check: 0 = symlink.check (c:\unknown disk file, 0x22F610) (0x22)
 1189  653224 [main] mmap 159 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c)
 1530  654754 [main] mmap 159 mount_info::cygdrive_win32_path: src '/cygdrive/c', dst 'c:\'
 1495  656249 [main] mmap 159 mount_info::conv_to_win32_path: src_path /cygdrive/c, dst c:\, flags 0x22, rc 0
 1440  657689 [main] mmap 159 symlink_info::check: not a symlink
 1254  658943 [main] mmap 159 symlink_info::check: 0 = symlink.check (c:\, 0x22F610) (0x22)
 1192  660135 [main] mmap 159 path_conv::check: root_dir(c:\), this->path(c:\unknown disk file), set_has_acls(8)
 1211  661346 [main] mmap 159 dtable::build_fhandler: fd 1, fh 0x615603C0
 1205  662551 [main] mmap 159 fhandler_base::init: created new fhandler_base for handle 0x3C
 1186  663737 [main] mmap 159 dtable::init_std_file_from_handle: fd 1, handle 0x3C
 2155  665892 [main] mmap 159 normalize_posix_path: src unknown disk file
 1549  667441 [main] mmap 159 cwdstuff::get: posix /cygdrive/c
 1254  668695 [main] mmap 159 cwdstuff::get: (/cygdrive/c) = cwdstuff::get (0x22F940, 260, 1, 0), errno 0
 1191  669886 [main] mmap 159 normalize_posix_path: /cygdrive/c/unknown disk file = normalize_posix_path (unknown disk file)
 1186  671072 [main] mmap 159 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c/unknown disk file)
 1180  672252 [main] mmap 159 mount_info::cygdrive_win32_path: src '/cygdrive/c/unknown disk file', dst 'c:\unknown disk file'
 1205  673457 [main] mmap 159 mount_info::conv_to_win32_path: src_path /cygdrive/c/unknown disk file, dst c:\unknown disk file, flags 0x22, rc 0
 1832  675289 [main] mmap 159 symlink_info::check: GetFileAttributes (c:\unknown disk file) failed
 2141  677430 [main] mmap 159 geterrno_from_win_error: windows error 2 == errno 2
 1476  678906 [main] mmap 159 symlink_info::check: GetFileAttributes (c:\unknown disk file.lnk) failed
 1255  680161 [main] mmap 159 geterrno_from_win_error: windows error 2 == errno 2
 1187  681348 [main] mmap 159 symlink_info::check: 0 = symlink.check (c:\unknown disk file, 0x22F600) (0x22)
 1256  682604 [main] mmap 159 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/c)
 1192  683796 [main] mmap 159 mount_info::cygdrive_win32_path: src '/cygdrive/c', dst 'c:\'
 1184  684980 [main] mmap 159 mount_info::conv_to_win32_path: src_path /cygdrive/c, dst c:\, flags 0x22, rc 0
 1821  686801 [main] mmap 159 symlink_info::check: not a symlink
 1248  688049 [main] mmap 159 symlink_info::check: 0 = symlink.check (c:\, 0x22F600) (0x22)
 1195  689244 [main] mmap 159 path_conv::check: root_dir(c:\), this->path(c:\unknown disk file), set_has_acls(8)
 1235  690479 [main] mmap 159 dtable::build_fhandler: fd 2, fh 0x615606E8
 1195  691674 [main] mmap 159 fhandler_base::init: created new fhandler_base for handle 0x54
 1436  693110 [main] mmap 159 dtable::init_std_file_from_handle: fd 2, handle 0x54
 1267  694377 [main] mmap 159 dll_list::init: here
 1193  695570 [main] mmap 159 dll_crt0_1: user_data->main 0x4011F0
 1919  697489 [main] mmap 159 sig_send: pid 159, signal -2, its_me 1
 1493  698982 [sig] mmap 159 wait_sig: awake
 1175  700157 [sig] mmap 159 wait_sig: processing signal -2
 1159  701316 [sig] mmap 159 wait_sig: set main thread completion event
 1130  702446 [sig] mmap 159 wait_sig: looping
 1148  703594 [main] mmap 159 sig_send: Waiting for thiscomplete 0x124
 1186  704780 [main] mmap 159 sig_send: returning 0 from sending signal -2
 2649  707429 [main] mmap 159 _write: write (2, 0x22F728, 142)
 1351  708780 [main] mmap 159 fhandler_base::write: binary write
TotalPhys: 209113088
AvailPhys: 166297600
TotalPageFile: 309587968
AvailPageFile: 274980864
TotalVirtual: 2147352576
AvailVirtual: 1589846016
 1360  710140 [main] mmap 159 fhandler_base::write: 142 = write (0x22F728, 142)
 1223  711363 [main] mmap 159 _write: 142 = write (2, 0x22F728, 142)
 1201  712564 [main] mmap 159 _write: write (2, 0x22F718, 38)
 1193  713757 [main] mmap 159 fhandler_base::write: binary write
attempting to mmap 100000000 bytes ... 1273  715030 [main] mmap 159 fhandler_base::write: 38 = write (0x22F718, 38)
 2401  717431 [main] mmap 159 _write: 38 = write (2, 0x22F718, 38)
 1668  719099 [main] mmap 159 mmap: addr 0, len 100000000, prot 3, flags 22, fd -1, off 0
 5487  724586 [main] mmap 159 fhandler_disk_file::mmap: 2A230000 = MapViewOfFileEx (h:188, access:1, 0, off:0, len:100007936, addr:0)
26042  750628 [main] mmap 159 mmap: 2A230000 = mmap() succeeded
 1466  752094 [main] mmap 159 _write: write (2, 0x22F718, 12)
 1212  753306 [main] mmap 159 fhandler_base::write: binary write
zeroing ...  1265  754571 [main] mmap 159 fhandler_base::write: 12 = write (0x22F718, 12)
 1156  755727 [main] mmap 159 _write: 12 = write (2, 0x22F718, 12)
1158576 1914303 [main] mmap 159 _write: write (2, 0x22F718, 14)
 7977 1922280 [main] mmap 159 fhandler_base::write: binary write
unmapping ...  2872 1925152 [main] mmap 159 fhandler_base::write: 14 = write (0x22F718, 14)
 1670 1926822 [main] mmap 159 _write: 14 = write (2, 0x22F718, 14)
 2030 1928852 [main] mmap 159 munmap: munmap (addr 2A230000, len 100000000)
133715 2062567 [main] mmap 159 munmap: 0 = munmap(): 2A230000
 2700 2065267 [main] mmap 159 _write: write (2, 0x22F718, 10)
 1485 2066752 [main] mmap 159 fhandler_base::write: binary write
succeeded
 2138 2068890 [main] mmap 159 fhandler_base::write: 10 = write (0x22F718, 10)
 1509 2070399 [main] mmap 159 _write: 10 = write (2, 0x22F718, 10)
 1459 2071858 [main] mmap 159 _write: write (2, 0x22F718, 38)
 1266 2073124 [main] mmap 159 fhandler_base::write: binary write
attempting to mmap 130000000 bytes ... 1249 2074373 [main] mmap 159 fhandler_base::write: 38 = write (0x22F718, 38)
 1316 2075689 [main] mmap 159 _write: 38 = write (2, 0x22F718, 38)
 1302 2076991 [main] mmap 159 mmap: addr 0, len 130000000, prot 3, flags 22, fd -1, off 0
 2949 2079940 [main] mmap 159 fhandler_disk_file::mmap: 2A230000 = MapViewOfFileEx (h:190, access:1, 0, off:0, len:130023424, addr:0)
 7425 2087365 [main] mmap 159 mmap_record::map_map: -1 = map_map (): Win32 error 1455
 1830 2089195 [main] mmap 159 mmap: 2A230000 = mmap() succeeded
 1209 2090404 [main] mmap 159 _write: write (2, 0x22F718, 12)
 1343 2091747 [main] mmap 159 fhandler_base::write: binary write
zeroing ...  1266 2093013 [main] mmap 159 fhandler_base::write: 12 = write (0x22F718, 12)
 1159 2094172 [main] mmap 159 _write: 12 = write (2, 0x22F718, 12)
 2744 2096916 [main] mmap 159 handle_exceptions: In cygwin_except_handler exc 0xC0000005 at 0x6108BEDF sp 0x22FE20
 1585 2098501 [main] mmap 159 handle_exceptions: In cygwin_except_handler sig = 11 at 0x6108BEDF
 1210 2099711 [main] mmap 159 handle_exceptions: In cygwin_except_handler calling 0x0
2100862 [main] mmap 159 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
 1151 2100862 [main] mmap 159 handle_exceptions: Exception: STATUS_ACCESS_VIOLATION
24822 2125684 [main] mmap 159 try_to_debug: debugger_command ''
2137557 [main] mmap 159 open_stackdumpfile: Dumping stack trace to mmap.exe.stackdump
11873 2137557 [main] mmap 159 open_stackdumpfile: Dumping stack trace to mmap.exe.stackdump
202590 2340147 [main] mmap 159 signal_exit: about to call do_exit (18B00)
 1278 2341425 [main] mmap 159 do_exit: do_exit (101120)
 1556 2342981 [main] mmap 159 void: 0x0 = signal (20, 0x1)
 1278 2344259 [main] mmap 159 void: 0x0 = signal (1, 0x1)
 1218 2345477 [main] mmap 159 void: 0x0 = signal (2, 0x1)
 1216 2346693 [main] mmap 159 void: 0x0 = signal (3, 0x1)
 1330 2348023 [main] mmap 159 fhandler_base::close: closing '/dev/piper' handle 0xF8
 2138 2350161 [main] mmap 159 fhandler_base::close: closing 'unknown disk file' handle 0x3C
 1595 2351756 [main] mmap 159 fhandler_base::close: closing 'unknown disk file' handle 0x54
 1658 2353414 [main] mmap 159 proc_terminate: nchildren 0, nzombies 0
 1282 2354696 [main] mmap 159 proc_terminate: leaving
 1211 2355907 [main] mmap 159 sigproc_terminate: entering
 1215 2357122 [main] mmap 159 sigproc_terminate: done
 1861 2358983 [main] mmap 159 do_exit: 159 == sid 159, send SIGHUP to children
 3114 2362097 [main] mmap 159 __to_clock_t: dwHighDateTime 0, dwLowDateTime 11917136
 1443 2363540 [main] mmap 159 __to_clock_t: total 00000000 000004A7
 1240 2364780 [main] mmap 159 __to_clock_t: dwHighDateTime 0, dwLowDateTime 7510800
 1222 2366002 [main] mmap 159 __to_clock_t: total 00000000 000002EF
71773 2437775 [main] mmap 159 _pinfo::exit: Calling ExitProcess 101120

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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