After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 205095 - evolution fails when folders are on fileystem with no locks
evolution fails when folders are on fileystem with no locks
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Mailer
unspecified
Other All
: Normal normal
: ---
Assigned To: Not Zed
Evolution QA team
: 203099 204996 205192 205216 206115 208446 208811 208909 209039 209581 209857 210122 210364 217306 228233 229063 229064 240147 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2001-07-22 02:12 UTC by joe
Modified: 2013-09-10 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description joe 2001-07-22 02:13:00 UTC
Package: Evolution
Priority: Normal
Version: 0.11
Synopsis: Evolution 0.11 crashes when user's home is on NFS
Bugzilla-Product: Evolution
Bugzilla-Component: Mailer

Description:
On linux-2.4 based systems with knfsd (and lockd running), evolution 0.11 will crash it's mail component with the error message:
--------------------------
Error while 'Retrieving message 1':
Failed to get lock using fcntl(2): No locks available
--------------------------

This happened right after starting up evolution for the first time, and clicking on the pre-inserted "Welcome..." e-mail.

After this message, another one follows:
--------------------------
Ooops! The view for 'evolution:/local/Inbox' have died unexpectedly. This probably means that the mail component has crashed.
--------------------------

All you need in order to reproduce it is to have your user home directory mounted locally via NFS, exported from another machine. I think.  :)

Let me know if you need more info.



Unknown reporter: joe@sysorb.com, changed to bugbuddy-import@ximian.com.

Comment 1 Not Zed 2001-07-31 13:50:45 UTC
*** bug 205192 has been marked as a duplicate of this bug. ***
Comment 2 Not Zed 2001-08-01 06:44:37 UTC
Fixed the crash (it was an assertion failure), so i'm marking it down
from blocker (it just requires compilation options to get to work).

Now the problem is how to make this run-time configurable, on a
per-folder basis.  Maybe we should only use .locks for our own storage
areas.


Comment 3 Not Zed 2001-08-10 01:47:23 UTC
*** bug 204996 has been marked as a duplicate of this bug. ***
Comment 4 Not Zed 2001-08-10 01:48:10 UTC
*** bug 205216 has been marked as a duplicate of this bug. ***
Comment 5 Luis Villa 2001-08-12 06:51:20 UTC
*** bug 206115 has been marked as a duplicate of this bug. ***
Comment 6 Luis Villa 2001-08-12 06:53:11 UTC
*** bug 203099 has been marked as a duplicate of this bug. ***
Comment 7 Luis Villa 2001-08-12 06:53:12 UTC
*** bug 203099 has been marked as a duplicate of this bug. ***
Comment 8 bugzilla 2001-08-23 13:44:16 UTC
Hey Notzed,

I'm not able to use Evo because of this bug, could you pleaze work on
this one? 

Regards,  Rolo
Comment 9 Luis Villa 2001-09-04 19:27:36 UTC
*** bug 208446 has been marked as a duplicate of this bug. ***
Comment 10 Luis Villa 2001-09-12 16:20:50 UTC
*** bug 209039 has been marked as a duplicate of this bug. ***
Comment 11 Luis Villa 2001-09-12 16:20:56 UTC
*** bug 209581 has been marked as a duplicate of this bug. ***
Comment 12 Luis Villa 2001-09-14 19:39:17 UTC
*** bug 209857 has been marked as a duplicate of this bug. ***
Comment 13 Luis Villa 2001-09-17 17:43:38 UTC
Re-titling to make it show up more clearly.
Comment 14 Luis Villa 2001-09-17 17:43:54 UTC
*** bug 208909 has been marked as a duplicate of this bug. ***
Comment 15 Luis Villa 2001-09-17 17:44:10 UTC
*** bug 210122 has been marked as a duplicate of this bug. ***
Comment 16 Luis Villa 2001-09-17 17:54:44 UTC
notzed: is this the same as bug 206335? 
Comment 17 Luis Villa 2001-09-17 19:42:32 UTC
*** bug 208811 has been marked as a duplicate of this bug. ***
Comment 18 Not Zed 2001-09-18 06:20:38 UTC
You have to recompile with

--enable-file-locking=no

This will enable it to work with nfs.

I'll try to think up a way that it can auto-detect this.  The problem
is most system calls return the same for either running out of locks
or locking not available on the filesystem.

This bug is unrelated to 6335 which is a packaging problem/different
issue.


Retitling as this has nothign to do with permissions.
Comment 19 Not Zed 2001-09-19 10:07:46 UTC
I've put a change into the fcntl locking code that will now say it
'locked ok', even if it got an error, if that error says 'we dont
support locking'.

1 problem, this is usually the same error that says 'we've run out of
locks'.

But i suppose it should be ok, generally, particularly since we .lock
as well anyway.

It is also somewhat system specific, but linux, solaris, *bsd kernels
should hopefully work with what i've done.

But i have not tested it at all, so someone test this.
Comment 20 Heath Harrelson 2001-09-19 15:04:38 UTC
*** bug 210364 has been marked as a duplicate of this bug. ***
Comment 21 Luis Villa 2001-12-14 17:18:57 UTC
*** bug 217306 has been marked as a duplicate of this bug. ***
Comment 22 Luis Villa 2001-12-14 17:19:15 UTC
We have a dup of this from 1.0; notzed, your thoughts?
Comment 23 Gerardo Marin 2002-07-26 17:39:40 UTC
*** bug 228233 has been marked as a duplicate of this bug. ***
Comment 24 Gerardo Marin 2002-08-16 19:55:08 UTC
*** bug 229063 has been marked as a duplicate of this bug. ***
Comment 25 Gerardo Marin 2002-08-16 19:55:39 UTC
*** bug 229064 has been marked as a duplicate of this bug. ***
Comment 26 Gerardo Marin 2003-03-25 08:32:46 UTC
*** bug 240147 has been marked as a duplicate of this bug. ***