Closed wnagchenghku closed 6 years ago
Update:
I have tested this code with NNPACK on Debian 9 (gcc 6.3, kernel 4.9). Still the same error. Anything wrong with this code?
I guess I have somehow found the problem. The allocated workspace size is not aligned.
Dear NNPACK author,
We are trying to deploy NNPACK in our production environment, but it segmentation faults in a simple case below. It is interesting that it crashes randomly: sometimes it runs with segfault, sometimes without any error.
Some information about our environment:
We tried to gdb it, it segfaults in
nnp_sgemm_only_4x24__fma3()
. Since there is no debug symbol in peachpy generated object files, we are not able to go further.To run this simple example, we set
ulimit -s unlimited
to make unlimited stack size.Please inform us if any more information is needed to fix it.
Many thanks for your time.