Bug 196703

Summary: Segfaults on x86_64
Product: Red Hat Enterprise Linux 4 Reporter: Dag Wieers <dag>
Component: dos2unixAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact: Ben Levenson <benl>
Severity: medium Docs Contact:
Priority: medium    
Version: 4.0   
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2006-06-26 15:58:01 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Dag Wieers 2006-06-26 15:34:58 UTC
Description of problem:
I have a problem where dos2unix segfaults when performing dos2unix conversions.
I can demonstrate it by doing:

    lftpget 'http://mamboxchange.com/frs/download.php/7877/MamboV4.5.4.tar.gz'
    tar -xzf MamboV4.5.4.tar.gz
    find . -type f -name '*.html' -o -name '*.php' -o -name '*.xml' | xargs -n1
dos2unix

On a RHEL4 x86_64 it segfaults. (although once I have seen a signal 6 problem)
However it does not occur when stracing dos2unix.

There are also errors in dmesg/syslog:

    dos2unix[2369] general protection rip:3f7f067eab rsp:7fbffff610 error:0
    dos2unix[2534] general protection rip:3f7f067eab rsp:7fbffff640 error:0
    dos2unix[2686] general protection rip:3f7f0683c4 rsp:7fbffff700 error:0


Version-Release number of selected component (if applicable):
dos2unix-3.1-21.x86_64

How reproducible:
Everytime

Steps to Reproduce:
1. See above
2.
3.
  
Actual results:
Segfaults

Expected results:


Additional info:

Comment 1 Tim Waugh 2006-06-26 15:58:01 UTC

*** This bug has been marked as a duplicate of 174016 ***