mkshortcut -P (from xinit.sh)

Denis Excoffier cygwin@Denis-Excoffier.org
Thu Aug 23 17:11:00 GMT 2012


Hello,

I have a problem with mkshortcut, namely the one
used in /etc/postinstall/xinit.sh.

% mkshortcut -P /usr/bin/run.exe
Abort
%

this takes 1 minute to abort, and nothing is performed. Without -P, no
problem of course. I also have no problem to write into the
`cygpath -P` directory.

% cygpath -P
/cygdrive/d/Documents and Settings/dexcoff1/Menu Démarrer/Programmes
%

I must say that my installation of Cygwin is "For me only". I do not
have any Administrator priviledges. I use the 20120817 Cygwin snapshot
and latest packages.

I include the strace output with the mkshortcut.exe.stackdump.

Hope this helps,

Denis Excoffier.
-------------- next part --------------
% /usr/bin/env -i PATH=/usr/bin /usr/bin/strace /usr/bin/mkshortcut -P /usr/bin/run.exe
    3       3 [main] mkshortcut (1640) **********************************************
   85      88 [main] mkshortcut (1640) Program name: D:\Home\dexcoff1\dexcoff1\cyg12e\bin\mkshortcut.exe (windows pid 1640)
   36     124 [main] mkshortcut (1640) OS version:   Windows NT-5.1
   33     157 [main] mkshortcut (1640) **********************************************
  158     315 [main] mkshortcut (1640) sigprocmask: 0 = sigprocmask (0, 0x6123D428, 0x610FBB80)
  332     647 [main] mkshortcut 1640 open_shared: name shared.5, n 5, shared 0x60FF0000 (wanted 0x60FF0000), h 0x798, *m 6
   42     689 [main] mkshortcut 1640 heap_init: heap base 0x20000000, heap top 0x20000000, heap size 0x18000000 (402653184)
   46     735 [main] mkshortcut 1640 open_shared: name S-1-5-21-2047029477-161106353-1238779560-28430.1, n 1, shared 0x60FE0000 (wanted 0x60FE0000), h 0x7A0, *m 6
   46     781 [main] mkshortcut 1640 user_info::create: opening user shared for 'S-1-5-21-2047029477-161106353-1238779560-28430' at 0x60FE0000
   36     817 [main] mkshortcut 1640 user_info::create: user shared version 6467403B
   54     871 [main] mkshortcut 1640 fhandler_pipe::create: name \\.\pipe\cygwin-2880dde9dfe79b35-1640-sigwait, size 164, mode PIPE_TYPE_MESSAGE
   62     933 [main] mkshortcut 1640 fhandler_pipe::create: pipe read handle 0x784
   33     966 [main] mkshortcut 1640 fhandler_pipe::create: CreateFile: name \\.\pipe\cygwin-2880dde9dfe79b35-1640-sigwait
   60    1026 [main] mkshortcut 1640 fhandler_pipe::create: pipe write handle 0x780
   42    1068 [main] mkshortcut 1640 dll_crt0_0: finished dll_crt0_0 initialization
