cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

boxerab
Challenger

Bug: CodeXL falsely reports that clCreateUserEvent does not succeed

My code reports no error, and user event is created successfully. However, CodeXL Application TImeline Trace reports that clCreateUserEvent did not return CL_SUCCESS

Using the latest version of CodeXL.

0 Likes
5 Replies
kalyanpk
Staff
Staff

Re: Bug: CodeXL falsely reports that clCreateUserEvent does not succeed

Hi,

What is the Hardware, OS and Catalyst version you are running CodeXL?

Can you please provide us code snippet for reproducing this issue?

Also, please attach CodeXL log file present in %temp% (On Windows) or "/tmp" (on Linux) along with session directory (right click on the session and select Open containing folder; zip the folder and attach).

Thanks,

Kalyan P

0 Likes
chesik
Staff
Staff

Re: Bug: CodeXL falsely reports that clCreateUserEvent does not succeed

Hi boxerab,

This was a bug in CodeXL 1.8.  It has been fixed and the fix will be released with the next version of CodeXL. The false-positive error from CodeXL is caused by passing in NULL for the "errcode_ret" parameter of clCreateUserEvent (or any other api that returns status via a parameter rather than the return value)

Chris

0 Likes
boxerab
Challenger

Re: Bug: CodeXL falsely reports that clCreateUserEvent does not succeed

Great, thanks for the update, and looking forward to the next release.

0 Likes
boxerab
Challenger

Re: Bug: CodeXL falsely reports that clCreateUserEvent does not succeed

Actually, I just checked my code, and I am not passing NULL into clCreateUserEvent. So, the issue still remains, for me.

0 Likes
chesik
Staff
Staff

Re: Bug: CodeXL falsely reports that clCreateUserEvent does not succeed

Hmm.  Then, I'm not sure what would cause this.  Could you share your .atp file, so I can take a look and investigate why this is happening?

Thanks,

Chris

0 Likes