Add tests for bug 474670216 [pdfium : main]

0 views
Skip to first unread message

Aryan Krishnan (Gerrit)

unread,
Feb 13, 2026, 1:57:43 PM (9 days ago) Feb 13
to Lei Zhang, Tom Sepez, Andy Phan, pdfium-...@googlegroups.com
Attention needed from Andy Phan, Lei Zhang and Tom Sepez

Aryan Krishnan voted and added 1 comment

Votes added by Aryan Krishnan

Commit-Queue+1

1 comment

File fpdfsdk/fpdf_ppo_embeddertest.cpp
Line 764, Patchset 2 (Latest): ASSERT_DEATH(OpenDocument(filename), "");
Aryan Krishnan . resolved

Would probably want a better solution than this. This test alone takes about 40 seconds on my machine.

Open in Gerrit

Related details

Attention is currently required from:
  • Andy Phan
  • Lei Zhang
  • Tom Sepez
Submit Requirements:
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: pdfium
Gerrit-Branch: main
Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
Gerrit-Change-Number: 142990
Gerrit-PatchSet: 2
Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
Gerrit-Attention: Lei Zhang <the...@chromium.org>
Gerrit-Attention: Tom Sepez <tse...@chromium.org>
Gerrit-Attention: Andy Phan <andy...@chromium.org>
Gerrit-Comment-Date: Fri, 13 Feb 2026 18:57:38 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
unsatisfied_requirement
open
diffy

Tom Sepez (Gerrit)

unread,
Feb 13, 2026, 2:08:18 PM (9 days ago) Feb 13
to Aryan Krishnan, Pdfium LUCI CQ, Lei Zhang, Andy Phan, pdfium-...@googlegroups.com
Attention needed from Andy Phan, Aryan Krishnan and Lei Zhang

Tom Sepez added 3 comments