11496   12564 [sig] mkshortcut 1640 wait_sig: entering ReadFile loop, my_readsig 0x784, my_sendsig 0x780
  142   12706 [main] mkshortcut 1640 mount_info::conv_to_posix_path: conv_to_posix_path (D:\Home\dexcoff1\dexcoff1\cygscf, no-keep-rel, no-add-slash)
   39   12745 [main] mkshortcut 1640 normalize_win32_path: D:\Home\dexcoff1\dexcoff1\cygscf = normalize_win32_path (D:\Home\dexcoff1\dexcoff1\cygscf)
   40   12785 [main] mkshortcut 1640 mount_info::conv_to_posix_path: /cygdrive/d/Home/dexcoff1/dexcoff1/cygscf = conv_to_posix_path (D:\Home\dexcoff1\dexcoff1\cygscf)
   49   12834 [main] mkshortcut 1640 sigprocmask: 0 = sigprocmask (0, 0x200180A8, 0x610FBB80)
  112   12946 [main] mkshortcut 1640 _cygwin_istext_for_stdio: fd 0: not open
   22   12968 [main] mkshortcut 1640 _cygwin_istext_for_stdio: fd 1: not open
   24   12992 [main] mkshortcut 1640 _cygwin_istext_for_stdio: fd 2: not open
   74   13066 [main] mkshortcut (1640) open_shared: name cygpid.1640, n 1640, shared 0x60FD0000 (wanted 0x60FD0000), h 0x730, *m 2
   26   13092 [main] mkshortcut 1640 pinfo::thisproc: myself dwProcessId 1640
   32   13124 [main] mkshortcut 1640 time: 1345726845 = time(0)
  476   13600 [main] mkshortcut 1640 reg_key::build_reg: failed to create key Cygwin in the registry
  417   14017 [main] mkshortcut 1640 reg_key::build_reg: failed to create key Cygwin in the registry
   49   14066 [main] mkshortcut 1640 environ_init: GetEnvironmentStrings returned 0x10000
   34   14100 [main] mkshortcut 1640 parse_options: glob (called func)
   41   14141 [main] mkshortcut 1640 parse_options: returning
   30   14171 [main] mkshortcut 1640 environ_init: 0x20028290: CYGWIN=noglob
   46   14217 [main] mkshortcut 1640 getwinenv: can't set native for PATH= since no environ yet
   41   14258 [main] mkshortcut 1640 mount_info::conv_to_posix_path: conv_to_posix_path (D:\Home\dexcoff1\dexcoff1\cyg12e\bin, keep-rel, no-add-slash)
   18   14276 [main] mkshortcut 1640 normalize_win32_path: D:\Home\dexcoff1\dexcoff1\cyg12e\bin = normalize_win32_path (D:\Home\dexcoff1\dexcoff1\cyg12e\bin)
   25   14301 [main] mkshortcut 1640 mount_info::conv_to_posix_path: /usr/bin = conv_to_posix_path (D:\Home\dexcoff1\dexcoff1\cyg12e\bin)
   63   14364 [main] mkshortcut 1640 win_env::add_cache: posix /usr/bin
   24   14388 [main] mkshortcut 1640 win_env::add_cache: native PATH=D:\Home\dexcoff1\dexcoff1\cyg12e\bin
   21   14409 [main] mkshortcut 1640 posify_maybe: env var converted to PATH=/usr/bin
   65   14474 [main] mkshortcut 1640 environ_init: 0x20038330: PATH=/usr/bin
   47   14521 [main] mkshortcut 1640 environ_init: 0x200282B8: SYSTEMROOT=D:\WINDOWS
   45   14566 [main] mkshortcut 1640 environ_init: 0x20038348: WINDIR=D:\WINDOWS
   48   14614 [main] mkshortcut 1640 pinfo_init: Set nice to 0
   19   14633 [main] mkshortcut 1640 pinfo_init: pid 1640, pgid 1640
   25   14658 [main] mkshortcut 1640 App version:  1007.13, api: 0.260
   20   14678 [main] mkshortcut 1640 DLL version:  1007.17, api: 0.262
   24   14702 [main] mkshortcut 1640 DLL build:    20120817 17:47:49SNP
   21   14723 [main] mkshortcut 1640 dtable::extend: size 32, fds 0x61273728
  328   15051 [main] mkshortcut 1640 pwdgrp::load: \etc\passwd curr_lines 9
  166   15217 [main] mkshortcut 1640 pwdgrp::load: \etc\passwd load succeeded
  322   15539 [main] mkshortcut 1640 pwdgrp::load: \etc\group curr_lines 13
  150   15689 [main] mkshortcut 1640 pwdgrp::load: \etc\group load succeeded
   37   15726 [main] mkshortcut 1640 cygheap_user::ontherange: what 2, pw 0x20038890
   21   15747 [main] mkshortcut 1640 cygheap_user::ontherange: Set HOME (from /etc/passwd) to /cygdrive/D/Home/dexcoff1/dexcoff1/cygscf
  115   15862 [main] mkshortcut 1640 normalize_posix_path: src /cygdrive/D/Home/dexcoff1/dexcoff1/cygscf
   15   15877 [main] mkshortcut 1640 normalize_posix_path: /cygdrive/D/Home/dexcoff1/dexcoff1/cygscf = normalize_posix_path (/cygdrive/D/Home/dexcoff1/dexcoff1/cygscf)
   17   15894 [main] mkshortcut 1640 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/D/Home/dexcoff1/dexcoff1/cygscf)
   27   15921 [main] mkshortcut 1640 mount_info::cygdrive_win32_path: src '/cygdrive/D/Home/dexcoff1/dexcoff1/cygscf', dst 'D:\Home\dexcoff1\dexcoff1\cygscf'
   33   15954 [main] mkshortcut 1640 set_flags: flags: binary (0x2)
   21   15975 [main] mkshortcut 1640 mount_info::conv_to_win32_path: src_path /cygdrive/D/Home/dexcoff1/dexcoff1/cygscf, dst D:\Home\dexcoff1\dexcoff1\cygscf, flags 0x4022, rc 0
  146   16121 [main] mkshortcut 1640 symlink_info::check: 0x0 = NtCreateFile (\??\D:\Home\dexcoff1\dexcoff1\cygscf)
   34   16155 [main] mkshortcut 1640 symlink_info::check: not a symlink
  113   16268 [main] mkshortcut 1640 symlink_info::check: 0 = symlink.check(D:\Home\dexcoff1\dexcoff1\cygscf, 0x229128) (0x804022)
   24   16292 [main] mkshortcut 1640 path_conv::check: this->path(D:\Home\dexcoff1\dexcoff1\cygscf), has_acls(1)
   45   16337 [main] mkshortcut 1640 win_env::add_cache: posix /cygdrive/D/Home/dexcoff1/dexcoff1/cygscf
   24   16361 [main] mkshortcut 1640 win_env::add_cache: native HOME=D:\Home\dexcoff1\dexcoff1\cygscf
   45   16406 [main] mkshortcut 1640 normalize_posix_path: src /cygdrive/D/Home/dexcoff1/dexcoff1/cygscf
   21   16427 [main] mkshortcut 1640 normalize_posix_path: /cygdrive/D/Home/dexcoff1/dexcoff1/cygscf = normalize_posix_path (/cygdrive/D/Home/dexcoff1/dexcoff1/cygscf)
   23   16450 [main] mkshortcut 1640 mount_info::conv_to_win32_path: conv_to_win32_path (/cygdrive/D/Home/dexcoff1/dexcoff1/cygscf)
   22   16472 [main] mkshortcut 1640 mount_info::cygdrive_win32_path: src '/cygdrive/D/Home/dexcoff1/dexcoff1/cygscf', dst 'D:\Home\dexcoff1\dexcoff1\cygscf'
   23   16495 [main] mkshortcut 1640 set_flags: flags: binary (0x2)
   21   16516 [main] mkshortcut 1640 mount_info::conv_to_win32_path: src_path /cygdrive/D/Home/dexcoff1/dexcoff1/cygscf, dst D:\Home\dexcoff1\dexcoff1\cygscf, flags 0x4022, rc 0
  123   16639 [main] mkshortcut 1640 symlink_info::check: 0x0 = NtCreateFile (\??\D:\Home\dexcoff1\dexcoff1\cygscf)
   29   16668 [main] mkshortcut 1640 symlink_info::check: not a symlink
  103   16771 [main] mkshortcut 1640 symlink_info::check: 0 = symlink.check(D:\Home\dexcoff1\dexcoff1\cygscf, 0x229180) (0x804022)
   21   16792 [main] mkshortcut 1640 path_conv::check: this->path(D:\Home\dexcoff1\dexcoff1\cygscf), has_acls(1)
   44   16836 [main] mkshortcut 1640 win_env::add_cache: posix /cygdrive/D/Home/dexcoff1/dexcoff1/cygscf
   15   16851 [main] mkshortcut 1640 win_env::add_cache: native HOME=D:\Home\dexcoff1\dexcoff1\cygscf
   57   16908 [main] mkshortcut 1640 build_argv: argv[0] = 'D:\Home\dexcoff1\dexcoff1\cyg12e\bin\mkshortcut'
   32   16940 [main] mkshortcut 1640 build_argv: argv[1] = '-P'
   21   16961 [main] mkshortcut 1640 build_argv: argv[2] = '/usr/bin/run.exe'
   23   16984 [main] mkshortcut 1640 build_argv: argc 3
   56   17040 [main] mkshortcut 1640 mount_info::conv_to_posix_path: conv_to_posix_path (D:\Home\dexcoff1\dexcoff1\cyg12e\bin\mkshortcut, keep-rel, no-add-slash)
   21   17061 [main] mkshortcut 1640 normalize_win32_path: D:\Home\dexcoff1\dexcoff1\cyg12e\bin\mkshortcut = normalize_win32_path (D:\Home\dexcoff1\dexcoff1\cyg12e\bin\mkshortcut)
   23   17084 [main] mkshortcut 1640 mount_info::conv_to_posix_path: /usr/bin/mkshortcut = conv_to_posix_path (D:\Home\dexcoff1\dexcoff1\cyg12e\bin\mkshortcut)
  104   17188 [main] mkshortcut 1640 build_fh_pc: created an archetype (0x61273C18) for /dev/pty1(136/1)
   22   17210 [main] mkshortcut 1640 build_fh_pc: fh 0x612739C0, dev 0x880001
   31   17241 [main] mkshortcut 1640 fhandler_pipe::create: name \\.\pipe\cygwin-2880dde9dfe79b35-pty1-from-master, size 131072, mode PIPE_TYPE_MESSAGE
   51   17292 [main] mkshortcut 1640 fhandler_pipe::create: pipe busy
   18   17310 [main] mkshortcut 1640 tty::exists: exists 1
   76   17386 [main] mkshortcut 1640 alloc_sd: uid 38430, gid 10513, attribute 2190
   27   17413 [main] mkshortcut 1640 cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-2047029477-161106353-1238779560-28430 (+)
   24   17437 [main] mkshortcut 1640 cygsid::debug_print: alloc_sd: group SID = S-1-5-21-2047029477-161106353-1238779560-513 (+)
   26   17463 [main] mkshortcut 1640 alloc_sd: ACL-Size: 124
   75   17538 [main] mkshortcut 1640 alloc_sd: Created SD-Size: 200
   20   17558 [main] mkshortcut 1640 fhandler_pty_slave::open: (444): pty output_mutex (0x724): waiting 500 ms
   35   17593 [main] mkshortcut 1640 fhandler_pty_slave::open: (444): pty output_mutex: acquired
   27   17620 [main] mkshortcut 1640 tty::create_inuse: cygtty.slave_alive.1 0x710
   19   17639 [main] mkshortcut 1640 fhandler_pty_slave::open: (447): pty output_mutex(0x724) released
   55   17694 [main] mkshortcut 1640 open_shared: name cygpid.5260, n 5260, shared 0x980000 (wanted 0x0), h 0x70C, *m 6
   32   17726 [main] mkshortcut 1640 fhandler_pty_slave::open: dup handles directly since I'm the owner
   41   17767 [main] mkshortcut 1640 fhandler_pty_slave::open: duplicated from_master 0x724->0x70C from pty_owner
   20   17787 [main] mkshortcut 1640 fhandler_pty_slave::open: duplicated to_master 0x710->0x704 from pty_owner
   44   17831 [main] mkshortcut 1640 fhandler_console::need_invisible: invisible_console 0
   26   17857 [main] mkshortcut 1640 fhandler_base::open_with_arch: line 474:  /dev/pty1<0x61273C18> usecount + 1 = 1
   18   17875 [main] mkshortcut 1640 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   16   17891 [main] mkshortcut 1640 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   20   17911 [main] mkshortcut 1640 fhandler_base::set_flags: filemode set to binary
   25   17936 [main] mkshortcut 1640 _pinfo::set_ctty: old no ctty, ctty device number 0xFFFFFFFF, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
   24   17960 [main] mkshortcut 1640 _pinfo::set_ctty: cygheap->ctty 0x0, archetype 0x61273C18
   22   17982 [main] mkshortcut 1640 _pinfo::set_ctty: ctty was NULL
   21   18003 [main] mkshortcut 1640 _pinfo::set_ctty: line 456:  /dev/pty1<0x61273C18> usecount + 1 = 2
   23   18026 [main] mkshortcut 1640 _pinfo::set_ctty: /dev/pty1 ctty, usecount 2
   22   18048 [main] mkshortcut 1640 _pinfo::set_ctty: attaching ctty /dev/pty1 sid 1640, pid 1640, pgid 1640, tty->pgid 688, tty->sid -1
   33   18081 [main] mkshortcut 1640 _pinfo::set_ctty: cygheap->ctty now 0x61273C18, archetype 0x61273C18
   21   18102 [main] mkshortcut 1640 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 2
   24   18126 [main] mkshortcut 1640 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   20   18146 [main] mkshortcut 1640 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   37   18183 [main] mkshortcut 1640 fhandler_base::set_flags: filemode set to binary
   20   18203 [main] mkshortcut 1640 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
   24   18227 [main] mkshortcut 1640 _pinfo::set_ctty: attaching ctty /dev/pty1 sid -1, pid 1640, pgid 688, tty->pgid 688, tty->sid -1
   22   18249 [main] mkshortcut 1640 _pinfo::set_ctty: cygheap->ctty now 0x61273C18, archetype 0x61273C18
   23   18272 [main] mkshortcut 1640 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 2
   67   18339 [main] mkshortcut 1640 build_fh_pc: found an archetype for (null)(136/1) io_handle 0x70C
   22   18361 [main] mkshortcut 1640 build_fh_pc: fh 0x61273E70, dev 0x880001
   26   18387 [main] mkshortcut 1640 fhandler_base::open_with_arch: line 494:  /dev/pty1<0x61273C18> usecount + 1 = 3
   21   18408 [main] mkshortcut 1640 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   24   18432 [main] mkshortcut 1640 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   21   18453 [main] mkshortcut 1640 fhandler_base::set_flags: filemode set to binary
   24   18477 [main] mkshortcut 1640 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
   22   18499 [main] mkshortcut 1640 _pinfo::set_ctty: attaching ctty /dev/pty1 sid -1, pid 1640, pgid 688, tty->pgid 688, tty->sid -1
   23   18522 [main] mkshortcut 1640 _pinfo::set_ctty: cygheap->ctty now 0x61273C18, archetype 0x61273C18
   21   18543 [main] mkshortcut 1640 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 3
   25   18568 [main] mkshortcut 1640 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   20   18588 [main] mkshortcut 1640 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   24   18612 [main] mkshortcut 1640 fhandler_base::set_flags: filemode set to binary
   20   18632 [main] mkshortcut 1640 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
   24   18656 [main] mkshortcut 1640 _pinfo::set_ctty: attaching ctty /dev/pty1 sid -1, pid 1640, pgid 688, tty->pgid 688, tty->sid -1
   22   18678 [main] mkshortcut 1640 _pinfo::set_ctty: cygheap->ctty now 0x61273C18, archetype 0x61273C18
   23   18701 [main] mkshortcut 1640 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 3
   63   18764 [main] mkshortcut 1640 build_fh_pc: found an archetype for (null)(136/1) io_handle 0x70C
   21   18785 [main] mkshortcut 1640 build_fh_pc: fh 0x612740C8, dev 0x880001
   27   18812 [main] mkshortcut 1640 fhandler_base::open_with_arch: line 494:  /dev/pty1<0x61273C18> usecount + 1 = 4
   21   18833 [main] mkshortcut 1640 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   24   18857 [main] mkshortcut 1640 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   21   18878 [main] mkshortcut 1640 fhandler_base::set_flags: filemode set to binary
   23   18901 [main] mkshortcut 1640 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
   22   18923 [main] mkshortcut 1640 _pinfo::set_ctty: attaching ctty /dev/pty1 sid -1, pid 1640, pgid 688, tty->pgid 688, tty->sid -1
   23   18946 [main] mkshortcut 1640 _pinfo::set_ctty: cygheap->ctty now 0x61273C18, archetype 0x61273C18
   22   18968 [main] mkshortcut 1640 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 4
   24   18992 [main] mkshortcut 1640 fhandler_base::set_flags: flags 0x10002, supplied_bin 0x0
   21   19013 [main] mkshortcut 1640 fhandler_base::set_flags: O_TEXT/O_BINARY set in flags 0x10000
   23   19036 [main] mkshortcut 1640 fhandler_base::set_flags: filemode set to binary
   21   19057 [main] mkshortcut 1640 _pinfo::set_ctty: old ctty /dev/pty1, ctty device number 0x880001, tc.ntty device number 0x880001 flags & O_NOCTTY 0x0
   23   19080 [main] mkshortcut 1640 _pinfo::set_ctty: attaching ctty /dev/pty1 sid -1, pid 1640, pgid 688, tty->pgid 688, tty->sid -1
   22   19102 [main] mkshortcut 1640 _pinfo::set_ctty: cygheap->ctty now 0x61273C18, archetype 0x61273C18
   23   19125 [main] mkshortcut 1640 fhandler_pty_slave::open_setup: /dev/pty1 opened, usecount 4
   46   19171 [main] mkshortcut 1640 __set_errno: void dll_crt0_1(void*):945 setting errno 0
  383   19554 [main] mkshortcut 1640 normalize_posix_path: src /usr/bin/run.exe
   21   19575 [main] mkshortcut 1640 normalize_posix_path: /usr/bin/run.exe = normalize_posix_path (/usr/bin/run.exe)
   24   19599 [main] mkshortcut 1640 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/bin/run.exe)
   21   19620 [main] mkshortcut 1640 set_flags: flags: binary (0x2)
   24   19644 [main] mkshortcut 1640 mount_info::conv_to_win32_path: src_path /usr/bin/run.exe, dst D:\Home\dexcoff1\dexcoff1\cyg12e\bin\run.exe, flags 0x2000A, rc 0
  179   19823 [main] mkshortcut 1640 symlink_info::check: 0x0 = NtCreateFile (\??\D:\Home\dexcoff1\dexcoff1\cyg12e\bin\run.exe)
   28   19851 [main] mkshortcut 1640 symlink_info::check: not a symlink
  159   20010 [main] mkshortcut 1640 symlink_info::check: 0 = symlink.check(D:\Home\dexcoff1\dexcoff1\cyg12e\bin\run.exe, 0x2291B0) (0x82000A)
   24   20034 [main] mkshortcut 1640 path_conv::check: this->path(D:\Home\dexcoff1\dexcoff1\cyg12e\bin\run.exe), has_acls(1)
   46   20080 [main] mkshortcut 1640 normalize_posix_path: src /usr/bin/run.exe
   23   20103 [main] mkshortcut 1640 normalize_posix_path: /usr/bin/run.exe = normalize_posix_path (/usr/bin/run.exe)
   21   20124 [main] mkshortcut 1640 mount_info::conv_to_win32_path: conv_to_win32_path (/usr/bin/run.exe)
   24   20148 [main] mkshortcut 1640 set_flags: flags: binary (0x2)
   21   20169 [main] mkshortcut 1640 mount_info::conv_to_win32_path: src_path /usr/bin/run.exe, dst D:\Home\dexcoff1\dexcoff1\cyg12e\bin\run.exe, flags 0x2000A, rc 0
  161   20330 [main] mkshortcut 1640 symlink_info::check: 0x0 = NtCreateFile (\??\D:\Home\dexcoff1\dexcoff1\cyg12e\bin\run.exe)
   29   20359 [main] mkshortcut 1640 symlink_info::check: not a symlink
  166   20525 [main] mkshortcut 1640 symlink_info::check: 0 = symlink.check(D:\Home\dexcoff1\dexcoff1\cyg12e\bin\run.exe, 0x2291B0) (0x82000A)
   23   20548 [main] mkshortcut 1640 path_conv::check: this->path(D:\Home\dexcoff1\dexcoff1\cyg12e\bin\run.exe), has_acls(1)
  132   20680 [main] mkshortcut 1640 munmap: munmap (addr B18E9C5A, len 3555579754)
   32   20712 [main] mkshortcut 1640 __set_errno: int munmap(void*, size_t):1148 setting errno 22
