Bug#864365: A simple program ends up with SIGSEGV [amd64]
Control: tag -1 +patch The fix is attached. It fails on my side simply because the python3-llvmlite package is too old. The default version in sid (0.16.0) does not work with numba. Listing... Done python3-llvmlite/experimental,now 0.18.0-1 amd64 [installed] python3-llvmlite/unstable 0.16.0-1 amd64 diff --git a/debian/control b/debian/control index 66d7146..81f0e06 100644 --- a/debian/control +++ b/debian/control @@ -31,7 +31,7 @@ Depends: ${misc:Depends}, ${python:Depends}, ${shlibs:Depends}, - python-llvmlite + python-llvmlite (>= 0.18.0~), Recommends: numba-doc Suggests: @@ -55,7 +55,7 @@ Depends: ${misc:Depends}, ${python3:Depends}, ${shlibs:Depends}, - python3-llvmlite + python3-llvmlite (>= 0.18.0~), Recommends: numba-doc Suggests: On 2 July 2017 at 13:18, Luminwrote: > The numba package installed with pip3 seems working. > It is able to run numba.runtests.main() > > However the Debian package will segfault immediately > if you do so. > > On 7 June 2017 at 16:23, Daniel Stender wrote: >> On 07.06.2017 18:13, Lumin wrote: >>> Oops, that's a sorrowful story ... >> >> I've put it on RFA now (#864367). If you would like to pick it up, welcome! >> >> Dan >> >> -- >> 4096R/DF5182C8 >> Debian Developer (sten...@debian.org) >> http://www.danielstender.com/ > > > > -- > Best, > Lumin -- Best, Lumin -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Processed: Re: Bug#864365: A simple program ends up with SIGSEGV [amd64]
Processing control commands: > tag -1 +patch Bug #864365 [python3-numba] A simple program ends up with SIGSEGV [amd64] Added tag(s) patch. -- 864365: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=864365 Debian Bug Tracking System Contact ow...@bugs.debian.org with problems -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#864365: A simple program ends up with SIGSEGV [amd64]
The numba package installed with pip3 seems working. It is able to run numba.runtests.main() However the Debian package will segfault immediately if you do so. On 7 June 2017 at 16:23, Daniel Stenderwrote: > On 07.06.2017 18:13, Lumin wrote: >> Oops, that's a sorrowful story ... > > I've put it on RFA now (#864367). If you would like to pick it up, welcome! > > Dan > > -- > 4096R/DF5182C8 > Debian Developer (sten...@debian.org) > http://www.danielstender.com/ -- Best, Lumin -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#864365: A simple program ends up with SIGSEGV [amd64]
On 07.06.2017 18:13, Lumin wrote: > Oops, that's a sorrowful story ... I've put it on RFA now (#864367). If you would like to pick it up, welcome! Dan -- 4096R/DF5182C8 Debian Developer (sten...@debian.org) http://www.danielstender.com/ -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#864365: A simple program ends up with SIGSEGV [amd64]
Oops, that's a sorrowful story ... On 7 June 2017 at 16:01, Daniel Stenderwrote: > 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 (sten...@debian.org) > http://www.danielstender.com/ -- Best, Lumin -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#864365: A simple program ends up with SIGSEGV [amd64]
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 (sten...@debian.org) http://www.danielstender.com/ -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers
Bug#864365: A simple program ends up with SIGSEGV [amd64]
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) -- debian-science-maintainers mailing list debian-science-maintainers@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-science-maintainers