bugfindutils - Bugs: bug #42793, find using the option...

 
 

bug #42793: find using the option "-ls" fails with "Failed to write output"

Submitted by:  Jens Schleusener <jschleus>
Submitted on:  Thu 17 Jul 2014 02:47:35 PM UTC  
 
Category: findSeverity: 5 - Blocker
Item Group: Wrong resultStatus: Fixed
Privacy: PublicAssigned to: James Youngman <jay>
Originator Name: Jens SchleusenerOpen/Closed: Closed
Release: 4.5.13Fixed Release: 4.5.14

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 19 Jul 2014 10:56:24 AM UTC, comment #2:

I just release findutils-4.5.14 with this bugfix. Please re-open this bug if you can still reproduce the problem with that release.

James Youngman <jay>
Project AdministratorIn charge of this item.
Fri 18 Jul 2014 11:50:53 PM UTC, comment #1:

I believe I've found the problem (it's an uninitialised variable).

Please try applying the attached two patches to your 4.5.13 code, and re-testing. Alternatively try using the code directly from a git checkout (I've already committed these patches to the public repository).

Thanks for the prompt bug report, by the way. Sorry for any inconvenience.

(file #31740, file #31741)

James Youngman <jay>
Project AdministratorIn charge of this item.
Thu 17 Jul 2014 02:47:35 PM UTC, original submission:

I just installed testwise findutils-4.5.13 (uner Linux openSUSE 13.1) but in contrast to findutils-4.5.12 I got an error if I use the option "-ls".

For e.g.

~> /usr/local/bin/find . -ls

128078 236 drwxr-xr-x 394 user group 23756 Jul 17 16:33 ./usr/local/soft2/bin/find: Failed to write output

or using the binary in the according source directory directly

/usr/local/src/findutils-4.5.13> find/find . -ls

535046 4 drwxr-xr-x 12 user group 4096 Jul 17 16:05 .find/find: Failed to write output

So someone (find?) seems to prefix a "." to the used program path/name and probably tries to write something in such a directory. If I testwise created such
missing directory find works as expected.

Jens

Jens Schleusener <jschleus>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by jay (Updated the item)
  • -unavailable- added by jschleus (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 8 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat 19 Jul 2014 10:56:24 AM UTCjayItem GroupNone=>Wrong result
      StatusNone=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.5.14
    Fri 18 Jul 2014 11:50:53 PM UTCjayAttached File-=>Added 0001-Update-the-version-number-following-the-recent-relea.patch, #31740
      Attached File-=>Added 0002-Fix-bug-42793-Failed-to-write-output-with-ls.patch, #31741
    Fri 18 Jul 2014 10:44:19 PM UTCjaySeverity3 - Normal=>5 - Blocker
      Assigned toNone=>jay

    Back to the top


    Powered by Savane 3.1-cleanup1