Skip to contentSkip to conversation

New: [piglit] shaders/glsl-array-bounds-02 (+even nrs) produces TRAP , TRAP_MP - TP0: Unhandled ustatus 0x00000001

Bug 68348 [email protected] 1 participant 6 messages Aug 20, 2013 – Oct 22, 2015 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

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

Priority: medium
Bug ID: 68348
Assignee: [email protected]
Summary: [piglit] shaders/glsl-array-bounds-02 (+even nrs)
produces TRAP , TRAP_MP - TP0: Unhandled ustatus 0x00000001
QA Contact: [email protected]
Severity: normal
Classification: Unclassified
OS: All
Reporter: dirkneukirchen-S0/[email protected]
Hardware: x86 (IA32)
Status: NEW
Version: git
Component: Driver/nouveau
Product: xorg

Created attachment 84353
--> https://bugs.freedesktop.org/attachment.cgi?id=84353&action=edit
dmesg with many instances of problem occuring (while isolating the piglit testcase)

./piglit-run.py --no-concurrency -t '^shaders/glsl-array-bounds-02' tests/quick.tests results/quick-shaders-array.tests

and all other even numbered cases
glsl-array-bounds-04
glsl-array-bounds-06
glsl-array-bounds-08

print out success but get a kernel log entry like

[ 4653.971680] nouveau E[  PGRAPH][0000:02:00.0] TRAP_MP - TP0: Unhandled
ustatus 0x00000001
[ 4653.971688] nouveau E[  PGRAPH][0000:02:00.0]  TRAP
[ 4653.971695] nouveau E[  PGRAPH][0000:02:00.0] ch 5 [0x0007814000

shader_runner[8809]] subc 3 class 0x8397 mthd 0x15e0 data 0x00000000

found with heavy use of exclude -x feature :)

Hardware:
Nvidia 8200 Onboard NVAA/NV50

nouveau  [  DEVICE][0000:02:00.0] Chipset: MCP77/MCP78 (NVAA)
nouveau  [  DEVICE][0000:02:00.0] Family : NV50

Software:
Linux Mint 15 + xorg-edgers + 3.11-rc5
Kernel: 3.11.0-rc5-vanillaice (compiled)
libdrm-nouveau: 2.4.46+git20130702.c6d73cfe-0ubuntu0sarvatt~raring xserver-xorg-video-nouveau :
1:1.0.9+git20130730.300c5a32-0ubuntu0sarvatt~raring
mesa: 9.2.0~git20130729+9.2.9b8ad643-0ubuntu0sarvatt~raring

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

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

A message that is not in the archive (sent off-list or not yet received): bug-68348-8800-V0hAGp6uBxMKqLRl/[email protected]/

#2 lore raw

[Bug 68348] [piglit] shaders/glsl-array-bounds-02 (+even nrs) produces TRAP , TRAP_MP - TP0: Unhandled ustatus 0x00000001

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

--- Comment #1 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- The big difference between the even and odd numbered shaders/glsl-array-bounds-* seems to be how the invalid index comes about.

In the odd-numbered ones, it comes directly from shader code, e.g.:

void main() {
int idx = 20;
array[idx]
}

In the even-numbered ones, it comes from a uniform that I guess is passed in:

uniform int idx;

void main() {
array[idx]
}

(And the various tests check fragment/vertex shaders, positive/negative offsets, and the place where the idx comes from, so 8 tests total.)

Although I'm not sure there's actually a problem here... the program is doing something illegal. You get segfault notifications in dmesg too...

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

_______________________________________________
Nouveau mailing list [email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#3 lore raw

[Bug 68348] [piglit] shaders/glsl-array-bounds-02 (+even nrs) produces TRAP , TRAP_MP - TP0: Unhandled ustatus 0x00000001

In reply to a message not in the archive

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

Tobias Klausmann <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |NEEDINFO

--- Comment #2 from Tobias Klausmann <[email protected]> --- Is this still a bug with recent kernels and other software? Please retest with 3.19-rc4 as there were some fixes for these chips in particular.

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

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#4 lore raw

[Bug 68348] [piglit] shaders/glsl-array-bounds-02 (+even nrs) produces TRAP , TRAP_MP - TP0: Unhandled ustatus 0x00000001

In reply to a message not in the archive

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

--- Comment #3 from Tobias Klausmann <[email protected]> --- Noted on IRC by pmoureau:

Tests {2-8} are working fine while {10, 12} are still failing with a similar error on MCP79/7A (the closest we got)

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

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#5 lore raw

[Bug 68348] [piglit] shaders/glsl-array-bounds-02 (+even nrs) produces TRAP , TRAP_MP - TP0: Unhandled ustatus 0x00000001

In reply to a message not in the archive

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

--- Comment #4 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- The piglit test got changed in the meanwhile. It's an out-of-bounds access, I think the error in dmesg is legit...ish. Not sure. We could turn off error reporting, which afaik is what the blob does.

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

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau

#6 lore raw

[Bug 68348] [piglit] shaders/glsl-array-bounds-02 (+even nrs) produces TRAP , TRAP_MP - TP0: Unhandled ustatus 0x00000001

In reply to a message not in the archive

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

Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> changed:

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

             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |NOTABUG

--- Comment #5 from Ilia Mirkin <imirkin-FrUbXkNCsVf2fBVCVOL8/[email protected]> --- We don't disable error reporting, so you'll see stuff like that in dmesg. Expected.

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

_______________________________________________
Nouveau mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/nouveau