Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148566 - net-fs/davfs2-1.0.2_p20060820 - mounts crashes after a while after several access, files moving and deleting
Summary: net-fs/davfs2-1.0.2_p20060820 - mounts crashes after a while after several ac...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High critical (vote)
Assignee: Stefan Schweizer (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-09-21 12:25 UTC by Butchie
Modified: 2006-09-22 12:51 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
corrects the "coda_venus_readdir: Invalid dir" bug (davfs2-cvs1.0.2-badpointer.patch,1.67 KB, patch)
2006-09-21 12:35 UTC, Butchie
Details | Diff
corrects the "coda_venus_readdir: Invalid dir" bug (davfs2-cvs1.0.2-badpointer.patch,1.67 KB, patch)
2006-09-21 12:56 UTC, Butchie
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Butchie 2006-09-21 12:25:22 UTC
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; fr; rv:1.8.0.7) Gecko/20060919 Firefox/1.5.0.7
Build Identifier: 

Each time one accesses a davfs.mount folder, one gets error messages on the
logs. If it is done from the console, one gets an error message "bad descriptor
filename". If a file is deleted from a webdav client then a following access
from a davfs.mount folder still shows the deleted file and then crashes for
good. Davfs   needs to be restarted.

Reproducible: Sometimes

Steps to Reproduce:
1.The folder I am working on is quite big : about 30000 files, of different
types and origin.
2. Moving files and folders, renaming files, deleting files and folders ...
3.

Actual Results:  
The davfs folder become unaccessible.

Expected Results:  
Should not crach.

The version I emerged is davfs2-1.0.2_p20060820. I am using the console and
konqueror to access the davfs mounts. They are also accessed from windoze
machine  through samba share. The webdav folders which davfs mount are also
accessed by web clients via ssl. 
I got a patch from Werner Baumann, the developper from the davfs project, which
solves at least some of the issue (no more error messages, the 2 davfs mounts we
are using at the office are still up since 24 hours). 

Patch attached below
Comment 1 Butchie 2006-09-21 12:35:58 UTC
Created attachment 97685 [details, diff]
corrects the  "coda_venus_readdir: Invalid dir" bug
Comment 2 Butchie 2006-09-21 12:56:33 UTC
Created attachment 97688 [details, diff]
corrects the  "coda_venus_readdir: Invalid dir" bug
Comment 3 Stefan Schweizer (RETIRED) gentoo-dev 2006-09-22 12:51:11 UTC
thanks, fixed