The FreeType Project - Bugs: bug #45919, FT_New_Memory_Face consumes 17Gb...
You are not allowed to post comments on this tracker with your current authentication level.
bug #45919: FT_New_Memory_Face consumes 17Gb on a small input
Submitter: | Kostya Serebryany <kcc> | ||
Submitted: | Thu 10 Sep 2015 11:12:42 PM UTC | ||
Severity: | 3 - Normal | Item Group: | Incorrect behaviour |
Status: | Ready For Test | Privacy: | Public |
Assigned to: | mpsuzuki | Open/Closed: | Closed |
Planned Release: | None |
Jump to the original submission
Mon 21 Sep 2015 02:20:04 PM UTC, comment #10: |
suzuki toshiya <mpsuzuki> |
Sun 20 Sep 2015 05:31:39 PM UTC, comment #9: Looks good, except a single nit. Please replace
|
Werner LEMBERG <wl> |
Sun 20 Sep 2015 03:52:19 PM UTC, comment #8: Sorry for lated action, here I drafted a patch;
|
suzuki toshiya <mpsuzuki> |
Tue 15 Sep 2015 06:51:44 PM UTC, comment #7: Is this about Mac resourse forks? Those are 16MB maximum.
|
Alexei Podtelezhnikov <podtelez> |
Sat 12 Sep 2015 08:22:08 AM UTC, comment #6: OK, let me check. |
suzuki toshiya <mpsuzuki> |
Sat 12 Sep 2015 07:43:29 AM UTC, comment #5: Toshiya-san, please have a look and fix it! I'm no expert with Mac Resources... The problem is in function `Mac_Read_POST_Resource': with the font attached to this bug report, `pfb_len' gets very large on a 64bit host. Is there a maximum value for this in the specification? Otherwise we should probably introduce an ad-hoc limit...
|
Werner LEMBERG <wl> |
Fri 11 Sep 2015 08:26:35 PM UTC, comment #4: I believe this is the offending call stack:
|
Kostya Serebryany <kcc> |
Fri 11 Sep 2015 06:28:37 PM UTC, comment #3: Thanks. The tracing bug is fixed now in git.
|
Werner LEMBERG <wl> |
Fri 11 Sep 2015 05:53:31 AM UTC, comment #2: It is clearly a 64-bit issue because you can't consume 17Gb on a 32-bit system :)
|
Kostya Serebryany <kcc> |
Fri 11 Sep 2015 04:51:59 AM UTC, comment #1: Thanks for the report. This seems to be a 64bit issue, since I can't repeat it on my 32bit GNU/Linux box.
|
Werner LEMBERG <wl> |
Thu 10 Sep 2015 11:12:42 PM UTC, original submission:
Hi.
|
Kostya Serebryany <kcc> |
Depends on the following items: None found
Items that depend on this one: None found
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 9 latest changes.
Date | Changed by | Updated Field | Previous Value | => | Replaced by |
---|---|---|---|---|---|
2015-09-21 | mpsuzuki | Open/Closed | Open | Closed | |
2015-09-20 | mpsuzuki | Status | Need Info | Ready For Test | |
2015-09-20 | mpsuzuki | Attached File | - | Added mps20150921-0045.diff, #34937 | |
2015-09-12 | wl | Assigned to | wl | mpsuzuki | |
2015-09-11 | wl | Status | None | Need Info | |
Assigned to | None | wl | |||
2015-09-10 | kcc | Attached File | - | Added crash-cffe89825997844e176346cedd42b6a48a07119e, #34852 | |
Attached File | - | Added repro.c, #34853 | |||
Carbon-Copy | - | Added j00ru |
Powered by Savane 3.13-758e.
Corresponding source code
Thanks, the part is changed as your review, and committed.