cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

ibird
Adept I

OpenCL and valgrind with --db-attach=yes freeze the system

(Sorry for my english)


I am on  ubuntu 9.04


in general i use valgrind to find memory leak into my code, but i continue to have system freeze trying to attaching gdb to valgrind.


i has also tried with example code , also them freeze, i want to know if someone else has the same problem.


To check this


use


valgrind --db-attach=yes ./MatrixMultiplication


ignoring all "invalid write" and "invalid read"  into the ATI driver, is not a my problem, answering "no" to all question, after few question the system freeze

Someone can test, if has this problem ?



0 Likes
5 Replies
nou
Exemplar

for me valgrind freeze with --gen-suppression

0 Likes

freeze Valgrind or all the system ?

Because on my ubuntu freeze all the system

0 Likes

I confirm that freeze all system also with

--gen-suppressions

0 Likes

This looks like valgrind issue. The hang seems to be in valgrind translated code.

 

Valgrind interrupts the test application while it is holding the shared driver lock and sends output to the xterm to be displayed, causing the X server to attempt to take that lock, deadlocking it.

 

0 Likes

i understand , thanks for the answer

0 Likes