Skip to contentSkip to conversation

New: Pyrit crashes with segmentation fault

Bug 74679 [email protected] 1 participant 8 messages Feb 7, 2014 – Apr 29, 2014

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 74679
Assignee: [email protected]
Summary: Pyrit crashes with segmentation fault
Severity: normal
Classification: Unclassified
OS: Linux (All)
Reporter: [email protected]
Hardware: x86-64 (AMD64)
Status: NEW
Version: git
Component: Drivers/Gallium/r600
Product: Mesa

Created attachment 93617
--> https://bugs.freedesktop.org/attachment.cgi?id=93617&action=edit
This is the output of "R600_DEBUG=cs pyrit selftest", and the piglt all_cl test results of both GPUs

OS: Ubuntu 13.10 with Linux kernel 3.13.1
LLVM/Clang: latest git from apt repos, 200925
libclc: git, 20140205
Mesa: git, 201402061930

Graphics card: Radeon R9 270X, aka AMD PITCAIRN

Every time I run a Pyrit selftest, it crashes with a segmentation fault. I have tried this on my laptop with the same setup as above, except this had a Radeon HD 6750M (aka AMD TURKS), and it ran fine.

I have attached the output of "R600_DEBUG=cs pyrit selftest".

I have also attached the output of the piglit all_cl tests for both the 6750M and the R9 270X.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 74679] Pyrit crashes with segmentation fault

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

--- Comment #1 from Nick Zatkovich <[email protected]> --- Also, I forgot to mention, I was recompiling pyrit every time I updated any of those repos, and it was from the pyrit svn on google code.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 74679] Pyrit crashes with segmentation fault

In reply to [email protected]

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

--- Comment #2 from Tom Stellard <[email protected]> --- It works for me with these two patches:
http://people.freedesktop.org/~tstellar/0001-SelectionDAG-Factor-ISD-MUL-lowering-code-out-of-DAG.patch
http://people.freedesktop.org/~tstellar/0002-SelectionDAG-Use-helper-function-to-improve-legaliza.patch

Can you test these? I have some other uncommitted patches in my tree, so if it still doesn't work for you with these patches, I will push the branch I'm using somewhere so you can test it.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 74679] Pyrit crashes with segmentation fault

In reply to [email protected]

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

--- Comment #3 from Nick Zatkovich <[email protected]> --- Created attachment 93640
--> https://bugs.freedesktop.org/attachment.cgi?id=93640&action=edit
Piglit tests on the R9 270x before and after the patch

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 74679] Pyrit crashes with segmentation fault

In reply to [email protected]

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

--- Comment #4 from Nick Zatkovich <[email protected]> --- Yes, it works! Thank you. Lets hope these patches land in upstream soon.

for posterity's sake, I've uploaded the piglit tests before and after the patch.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 74679] Pyrit crashes with segmentation fault

In reply to [email protected]

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

Nick Zatkovich <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Nick Zatkovich <[email protected]> --- closing this as resolved.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#6 lore raw

[Bug 74679] Pyrit crashes with segmentation fault

In reply to [email protected]

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

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|RESOLVED                    |REOPENED
         Resolution|FIXED                       |---

--- Comment #6 from Tom Stellard <[email protected]> --- (In reply to comment #5)

Quoted 1 line

closing this as resolved.

Let's leave this open until the patches are committed.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#7 lore raw

[Bug 74679] Pyrit crashes with segmentation fault

In reply to [email protected]

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

Tom Stellard <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|REOPENED                    |RESOLVED
         Resolution|---                         |FIXED

--- Comment #7 from Tom Stellard <[email protected]> --- I've committed these fixes to LLVM.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel