cancel
Showing results for 
Search instead for 
Did you mean: 

Archives Discussions

vladimir_1
Adept II

HSA calls freeze ubuntu when invoked inside JNI method

Hi,

I have encountered a very strange showstopper bug:

I've created a simple JNI project, basically

public class Hello { public native void init();  public static void main(String[] args) { new Hello().init(); } }

generated header and pasted vector_copy sample as init() implementation.

the sample runs fine under jdk 8 and jdk 7, but in both cases after 30-60 seconds Ubuntu freezes and is no longer responsive.

This started happening after update from 1.0 to 1.2 version of the driver.

0 Likes
4 Replies
vladimir_1
Adept II

Hi,

Was just wondering if someone is looking into issue or if a test case is needed.

0 Likes

Is there any dmesg output associated with the freeze, specifically associated with the KFD module?

0 Likes

Hi,

Unfortunately no. I've got no hints what might be causing it.

Best Regards,

Vladimir.

0 Likes
jedwards
Staff

Try to run your app with the environment variable HSA_ENABLE_INTERRUPT=no. If it passes then this is a know issue having to do with blocking signals.

0 Likes