14839   35551 [main] mkshortcut 1640 set_signal_mask: setmask 0x0, newmask 0xFFFEFEDF, mask_bits 0x0
   25   35576 [main] mkshortcut 1640 kill0: kill (1640, 6)
   19   35595 [main] mkshortcut 1640 sig_send: sendsig 0x780, pid 1640, signal 6, its_me 1
   20   35615 [main] mkshortcut 1640 sig_send: wakeup 0x670
   19   35634 [main] mkshortcut 1640 sig_send: Waiting for pack.wakeup 0x670
   22   35656 [sig] mkshortcut 1640 sigpacket::process: signal 6 processing
   18   35674 [sig] mkshortcut 1640 init_cygheap::find_tls: sig 6
   16   35690 [sig] mkshortcut 1640 sigpacket::process: using tls 0x22CE64
   38   35728 [sig] mkshortcut 1640 try_to_debug: debugger_command ''
  36162 [sig] mkshortcut 1640 open_stackdumpfile: Dumping stack trace to mkshortcut.exe.stackdump
  434   36162 [sig] mkshortcut 1640 open_stackdumpfile: Dumping stack trace to mkshortcut.exe.stackdump
--- Process 1640, exception C0000005 at 6102F4E3
12372   48534 [sig] mkshortcut 1640 exception::handle: In cygwin_except_handler exception 0xC0000005 at 0x6102F4E3 sp 0xC2A780
   32   48566 [sig] mkshortcut 1640 exception::handle: In cygwin_except_handler signal 11 at 0x6102F4E3
   19   48585 [sig] mkshortcut 1640 exception::handle: In cygwin_except_handler calling 0x0
   20   48605 [sig] mkshortcut 1640 exception::handle: Exception: STATUS_ACCESS_VIOLATION
  739   49344 [sig] mkshortcut 1640 try_to_debug: debugger_command ''
   81   49425 [sig] mkshortcut 1640 _cygtls::inside_kernel: pc 0x6102F4E3, h 0x61000000, inside_kernel 0
