Bug 143359 - segfault dos2unix
Summary: segfault dos2unix
Keywords:
Status: CLOSED DUPLICATE of bug 150277
Alias: None
Product: Fedora
Classification: Fedora
Component: dos2unix
Version: rawhide
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-12-19 22:13 UTC by Florian La Roche
Modified: 2007-11-30 22:10 UTC (History)
0 users

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-04-13 09:02:00 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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 ***


Note You need to log in before you can comment on or make changes to this bug.