bugunrtf - Bugs: bug #34677, 0.21.2 loops indefinitely with...


bug #34677: 0.21.2 loops indefinitely with specific input file

Submitted by:  Charles Atkinson <catkin>
Submitted on:  Fri 28 Oct 2011 06:00:18 PM UTC  
Votes:  100  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: Jean-Francois Dockes <medoc>Open/Closed: Closed
Release: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

Please log in, so followups can be emailed to you.


Tue 16 Dec 2014 09:19:05 AM UTC, comment #1:

Thanks, fixed by 62bc22938b0b

Jean-Francois Dockes <medoc>
Project AdministratorIn charge of this item.
Fri 28 Oct 2011 06:00:18 PM UTC, original submission:

After the following command, unrtf output 485 lines and then output ceased with unrtf consuming 100% CPU until it was killed after 5 minutes.

/tmp/unrtf/bin/unrtf -P /tmp/unrtf/lib/unrtf --text --nopict /tmp/sample2.rtf

Comparing the unrtf output with the file displayed by OOo Writer, unrtf had stopped outputting about 2/3 the way down page 22 of 24.

The test file is attached.

This instance of unrtf 0.21.2 was built on Debian Squeeze 64 bit with gcc 4:4.4.5 and libc6 2.11.2 by:

cd /tmp \
&& wget http://ftp.gnu.org/gnu/unrtf/unrtf-0.21.2.tar.gz \
&& tar -xf unrtf-0.21.2.tar.gz \
&& mkdir unrtf \
&& cd unrtf-0.21.2 \
&& ./configure --prefix=/tmp/unrtf \
&& make \
&& make install

Charles Atkinson <catkin>


(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):

Attached Files
file #31502:  test.rtf added by igray (3kB - application/rtf - The attached file causes this problem in both versions 0.21.5 and 0.19.2.)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by medoc (Updated the item)
  • -unavailable- added by igray (Voted in favor of this item)
  • -unavailable- added by igray (Updated the item)
  • -unavailable- added by catkin (Submitted the item)

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 100 encouragements so far.

    Only logged-in users can vote.


    Please enter the title of George Orwell's famous dystopian book (it's a date):



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 16 Dec 2014 09:19:05 AM UTCmedocStatusNone=>Fixed
    Tue 16 Dec 2014 08:58:15 AM UTCmedocAssigned toNone=>medoc
    Wed 04 Jun 2014 04:01:23 PM UTCigrayCarbon-Copy-=>Added igray
    Wed 04 Jun 2014 03:57:14 PM UTCigrayAttached File-=>Added test.rtf, #31502

    Back to the top

    Powered by Savane 3.1-cleanup