X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; q=dns; s=default; b=G6d UhpMCsRqRSo+IE7HPEjDeiOrPKYUcRTyJyoAqGncznXmWdyiaJhuM8m+KIGzfSKu xXupEfz7d5GfsQJz7cp7+ZTOfDB3izsmtZYeDezdNIGcFb0OM0yH5U9bE1S3J+pw Thga7mGzcWGq2X2Ez2btxjM7Iw5DIPLXutDtGxVE= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:mime-version:to:subject :content-type:content-transfer-encoding; s=default; bh=woswQpKHa +ksfoLuY9qbl/ip400=; b=shK4++Hs4/bxH9JR0myZ5qAmX6qoFmiIEDQbH7VZD W2un2AWc+q2dIIWUfK62LEETkpLEaygyR2LAgpMp1OuPdACgznAKN0SKkqSYbtoR 6oAAxh5zqZ3QyHt0Fef1h/kEpYYjJwsLM72xG8Wye7M1iCOXg2gxuIqaQe4botAi b0= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Spam-SWARE-Status: No, score=-2.7 required=5.0 tests=BAYES_40,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 Message-ID: <52080B35.5040106@jsbc.cc> Date: Sun, 11 Aug 2013 15:07:49 -0700 From: Jim Burwell User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: The Cygwin Mailing List Subject: [64-bit] egrep core dumps when it opens binary files Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit 64 bit egrep gets a segfault and dumps core when it opens binary files: {jimb AT T510jimb/pty1}~> egrep -vil blarg * egrep: archive: Is a directory argle b.pyc bahz baktmp bargle baz bbcase Segmentation fault (core dumped) {jimb AT 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 AT 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