[Here i have to wait about 1 minute]
59975013 60024438 [main] mkshortcut 1640 __set_errno: int sig_send(_pinfo*, siginfo_t&, _cygtls*):790 setting errno 88
  120 60024558 [main] mkshortcut 1640 sig_send: returning 0xFFFFFFFF from sending signal 6
   87 60024645 [main] mkshortcut 1640 _pinfo::kill: -1 = sig_send, Win32 error 0 
   80 60024725 [main] mkshortcut 1640 _pinfo::kill: -1 = _pinfo::kill (6), pid 1640, process_state 0x41
  237 60024962 [main] mkshortcut 1640 _cygwin_istext_for_stdio: fd 0: opened as binary
   80 60025042 [main] mkshortcut 1640 _cygwin_istext_for_stdio: fd 1: opened as binary
   80 60025122 [main] mkshortcut 1640 _cygwin_istext_for_stdio: fd 2: opened as binary
  881 60026003 [main] mkshortcut 1640 close: close(0)
   77 60026080 [main] mkshortcut 1640 fhandler_pty_slave::cleanup: /dev/pty1 closed, usecount 4
   75 60026155 [main] mkshortcut 1640 fhandler_base::close_with_arch: line 1120:  /dev/pty1<0x61273C18> usecount + -1 = 3
   82 60026237 [main] mkshortcut 1640 fhandler_base::close_with_arch: not closing archetype
   78 60026315 [main] mkshortcut 1640 close: 0 = close(0)
 1194 60027509 [main] mkshortcut 1640 close: close(1)
   67 60027576 [main] mkshortcut 1640 fhandler_pty_slave::cleanup: /dev/pty1 closed, usecount 3
   76 60027652 [main] mkshortcut 1640 fhandler_base::close_with_arch: line 1120:  /dev/pty1<0x61273C18> usecount + -1 = 2
   78 60027730 [main] mkshortcut 1640 fhandler_base::close_with_arch: not closing archetype
   76 60027806 [main] mkshortcut 1640 close: 0 = close(1)
 1144 60028950 [main] mkshortcut 1640 close: close(2)
   66 60029016 [main] mkshortcut 1640 fhandler_pty_slave::cleanup: /dev/pty1 closed, usecount 2
   75 60029091 [main] mkshortcut 1640 fhandler_base::close_with_arch: line 1120:  /dev/pty1<0x61273C18> usecount + -1 = 1
   78 60029169 [main] mkshortcut 1640 fhandler_base::close_with_arch: not closing archetype
   75 60029244 [main] mkshortcut 1640 close: 0 = close(2)
  558 60029802 [main] mkshortcut 1640 do_exit: do_exit (6), exit_state 0
   76 60029878 [main] mkshortcut 1640 void: 0x0 = signal (20, 0x1)
   74 60029952 [main] mkshortcut 1640 void: 0x0 = signal (1, 0x1)
   77 60030029 [main] mkshortcut 1640 void: 0x0 = signal (2, 0x1)
   73 60030102 [main] mkshortcut 1640 void: 0x0 = signal (3, 0x1)
   84 60030186 [main] mkshortcut 1640 init_cygheap::close_ctty: closing cygheap->ctty 0x61273C18
   77 60030263 [main] mkshortcut 1640 fhandler_base::close_with_arch: closing passed in archetype, usecount 0
   78 60030341 [main] mkshortcut 1640 fhandler_pty_slave::close: closing last open /dev/pty1 handle
  181 60030522 [main] mkshortcut 1640 fhandler_console::free_console: freed console, res 1
   81 60030603 [main] mkshortcut 1640 fhandler_pty_common::close: pty1 <0x70C,0x704> closing
  104 60030707 [main] mkshortcut 1640 getpid: 1640 = getpid()
  134 60030841 [main] mkshortcut 1640 sigproc_terminate: entering
   78 60030919 [main] mkshortcut 1640 __set_errno: int sig_send(_pinfo*, siginfo_t&, _cygtls*):619 setting errno 11
   74 60030993 [main] mkshortcut 1640 sig_send: returning 0x1 from sending signal -42
   77 60031070 [main] mkshortcut 1640 proc_terminate: nprocs 0
   74 60031144 [main] mkshortcut 1640 proc_terminate: leaving
  103 60031247 [main] mkshortcut 1640 __to_clock_t: dwHighDateTime 0, dwLowDateTime 156250
   76 60031323 [main] mkshortcut 1640 __to_clock_t: total 00000000 0000000F
   77 60031400 [main] mkshortcut 1640 __to_clock_t: dwHighDateTime 0, dwLowDateTime 156250
   74 60031474 [main] mkshortcut 1640 __to_clock_t: total 00000000 0000000F
   78 60031552 [main] mkshortcut 1640 pinfo::exit: Calling ExitProcess n 0x6, exitcode 0x600
% cat mkshortcut.exe.stackdump
Stack trace:
Frame     Function  Args
0022A218  7C802542  (00000670, 0000EA60, 611EC8E0, 611EC426)
0022A338  610DC669  (0022A3A0, 775C77E8, 00000000, 00240000)
0022A428  610D98B3  (00000000, 00000010, 611EBD41, 611EB9BD)
0022A488  610D9D8E  (006F0072, 00720067, 006D0061, 00000006)
0022A538  610D9EE0  (00000668, 00000006, 0022D874, FFFEFEDF)
0022A558  610D9F0C  (00000006, 00000006, 0022A598, 610E38ED)
0022A588  610DA1D3  (0000003C, 20040F10, 0022A5C8, 610E38ED)
20040F48  61110DC5  (00000000, 00000000, 00000000, 00000000)
  48605 [sig] mkshortcut 1640 exception::handle: Exception: STATUS_ACCESS_VIOLATION
%

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


More information about the Cygwin mailing list