SEGFAULT from importing _minpack.so (was Re: [SciPy-user] install problem on Mandrake-8.2)

Gerard Vermeulen gvermeul at polycnrs-gre.fr
Thu May 23 03:17:51 EDT 2002


On Wednesday 22 May 2002 11:12, you wrote:

<snip>

> > > import them directly one-by-one. Do you find other failing modules?
> >
> > Yes _minpack.so is the only failing module
>
> Good, in the sense that the problem is localized.
>
> The next step would be playing around with
>
>   scipy/optimize/_minpackmodule.c
>

<snip>

I ended up disabling all methods in minpack_module_methods[]
except "_chkder" in _minpackmodule.c

In __minpack.h, I commented out everything, except
for minpack_chker(). In this function I had to comment out
the two calls to CHKDER().

Without the calls to CHKDER() importing succeeds and
with the calls it fails.

So, it looks like if there is something wrong with
calling Fortran from C in this module.

If there is nothing wrong with the compiler/linker flags
produced by setup.py, there is something wrong with
Mandrake's gcc/g77-2.96.

Travis, did you use the standard Mandrake gcc & g77?

Best regards -- Gerard



More information about the SciPy-User mailing list