[Numpy-tickets] [NumPy] #641: numpy.sqrt(numpy.array([-1.0], dtype=numpy.complex256)) segfaults
NumPy
numpy-tickets@scipy....
Mon Jan 7 15:15:53 CST 2008
#641: numpy.sqrt(numpy.array([-1.0], dtype=numpy.complex256)) segfaults
------------------------+---------------------------------------------------
Reporter: nils | Owner: somebody
Type: defect | Status: new
Priority: high | Milestone: 1.0.5
Component: numpy.core | Version: devel
Severity: critical | Keywords:
------------------------+---------------------------------------------------
{{{
>>> numpy.sqrt(numpy.array([-1.0], dtype=numpy.complex256))
array([0.0+1.7100542e-4937j], dtype=complex256)
>>> numpy.sqrt(numpy.array([-1.0], dtype=numpy.complex256))
array([0.0+9.1807977e-4929j], dtype=complex256)
>>> numpy.sqrt(numpy.array([-1.0], dtype=numpy.complex256))
array([0.0+5.3847568e-4675j], dtype=complex256)
>>> numpy.sqrt(numpy.array([-1.0], dtype=numpy.complex256))
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 46912509653888 (LWP 17547)]
0x00002aaaab5a4c86 in __mpn_mul_1 () from /lib64/tls/libc.so.6
(gdb)
(gdb) bt
#0 0x00002aaaab5a4c86 in __mpn_mul_1 () from /lib64/tls/libc.so.6
#1 0x00002aaaab5ad355 in __printf_fp () from /lib64/tls/libc.so.6
}}}
--
Ticket URL: <http://scipy.org/scipy/numpy/ticket/641>
NumPy <http://projects.scipy.org/scipy/numpy>
The fundamental package needed for scientific computing with Python.
More information about the Numpy-tickets
mailing list