Mail Archives: cygwin/2004/09/30/13:29:36
Unintentionally I used %H in the 'find -printf' format string and ended up
with a core dump. I'm not entirely sure what %H is supposed to print; (as it
seems to me; nothing, when used this way)
man find/-printf format codes;
%H Command line argument under which file was found.
...so, this is a simple "heads up":
$ uname -svr
<checked several recent snapshots and the 1.5.11-1 release.>
$ cygcheck -c findutils
Cygwin Package Information
Package Version Status
findutils 4.1.7-4 OK
$ find -printf "%H\n"
Segmentation fault (core dumped)
$ cat find.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at eip=004051F2
eax=00000001 ebx=10010200 ecx=00000000 edx=00401044 esi=0022EF10
edi=100102A0
ebp=0022EE60 esp=0022EE04 program=C:\Program\Cygwin\bin\find.exe, pid 2388,
thread main
cs=001B ds=0023 es=0023 fs=0038 gs=0000 ss=0023
Stack trace:
Frame Function Args
0022EE60 004051F2 (00401044, 0022EF10, 10010258, 00406926)
0022EE90 0040491B (00401044, 0022EF10, 10010210, 69776779)
0022EF50 0040193E (00401044, 00401044, 00000000, 00401044)
0022F000 00401754 (00401044, 0000002D, 0041540C, 00401115)
0022F040 004014EB (00000003, 61781678, 100100A8, 0022F098)
0022F080 61005F34 (0022F098, 7FFDF000, 00000000, 32333838)
0022FF60 6100614B (00000000, 00000000, 00000000, 00000000)
End of stack trace
/Hannu E K Nevalainen, B.Sc. EE Microcomputer systems --72-->
** mailing list preference; please keep replies on list **
-- printf("LocalTime: UTC+%02d\n",(DST)? 2:1); --
--END OF MESSAGE--
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
- Raw text -