This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

"find" - core dump on faulty arg

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., 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
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); --

Unsubscribe info:
Problem reports:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]