[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

Jan Vesely  changed:

   What|Removed |Added

 Resolution|WONTFIX |INVALID

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

Janpieter Sollie  changed:

   What|Removed |Added

 Resolution|--- |WONTFIX
 Status|NEW |RESOLVED

--- Comment #6 from Janpieter Sollie  ---
seems like I am a very bad programmer...
after investigating the OpenCL reference manual, I found out my code was
unstable, and I need to fix it before I can post something useful

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

--- Comment #5 from Janpieter Sollie  ---
Created attachment 133403
  --> https://bugs.freedesktop.org/attachment.cgi?id=133403=edit
working program source

the source contains the following modifications:
-use of local memory
-insertion of debug function
- removal of atom_add

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-09 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

--- Comment #4 from Janpieter Sollie  ---
I got it running on both pocl and clover.  I will attach a working version with
a built_hints.txt file included, which also includes debug information to debug
memory contents.
what I concluded:
- atom_add does not work correctly
- this workaround works, where it should not:
i = ctx->l1;
i+= len << 3;
atom_xchg(&(ctx->l1), i);

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

--- Comment #3 from Janpieter Sollie  ---
confirmed on -RC3 (initial report on RC2)

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

Jan Vesely  changed:

   What|Removed |Added

 Blocks||99553


Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover
-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

Janpieter Sollie  changed:

   What|Removed |Added

   See Also||https://bugs.freedesktop.or
   ||g/show_bug.cgi?id=101952

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

--- Comment #2 from Janpieter Sollie  ---
fyi: I ran the program through oclgrind, this reports no problems ...
I ran the program with pocl, there's no problem there,
I ran the program with amdgpu-pro, no problem either

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

--- Comment #1 from Janpieter Sollie  ---
Created attachment 133230
  --> https://bugs.freedesktop.org/attachment.cgi?id=133230=edit
clover dump files

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

Janpieter Sollie  changed:

   What|Removed |Added

 CC||janpieter.sol...@dommel.be

-- 
You are receiving this mail because:
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev


[Mesa-dev] [Bug 102030] private memory overflow in openCL

2017-08-03 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=102030

Bug ID: 102030
   Summary: private memory overflow in openCL
   Product: Mesa
   Version: 17.2
  Hardware: x86-64 (AMD64)
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Mesa core
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: janpieter.sol...@dommel.be
QA Contact: mesa-dev@lists.freedesktop.org

Created attachment 133229
  --> https://bugs.freedesktop.org/attachment.cgi?id=133229=edit
program source

the program is attached, I debugged using the following:
-gdb break 380 & print answer
-investigation of answer[7] and answer[8]
while in both moments of the program they point to exactly the same array, the
content is different.  The only thing that happened in between is the
SHA1Init(), which should not interfere with output[] and k_pad/digest.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.___
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev