Skip to content

GPU problem when using LibFuzzer #66

Open

Description

@ZiwenWan

Hi,
I met some problems when I used LibFuzzer to test a program. The target program can work very well by itself. However, when I integrated it with LibFuzzer, the program could not identify the GPU and led to the initialization failure. I tried to extract my initialization logic from LibFuzzer to run the same initialization and nothing happened.

I am pretty sure that all the programs were compiled with the same compiler options and executed under the same environment. When I ran the target program and printed the devices, I found that the program could not find my GPU correctly when LibFuzzer is integrated. My GPU and CUDA setup are all correct.
Here is my error messages:
Check failed: error == cudaSuccess (2 vs. 0) out of memory
The program was trying to load a caffe model. Also, all the programs were executed inside a docker.
Thanks.

Activity

  1. added a commit that references this issue on Dec 5, 2022
  2. added 2 commits that reference this issue on Apr 4, 2023
    8552e34
    60bd2b8
  3. 48 remaining items

  4. added a commit that references this issue on Jul 7, 2026
  5. added 3 commits that reference this issue on Jul 26, 2026
  6. StanFromIreland commented on Sep 5, 2026

    @StanFromIreland
    Member

    I don't see anything actionable here, this seems to just be a question. Considering it has been open for seven years without any replies, I think it can be closed as stale.

    CC @thurstond @vitalybuka

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions