[MacPorts] #57251: py36-numpy crash on Mojave (workaround on #56954)

MacPorts noreply at macports.org
Tue Dec 4 12:19:28 UTC 2018


#57251: py36-numpy crash on Mojave (workaround on #56954)
-----------------------+-----------------------
  Reporter:  lfarv     |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:  2.5.4
Resolution:            |   Keywords:  mojave
      Port:  py-numpy  |
-----------------------+-----------------------

Comment (by lpsinger):

 I stumbled across this because np.polyfit was giving nonsense answers:

 {{{
 $ python -c 'import numpy as np; print(np.polyfit(np.arange(10),
 np.arange(10), 1))'
 Python(94611,0x1125ca5c0) malloc: can't allocate region
 *** mach_vm_map(size=18446744072329076736) failed (error code=3)
 Python(94611,0x1125ca5c0) malloc: *** set a breakpoint in
 malloc_error_break to debug
 init_dgelsd failed init
 -c:1: RankWarning: Polyfit may be poorly conditioned
 [1.21925297e-313 7.38137387e-313]
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/57251#comment:8>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list