Opened 3 years ago
Closed 3 years ago
#10268 closed defect (fixed)
When nvenc fails with "out of memory" the program crashes instead of returning that error
| Reported by: | Adrian | Owned by: | |
|---|---|---|---|
| Priority: | normal | Component: | avcodec |
| Version: | git-master | Keywords: | NVENC |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | no | |
| Analyzed by developer: | no |
Description
Using latest master, when the NVENC encoder fails "OpenEncodeSessionEx failed: out of memory", the program crashes in avcodec_open2, instead of returning the error.
It's easy to reproduce by starting multiple concurrent encoding sessions (4 was enough for me with RTX 3080 Ti)
The error is printed to the log, and then it crashes.
Change History (2)
comment:1 by , 3 years ago
comment:2 by , 3 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
This no longer happens with latest master
Note:
See TracTickets
for help on using tickets.



https://github.com/keylase/nvidia-patch