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 170082 - Abiword filter hangs on a document, consuming all CPU
Abiword filter hangs on a document, consuming all CPU
Status: RESOLVED FIXED
Product: beagle
Classification: Other
Component: General
0.0.x
Other Linux
: Normal normal
: Milestone 2
Assigned To: Veerapuram Varadhan
Veerapuram Varadhan
Depends on:
Blocks:
 
 
Reported: 2005-03-12 16:44 UTC by Jon Trowbridge
Modified: 2005-03-30 15:13 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
A document that hangs the abiword filter (174.87 KB, application/x-abiword)
2005-03-12 16:46 UTC, Jon Trowbridge
Details

Description Jon Trowbridge 2005-03-12 16:44:29 UTC
The document is attached.

I briefly looked at the code and this filter looks very problematic.  In
particular, it never seems to check the return value of reader.Read(), so it
won't correctly detect the end of the document in some cases.

Since reader.Read () return value is not checked, we get stuck in an endless
loop while looking for a tag named "metadata" --- which isn't present is this
document.
Comment 1 Jon Trowbridge 2005-03-12 16:46:09 UTC
Created attachment 38600 [details]
A document that hangs the abiword filter
Comment 2 Christian Kirbach 2005-03-12 17:02:36 UTC
Differs fromBug 169758  if anyone wonders.
Comment 3 Veerapuram Varadhan 2005-03-30 15:13:01 UTC
Fixed in CVS.

Jon: I am marking this bug as Fixed.  Please feel free to re-open it, if it
still fails or you find any "coding problems".  Your tips/suggestions are always
useful. ;)