* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
@ 2017-12-18 9:37 ` bugzilla-daemon
2017-12-18 15:21 ` bugzilla-daemon
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-12-18 9:37 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 259 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
--- Comment #1 from Christian König <ckoenig.leichtzumerken@gmail.com> ---
Please add the full dmesg output as attachment.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1021 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
2017-12-18 9:37 ` bugzilla-daemon
@ 2017-12-18 15:21 ` bugzilla-daemon
2017-12-19 3:13 ` bugzilla-daemon
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-12-18 15:21 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 312 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
--- Comment #2 from Andrey Grodzovsky <andrey.grodzovsky@amd.com> ---
Hi, have you noticed any specific scenario under which those crashes happened
to you ?
Thanks,
Andrey
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1068 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
2017-12-18 9:37 ` bugzilla-daemon
2017-12-18 15:21 ` bugzilla-daemon
@ 2017-12-19 3:13 ` bugzilla-daemon
2017-12-19 3:19 ` bugzilla-daemon
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-12-19 3:13 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 516 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
--- Comment #3 from higuita@gmx.net ---
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
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1233 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
` (2 preceding siblings ...)
2017-12-19 3:13 ` bugzilla-daemon
@ 2017-12-19 3:19 ` bugzilla-daemon
2017-12-19 3:31 ` bugzilla-daemon
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-12-19 3:19 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 327 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
--- Comment #4 from higuita@gmx.net ---
Created attachment 136266
--> https://bugs.freedesktop.org/attachment.cgi?id=136266&action=edit
dmesg without the crash
This is my current dmesg
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1182 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
` (3 preceding siblings ...)
2017-12-19 3:19 ` bugzilla-daemon
@ 2017-12-19 3:31 ` bugzilla-daemon
2017-12-24 4:41 ` bugzilla-daemon
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-12-19 3:31 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 381 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
--- Comment #5 from higuita@gmx.net ---
Created attachment 136267
--> https://bugs.freedesktop.org/attachment.cgi?id=136267&action=edit
syslog capture for the oops
I didn't saved the dmesg directly but i could salvage this from the syslog
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1244 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
` (4 preceding siblings ...)
2017-12-19 3:31 ` bugzilla-daemon
@ 2017-12-24 4:41 ` bugzilla-daemon
2017-12-26 22:39 ` bugzilla-daemon
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-12-24 4:41 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 269 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
--- Comment #6 from Andrey Grodzovsky <andrey.grodzovsky@amd.com> ---
Can you try reproduce it wit KASAN enabled ?
Thanks,
Andrey
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1025 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
` (5 preceding siblings ...)
2017-12-24 4:41 ` bugzilla-daemon
@ 2017-12-26 22:39 ` bugzilla-daemon
2017-12-27 4:29 ` bugzilla-daemon
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-12-26 22:39 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 377 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
--- Comment #7 from higuita@gmx.net ---
Created attachment 136398
--> https://bugs.freedesktop.org/attachment.cgi?id=136398&action=edit
dmesg oops with kasan
Sure, there is the dmesg after a crash with kasan, this time over warthunder
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1228 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
` (6 preceding siblings ...)
2017-12-26 22:39 ` bugzilla-daemon
@ 2017-12-27 4:29 ` bugzilla-daemon
2017-12-27 5:33 ` bugzilla-daemon
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-12-27 4:29 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 822 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
--- Comment #8 from Andrey Grodzovsky <andrey.grodzovsky@amd.com> ---
(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
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1855 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
` (7 preceding siblings ...)
2017-12-27 4:29 ` bugzilla-daemon
@ 2017-12-27 5:33 ` bugzilla-daemon
2017-12-27 13:14 ` bugzilla-daemon
2019-11-19 8:27 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-12-27 5:33 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 529 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
--- Comment #9 from higuita@gmx.net ---
Created attachment 136400
--> https://bugs.freedesktop.org/attachment.cgi?id=136400&action=edit
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?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 1384 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
` (8 preceding siblings ...)
2017-12-27 5:33 ` bugzilla-daemon
@ 2017-12-27 13:14 ` bugzilla-daemon
2019-11-19 8:27 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2017-12-27 13:14 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 1389 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
--- Comment #10 from Andrey Grodzovsky <andrey.grodzovsky@amd.com> ---
(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?
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2862 bytes --]
[-- Attachment #2: Type: text/plain, Size: 160 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread* [Bug 104299] Crash on amdgpu_sync_get_fence
2017-12-17 3:20 [Bug 104299] Crash on amdgpu_sync_get_fence bugzilla-daemon
` (9 preceding siblings ...)
2017-12-27 13:14 ` bugzilla-daemon
@ 2019-11-19 8:27 ` bugzilla-daemon
10 siblings, 0 replies; 12+ messages in thread
From: bugzilla-daemon @ 2019-11-19 8:27 UTC (permalink / raw)
To: dri-devel
[-- Attachment #1.1: Type: text/plain, Size: 806 bytes --]
https://bugs.freedesktop.org/show_bug.cgi?id=104299
Martin Peres <martin.peres@free.fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |MOVED
Status|NEW |RESOLVED
--- Comment #11 from Martin Peres <martin.peres@free.fr> ---
-- 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.
--
You are receiving this mail because:
You are the assignee for the bug.
[-- Attachment #1.2: Type: text/html, Size: 2316 bytes --]
[-- Attachment #2: Type: text/plain, Size: 159 bytes --]
_______________________________________________
dri-devel mailing list
dri-devel@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/dri-devel
^ permalink raw reply [flat|nested] 12+ messages in thread