NVIDIA / NVIDIA/open-gpu-kernel-modules

Invalid pointer free

Open
#585 16 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
C
Stars
17.4k
Forks
1.9k
PR merge metrics
No merged PRs in 30d

Description

NVIDIA Open GPU Kernel Modules Version

545.29.06

Please confirm this issue does not happen with the proprietary driver (of the same version). This issue tracker is only for bugs specific to the open kernel driver.
  • I confirm that this does not happen with the proprietary driver package.
Operating System and Version

Arch Linux

Kernel Release

6.6.7-zen1-1-zen

Please confirm you are running a stable release kernel (e.g. not a -rc). We do not accept bug reports for unreleased kernels.
  • I am running on a stable kernel release.
Hardware: GPU

RTX 4060

Describe the bug

When attempting to run an JavaFX/NVML based Nvidia GPU information/monitoring/overclocking utility made by me, the application will crash with an invalid pointer-free error. This does not happen in the proprietary driver.

Playing around I noticed that:

  1. A normal JavaFX application runs just fine.
  2. Other software based on NVML(nvidia-smi) seems to run just fine.
  3. If I replace the app contents with some blank filler content(e.g. a Button), the app will show for a few seconds and then crash with the above error.

My app is not publically available for Linux. A build can be provided so long as it is kept confidential. I'm willing to assist in any debugging by modifying code as needed.

To Reproduce

Run the application either from IDE or via the included shell script.

Bug Incidence

Always

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the crash with the confidential JavaFX/NVML application on Arch Linux, kernel 6.6.7-zen1-1-zen, an RTX 4060, and driver 545.29.06. Compare the behavior with the proprietary driver and the reported blank JavaFX content; done means identifying and correcting the invalid pointer free, but no source file or test is named.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, java, shell
Domain
operating-systems
Issue type
Bug
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.