Summary: | Crash on amdgpu_sync_get_fence | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Product: | DRI | Reporter: | higuita | ||||||||||
Component: | DRM/AMDgpu | Assignee: | Default DRI bug account <dri-devel> | ||||||||||
Status: | RESOLVED MOVED | QA Contact: | |||||||||||
Severity: | normal | ||||||||||||
Priority: | medium | CC: | andrey.grodzovsky, ckoenig.leichtzumerken | ||||||||||
Version: | XOrg git | ||||||||||||
Hardware: | Other | ||||||||||||
OS: | All | ||||||||||||
Whiteboard: | |||||||||||||
i915 platform: | i915 features: | ||||||||||||
Attachments: |
|
Description
higuita
2017-12-17 03:20:21 UTC
Please add the full dmesg output as attachment. Hi, have you noticed any specific scenario under which those crashes happened to you ? Thanks, Andrey Well, both times it happen while playing rimworld but i didn't notice any special action how to trigger this. my hardware is a A10-7850k and a RX480, slackware64-current, dual head 1920x1080, steam+rimworld running in one head, tvtime running in the other. I do usually suspend my machine, do not know it this also help trigger this Created attachment 136266 [details]
dmesg without the crash
This is my current dmesg
Created attachment 136267 [details]
syslog capture for the oops
I didn't saved the dmesg directly but i could salvage this from the syslog
Can you try reproduce it wit KASAN enabled ? Thanks, Andrey Created attachment 136398 [details]
dmesg oops with kasan
Sure, there is the dmesg after a crash with kasan, this time over warthunder
(In reply to higuita from comment #7) > Created attachment 136398 [details] > dmesg oops with kasan > > Sure, there is the dmesg after a crash with kasan, this time over warthunder Thanks, this seems like trying to access a fence which already was released, but i can't pinpoint the faulting line in the code both for amdgpu_sync_get_fence and for amdgpu_sync_resv, I am using addr2line for this but the offset into the function shown in the backtrace doesn't make sense. Maybe because our builds differ, can you try it and see if you get the exact offending lines in both functions ? Thanks, Andrey Created attachment 136400 [details]
dmesg oops with kasan 2
Another crash, this time in RUST, just to see if it helps in any way
i know how to build stuff, but i have no idea how to debug the kernel :)
can you please give me some pointers how to find and give you the needed info?
(In reply to higuita from comment #9) > Created attachment 136400 [details] > dmesg oops with kasan 2 > > Another crash, this time in RUST, just to see if it helps in any way > > i know how to build stuff, but i have no idea how to debug the kernel :) > > can you please give me some pointers how to find and give you the needed > info? NP, check answer here https://stackoverflow.com/questions/13468286/how-to-read-understand-analyze-and-debug-a-linux-kernel-panicand to obtain the function address within your amdgpu.ko just do nm -C drivers/gpu/drm/amd/amdgpu/amdgpu.ko | grep amdgpu_sync_get_fence nm -C drivers/gpu/drm/amd/amdgpu/amdgpu.ko | grep amdgpu_sync_resv The offset into the function you can see from the dmesg dump amdgpu_sync_get_fence+0x91/0xe0 so 91 is the offset Thanks, Andrey (In reply to higuita from comment #9) > Created attachment 136400 [details] > dmesg oops with kasan 2 > > Another crash, this time in RUST, just to see if it helps in any way > > i know how to build stuff, but i have no idea how to debug the kernel :) > > can you please give me some pointers how to find and give you the needed > info? -- GitLab Migration Automatic Message -- This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/drm/amd/issues/276. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.