This is the mail archive of the
cygwin
mailing list for the Cygwin project.
[64-bit] egrep core dumps when it opens binary files
- From: Jim Burwell <jimb at jsbc dot cc>
- To: The Cygwin Mailing List <cygwin at cygwin dot com>
- Date: Sun, 11 Aug 2013 15:07:49 -0700
- Subject: [64-bit] egrep core dumps when it opens binary files
64 bit egrep gets a segfault and dumps core when it opens binary files:
{jimb@T510jimb/pty1}~> egrep -vil blarg *
egrep: archive: Is a directory
argle
b.pyc
bahz
baktmp
bargle
baz
bbcase
Segmentation fault (core dumped)
{jimb@T510jimb/pty1}~> ls -1 * | head -15
argle
b.pyc
bahz
baktmp
bargle
baz
bbcase
bigcaps.pcf.gz
^^^ dumps when it hits this file
Core dump file:
{jimb@T510jimb/pty1}~> cat egrep.exe.stackdump
Exception: STATUS_ACCESS_VIOLATION at rip=00077C72F7E
rax=00000006000743BA rbx=00000006000743BA rcx=0000000600090000
rdx=0000000000000000 rsi=0000000600073F79 rdi=00000000000000E9
r8 =0000000000000039 r9 =03FFFFFFFFFFF90E r10=000000000000019D
r11=0000000000000002 r12=000000000022A120 r13=000000060005062C
r14=0000000000000003 r15=0000000000000000
rbp=0000000600050976 rsp=000000000022A058
program=C:\cygwin64\bin\egrep.exe, pid 9056, thread main
cs=0033 ds=002B es=002B fs=0053 gs=002B ss=002B
Stack trace:
Frame Function Args
00600050976 00077C72F7E (0000022A028, 001801CADC0, 0000022A120,
006000743BA)
00600050976 00077B4B6C6 (000000000E9, 00600050976, 0000022A120,
006000743B9)
00600050976 001800C4D27 (00000000000, 00000000000, 00000000000,
0000022A11E)
00600050976 00100405900 (00000000000, 00600050000, 0000022A128,
00000010000)
00600050540 00100404298 (00000000436, 00600050000, 001801130CB,
00000010000)
0000022A2F8 0010040277C (0000022A5B0, 000FFFFFFFE, 00000000000,
00000000002)
00000000003 00100402E62 (005EE2D8180, 00077BA003C, 00077B05670,
00000000000)
0000022A6C0 00100425A9D (7FEFDB6DC4A, 000002AFB40, 00180041C76,
00000000000)
0000022AB80 0018004835B (00000000000, 00000000000, 00000000000,
00000000000)
00000000000 001800461BB (00000000000, 00000000000, 00000000000,
00000000000)
00000000000 0018004637F (00000000000, 00000000000, 00000000000,
00000000000)
00000000000 001004243E1 (00000000000, 00000000000, 00000000000,
00000000000)
00000000000 00100401010 (00000000000, 00000000000, 00000000000,
00000000000)
00000000000 00077B1652D (00000000000, 00000000000, 00000000000,
00077B99300)
00000000000 00077C4C521 (00000000000, 00000000000, 00000000000,
00077B99300)
End of stack trace
- Jim
--
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