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 165819 - BeagleDaemon crashes with "... ERROR_NO_MORE_FILES"
BeagleDaemon crashes with "... ERROR_NO_MORE_FILES"
Status: RESOLVED NOTGNOME
Product: beagle
Classification: Other
Component: General
0.0.x
Other All
: High critical
: Milestone 1.5
Assigned To: Jon Trowbridge
Jon Trowbridge
: 165139 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2005-01-31 15:17 UTC by Willem van Bergen
Modified: 2005-05-20 07:29 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Log resulting in (39.32 KB, text/plain)
2005-02-01 04:44 UTC, Willem van Bergen
Details
ls -l /proc/<pid>/fd (141.58 KB, text/plain)
2005-02-01 05:08 UTC, Willem van Bergen
Details
beagled --debug output (stripped somewhat) (6.89 KB, text/plain)
2005-02-01 05:10 UTC, Willem van Bergen
Details
beagled --fg --debug log with the Unhandled exception (10.24 KB, text/plain)
2005-04-15 10:03 UTC, Subodh Soni
Details
Complete Log file for Beagle from .beagle/Log directory (861.46 KB, text/plain)
2005-04-18 03:52 UTC, Subodh Soni
Details
Complete Beagle Index Helper Log file from .beagle/Log directory (264.52 KB, text/plain)
2005-04-18 03:53 UTC, Subodh Soni
Details
Another example of a ERROR_NO_MORE_FILES Beagle (415.08 KB, text/plain)
2005-04-18 21:41 UTC, Chris Schneider
Details
Another example of a ERROR_NO_MORE_FILES IndexHelper (171.34 KB, text/plain)
2005-04-18 21:42 UTC, Chris Schneider
Details
output of the log + ls -l /proc/<pid>/fd (146.18 KB, application/x-compressed-tar)
2005-04-30 14:08 UTC, Martin Bergner
Details

Description Willem van Bergen 2005-01-31 15:17:47 UTC
Steps to reproduce:
1. Start beagled
2. Wait a while ...
3. Voila!


Stack trace:
Optimizing Lucene Index at /home/willem/.beagle/FileSystemIndex/Index
Optimized in 2.48s

