[Mesa-dev] [Bug 94040] clGetPlatformIDs causes futex race condition

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

Vedran Miletić  changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 Blocks||99553
 Resolution|--- |WORKSFORME

--- Comment #14 from Vedran Miletić  ---
Closing per comment #13.


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 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 94040] clGetPlatformIDs causes futex race condition

2016-02-24 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #13 from b...@bob131.so ---
I wasn't successful in getting mesa to compile with `--enable-opencl`, but
something odd has happened today: I had to reinstall Fedora because gdm
exploded, and now no such lockup occurs.

➜  ~ rpm -q mesa-libOpenCL
mesa-libOpenCL-11.1.0-2.20151218.fc23.x86_64

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-20 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #12 from Francisco Jerez  ---
Thanks.  Could you check if this workaround from an earlier bug report helps?

https://bugs.freedesktop.org/attachment.cgi?id=117708

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

b...@bob131.so changed:

   What|Removed |Added

 Attachment #121851|0   |1
is obsolete||

--- Comment #11 from b...@bob131.so ---
Created attachment 121852
  --> https://bugs.freedesktop.org/attachment.cgi?id=121852=edit
Complete Blender backtraces with ocl-icd debuginfos

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #9 from b...@bob131.so ---
Created attachment 121851
  --> https://bugs.freedesktop.org/attachment.cgi?id=121851=edit
Complete Blender backtraces

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-19 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #10 from b...@bob131.so ---
Sorry, I completely forgot you asked for those. Enjoy ;)

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #7 from b...@bob131.so ---
In the specific case of blender, there are 31 hung up threads with around 9
each waiting on

__lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
do_futex_wait () at ../sysdeps/unix/sysv/linux/futex-internal.h:205

The remaining threads are waiting on poll () at
../sysdeps/unix/syscall-template.S:84 with the last being the one I provided a
backtrace for. Is there any one you're interested in particular? After sampling
some of the backtraces they seem to be unrelated, either blender-specific or
just mainloops for udev and pulseaudio waiting for events, but if please let me
know if there's any backtraces you'd like

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #8 from Francisco Jerez  ---
(In reply to bob from comment #7)
> In the specific case of blender, there are 31 hung up threads with around 9
> each waiting on
> 
> __lll_lock_wait () at ../sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
> pthread_cond_wait@@GLIBC_2.3.2 () at
> ../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
> do_futex_wait () at ../sysdeps/unix/sysv/linux/futex-internal.h:205
> 
> The remaining threads are waiting on poll () at
> ../sysdeps/unix/syscall-template.S:84 with the last being the one I provided
> a backtrace for. Is there any one you're interested in particular? After
> sampling some of the backtraces they seem to be unrelated, either
> blender-specific or just mainloops for udev and pulseaudio waiting for
> events, but if please let me know if there's any backtraces you'd like

Is there any other hung thread showing mesa function calls in the stack trace? 
That would be particularly interesting.  In any case the more backtraces you
can provide the better :)

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

Francisco Jerez  changed:

   What|Removed |Added

 CC||curroje...@riseup.net

--- Comment #6 from Francisco Jerez  ---
Can you also provide backtraces for any concurrently running threads?  I
suspect that reverting commit d5b1731178378b3d828c74368f6bfe85edc10618 may fix
the deadlock, any chance you could try?

Thanks.

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #3 from b...@bob131.so ---
Fabian Deutsch 

The backtrace shows that clover is used.
Component: ocl-icd → mesa

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #4 from b...@bob131.so ---
I've tried with a variety of different configurations to check whether this bug
might be setup-specific. I normally use two GPUs from mixed vendors, but I
tried using a single GTX570, HD6870, HD6950, 9800GT and just the plain Intel
HD4000 but still this bug persists

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #2 from b...@bob131.so ---
Created attachment 121583
  --> https://bugs.freedesktop.org/attachment.cgi?id=121583=edit
Blender GDB backtrace

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #5 from b...@bob131.so ---
Fabian Deutsch 

I strongly suspect that it's an issue if clover/mesa's opencl tracker, please
file a bug in upstream or retry with the latest release from rawhide.
Status: NEW → CLOSED

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

--- Comment #1 from b...@bob131.so ---
User-Agent:   Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:41.0)
Gecko/20100101 Firefox/41.0
Build Identifier: 

Apologies if I've mischaracterised anything above, I'm going off of my
uninformed analysis of the attached backtrace from GDB.

Attempting to use Blender in any meaningful way results in the UI hanging.
strace clued me into the blocking futex call and gdb seems to point the finger
at libOpenCL.so. 

Oddly enough, clinfo works as it should

Reproducible: Always

Steps to Reproduce:
1. Open Blender
2. Open system tab of preferences panel, switch to the Cycles renderer etc
Actual Results:  
UI freeze, application hang

Expected Results:  
Application doesn't hang

rpm -q fedora-release
fedora-release-23-0.17.noarch

rpm -q blender   
blender-2.75-4.fc23.x86_64

rpm -q ocl-icd
ocl-icd-2.2.7-2.git20150606.ebbc4c1.fc23.x86_64

-- 
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 94040] clGetPlatformIDs causes futex race condition

2016-02-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=94040

Bug ID: 94040
   Summary: clGetPlatformIDs causes futex race condition
   Product: Mesa
   Version: 11.0
  Hardware: Other
OS: Linux (All)
Status: NEW
  Severity: normal
  Priority: medium
 Component: Other
  Assignee: mesa-dev@lists.freedesktop.org
  Reporter: b...@bob131.so
QA Contact: mesa-dev@lists.freedesktop.org

I originally opened this bug on the Redhat bugzilla[1], but I was instructed to
take this upstream. Just so everyone's on the same page, I'm going to
copy-paste the report from RH.

[1]: https://bugzilla.redhat.com/show_bug.cgi?id=1273131

-- 
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