Re: beagled-helper maxing out CPU core

Sandy Armstrong <[email protected]> Tue, 12 Aug 2008 18:35:15 -0700
Newsgroups gmane.comp.gnome.dashboard.devel
Message-ID <[email protected]>
Joe Shaw wrote:
> Hi,
>
> On Tue, Aug 12, 2008 at 4:25 PM, Sandy Armstrong
> <[email protected]> wrote:
>   
>> The only open file I saw that looked suspicious was
>> ~/.gnome2/f-spot/photos.db.  But all I get when I run beagle-extract-content
>> on that is this (which runs very quickly, of course):
>>     
>
> It's much more likely to have been this:
>
>   
>> lr-x------ 1 sandy users 64 2008-08-12 13:19 17 -> /tmp/tmp53d12170.a2w
>>     
>
> What's the result of beagle-extract-content on that?

My newer beagled-helper process finally starting spinning my CPU.  Sure 
enough I found an offending *.a2w file (these are Alice [1] world files, 
or something...I've never really played much with Alice since the day I 
downloaded it).

On this .a2w file, beagle-extract-content hangs, eating all available CPU:

sandy@linux:~> beagle-extract-content 
Desktop/Downloads/Alice/Required/tutorialWorlds/IceSkaterWorld.a2w
Filename: 
file:///home/sandy/Desktop/Downloads/Alice/Required/tutorialWorlds/IceSkaterWorld.a2w
Debug: Loaded 63 filters from /usr/lib/beagle/Filters/Filters.dll
Debug: Verifying filter_cache at /home/sandy/.beagle/filterver.dat ... 
cache is dirty ? False
Filter: Beagle.Filters.FilterArchive (determined in .18s)
MimeType: application/zip

Error: Caught exception extracting data from archive 
file:///home/sandy/Desktop/Downloads/Alice/Required/tutorialWorlds/IceSkaterWorld.a2w
ICSharpCode.SharpZipLib.Zip.ZipException: Data descriptor signature not 
found
  at ICSharpCode.SharpZipLib.Zip.ZipInputStream.ReadDataDescriptor () 
[0x00000]
  at ICSharpCode.SharpZipLib.Zip.ZipInputStream.BodyRead (System.Byte[] 
b, Int32 off, Int32 len) [0x00000]
  at ICSharpCode.SharpZipLib.Zip.ZipInputStream.Read (System.Byte[] 
destination, Int32 index, Int32 count) [0x00000]
  at Beagle.Filters.FilterArchive.StoreStreamInTempFile 
(System.IO.Stream stream, System.String extension, DateTime mtime) [0x00000]


After that exception it continues to churn; on other .a2w files, 
beagle-extract-content quits after the exception (like in my last email, 
with the file in /tmp).

I'm going to exclude my Alice directory from Beagle for now...let me 
know if you'd like me to test anything else.

Thanks again,
Sandy

[1] http://www.alice.org/