Unhandled Exception: System.IO.IOException: Win32 IO returned
ERROR_NO_MORE_FILES. Path: /proc/loadavg
in [0x001ea] (at
/var/tmp/portage/mono-1.0.5-r3/work/mcs-1.0.5/class/corlib/System.IO/FileStream.cs:180)
System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare,int,bool)
in [0x0000c] (at
/var/tmp/portage/mono-1.0.5-r3/work/mcs-1.0.5/class/corlib/System.IO/FileStream.cs:109)
System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
in <0x00081> (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor
(string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
in [0x0002f] (at
/home/willem/Development/beagle-0.0.5/Util/SystemInformation.cs:53)
Beagle.Util.SystemInformation:CheckLoadAverage ()
in [0x00000] (at
/home/willem/Development/beagle-0.0.5/Util/SystemInformation.cs:70)
Beagle.Util.SystemInformation:get_LoadAverageOneMinute ()
in [0x000c4] (at /home/willem/Development/beagle-0.0.5/Util/Scheduler.cs:608)
Beagle.Util.Scheduler:ComputeDelay (Beagle.Util.Scheduler/Priority,double)
in [0x00172] (at /home/willem/Development/beagle-0.0.5/Util/Scheduler.cs:749)
Beagle.Util.Scheduler:Worker ()
in <0x00053> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()


Other information:
Seems to be crashing in Beagle.Util.SystemInformation:CheckLoadAverage() because
of an unhandled exception.
It can take a while, but eventually beagled crashes on my system. I am running
gentoo 2.6.9 / gnome 2.8 / mono 1.05 / dbus 0.23 / beagle 0.05
Comment 1 Joe Shaw 2005-01-31 22:17:28 UTC
Can you attach more of a log?  Also, after this error happens, can you find out
the PID of the beagle process and attach the output of "ls -l /proc/<pid>/fd" ?
Comment 2 Willem van Bergen 2005-02-01 04:44:41 UTC
Created attachment 36800 [details]
Log resulting in 

Please take a look at the end of the file. As you can see, the beagle continues
running somehow, but when I search with BEST I always get zero results.

I am trying to reproduce it in debug mode right now, so maybe more info later.
Comment 3 Willem van Bergen 2005-02-01 05:08:18 UTC
Created attachment 36801 [details]
ls -l /proc/<pid>/fd

ls -l /proc/<pid>/fd as requested
Comment 4 Willem van Bergen 2005-02-01 05:10:32 UTC
Created attachment 36802 [details]
beagled --debug output (stripped somewhat)

It seems to be crashing on /proc/loadavg
Comment 5 Joe Shaw 2005-02-24 22:53:11 UTC
*** Bug 165139 has been marked as a duplicate of this bug. ***
Comment 6 Jon Trowbridge 2005-02-26 18:45:27 UTC
I used to hit this every now and then, but I haven't seen it in quite a while...
can anyone reproduce this bug with beagle 0.0.6.1 or better?
Comment 7 Subodh Soni 2005-04-15 09:56:41 UTC
I am getting this exception in the latest built beagle from CVS
(15th-April-2005). It starts with the following messages:
Unhandled Exception: System.IO.IOException: Win32 IO returned
ERROR_NO_MORE_FILES. Path: /proc/loadavg

and then the messages.. Beagle WARN: System.IO.IOException: Lock obtain timed out 
keep coming for all the backends on the console where I have started beagled
with --fg --debug options. At this stage neither best nor beagle-query works,
i.e. the query comes up with no results.

Comment 8 Subodh Soni 2005-04-15 10:03:31 UTC
Created attachment 45285 [details]
beagled --fg --debug log with the Unhandled exception
Comment 9 Jon Trowbridge 2005-04-15 13:13:55 UTC
Can you reproduce this crash consistently?  Can we see the entire log?  That
fragment don't contain enough information? 
Comment 10 Subodh Soni 2005-04-18 03:52:17 UTC
Created attachment 45377 [details]
Complete Log file for Beagle from .beagle/Log directory
Comment 11 Subodh Soni 2005-04-18 03:53:06 UTC
Created attachment 45378 [details]
Complete Beagle Index Helper Log file from .beagle/Log directory
Comment 12 Subodh Soni 2005-04-18 03:54:27 UTC
Jon: I am not sure under which condition does this problem occurs, but I would
try to reproduce the problem. I have attached the complete log files (Beagle and
IndexHelper) before this comment.
Comment 13 Chris Schneider 2005-04-18 21:41:48 UTC
Created attachment 45416 [details]
Another example of a ERROR_NO_MORE_FILES Beagle
Comment 14 Chris Schneider 2005-04-18 21:42:21 UTC
Created attachment 45417 [details]
Another example of a ERROR_NO_MORE_FILES IndexHelper
Comment 15 Martin Bergner 2005-04-30 14:03:02 UTC
I also get this problem on gentoo 2.6.11-r6, mono 1.06, beagle cvs from today,
dbus 23.4, gnome 2.8.3
Also: it's always the same: start, wait, crash

I will post the logfiles + the output of ls -l /proc/<pid>/fd
Maybe this will help somehow.
Note: ad-ad4 are outputs of the various pids. there are not the same (at least
not according to diff)
Comment 16 Martin Bergner 2005-04-30 14:08:05 UTC
Created attachment 45861 [details]
output of the log + ls -l /proc/<pid>/fd
Comment 17 Martin Bergner 2005-05-05 16:29:12 UTC
After I updated to mono 1.1.7 I didn't get the problem again. Beagled has been
running for 2 hours straight and has now finished indexing my home directory,
whereas before it stopped after 10 to 20 minutes
Comment 18 Joe Shaw 2005-05-06 19:13:58 UTC
This is excellent news; the IO layer has been rewritten in 1.1.7 and it's
possible this has been a mono bug all along.
Comment 19 Jon Trowbridge 2005-05-20 07:29:18 UTC
I'm closing this as NOTGNOME.  Please re-open the bug if the problem re-appears
with mono 1.1.7 or better.