Segmentation error in Scipy _fitpack fprank_ ()

I ran python code and I got the error: "Segmentation Error". Then I ran "gdb python" and re-run the code from the prompt (gdb), and I got the following result:

#0 0x00007fffed573487 in fprank_ () from /usr/lib/python2.7/dist-packages/scipy/interpolate/_fitpack.so #1 0x00007fffed56ee81 in fpsurf_ () from /usr/lib/python2.7/dist-packages/scipy/interpolate/_fitpack.so #2 0x00007fffed55363d in surfit_ () from /usr/lib/python2.7/dist-packages/scipy/interpolate/_fitpack.so #3 0x00007fffed54183a in fitpack_surfit (dummy=<value optimised out>, args=<value optimised out>) at scipy/interpolate/src/__fitpack.h:217 #4 0x00000000004965f1 in call_function (f=<value optimised out>, throwflag=<value optimised out>) at ../Python/ceval.c:4013 #5 PyEval_EvalFrameEx (f=<value optimised out>, throwflag=<value optimised out>) at ../Python/ceval.c:2666 #6 0x000000000049d325 in PyEval_EvalCodeEx (co=0x1cf50b0, globals=<value optimised out>, locals=<value optimised out>, args=<value optimised out>, argcount=<value optimised out>, kws=<value optimised out>, kwcount=5, defs=0x1baaca0, defcount=16, closure= 0x0) at ../Python/ceval.c:3253 #7 0x0000000000496a92 in fast_function (f=<value optimised out>, throwflag=<value optimised out>) at ../Python/ceval.c:4109 #8 call_function (f=<value optimised out>, throwflag=<value optimised out>) at ../Python/ceval.c:4034 ---Type <return> to continue, or q <return> to quit--- 

Can someone help me figure out my mistake? Thanks!

0
source share
1 answer

From the trace, you can interpret that these are scipy native libraries that crash into the fprank_ () function.

Most likely, this is a meager mistake. Contact the scipy community and / or report a bug with scipy with an isolated test case.

It is unlikely that you will find a solution at stackoverflow.com because it is clearly a mistake.

+1
source

Source: https://habr.com/ru/post/1442340/


All Articles