Bug 629060 - some directories are not displayed in directory tree
Summary: some directories are not displayed in directory tree
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: easytag
Version: 13
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Matthias Saou
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-08-31 19:46 UTC by Christian Krause
Modified: 2011-06-28 13:39 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2011-06-28 13:39:01 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 485980 0 None None None Never

Description Christian Krause 2010-08-31 19:46:49 UTC
Description of problem:
some directories are not displayed in the directory tree when browsing on a CIFS share

Version-Release number of selected component (if applicable):
easytag-2.1.6-5.fc12.i686

How reproducible:
100%

The reason is that sometimes the CIFS server provides very large inode numbers like:
stat /my/cifs/store
  File: `/my/cifs/store'
  Size: 0               Blocks: 0          IO Block: 16384  directory
Device: 1ch/28d Inode: 278185041108994  Links: 1
Access: (0755/drwxr-xr-x)  Uid: (  500/    chkr)   Gid: (    0/    root)
Access: 2010-08-31 20:38:47.000000000 +0200
Modify: 2010-04-24 17:10:15.000000000 +0200
Change: 2010-04-24 17:10:15.000000000 +0200

If easytag uses then "stat" on this directory, stat will return with -1 and the following errno: 75, Value too large for defined data type. As a result this directory will be ignored in src/browser.c in expand_cb() (there it is even worse: the return value of stat is not checked at all and so the data in statbuf may be just random).

Other programs suffer from the problem as well:
http://www.musicpd.org/mantis/view.php?id=2665

The best solution seems to be to compile the program with -D_FILE_OFFSET_BITS=64.

Comment 1 Bug Zapper 2010-11-03 10:32:09 UTC
This message is a reminder that Fedora 12 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 12.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '12'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 12's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 12 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 2 Christian Krause 2010-11-05 23:47:14 UTC
The issue is still present in F13 and F14.

Comment 3 Bug Zapper 2011-05-31 14:53:30 UTC
This message is a reminder that Fedora 13 is nearing its end of life.
Approximately 30 (thirty) days from now Fedora will stop maintaining
and issuing updates for Fedora 13.  It is Fedora's policy to close all
bug reports from releases that are no longer maintained.  At that time
this bug will be closed as WONTFIX if it remains open with a Fedora 
'version' of '13'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version prior to Fedora 13's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that 
we may not be able to fix it before Fedora 13 is end of life.  If you 
would still like to see this bug fixed and are able to reproduce it 
against a later version of Fedora please change the 'version' of this 
bug to the applicable version.  If you are unable to change the version, 
please add a comment here and someone will do it for you.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events.  Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

The process we are following is described here: 
http://fedoraproject.org/wiki/BugZappers/HouseKeeping

Comment 4 Bug Zapper 2011-06-28 13:39:01 UTC
Fedora 13 changed to end-of-life (EOL) status on 2011-06-25. Fedora 13 is 
no longer maintained, which means that it will not receive any further 
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of 
Fedora please feel free to reopen this bug against that version.

Thank you for reporting this bug and we are sorry it could not be fixed.


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