Re: BUG: KASAN: null-ptr-deref in drm_sched_job_cleanup+0x96/0x290 [gpu_sched]
From: Mikhail Gavrilov
Date: Wed Apr 19 2023 - 09:13:57 EST
On Wed, Apr 19, 2023 at 1:12 PM Christian König
<ckoenig.leichtzumerken@xxxxxxxxx> wrote:
>
> I'm already looking into this, but can't figure out why we run into
> problems here.
>
> What happens is that a CS is aborted without sending the job to the
> scheduler and in this case the cleanup function doesn't seem to work.
>
> Christian.
I can easily reproduce it on any AMD GPU hardware.
You can add more logs to debug and I return with new logs which explains this.
Thanks.
--
Best Regards,
Mike Gavrilov.