Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clGetPlatformIDs() gets error #1

Open
Lmy0217 opened this issue Aug 11, 2017 · 3 comments
Open

clGetPlatformIDs() gets error #1

Lmy0217 opened this issue Aug 11, 2017 · 3 comments

Comments

@Lmy0217
Copy link

Lmy0217 commented Aug 11, 2017

Hi, I build and run your code on my MI5 (Qualcomm 820, Adreno 530) with eclipse. The process of build is ok but I get some errors as follows when code run

Fatal signal 11 (SIGSEGV), code 1, fault addr 0x0 in tid 23010 (Thread-3)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build fingerprint: 'Xiaomi/gemini/gemini:7.0/NRD90M/7.7.20:user/release-keys'
Revision: '0'
ABI: 'arm'
pid: 22941, tid: 23010, name: Thread-3  >>> com.white.imagesobelfilter <<<
signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0
    r0 00000001  r1 ce7e3180  r2 cd578f64  r3 00000000
    r4 e8eb1f8c  r5 e8eb2108  r6 e8eaf63c  r7 00000000
    r8 ea5f1d10  r9 00000100  sl 00000000  fp cd57911c
    ip eb414948  sp cd578f28  lr e8ead10f  pc 00000000  cpsr 200f0010
backtrace:
    #00 pc 00000000  <unknown>
    #01 pc 0000210d  /data/app/com.white.imagesobelfilter-1/lib/arm/libSobelFilter.so (_Z9GPU_SobelP9_IplImageS0_+140)
    #02 pc 0000258b  /data/app/com.white.imagesobelfilter-1/lib/arm/libSobelFilter.so (Java_com_white_imagesobelfilter_nativeSobelFilter_sobelFilter+186)
    #03 pc 000652cd  /data/app/com.white.imagesobelfilter-1/oat/arm/base.odex (offset 0x65000)

The failed code is

status = clGetPlatformIDs(0, NULL, &numPlatforms);

@wanyvic
Copy link

wanyvic commented Mar 27, 2018

the similar problem with you (MI5)
when I run to cllinkprogram func the process will be crashed
signal 11 (SIGSEGV), code 1 ,fault addr 0x8 in tid 22049 (pool-1-thread-2)

@qifengl
Copy link

qifengl commented Jun 16, 2018

I got this problem too.
have you solved that?

@Lmy0217
Copy link
Author

Lmy0217 commented Jun 28, 2018

@qifengl I didn't solved it, have you solved now?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants