Bug 143359

Summary: segfault dos2unix
Product: [Fedora] Fedora Reporter: Florian La Roche <laroche>
Component: dos2unixAssignee: Tim Waugh <twaugh>
Status: CLOSED DUPLICATE QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: rawhide   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-04-13 09:02:00 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 Florian La Roche 2004-12-19 22:13:57 UTC
Description of problem:

Rebuilding Pyrex within a Fedora Core development tree gives:

+ dos2unix -k -c mac CHANGES.txt ToDo.txt Tools/pyrex-mode.el
Tools/pyrex.st Doc
/About.html Doc/FAQ.html Doc/extension_types.html Doc/index.html
Doc/overview.ht
ml Doc/primes.c Doc/sharing.html Doc/special_methods.html
Demos/Makefile.nodistu
tils
dos2unix: converting file CHANGES.txt to UNIX format ...
dos2unix: converting file ToDo.txt to UNIX format ...
dos2unix: converting file Tools/pyrex-mode.el to UNIX format ...
dos2unix: converting file Tools/pyrex.st to UNIX format ...
dos2unix: converting file Doc/About.html to UNIX format ...
dos2unix: converting file Doc/FAQ.html to UNIX format ...
dos2unix: converting file Doc/extension_types.html to UNIX format ...
dos2unix: converting file Doc/index.html to UNIX format ...
dos2unix: converting file Doc/overview.html to UNIX format ...
dos2unix: converting file Doc/primes.c to UNIX format ...
dos2unix: converting file Doc/sharing.html to UNIX format ...
dos2unix: converting file Doc/special_methods.html to UNIX format ...
dos2unix: converting file Demos/Makefile.nodistutils to UNIX format ...
+ dos2unix -k -c mac Demos/callback/cheesefinder.h
Demos/callback/Makefile.nodis
tutils Demos/callback/README.txt
dos2unix: converting file Demos/callback/cheesefinder.h to UNIX format ...
dos2unix: converting file Demos/callback/Makefile.nodistutils to UNIX
format ...
dos2unix: converting file Demos/callback/README.txt to UNIX format ...
+ dos2unix -k -c mac Demos/embed/Makefile.msc
Demos/embed/Makefile.msc.static De
mos/embed/README
dos2unix: converting file Demos/embed/Makefile.msc to UNIX format ...
/var/tmp/Pyrex-0.9.2.1-3.src.rpm/rpm-tmp.88138: line 33: 14392
Segmentation faul
t      (core dumped) dos2unix -k -c mac Demos/embed/Makefile.msc
Demos/embed/Mak
efile.msc.static Demos/embed/README



Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 1 Sammy 2004-12-20 14:37:25 UTC
I can confirm this too. It seems to happen for certain files only. 

Comment 2 Robert Ottenhag 2005-01-27 15:15:00 UTC
I have the same problem, but testing shows that in my case the 
problem was related to the length of the path to the file, not the 
actual file contents, i.e. dos2unix <verylongpath>/myfile segfaulted, 
but doing cd <verylongpath>; dos2unix myfile works.

Comment 3 Robin Green 2005-04-12 18:52:13 UTC
Bug 150277 contains a fix for this issue.

Comment 4 Tim Waugh 2005-04-13 09:02:00 UTC
Thanks.

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