[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Segmentation fault, dd or egrep
From: |
Zev Weiss |
Subject: |
Segmentation fault, dd or egrep |
Date: |
Sat, 10 Nov 2007 16:25:53 -0800 |
Hi-
I'm trying to recover some data from a disk that was unexpectedly
reformatted, and am running into a segmentation fault, though it's
not clear from the output whether it's coming from dd or egrep (hence
this email being sent to both grep and coreutils). I'm running the
following command in bash:
dd if=/dev/sdc | egrep -A 50 -B 50 -a '^[\\\:]\ [^\ \t\n]{1,15}\ \(\
[A-Za-z0-9\ ]{0,15}\ \-\-\ [A-Za-z0-9\ ]{0,15}\ \)$' > ./outputfile
(Looking for telltale signs of Forth source code.)
It runs for about about two minutes and then fails with a segfault,
though the console output doesn't tell which process segfaulted. I'm
running Fedora 8 x86_64 with Linux kernel version 2.6.23.1-42.fc8 (in
runlevel 3, for what it's worth).
dd is version 6.9
egrep is version 2.5.1
bash is version 3.2.25(1)-release (x86_64-redhat-linux-gnu) [if
that's of any relevance]
Thanks,
Zev Weiss
- Segmentation fault, dd or egrep,
Zev Weiss <=