Bug#864365: A simple program ends up with SIGSEGV [amd64]
Daniel Stender
debian at danielstender.com
Wed Jun 7 16:01:08 UTC 2017
On 07.06.2017 17:52, Lumin wrote:
> Package: python3-numba
> Version: 0.33.0-1
> Severity: severe
>
> Hi,
>
> It fails to run even the simplest code:
>
> ```
> #!/usr/bin/python3
> from numba import jit
> from numpy import arange
> import time
>
> @jit
> def sum2d(arr):
> M, N = arr.shape
> result = 0.0
> for i in range(M):
> for j in range(N):
> result += arr[i,j]
> return result
>
> a = arange(65536).reshape(256,256)
> t1 = time.time()
> print(sum2d(a))
> t2 = time.time()
> ```
>
> terminated by signal SIGSEGV (Address boundary error)
Yup. That's why it's still in experimental ... :-)
DS
--
4096R/DF5182C8
Debian Developer (stender at debian.org)
http://www.danielstender.com/
More information about the debian-science-maintainers
mailing list