All of lore.kernel.org
 help / color / mirror / Atom feed
* [Bug 106584] segfault in r600_sb::alu_group_tracker::alu_group_tracker with gcc 8.1 LTO
@ 2018-05-20  0:21 bugzilla-daemon
  2018-05-20  0:22 ` bugzilla-daemon
  2019-09-18 19:25 ` bugzilla-daemon
  0 siblings, 2 replies; 3+ messages in thread
From: bugzilla-daemon @ 2018-05-20  0:21 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 4456 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=106584

            Bug ID: 106584
           Summary: segfault in
                    r600_sb::alu_group_tracker::alu_group_tracker with gcc
                    8.1 LTO
           Product: Mesa
           Version: 18.0
          Hardware: x86-64 (AMD64)
                OS: Linux (All)
            Status: NEW
          Severity: normal
          Priority: medium
         Component: Drivers/Gallium/r600
          Assignee: dri-devel@lists.freedesktop.org
          Reporter: alex_y_xu@yahoo.ca
        QA Contact: dri-devel@lists.freedesktop.org

looks like there is an unaligned XMM store:

(gdb) info reg
rax            0x0      0
rbx            0x0      0
rcx            0x7fffffffc660   140737488340576
rdx            0x55555574eff0   93824994308080
rsi            0x555555748d90   93824994282896
rdi            0x7fffffffc810   140737488341008
rbp            0x7fffffffc080   0x7fffffffc080
rsp            0x7fffffffc008   0x7fffffffc008
r8             0x55555574fad0   93824994310864
r9             0x7fffffffbdcc   140737488338380
r10            0x1      1
r11            0x2      2
r12            0x7ffff45637b8   140737292679096
r13            0x555555752580   93824994321792
r14            0x7fffffffc320   140737488339744
r15            0x555555748d90   93824994282896
rip            0x7ffff4371e06   0x7ffff4371e06
<r600_sb::alu_group_tracker::alu_group_tracker(r600_sb::shader&)+38>
eflags         0x10246  [ PF ZF IF RF ]
cs             0x33     51
ss             0x2b     43
ds             0x0      0
es             0x0      0
fs             0x0      0
gs             0x0      0
(gdb) disas
Dump of assembler code for function
r600_sb::alu_group_tracker::alu_group_tracker(r600_sb::shader&):
   0x00007ffff4371de0 <+0>:     pxor   %xmm1,%xmm1
   0x00007ffff4371de4 <+4>:     pxor   %xmm0,%xmm0
   0x00007ffff4371de8 <+8>:     xor    %eax,%eax
   0x00007ffff4371dea <+10>:    movups %xmm1,0xb0(%rdi)
   0x00007ffff4371df1 <+17>:    movups %xmm1,0xc0(%rdi)
   0x00007ffff4371df8 <+24>:    movq   $0x0,0xd0(%rdi)
   0x00007ffff4371e03 <+35>:    mov    (%rsi),%rdx