File fpdfsdk/fpdf_ppo_embeddertest.cpp
Line 743, Patchset 2 (Latest):TEST_F(FPDFPPOEmbedderTest, Bug474670216) {
Tom Sepez . unresolved

calling this DISABLED_Bug474670216 allows the test to be skipped. Removethe DISABLED_ prefix when landing the CL that fixes the bug.

Line 747, Patchset 2 (Latest): static const char* kCrashingPDFs[] = {
Tom Sepez . unresolved

these are now all working pdfs (at least in a universe where this is fixed).

Line 762, Patchset 2 (Latest):
for (const char* filename : kCrashingPDFs) {
ASSERT_DEATH(OpenDocument(filename), "");
}
Tom Sepez . unresolved

and just strike this.

Open in Gerrit

Related details

Attention is currently required from:
  • Andy Phan
  • Aryan Krishnan
  • Lei Zhang
Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
    Gerrit-Change-Number: 142990
    Gerrit-PatchSet: 2
    Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
    Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
    Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Lei Zhang <the...@chromium.org>
    Gerrit-Attention: Aryan Krishnan <aryankr...@gmail.com>
    Gerrit-Attention: Andy Phan <andy...@chromium.org>
    Gerrit-Comment-Date: Fri, 13 Feb 2026 19:08:14 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    unsatisfied_requirement
    open
    diffy

    Aryan Krishnan (Gerrit)

    unread,
    Feb 13, 2026, 2:13:53 PM (9 days ago) Feb 13
    to Pdfium LUCI CQ, Lei Zhang, Tom Sepez, Andy Phan, pdfium-...@googlegroups.com
    Attention needed from Andy Phan, Lei Zhang and Tom Sepez

    Aryan Krishnan added 1 comment

    File fpdfsdk/fpdf_ppo_embeddertest.cpp
    Line 743, Patchset 2 (Latest):TEST_F(FPDFPPOEmbedderTest, Bug474670216) {
    Tom Sepez . unresolved

    calling this DISABLED_Bug474670216 allows the test to be skipped. Removethe DISABLED_ prefix when landing the CL that fixes the bug.

    Aryan Krishnan

    @tse...@chromium.org Issue is, if this is is disabled, how can you verify if just one of them is solved, without re enabling it?

    I believe that the issues were different across all of these PDFs.

    Maybe have all tests as separate so that we can enable and disable as we need?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andy Phan
    • Lei Zhang
    • Tom Sepez
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
    Gerrit-Change-Number: 142990
    Gerrit-PatchSet: 2
    Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
    Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
    Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Lei Zhang <the...@chromium.org>
    Gerrit-Attention: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Andy Phan <andy...@chromium.org>
    Gerrit-Comment-Date: Fri, 13 Feb 2026 19:13:47 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Tom Sepez <tse...@chromium.org>
    unsatisfied_requirement
    open
    diffy

    Tom Sepez (Gerrit)

    unread,
    Feb 13, 2026, 2:15:18 PM (9 days ago) Feb 13
    to Aryan Krishnan, Pdfium LUCI CQ, Lei Zhang, Andy Phan, pdfium-...@googlegroups.com
    Attention needed from Andy Phan, Aryan Krishnan and Lei Zhang

    Tom Sepez added 1 comment

    File fpdfsdk/fpdf_ppo_embeddertest.cpp
    Line 743, Patchset 2 (Latest):TEST_F(FPDFPPOEmbedderTest, Bug474670216) {
    Tom Sepez . unresolved

    calling this DISABLED_Bug474670216 allows the test to be skipped. Removethe DISABLED_ prefix when landing the CL that fixes the bug.

    Aryan Krishnan

    @tse...@chromium.org Issue is, if this is is disabled, how can you verify if just one of them is solved, without re enabling it?

    I believe that the issues were different across all of these PDFs.

    Maybe have all tests as separate so that we can enable and disable as we need?

    Tom Sepez

    yep. Separate.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andy Phan
    • Aryan Krishnan
    • Lei Zhang
    Submit Requirements:
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: pdfium
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
    Gerrit-Change-Number: 142990
    Gerrit-PatchSet: 2
    Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
    Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
    Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
    Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
    Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
    Gerrit-Attention: Lei Zhang <the...@chromium.org>
    Gerrit-Attention: Aryan Krishnan <aryankr...@gmail.com>
    Gerrit-Attention: Andy Phan <andy...@chromium.org>
    Gerrit-Comment-Date: Fri, 13 Feb 2026 19:15:15 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Tom Sepez <tse...@chromium.org>
    Comment-In-Reply-To: Aryan Krishnan <aryankr...@gmail.com>
    unsatisfied_requirement
    open
    diffy

    Aryan Krishnan (Gerrit)

    unread,
    Feb 13, 2026, 2:20:15 PM (9 days ago) Feb 13
    to Pdfium LUCI CQ, Lei Zhang, Tom Sepez, Andy Phan, pdfium-...@googlegroups.com
    Attention needed from Andy Phan, Lei Zhang and Tom Sepez

    Aryan Krishnan added 3 comments

    File fpdfsdk/fpdf_ppo_embeddertest.cpp
    Line 743, Patchset 2:TEST_F(FPDFPPOEmbedderTest, Bug474670216) {
    Tom Sepez . resolved

    calling this DISABLED_Bug474670216 allows the test to be skipped. Removethe DISABLED_ prefix when landing the CL that fixes the bug.

    Aryan Krishnan

    @tse...@chromium.org Issue is, if this is is disabled, how can you verify if just one of them is solved, without re enabling it?

    I believe that the issues were different across all of these PDFs.

    Maybe have all tests as separate so that we can enable and disable as we need?

    Tom Sepez

    yep. Separate.

    Aryan Krishnan

    Done

    Line 747, Patchset 2: static const char* kCrashingPDFs[] = {
    Tom Sepez . resolved

    these are now all working pdfs (at least in a universe where this is fixed).

    Aryan Krishnan

    Done


    for (const char* filename : kCrashingPDFs) {
    ASSERT_DEATH(OpenDocument(filename), "");
    }
    Tom Sepez . resolved

    and just strike this.

    Aryan Krishnan

    Done

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Andy Phan
    • Lei Zhang
    • Tom Sepez
    Submit Requirements:
      • requirement is not satisfiedCode-Owners
      • requirement is not satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: pdfium
      Gerrit-Branch: main
      Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
      Gerrit-Change-Number: 142990
      Gerrit-PatchSet: 3
      Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
      Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
      Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
      Gerrit-Attention: Lei Zhang <the...@chromium.org>
      Gerrit-Attention: Tom Sepez <tse...@chromium.org>
      Gerrit-Attention: Andy Phan <andy...@chromium.org>
      Gerrit-Comment-Date: Fri, 13 Feb 2026 19:20:11 +0000
      unsatisfied_requirement
      open
      diffy

      Tom Sepez (Gerrit)

      unread,
      Feb 13, 2026, 2:21:45 PM (9 days ago) Feb 13
      to Aryan Krishnan, Pdfium LUCI CQ, Lei Zhang, Andy Phan, pdfium-...@googlegroups.com
      Attention needed from Andy Phan, Aryan Krishnan and Lei Zhang

      Tom Sepez voted Code-Review+1

      Code-Review+1
      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andy Phan
      • Aryan Krishnan
      • Lei Zhang
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: pdfium
      Gerrit-Branch: main
      Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
      Gerrit-Change-Number: 142990
      Gerrit-PatchSet: 3
      Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
      Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
      Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
      Gerrit-Attention: Lei Zhang <the...@chromium.org>
      Gerrit-Attention: Aryan Krishnan <aryankr...@gmail.com>
      Gerrit-Attention: Andy Phan <andy...@chromium.org>
      Gerrit-Comment-Date: Fri, 13 Feb 2026 19:21:41 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Aryan Krishnan (Gerrit)

      unread,
      Feb 13, 2026, 2:22:21 PM (9 days ago) Feb 13
      to Tom Sepez, Pdfium LUCI CQ, Lei Zhang, Andy Phan, pdfium-...@googlegroups.com
      Attention needed from Andy Phan and Lei Zhang

      Aryan Krishnan added 1 comment

      Patchset-level comments
      File-level comment, Patchset 3 (Latest):
      Aryan Krishnan . resolved

      Running this so it doesn't have to re-run on submit.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Andy Phan
      • Lei Zhang
      Submit Requirements:
      • requirement satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement is not satisfiedReview-Enforcement
      Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
      Gerrit-MessageType: comment
      Gerrit-Project: pdfium
      Gerrit-Branch: main
      Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
      Gerrit-Change-Number: 142990
      Gerrit-PatchSet: 3
      Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
      Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
      Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
      Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
      Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
      Gerrit-Attention: Lei Zhang <the...@chromium.org>
      Gerrit-Attention: Andy Phan <andy...@chromium.org>
      Gerrit-Comment-Date: Fri, 13 Feb 2026 19:22:15 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Andy Phan (Gerrit)

      unread,
      Feb 19, 2026, 4:27:32 PM (3 days ago) Feb 19
      to Aryan Krishnan, Tom Sepez, Pdfium LUCI CQ, Lei Zhang, pdfium-...@googlegroups.com
      Attention needed from Aryan Krishnan and Lei Zhang

      Andy Phan added 1 comment

      Patchset-level comments
      File-level comment, Patchset 5 (Latest):
      Andy Phan . unresolved

      This CL is adding 7 MB worth of test PDFs. Most PDFs in testing/resources/ are under 100 KB. It would be nice to keep it this way. Some options:

      1. Look into the PDFs and try to minimize its contents. Most time-consuming.
      2. Remove some of these PDFs. They might have the same root cause, especially if they have the same stack trace. Adding more of the PDFs for the same root cause would be redundant. They can be added back as needed if there's a different cause.
      3. A mix of (1) and (2).

      Investigating some of the PDFs might help decide which is better.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Aryan Krishnan
      • Lei Zhang
      Submit Requirements:
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: pdfium
        Gerrit-Branch: main
        Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
        Gerrit-Change-Number: 142990
        Gerrit-PatchSet: 5
        Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
        Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
        Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
        Gerrit-Attention: Lei Zhang <the...@chromium.org>
        Gerrit-Attention: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Comment-Date: Thu, 19 Feb 2026 21:27:29 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Aryan Krishnan (Gerrit)

        unread,
        Feb 20, 2026, 3:09:32 AM (2 days ago) Feb 20
        to Tom Sepez, Pdfium LUCI CQ, Lei Zhang, Andy Phan, pdfium-...@googlegroups.com
        Attention needed from Andy Phan and Lei Zhang

        Aryan Krishnan added 1 comment

        Patchset-level comments
        Andy Phan . unresolved

        This CL is adding 7 MB worth of test PDFs. Most PDFs in testing/resources/ are under 100 KB. It would be nice to keep it this way. Some options:

        1. Look into the PDFs and try to minimize its contents. Most time-consuming.
        2. Remove some of these PDFs. They might have the same root cause, especially if they have the same stack trace. Adding more of the PDFs for the same root cause would be redundant. They can be added back as needed if there's a different cause.
        3. A mix of (1) and (2).

        Investigating some of the PDFs might help decide which is better.

        Aryan Krishnan

        Will look at optimizing these first: They seem to differ quite a bit in terms of root cause and the stack trace.

        Or perhaps, instead of testing all cases of this bug, we can test only a few.

        What do you think?

        I tried using a compressor and that fails to compress due to some malformed objects.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Andy Phan
        • Lei Zhang
        Submit Requirements:
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: pdfium
        Gerrit-Branch: main
        Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
        Gerrit-Change-Number: 142990
        Gerrit-PatchSet: 5
        Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
        Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
        Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
        Gerrit-Attention: Lei Zhang <the...@chromium.org>
        Gerrit-Attention: Andy Phan <andy...@chromium.org>
        Gerrit-Comment-Date: Fri, 20 Feb 2026 08:09:28 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Andy Phan <andy...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Andy Phan (Gerrit)

        unread,
        Feb 20, 2026, 5:32:27 PM (2 days ago) Feb 20
        to Aryan Krishnan, Tom Sepez, Pdfium LUCI CQ, Lei Zhang, pdfium-...@googlegroups.com
        Attention needed from Aryan Krishnan and Lei Zhang

        Andy Phan added 1 comment

        Patchset-level comments
        Andy Phan . unresolved

        This CL is adding 7 MB worth of test PDFs. Most PDFs in testing/resources/ are under 100 KB. It would be nice to keep it this way. Some options:

        1. Look into the PDFs and try to minimize its contents. Most time-consuming.
        2. Remove some of these PDFs. They might have the same root cause, especially if they have the same stack trace. Adding more of the PDFs for the same root cause would be redundant. They can be added back as needed if there's a different cause.
        3. A mix of (1) and (2).

        Investigating some of the PDFs might help decide which is better.

        Aryan Krishnan

        Will look at optimizing these first: They seem to differ quite a bit in terms of root cause and the stack trace.

        Or perhaps, instead of testing all cases of this bug, we can test only a few.

        What do you think?

        I tried using a compressor and that fails to compress due to some malformed objects.

        Andy Phan

        The bug report claims they're all unique stacktraces. Hmm, outside of just trying to minimize the contents, not sure then. Any thoughts, thestig@?

        There's corpus tests, but I think those always compare pixel results.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Aryan Krishnan
        • Lei Zhang
        Submit Requirements:
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: pdfium
        Gerrit-Branch: main
        Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
        Gerrit-Change-Number: 142990
        Gerrit-PatchSet: 5
        Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
        Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
        Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
        Gerrit-Attention: Lei Zhang <the...@chromium.org>
        Gerrit-Attention: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Comment-Date: Fri, 20 Feb 2026 22:32:23 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Aryan Krishnan <aryankr...@gmail.com>
        Comment-In-Reply-To: Andy Phan <andy...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Lei Zhang (Gerrit)

        unread,
        Feb 20, 2026, 7:56:10 PM (2 days ago) Feb 20
        to Aryan Krishnan, Tom Sepez, Pdfium LUCI CQ, Lei Zhang, Andy Phan, pdfium-...@googlegroups.com
        Attention needed from Aryan Krishnan

        Lei Zhang added 1 comment

        Patchset-level comments
        Andy Phan . unresolved

        This CL is adding 7 MB worth of test PDFs. Most PDFs in testing/resources/ are under 100 KB. It would be nice to keep it this way. Some options:

        1. Look into the PDFs and try to minimize its contents. Most time-consuming.
        2. Remove some of these PDFs. They might have the same root cause, especially if they have the same stack trace. Adding more of the PDFs for the same root cause would be redundant. They can be added back as needed if there's a different cause.
        3. A mix of (1) and (2).

        Investigating some of the PDFs might help decide which is better.

        Aryan Krishnan

        Will look at optimizing these first: They seem to differ quite a bit in terms of root cause and the stack trace.

        Or perhaps, instead of testing all cases of this bug, we can test only a few.

        What do you think?

        I tried using a compressor and that fails to compress due to some malformed objects.

        Andy Phan

        The bug report claims they're all unique stacktraces. Hmm, outside of just trying to minimize the contents, not sure then. Any thoughts, thestig@?

        There's corpus tests, but I think those always compare pixel results.

        Lei Zhang

        Yes, I would prefer not to check 7 MB of binary blobs. The PDFium repo, without .git and all the things pulled in via DEPS, is only 51 MB.

        These PDFs are probably just garbage generated by a fuzzer. It's the most interesting garbage, but it's not worth checking in or optimizing. I would just skip this CL, fix the bugs and call it done. Especially considering the failure is mostly just nullptr derefs and such.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Aryan Krishnan
        Submit Requirements:
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: pdfium
        Gerrit-Branch: main
        Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
        Gerrit-Change-Number: 142990
        Gerrit-PatchSet: 5
        Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
        Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
        Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
        Gerrit-Attention: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Comment-Date: Sat, 21 Feb 2026 00:56:08 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Aryan Krishnan (Gerrit)

        unread,
        Feb 20, 2026, 11:07:01 PM (2 days ago) Feb 20
        to Tom Sepez, Pdfium LUCI CQ, Lei Zhang, Andy Phan, pdfium-...@googlegroups.com
        Attention needed from Andy Phan and Lei Zhang

        Aryan Krishnan added 1 comment

        Patchset-level comments
        Andy Phan . unresolved

        This CL is adding 7 MB worth of test PDFs. Most PDFs in testing/resources/ are under 100 KB. It would be nice to keep it this way. Some options:

        1. Look into the PDFs and try to minimize its contents. Most time-consuming.
        2. Remove some of these PDFs. They might have the same root cause, especially if they have the same stack trace. Adding more of the PDFs for the same root cause would be redundant. They can be added back as needed if there's a different cause.
        3. A mix of (1) and (2).

        Investigating some of the PDFs might help decide which is better.

        Aryan Krishnan

        Will look at optimizing these first: They seem to differ quite a bit in terms of root cause and the stack trace.

        Or perhaps, instead of testing all cases of this bug, we can test only a few.

        What do you think?

        I tried using a compressor and that fails to compress due to some malformed objects.

        Andy Phan

        The bug report claims they're all unique stacktraces. Hmm, outside of just trying to minimize the contents, not sure then. Any thoughts, thestig@?

        There's corpus tests, but I think those always compare pixel results.

        Lei Zhang

        Yes, I would prefer not to check 7 MB of binary blobs. The PDFium repo, without .git and all the things pulled in via DEPS, is only 51 MB.

        These PDFs are probably just garbage generated by a fuzzer. It's the most interesting garbage, but it's not worth checking in or optimizing. I would just skip this CL, fix the bugs and call it done. Especially considering the failure is mostly just nullptr derefs and such.

        Aryan Krishnan

        Oh, so are you suggesting not to check in tests, just use pdfium_test or something of the sort to test it locally before uploading? Ok will update.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Andy Phan
        • Lei Zhang
        Submit Requirements:
        • requirement satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: comment
        Gerrit-Project: pdfium
        Gerrit-Branch: main
        Gerrit-Change-Id: Ic8be46701d0465d601ceba287df913792ad4f963
        Gerrit-Change-Number: 142990
        Gerrit-PatchSet: 5
        Gerrit-Owner: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Reviewer: Andy Phan <andy...@chromium.org>
        Gerrit-Reviewer: Aryan Krishnan <aryankr...@gmail.com>
        Gerrit-Reviewer: Lei Zhang <the...@chromium.org>
        Gerrit-Reviewer: Tom Sepez <tse...@chromium.org>
        Gerrit-Attention: Lei Zhang <the...@chromium.org>
        Gerrit-Attention: Andy Phan <andy...@chromium.org>
        Gerrit-Comment-Date: Sat, 21 Feb 2026 04:06:55 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Lei Zhang <the...@chromium.org>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Aryan Krishnan (Gerrit)

        unread,
        Feb 20, 2026, 11:22:20 PM (2 days ago) Feb 20
        to Tom Sepez, Pdfium LUCI CQ, Lei Zhang, Andy Phan, pdfium-...@googlegroups.com
        Attention needed from Andy Phan and Lei Zhang

        Aryan Krishnan added 1 comment

        Patchset-level comments
        Andy Phan . unresolved

        This CL is adding 7 MB worth of test PDFs. Most PDFs in testing/resources/ are under 100 KB. It would be nice to keep it this way. Some options:

        1. Look into the PDFs and try to minimize its contents. Most time-consuming.
        2. Remove some of these PDFs. They might have the same root cause, especially if they have the same stack trace. Adding more of the PDFs for the same root cause would be redundant. They can be added back as needed if there's a different cause.
        3. A mix of (1) and (2).

        Investigating some of the PDFs might help decide which is better.

        Aryan Krishnan

        Will look at optimizing these first: They seem to differ quite a bit in terms of root cause and the stack trace.

        Or perhaps, instead of testing all cases of this bug, we can test only a few.

        What do you think?

        I tried using a compressor and that fails to compress due to some malformed objects.

        Andy Phan

        The bug report claims they're all unique stacktraces. Hmm, outside of just trying to minimize the contents, not sure then. Any thoughts, thestig@?

        There's corpus tests, but I think those always compare pixel results.

        Lei Zhang

        Yes, I would prefer not to check 7 MB of binary blobs. The PDFium repo, without .git and all the things pulled in via DEPS, is only 51 MB.

        These PDFs are probably just garbage generated by a fuzzer. It's the most interesting garbage, but it's not worth checking in or optimizing. I would just skip this CL, fix the bugs and call it done. Especially considering the failure is mostly just nullptr derefs and such.

        Aryan Krishnan

        Oh, so are you suggesting not to check in tests, just use pdfium_test or something of the sort to test it locally before uploading? Ok will update.

        Aryan Krishnan

        Abandoning this CL, have moved the parent CL to be rebased on main.

        Gerrit-Comment-Date: Sat, 21 Feb 2026 04:22:15 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Aryan Krishnan (Gerrit)

        unread,
        Feb 20, 2026, 11:22:45 PM (2 days ago) Feb 20
        to Tom Sepez, Pdfium LUCI CQ, Lei Zhang, Andy Phan, pdfium-...@googlegroups.com

        Aryan Krishnan abandoned this change.

        View Change

        Abandoned Tests not needed as PDF file sizes are too large. Would prefer using pdfium_test locally to verify fixes instead.

        Aryan Krishnan abandoned this change

        Related details

        Attention set is empty
        Submit Requirements:
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement is not satisfiedReview-Enforcement
        Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
        Gerrit-MessageType: abandon
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy
        Reply all
        Reply to author
        Forward
        0 new messages