ComputeLibrary icon indicating copy to clipboard operation
ComputeLibrary copied to clipboard

Get 'Segmentation Fault' while running benchmark for NEON

Open mstfc opened this issue 9 years ago • 4 comments

Hi all,

I get the 'Segmentation Fault' when running ACL benchmark for NEON. ACL benchmark for CL can run to the end successfully. I just follow the instructions that ACL document mentioned. Dose anyone hit the same issue? I ran the benchmark on V17.09 and V17.10 and both got the same error.

Thanks for your help.

mstfc avatar Oct 16 '17 09:10 mstfc

Hello @mstfc,

Can you provide more information? How do you build the library? Where it fails (Any particular tests)? Where do you run it?

GeorgeARM avatar Oct 16 '17 09:10 GeorgeARM

Hi @GeorgeARM,

Thanks for reply. I ran it on Raspberry PI3 model B and our own ARM based platform (A53+Mali-T820, we are an IC design house. So that I can test ACL for CL on Mali). Cross-compiled ACL on Linux X86_64 PC, tool chain version is (Linaro GCC 4.9-2017.01)4.9.4. Here is the compile command : scons Werror=1 -j4 debug=1 neon=1 cppthreads=0 openmp=0 opencl=0 os=linux arch=armv7a standalone=0 examples=1 embed_kernels=1 benchmark_tests=1

I traced the code and found it failed at AlexNetNetwork.h : run() : act2.run(); It's just the first test case.

I also found that, in AlexNet.cpp : NEAlexNetFixture, there are 2 NEConvolutionLayer and is different from CL. I replaced one NEConvolutionLayer with NEDirectConvolutionLayer just like CL does and the first test case can finish AlexNetNetwork.h : run() function but got " *** Error in ./arm_compute_benchmark': double free or corruption (out): 0x7667b008 *** " or " "*** Error in ./arm_compute_benchmark': munmap_chunk(): invalid pointer: 0x766b4008 *** " error messages after than.

I'm still trying to debug, but the progress is too slow. Hope that I can get some hints from you. Thank you.

mstfc avatar Oct 16 '17 13:10 mstfc

Hello @mstfc,

Is this still a problem with v17.12 release?

GeorgeARM avatar Jan 18 '18 18:01 GeorgeARM

No updates, closing.

AnthonyBarbier avatar Feb 13 '18 16:02 AnthonyBarbier