Bug 339481

Summary: beagled-helper is unable to index a certain file - endless 100% cpu utilization
Product: [openSUSE] openSUSE 10.3 Reporter: Zsolt Sági <novell.admin>
Component: GNOMEAssignee: JP Rosevear <jpr>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P5 - None    
Version: Final   
Target Milestone: ---   
Hardware: i586   
OS: openSUSE 10.3   
Whiteboard:
Found By: Other Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---
Bug Depends on:    
Bug Blocks: 341832    
Attachments: problematic file (mail)
possible fix
485005.2.patch

Description Zsolt Sági 2007-11-06 11:59:36 UTC
Created attachment 182202 [details]
problematic file (mail)

There was a certain file - a mail in kmail's store - on my machine (/home/tamas/.kde/share/apps/kmail/mail/webmaster/cur/1191841883.13274.RPjw4) that  hung up a beagled-helper process with 100% cpu utilization.

I attach that file to this report. I did everithing as advised on the page http://beagle-project.org/Troubleshooting_CPU and the file also hung the beagle-extract-content program.

Later I figured out that if I change the subject line from:
Subject: =??Q?Job_No:_1_Job_begin?=
to something like:
Subject: Job_No:_1_Job_begin
then beagle is able to index the file!

As you can see, I run openSUSE 10.3 on i386 (32 bit)

Best wishes,

Tamás Németh
Comment 1 Zsolt Sági 2007-11-06 12:00:49 UTC
By the way, I also reported this bug at gnome bugzilla. You can follow it at:
http://bugzilla.gnome.org/show_bug.cgi?id=485005
Comment 2 Jeff Stedfast 2007-11-06 19:23:21 UTC
Created attachment 182279 [details]
possible fix
Comment 3 Zsolt Sági 2007-11-07 17:30:53 UTC
See comments 12-16 at http://bugzilla.gnome.org/show_bug.cgi?id=485005
Comment 4 Jeff Stedfast 2007-11-12 17:24:45 UTC
Created attachment 183046 [details]
485005.2.patch

this patch actually fixes the hang
Comment 5 Zsolt Sági 2007-11-12 18:20:37 UTC
Currently I'm offline ;), but I will test it later. But please tell me, should I omit your previous patch, or may I apply both of them to the openSUSE src rpm?
Comment 6 Jeff Stedfast 2007-11-12 18:54:29 UTC
either way will work
Comment 7 Zsolt Sági 2007-11-13 09:44:49 UTC
OK, I added both patches to the openSUSE src.rpm, built the actual rpms and installed them. Now beagled is able to index both problematic files, I can find them via the SuSE style KDE menu and via kerry beagle too. beagle-extract-content also easily parses the files.

Great job! I say thank you in the name of the community.

You may possibly change this bug's status to fixed.

When will these patches find their way to openSUSE (and official gmime) packages?
Comment 8 JP Rosevear 2007-12-12 19:36:23 UTC
Fix is in for factory.  Prepping for 10.3 release.
Comment 9 Andreas Jaeger 2008-03-14 12:34:06 UTC
What needs to be done here?  Why is this in NEEDINFO?
Comment 10 Zsolt Sági 2008-03-14 12:48:52 UTC
It's fixed AFAIK.
Comment 11 JP Rosevear 2008-03-17 16:17:15 UTC
Yes, we shipped an update on 10.3.