bugThe FreeType Project - Bugs: bug #46372, slow run in TT_RunIns (#2)


You are not allowed to post comments on this tracker with your current authentication level.

bug #46372: slow run in TT_RunIns (#2)

Submitter:  Kostya Serebryany <kcc>
Submitted:  Tue 03 Nov 2015 07:23:55 PM UTC
Severity:  3 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  wl Open/Closed:  Closed
Planned Release:  2.6.2

Wed 04 Nov 2015 04:17:28 PM UTC, comment #3: 

The bot is much happier now, thanks!
Done 256128 runs in 7201 second(s)
Done 790478 runs in 7201 second(s)

Kostya Serebryany <kcc>
Group Member
Wed 04 Nov 2015 10:50:04 AM UTC, comment #2: 

Should be improved in git, please test.  As far as I can see, no further `shortcut' is possible.

In the test fonts, we have composite glyphs with infinite recursion.  And to make things worse, the glyph referenced in the composite glyphs contains an infinite bytecode loop.  In other words, those invalid fonts are possibly the absolute worst case that can ever happen.

Werner LEMBERG <wl>
Group administrator
Tue 03 Nov 2015 07:25:43 PM UTC, comment #1: 

one more input attached

(file #35376)

Kostya Serebryany <kcc>
Group Member
Tue 03 Nov 2015 07:23:55 PM UTC, original submission:  

Found by the libFuzzer bot.
despite the fixes in bug #46223, the bot still observes
cases where a single input takes over 60 seconds to process,
all time is spent inside TT_RunIns.
This has put the fuzzer bot on its knees again :(

If a fix is not possible (not yeasy, etc) any workaround would be welcome.

Kostya Serebryany <kcc>
Group Member


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

Attached Files


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -email is unavailable- added by wl (Posted a comment)
  • -email is unavailable- added by kcc (Submitted the item)

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.


    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-11-04 wl StatusNone Fixed
        Assigned toNone wl
        Open/ClosedOpen Closed
        Planned ReleaseNone 2.6.2
    2015-11-03 kcc Attached File- Added slow-unit-f643f9ba31dc673381848417001b0d9841895f3f, #35376
    2015-11-03 kcc Attached File- Added slow-unit-566c4cb14b2027e7b2bc28834ca553cef2ffac31, #35375

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code