[MacPorts] #56954: py-numpy: numpy.polyfit broken with +gfortran variant on High Sierra
MacPorts
noreply at macports.org
Fri Aug 10 19:44:28 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.7:
{{{
% lldb /opt/local/bin/python3.7
(lldb) target create "/opt/local/bin/python3.7"
Current executable set to '/opt/local/bin/python3.7' (x86_64).
(lldb) b malloc_error_break
Breakpoint 1: where = libsystem_malloc.dylib`malloc_error_break, address =
0x0000000000011962
(lldb) r test_numpy_10_13.py
Process 79296 launched: '/opt/local/bin/python3.7' (x86_64)
Process 79296 stopped
* thread #2, stop reason = exec
frame #0: 0x000000010000519c dyld`_dyld_start
dyld`_dyld_start:
-> 0x10000519c <+0>: popq %rdi
0x10000519d <+1>: pushq $0x0
0x10000519f <+3>: movq %rsp, %rbp
0x1000051a2 <+6>: andq $-0x10, %rsp
Target 0: (Python) stopped.
(lldb) c
Process 79296 resuming
Python(79296,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 79296 stopped
* thread #2, 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 #2, 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: 0x0000000105256a2f _umath_linalg.cpython-37m-
darwin.so`DOUBLE_lstsq + 735
frame #8: 0x0000000104389267 umath.cpython-37m-
darwin.so`PyUFunc_GenericFunction + 19415
frame #9: 0x000000010438be3e umath.cpython-37m-
darwin.so`ufunc_generic_call + 174
frame #10: 0x00000001000bc6dd Python`_PyObject_FastCallKeywords + 359
frame #11: 0x00000001001525d3 Python`call_function + 568
frame #12: 0x000000010014a6ab Python`_PyEval_EvalFrameDefault + 2706
frame #13: 0x0000000100152f31 Python`_PyEval_EvalCodeWithName + 1837
frame #14: 0x00000001000bc83c Python`_PyFunction_FastCallKeywords +
225
frame #15: 0x00000001001525da Python`call_function + 575
frame #16: 0x000000010014a617 Python`_PyEval_EvalFrameDefault + 2558
frame #17: 0x0000000100152f31 Python`_PyEval_EvalCodeWithName + 1837
frame #18: 0x00000001000bc83c Python`_PyFunction_FastCallKeywords +
225
frame #19: 0x00000001001525da Python`call_function + 575
frame #20: 0x000000010014a586 Python`_PyEval_EvalFrameDefault + 2413
frame #21: 0x0000000100152f31 Python`_PyEval_EvalCodeWithName + 1837
frame #22: 0x0000000100149b91 Python`PyEval_EvalCode + 42
frame #23: 0x0000000100177e7f Python`run_mod + 54
frame #24: 0x0000000100176e9a Python`PyRun_FileExFlags + 164
frame #25: 0x0000000100176579 Python`PyRun_SimpleFileExFlags + 283
frame #26: 0x000000010018dc4e Python`pymain_main + 5114
frame #27: 0x000000010018e3e0 Python`_Py_UnixMain + 104
frame #28: 0x00007fff645ba015 libdyld.dylib`start + 1
frame #29: 0x00007fff645ba015 libdyld.dylib`start + 1
(lldb)
}}}
--
Ticket URL: <https://trac.macports.org/ticket/56954#comment:17>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list