=> 0x00007ffff4371e06 <+38>:    movaps %xmm0,0x8(%rdi)
   0x00007ffff4371e0a <+42>:    movaps %xmm0,0x18(%rdi)
   0x00007ffff4371e0e <+46>:    movups %xmm0,0x2c(%rdi)
   0x00007ffff4371e12 <+50>:    movups %xmm0,0x3c(%rdi)
   0x00007ffff4371e16 <+54>:    movups %xmm0,0x4c(%rdi)
   0x00007ffff4371e1a <+58>:    movups %xmm0,0x5c(%rdi)
   0x00007ffff4371e1e <+62>:    movups %xmm0,0x6c(%rdi)
   0x00007ffff4371e22 <+66>:    movups %xmm0,0x7c(%rdi)
   0x00007ffff4371e26 <+70>:    movups %xmm0,0x9c(%rdi)
   0x00007ffff4371e2d <+77>:    movl   $0x2,0x28(%rdi)
   0x00007ffff4371e34 <+84>:    movl   $0x0,0x8c(%rdi)
   0x00007ffff4371e3e <+94>:    movl   $0x0,0x90(%rdi)
   0x00007ffff4371e48 <+104>:   movl   $0x0,0x94(%rdi)
   0x00007ffff4371e52 <+114>:   movl   $0x0,0x98(%rdi)
   0x00007ffff4371e5c <+124>:   cmpl   $0x4,0x5c(%rdx)
   0x00007ffff4371e60 <+128>:   mov    %rsi,(%rdi)
   0x00007ffff4371e63 <+131>:   movups %xmm0,0x118(%rdi)
   0x00007ffff4371e6a <+138>:   pxor   %xmm0,%xmm0
   0x00007ffff4371e6e <+142>:   movl   $0x0,0xe8(%rdi)
   0x00007ffff4371e78 <+152>:   setne  %al
   0x00007ffff4371e7b <+155>:   movq   $0x0,0xf0(%rdi)
   0x00007ffff4371e86 <+166>:   add    $0x4,%eax
   0x00007ffff4371e89 <+169>:   movb   $0x0,0x116(%rdi)
   0x00007ffff4371e90 <+176>:   mov    %eax,0xdc(%rdi)
   0x00007ffff4371e96 <+182>:   lea    0xe8(%rdi),%rax
   0x00007ffff4371e9d <+189>:   mov    %rax,0xf8(%rdi)
   0x00007ffff4371ea4 <+196>:   mov    %rax,0x100(%rdi)
   0x00007ffff4371eab <+203>:   xor    %eax,%eax
   0x00007ffff4371ead <+205>:   mov    %ax,0x114(%rdi)
   0x00007ffff4371eb4 <+212>:   movq   $0x0,0x108(%rdi)
   0x00007ffff4371ebf <+223>:   movl   $0x0,0x110(%rdi)
   0x00007ffff4371ec9 <+233>:   movq   $0x0,0x128(%rdi)
   0x00007ffff4371ed4 <+244>:   movups %xmm0,0x130(%rdi)
   0x00007ffff4371edb <+251>:   movq   $0x0,0x140(%rdi)
   0x00007ffff4371ee6 <+262>:   cmpb   $0x1,0x68(%rdx)
   0x00007ffff4371eea <+266>:   sbb    %eax,%eax
   0x00007ffff4371eec <+268>:   and    $0xfffffff0,%eax
   0x00007ffff4371eef <+271>:   add    $0x1f,%eax
   0x00007ffff4371ef2 <+274>:   mov    %eax,0xd8(%rdi)
   0x00007ffff4371ef8 <+280>:   retq

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 6112 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] 3+ messages in thread

* [Bug 106584] segfault in r600_sb::alu_group_tracker::alu_group_tracker with gcc 8.1 LTO
  2018-05-20  0:21 [Bug 106584] segfault in r600_sb::alu_group_tracker::alu_group_tracker with gcc 8.1 LTO bugzilla-daemon
@ 2018-05-20  0:22 ` bugzilla-daemon
  2019-09-18 19:25 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2018-05-20  0:22 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 290 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=106584

--- Comment #1 from Alex Xu (Hello71) <alex_y_xu@yahoo.ca> ---
I don't know what object $rdi is. annoyingly, gdb says both this and sh are
optimized out.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 1127 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] 3+ messages in thread

* [Bug 106584] segfault in r600_sb::alu_group_tracker::alu_group_tracker with gcc 8.1 LTO
  2018-05-20  0:21 [Bug 106584] segfault in r600_sb::alu_group_tracker::alu_group_tracker with gcc 8.1 LTO bugzilla-daemon
  2018-05-20  0:22 ` bugzilla-daemon
@ 2019-09-18 19:25 ` bugzilla-daemon
  1 sibling, 0 replies; 3+ messages in thread
From: bugzilla-daemon @ 2019-09-18 19:25 UTC (permalink / raw)
  To: dri-devel


[-- Attachment #1.1: Type: text/plain, Size: 841 bytes --]

https://bugs.freedesktop.org/show_bug.cgi?id=106584

GitLab Migration User <gitlab-migration@fdo.invalid> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #2 from GitLab Migration User <gitlab-migration@fdo.invalid> ---
-- 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/mesa/mesa/issues/637.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[-- Attachment #1.2: Type: text/html, Size: 2518 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] 3+ messages in thread

end of thread, other threads:[~2019-09-18 19:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-05-20  0:21 [Bug 106584] segfault in r600_sb::alu_group_tracker::alu_group_tracker with gcc 8.1 LTO bugzilla-daemon
2018-05-20  0:22 ` bugzilla-daemon
2019-09-18 19:25 ` bugzilla-daemon

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.