[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Grep 2.5.1 crashes in Mac OS X 10.4 with ignore case option
From: |
Tony Abou-Assaleh |
Subject: |
Re: Grep 2.5.1 crashes in Mac OS X 10.4 with ignore case option |
Date: |
Fri, 28 Sep 2007 18:01:40 -0300 (ADT) |
Thanks for the bug report.
There are numerous bugs in Grep 2.5.1 related to -i and other options that
have been fixed in Grep 2.5.3. Please upgrade to the latest version.
Cheers,
TAA
-----------------------------------------------------
Tony Abou-Assaleh
Email: address@hidden
Web site: http://tony.abou-assaleh.net
----------------------[THE END]----------------------
On Sun, 16 Sep 2007, Phillip G. Apley wrote:
>
> If I type the following in bash, sh, or csh I get the same result:
>
> cd ~/Mail/Mailboxes/Local Messages
> grep -m 1 -i -h ^Message-ID: -A 1 InboxTmp.mbox/Messages/830076.emlx
>
> I get a segmentation fault.
> Then I get a dialog that says "The application grep quit unexpectedly",
> and a 'problem report' which I'll show below.
>
> If I take out the -i there is no error.
>
> It only has a problem on a couple of directories so far, but of
> course they're the ones I most care about. In either case, (ignoring
> case or not) before grep dies, it (so far) outputs the same result set.
>
> I've attached the file that causes the problem.
>
> I'm running gnu grep 2.5.1
>
> I tried it feeding input from a file instead of find, and skipped the
> -print0 and --0 and it does the same thing.
>
> 
>
> Date/Time: 2007-09-15 21:30:42.748 -0400
> OS Version: 10.4.10 (Build 8R218)
> Report Version: 4
>
> Command: grep
> Path: /usr/bin/grep
> Parent: xargs [2328]
>
> Version: ??? (???)
>
> PID: 2329
> Thread: 0
>
> Exception: EXC_BAD_ACCESS (0x0001)
> Codes: KERN_INVALID_ADDRESS (0x0001) at 0x00046000
>
> Thread 0 Crashed:
> 0 grep 0x0000aefc 0x1000 + 40700
> 1 grep 0x0000dcec 0x1000 + 52460
> 2 grep 0x00003228 0x1000 + 8744
> 3 grep 0x00003964 0x1000 + 10596
> 4 grep 0x00003ce8 0x1000 + 11496
> 5 grep 0x00005394 0x1000 + 17300
> 6 grep 0x00001cec 0x1000 + 3308
> 7 grep 0x00001b8c 0x1000 + 2956
>
> Thread 0 crashed with PPC Thread State 64:
> srr0: 0x000000000000aefc srr1:
> 0x000000000000d030 vrsave: 0x0000000000000000
> cr: 0x44082484 xer: 0x0000000020000004 lr:
> 0x000000000000dcec ctr: 0x0000000000000000
> r0: 0x0000000000000004 r1: 0x00000000bfff6ba0 r2:
> 0x00000000a0002830 r3: 0x0000000000019d70
> r4: 0x000000000001d460 r5: 0x00000000fffe2ba1 r6:
> 0x00000000bfff6c70 r7: 0x000000000001d464
> r8: 0x000000000001d470 r9: 0x0000000000000000 r10:
> 0x0000000001804c00 r11: 0x0000000000019158
> r12: 0x0000000090029f60 r13: 0x0000000000000000 r14:
> 0x0000000000000000 r15: 0x0000000000000000
> r16: 0x0000000000000000 r17: 0x00000000bfff6d00 r18:
> 0x0000000000020000 r19: 0x0000000000000054
> r20: 0x00000000bfff6c70 r21: 0x000000000001d460 r22:
> 0x0000000000000000 r23: 0x0000000000019d70
> r24: 0x0000000000000001 r25: 0x00000000003003e4 r26:
> 0x0000000000020000 r27: 0x0000000000000001
> r28: 0x0000000000020000 r29: 0x000000000000000a r30:
> 0x0000000000000001 r31: 0x0000000000046000
>
> Binary Images Description:
> 0x1000 - 0x18fff grep /usr/bin/grep
> 0x8fe00000 - 0x8fe52fff dyld 46.12 /usr/lib/dyld
> 0x90000000 - 0x901bcfff libSystem.B.dylib /usr/lib/libSystem.B.dylib
> 0x90214000 - 0x90219fff libmathCommon.A.dylib /usr/lib/system/
> libmathCommon.A.dylib
>
> Model: PowerBook5,5, BootROM 4.8.6f0, 1 processors, PowerPC G4
> (1.1), 1.5 GHz, 2 GB
> Graphics: ATI Mobility Radeon 9700, ATY,RV360M11, AGP, 64 MB
> Memory Module: SODIMM0/J20STANDARD, 1 GB, DDR SDRAM, PC2700U-25330
> Memory Module: SODIMM1/J23REVERSED, 1 GB, DDR SDRAM, PC2700U-25330
> AirPort: AirPort Extreme, 405.1 (3.90.34.0.p18)
> Modem: LastDash, UCJ, V.92, 4.0, APPLE VERSION 2.6.6
> Bluetooth: Version 1.7.14f14, 2 service, 0 devices, 2 incoming serial
> ports
> Network Service: AirPort, AirPort, en1
> PCI Card: TXN,PCIXXXX-00, cardbus, PC Card
> Parallel ATA Device: MATSHITADVD-R UJ-825
> Parallel ATA Device: WDC WD1200VE-00KWT0, 111.79 GB
> USB Device: Bluetooth HCI, Up to 12 Mb/sec, 500 mA
>