[MacPorts] #56954: py-numpy: numpy.polyfit broken with +gfortran variant on High Sierra

MacPorts noreply at macports.org
Fri Aug 10 19:43:03 UTC 2018


#56954: py-numpy: numpy.polyfit broken with +gfortran variant on High Sierra
-----------------------+-----------------------
  Reporter:  mojca     |      Owner:  michaelld
      Type:  defect    |     Status:  assigned
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  py-numpy  |
-----------------------+-----------------------

Comment (by michaelld):

 and Python 3.6:
 {{{
 % lldb /opt/local/bin/python3.6
 (lldb) target create "/opt/local/bin/python3.6"
 Current executable set to '/opt/local/bin/python3.6' (x86_64).
 (lldb) b malloc_error_break
 Breakpoint 1: where = libsystem_malloc.dylib`malloc_error_break, address =
 0x00007fff64772962
 (lldb) r test_numpy_10_13.py
 Process 69019 launched:
 '/opt/local/Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python'
 (x86_64)
 python3.6(69019,0x7fff9cda4380) malloc: ***
 mach_vm_map(size=18446744072618991616) failed (error code=3)
 *** error: can't allocate region
 *** set a breakpoint in malloc_error_break to debug
 Process 69019 stopped
 * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
     frame #0: 0x00007fff64772962 libsystem_malloc.dylib`malloc_error_break
 libsystem_malloc.dylib`malloc_error_break:
 ->  0x7fff64772962 <+0>: pushq  %rbp
     0x7fff64772963 <+1>: movq   %rsp, %rbp
     0x7fff64772966 <+4>: nop
     0x7fff64772967 <+5>: nopl   (%rax)
 Target 0: (Python) stopped.
 (lldb) bt
 * thread #1, queue = 'com.apple.main-thread', stop reason = breakpoint 1.1
   * frame #0: 0x00007fff64772962 libsystem_malloc.dylib`malloc_error_break
     frame #1: 0x00007fff6476fa08 libsystem_malloc.dylib`szone_error + 392
     frame #2: 0x00007fff64771ed6 libsystem_malloc.dylib`mvm_allocate_pages
 + 256
     frame #3: 0x00007fff64767475 libsystem_malloc.dylib`large_malloc + 464
     frame #4: 0x00007fff6476339d
 libsystem_malloc.dylib`szone_malloc_should_clear + 388
     frame #5: 0x00007fff647631bd libsystem_malloc.dylib`malloc_zone_malloc
 + 103
     frame #6: 0x00007fff647624c7 libsystem_malloc.dylib`malloc + 24
     frame #7: 0x0000000104ed4a2f _umath_linalg.cpython-36m-
 darwin.so`DOUBLE_lstsq + 735
     frame #8: 0x0000000104789267 umath.cpython-36m-
 darwin.so`PyUFunc_GenericFunction + 19415
     frame #9: 0x000000010478be3e umath.cpython-36m-
 darwin.so`ufunc_generic_call + 174
     frame #10: 0x00000001000ad243 Python`_PyObject_FastCallDict + 143
     frame #11: 0x00000001000ad5fc Python`_PyObject_FastCallKeywords + 97
     frame #12: 0x000000010014c356 Python`call_function + 443
     frame #13: 0x0000000100144c25 Python`_PyEval_EvalFrameDefault + 4479
     frame #14: 0x000000010014cb06 Python`_PyEval_EvalCodeWithName + 1747
     frame #15: 0x000000010014d1e9 Python`fast_function + 218
     frame #16: 0x000000010014c35d Python`call_function + 450
     frame #17: 0x0000000100144b8d Python`_PyEval_EvalFrameDefault + 4327
     frame #18: 0x000000010014cb06 Python`_PyEval_EvalCodeWithName + 1747
     frame #19: 0x000000010014d1e9 Python`fast_function + 218
     frame #20: 0x000000010014c35d Python`call_function + 450
     frame #21: 0x0000000100144b8d Python`_PyEval_EvalFrameDefault + 4327
     frame #22: 0x000000010014cb06 Python`_PyEval_EvalCodeWithName + 1747
     frame #23: 0x0000000100143a2c Python`PyEval_EvalCode + 42
     frame #24: 0x000000010016cd8f Python`run_mod + 54
     frame #25: 0x000000010016bd9e Python`PyRun_FileExFlags + 164
     frame #26: 0x000000010016b489 Python`PyRun_SimpleFileExFlags + 283
     frame #27: 0x000000010018026a Python`Py_Main + 3466
     frame #28: 0x0000000100001e1d Python`___lldb_unnamed_symbol1$$Python +
 227
     frame #29: 0x00007fff645ba015 libdyld.dylib`start + 1
 (lldb)
 }}}

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


More information about the macports-tickets mailing list