LuxCoreRender/LuxMark

Luxmark does not check for errors returned by driver when it fails to allocate memory. This causes the app to crash. Typically seen with limited GPU memory ( ~1 GB) in VM setup.

dibasc opened this issue · 0 comments

When FB is restricted to make available free video memory as ~160Mib, luxmark app is crashing on win7, win8.1 and win10.
In all the cases nvidia driver is returning proper error (not able to allocate memory). Following is the debugging info
from eventviewer and windbg logs when the application crashes.

Config Used:
Quadro GV100 + cuda_a-190502-26255178.

On Win7 and win8.1,
Event viewer and windbg shows faulting module as luxmark.exe.
BUGCHECK_STR INVALID_POINTER_READ.
ExceptionCode: c0000005 (Access violation).
Full crashdump is available at \devrel\share\ngubba\luxmark_crash\luxmark.exe.5272.

On Win10 RS4
Event viewer and windbg shows faulting module as MSVCR120.dll.
BUGCHECK_STR: FAIL_FAST_FATAL_APP_EXIT.
ExceptionCode: c0000409 (Security check failure or stack buffer overrun).
Full crashdump is available at \devrel\share\ngubba\luxmark_crash\luxmark.exe.12656.


Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.