I've opened <a href="http://projects.scipy.org/numpy/ticket/1713">http://projects.scipy.org/numpy/ticket/1713</a> so this doesn't get lost.<br><br>Ralf<br><br><br><div class="gmail_quote">On Thu, Jan 6, 2011 at 12:27 AM, John Hunter <span dir="ltr"><<a href="mailto:jdh2358@gmail.com">jdh2358@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">johnh@udesktop253:~> gcc --version<br>gcc (GCC) 3.4.3 (csl-sol210-3_4-branch+sol_rpath)<br>
Copyright (C) 2004 Free Software Foundation, Inc.<br>This is free software; see the source for copying conditions.  There is NO<br>

warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.<br><br>johnh@udesktop253:~> uname -a<br>SunOS udesktop253 5.10 Generic_142910-17 i86pc i386 i86pc<br><br>johnh@udesktop253:~> cat test.py<br>


import numpy as np<br>print np.__version__<br>fs = 1000<br>t = np.linspace(0, 0.3, 301)<br>A = np.array([2, 8]).reshape(-1, 1)<br>f = np.array([150, 140]).reshape(-1, 1)<br>xn = (A * np.exp(2j * np.pi * f * t)).sum(axis=0)<br>


<br>johnh@udesktop253:~> python test.py<br>2.0.0.dev-9451260<br>Segmentation Fault (core dumped)<br>johnh@udesktop253:~><br><br>johnh@udesktop253:~> sudo pstack /var/core/core.python.957<br>core '/var/core/core.python.957' of 9397:       python test.py<br>


 febf1928 cexp     (0, 0, 0, 0, 8060ab0, 84321ac) + 1b0<br> fe9657e0 npy_cexp (80458e0, 0, 0, 0, 0, 84e2530) + 30<br> fe95064f nc_exp   (8045920, 84e72a0, 8045978, 8045920, 10, 10) + 3f<br> fe937d5b PyUFunc_D_D (84e2530, 84e20f4, 84e25b0, fe950610, 1, 0) + 5b<br>


 fe95e818 PyUFunc_GenericFunction (81e96e0, 807deac, 0, 80460b8, 2, 2) + 448<br> fe95fb10 ufunc_generic_call (81e96e0, 807deac, 0, fe98a820) + 70<br> feeb2d78 PyObject_Call (81e96e0, 807deac, 0, 80a24ec, 8061c08, 0) + 28<br>


 fef11900 PyEval_EvalFrame (80a2394, 81645a0, 8079824, 8079824) + 146c<br> fef17708 PyEval_EvalCodeEx (81645a0, 8079824, 8079824, 0, 0, 0) + 620<br> fef178af PyEval_EvalCode (81645a0, 8079824, 8079824, 8061488, fef3d9ee, 0) + 2f<br>


 fef3d095 PyRun_FileExFlags (feb91c98, 804687b, 101, 8079824, 8079824, 1) + 75<br> fef3d9ee PyRun_SimpleFileExFlags (feb91c98, 804687b, 1, 80465a8, fef454a1, 804687b) + 172<br> fef3e4fd PyRun_AnyFileExFlags (feb91c98, 804687b, 1, 80465a8) + 61<br>


 fef454a1 Py_Main  (1, 80466b8, feb1cf35, fea935a1, 29, feb96750) + 9d9<br> 08050862 main     (2, 80466b8, 80466c4) + 22<br> 08050758 _start   (2, 8046874, 804687b, 0, 8046883, 80468ad) + 60<br><br><br><br><br>
<br>_______________________________________________<br>
NumPy-Discussion mailing list<br>
<a href="mailto:NumPy-Discussion@scipy.org">NumPy-Discussion@scipy.org</a><br>
<a href="http://mail.scipy.org/mailman/listinfo/numpy-discussion" target="_blank">http://mail.scipy.org/mailman/listinfo/numpy-discussion</a><br>
<br></blockquote></div><br>