I've opened http://projects.scipy.org/numpy/ticket/1713 so this doesn't get lost.
Ralf On Thu, Jan 6, 2011 at 12:27 AM, John Hunter <jdh2...@gmail.com> wrote: > johnh@udesktop253:~> gcc --version > gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath) > Copyright (C) 2004 Free Software Foundation, Inc. > This is free software; see the source for copying conditions. There is NO > warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. > > johnh@udesktop253:~> uname -a > SunOS udesktop253 5.10 Generic_142910-17 i86pc i386 i86pc > > johnh@udesktop253:~> cat test.py > import numpy as np > print np.__version__ > fs = 1000 > t = np.linspace(0, 0.3, 301) > A = np.array([2, 8]).reshape(-1, 1) > f = np.array([150, 140]).reshape(-1, 1) > xn = (A * np.exp(2j * np.pi * f * t)).sum(axis=0) > > johnh@udesktop253:~> python test.py > 2.0.0.dev-9451260 > Segmentation Fault (core dumped) > johnh@udesktop253:~> > > johnh@udesktop253:~> sudo pstack /var/core/core.python.957 > core '/var/core/core.python.957' of 9397: python test.py > febf1928 cexp (0, 0, 0, 0, 8060ab0, 84321ac) + 1b0 > fe9657e0 npy_cexp (80458e0, 0, 0, 0, 0, 84e2530) + 30 > fe95064f nc_exp (8045920, 84e72a0, 8045978, 8045920, 10, 10) + 3f > fe937d5b PyUFunc_D_D (84e2530, 84e20f4, 84e25b0, fe950610, 1, 0) + 5b > fe95e818 PyUFunc_GenericFunction (81e96e0, 807deac, 0, 80460b8, 2, 2) + > 448 > fe95fb10 ufunc_generic_call (81e96e0, 807deac, 0, fe98a820) + 70 > feeb2d78 PyObject_Call (81e96e0, 807deac, 0, 80a24ec, 8061c08, 0) + 28 > fef11900 PyEval_EvalFrame (80a2394, 81645a0, 8079824, 8079824) + 146c > fef17708 PyEval_EvalCodeEx (81645a0, 8079824, 8079824, 0, 0, 0) + 620 > fef178af PyEval_EvalCode (81645a0, 8079824, 8079824, 8061488, fef3d9ee, 0) > + 2f > fef3d095 PyRun_FileExFlags (feb91c98, 804687b, 101, 8079824, 8079824, 1) + > 75 > fef3d9ee PyRun_SimpleFileExFlags (feb91c98, 804687b, 1, 80465a8, fef454a1, > 804687b) + 172 > fef3e4fd PyRun_AnyFileExFlags (feb91c98, 804687b, 1, 80465a8) + 61 > fef454a1 Py_Main (1, 80466b8, feb1cf35, fea935a1, 29, feb96750) + 9d9 > 08050862 main (2, 80466b8, 80466c4) + 22 > 08050758 _start (2, 8046874, 804687b, 0, 8046883, 80468ad) + 60 > > > > > > _______________________________________________ > NumPy-Discussion mailing list > NumPy-Discussion@scipy.org > http://mail.scipy.org/mailman/listinfo/numpy-discussion > >
_______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion