Opened 8 years ago

Closed 8 years ago

#53453 closed defect (duplicate)

python36 / py36-numpy and py36-scipy crashes on import

Reported by: cederom (CeDeROM) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.4.0
Keywords: python, python3.6, numpy, scipy Cc: michaelld (Michael Dickens), seanfarley (Sean Farley), jyrkiwahlstedt, cederom (CeDeROM)
Port: py36-numpy, py36-scipy, python36

Description

Hey :-) I have just installed python3.6 with py36-numpy and py36-scipy, both crash on import.. :-(

$ uname -a
Darwin iCeDeROM.local 16.4.0 Darwin Kernel Version 16.4.0: Thu Dec 22 22:53:21 PST 2016; root:xnu-3789.41.3~3/RELEASE_X86_64 x86_64

$ port version
Version: 2.4.0

--
python36 @3.6.0 (lang)
Variants:             readline, universal

Description:          Python is an interpreted, interactive, object-oriented programming language.
Homepage:             http://www.python.org/

Extract Dependencies: xz
Library Dependencies: zlib, openssl, sqlite3, ncurses, bzip2, libedit, gettext, xz
Runtime Dependencies: python_select, python3_select
Platforms:            darwin
License:              PSF
Maintainers:          Email: jwa@macports.org
                      Policy: openmaintainer

--
py36-numpy @1.12.0 (python, math)
Variants:             atlas, clang37, gcc49, gcc5, gcc6, gcc7, [+]gfortran, llvm, openblas, universal

Description:          The core utilities for the scientific library scipy for Python
Homepage:             https://github.com/numpy/numpy

Build Dependencies:   gcc6
Library Dependencies: python36, fftw-3, py36-nose, py36-cython, libgcc
Platforms:            darwin
License:              BSD
Maintainers:          Email: michaelld@macports.org
                      Policy: openmaintainer

--
py36-scipy @0.18.1 (python)
Variants:             atlas, clang37, gcc48, gcc49, gcc5, gcc6, gcc7, [+]gfortran, llvm, openblas

Description:          An opensource library of scientific tools for Python
Homepage:             http://www.scipy.org/

Build Dependencies:   gcc6
Library Dependencies: python36, py36-numpy, py36-nose, swig-python, libgcc
Platforms:            darwin
License:              BSD
Maintainers:          Email: sean@macports.org
                      Email: michaelld@macports.org
                      Policy: openmaintainer

$ which python3.6
/opt/local/bin/python3.6

$ python3.6
Python 3.6.0 (default, Dec 23 2016, 12:50:55)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import numpy
Python(53293,0x7fffc56a53c0) malloc: *** error for object 0x102732110: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6


Process:               Python [53238]
Path:                  /opt/local/Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               3.6.0 (3.6.0)
Code Type:             X86-64 (Native)
Parent Process:        bash [18894]
Responsible:           Python [53238]
User ID:               501

Date/Time:             2017-01-31 21:32:40.151 +0100
OS Version:            Mac OS X 10.12.3 (16D32)
Report Version:        12
Anonymous UUID:        8F49AD1E-82F2-5225-6E56-2C3206C6EA28

Sleep/Wake UUID:       74DA9EB1-7BCD-42EA-A653-F45A6B70220B

Time Awake Since Boot: 34000 seconds
Time Since Wake:       14000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
*** error for object 0x10aa61110: pointer being freed was not allocated
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fffbc986dd6 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fffbca72787 pthread_kill + 90
2   libsystem_c.dylib             	0x00007fffbc8ec420 abort + 129
3   libsystem_malloc.dylib        	0x00007fffbc9dc03f free + 530
4   org.python.python             	0x000000010a5e7b2b PyOS_Readline + 289
5   org.python.python             	0x000000010a5ea01b tok_nextc + 106
6   org.python.python             	0x000000010a5e8d6d tok_get + 154
7   org.python.python             	0x000000010a5e8cb7 PyTokenizer_Get + 14
8   org.python.python             	0x000000010a5e7dd3 parsetok + 93
9   org.python.python             	0x000000010a6ad758 PyParser_ASTFromFileObject + 105
10  org.python.python             	0x000000010a6ad59d PyRun_InteractiveOneObject + 443
11  org.python.python             	0x000000010a6acf74 PyRun_InteractiveLoopFlags + 209
12  org.python.python             	0x000000010a6ace70 PyRun_AnyFileExFlags + 60
13  org.python.python             	0x000000010a6c125d Py_Main + 3677
14  org.python.python             	0x000000010a5dae19 0x10a5d9000 + 7705
15  libdyld.dylib                 	0x00007fffbc858255 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff55625e08  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007fff55625e30  rsp: 0x00007fff55625e08
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x00007fdc0c800000  r13: 0x0000000000000001  r14: 0x00007fffc56a53c0  r15: 0x0000000000000000
  rip: 0x00007fffbc986dd6  rfl: 0x0000000000000206  cr2: 0x00007fffc5687128
  
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133


Binary Images:
       0x10a5d9000 -        0x10a5dafff +org.python.python (3.6.0 - 3.6.0) <FE31C05E-B7B1-3AA0-BAA5-35F8B9A192D8> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
       0x10a5e3000 -        0x10a74efff +org.python.python (3.6.0, [c] 2001-2016 Python Software Foundation. - 3.6.0) <BCF0E177-F281-3857-9F4A-8E3C8AFAA6BD> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/Python
       0x10a8a3000 -        0x10a8a4fff +_heapq.cpython-36m-darwin.so (0) <CFB099D4-7748-352E-8374-3DE8998C5D1B> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_heapq.cpython-36m-darwin.so
       0x10a8aa000 -        0x10a8b2ff3 +libintl.8.dylib (0) <34C7A792-8F97-3B47-BE05-892044CF0A65> /opt/local/lib/libintl.8.dylib
       0x10a8ba000 -        0x10a9aeff7 +libiconv.2.dylib (0) <D1DF370F-D618-3944-9662-67D25BDADA0F> /opt/local/lib/libiconv.2.dylib
       0x10ad0e000 -        0x10ad40ffb +readline.cpython-36m-darwin.so (0) <8BFE5703-7D11-3054-98A4-A56C9A6AFB67> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/readline/readline.cpython-36m-darwin.so
       0x10ad5a000 -        0x10ad93ff7 +libncurses.6.dylib (0) <457F6EE5-51C2-3F1F-B113-0EEA47FBDB8A> /opt/local/lib/libncurses.6.dylib
       0x11076b000 -        0x1107a8267  dyld (421.2) <947FC440-80F9-32F7-A773-6FC418FE1AB7> /usr/lib/dyld
    0x7fffa7279000 -     0x7fffa7713fff  com.apple.CoreFoundation (6.9 - 1348.28) <A40AA224-7A50-3989-95D0-5A228A0E2FAF> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fffbb076000 -     0x7fffbb077ff3  libDiagnosticMessagesClient.dylib (102) <422911A4-E273-3E88-BFC4-DF6470E48242> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fffbb2b5000 -     0x7fffbb2b6ff3  libSystem.B.dylib (1238) <9CB018AF-54E9-300F-82BE-81FE553C9154> /usr/lib/libSystem.B.dylib
    0x7fffbb3ce000 -     0x7fffbb3ceff3  libauto.dylib (187) <5BBF6A00-CC76-389D-84E7-CA88EDADE683> /usr/lib/libauto.dylib
    0x7fffbb3ef000 -     0x7fffbb445ff7  libc++.1.dylib (307.4) <BEE86868-F831-384C-919E-2B286ACFE87C> /usr/lib/libc++.1.dylib
    0x7fffbb446000 -     0x7fffbb470fff  libc++abi.dylib (307.2) <1CEF8ABB-7E6D-3C2F-8E0A-E7884478DD23> /usr/lib/libc++abi.dylib
    0x7fffbb9ae000 -     0x7fffbbbd3ffb  libicucore.A.dylib (57149.0.1) <6B5FDA93-AA88-318F-9608-C2A33D602EC7> /usr/lib/libicucore.A.dylib
    0x7fffbbf60000 -     0x7fffbc330d97  libobjc.A.dylib (706) <F9AFE665-A3A2-3285-9495-19803A565861> /usr/lib/libobjc.A.dylib
    0x7fffbc75a000 -     0x7fffbc76bff3  libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
    0x7fffbc77a000 -     0x7fffbc77eff7  libcache.dylib (79) <0C8092D3-600F-3ADD-A036-F225B6CDCA43> /usr/lib/system/libcache.dylib
    0x7fffbc77f000 -     0x7fffbc78aff7  libcommonCrypto.dylib (60092.30.2) <B16E29B6-EC8D-3A8F-9A89-DD9CF35F7C4B> /usr/lib/system/libcommonCrypto.dylib
    0x7fffbc78b000 -     0x7fffbc792fff  libcompiler_rt.dylib (62) <E992E8D9-037C-3454-A366-A25E4D31D6BB> /usr/lib/system/libcompiler_rt.dylib
    0x7fffbc793000 -     0x7fffbc79bfff  libcopyfile.dylib (138) <64E285D9-5485-333B-AEE7-8B0C8FB9275F> /usr/lib/system/libcopyfile.dylib
    0x7fffbc79c000 -     0x7fffbc81ffdf  libcorecrypto.dylib (442.30.20) <2074B932-FD79-30A9-8E90-AF25C49F2AF1> /usr/lib/system/libcorecrypto.dylib
    0x7fffbc820000 -     0x7fffbc852fff  libdispatch.dylib (703.30.5) <EA0CC14E-D559-3802-B4B2-0E8C7579AAC4> /usr/lib/system/libdispatch.dylib
    0x7fffbc853000 -     0x7fffbc858ff3  libdyld.dylib (421.2) <6F506653-FFF6-3DB8-84F1-109AE3C52F32> /usr/lib/system/libdyld.dylib
    0x7fffbc859000 -     0x7fffbc859ffb  libkeymgr.dylib (28) <1A318923-1200-3B06-B432-5007D82F195D> /usr/lib/system/libkeymgr.dylib
    0x7fffbc867000 -     0x7fffbc867fff  liblaunch.dylib (972.30.7) <15FACC21-079A-3BDF-9AFB-4253EFDEB587> /usr/lib/system/liblaunch.dylib
    0x7fffbc868000 -     0x7fffbc86dfff  libmacho.dylib (894) <A2F38EC1-C37C-3B93-B0E4-36B07C177F8C> /usr/lib/system/libmacho.dylib
    0x7fffbc86e000 -     0x7fffbc870ff3  libquarantine.dylib (85) <C1D7749F-5F5F-3BB9-BEFC-1F0B9DA941FD> /usr/lib/system/libquarantine.dylib
    0x7fffbc871000 -     0x7fffbc872ffb  libremovefile.dylib (45) <CD42974E-BE0B-39FC-9BFC-8A7540A04DC6> /usr/lib/system/libremovefile.dylib
    0x7fffbc873000 -     0x7fffbc88bff7  libsystem_asl.dylib (349.30.2) <EFAC72D7-CB13-3DF7-ADF3-EC6635C6F1EA> /usr/lib/system/libsystem_asl.dylib
    0x7fffbc88c000 -     0x7fffbc88cff7  libsystem_blocks.dylib (67) <B8C3701D-5A91-3D35-999D-2DC8D5393525> /usr/lib/system/libsystem_blocks.dylib
    0x7fffbc88d000 -     0x7fffbc91afef  libsystem_c.dylib (1158.30.7) <2F881962-03CB-3B9D-A782-D98C1BBA4E3D> /usr/lib/system/libsystem_c.dylib
    0x7fffbc91b000 -     0x7fffbc91effb  libsystem_configuration.dylib (888.30.2) <4FE3983C-E4ED-3939-A578-03AD29C99788> /usr/lib/system/libsystem_configuration.dylib
    0x7fffbc91f000 -     0x7fffbc922fff  libsystem_coreservices.dylib (41.4) <1A572B9E-0C47-320F-8C64-7990D0A5FB5A> /usr/lib/system/libsystem_coreservices.dylib
    0x7fffbc923000 -     0x7fffbc93bff3  libsystem_coretls.dylib (121.31.1) <4676F06D-274D-31BE-B61C-4D7A4AEF4858> /usr/lib/system/libsystem_coretls.dylib
    0x7fffbc93c000 -     0x7fffbc942fff  libsystem_dnssd.dylib (765.30.11) <DC708D84-ED7D-3936-B996-A67C66B8DDAA> /usr/lib/system/libsystem_dnssd.dylib
    0x7fffbc943000 -     0x7fffbc96cff7  libsystem_info.dylib (503.30.1) <9ED9121C-F111-3FAD-BC2F-C95DEE1C9362> /usr/lib/system/libsystem_info.dylib
    0x7fffbc96d000 -     0x7fffbc98fff7  libsystem_kernel.dylib (3789.41.3) <B75B128C-7D7A-3318-91CD-82B5A69C5329> /usr/lib/system/libsystem_kernel.dylib
    0x7fffbc990000 -     0x7fffbc9d7fe7  libsystem_m.dylib (3121.4) <266DB92B-A86F-3691-80FB-1B26AD73CFF3> /usr/lib/system/libsystem_m.dylib
    0x7fffbc9d8000 -     0x7fffbc9f6ff7  libsystem_malloc.dylib (116.30.3) <F40DEE3B-386A-3529-A3F7-98117ED55BF4> /usr/lib/system/libsystem_malloc.dylib
    0x7fffbc9f7000 -     0x7fffbca4effb  libsystem_network.dylib (856.30.16) <4AE368E9-605D-379D-B04C-2AC7455B8250> /usr/lib/system/libsystem_network.dylib
    0x7fffbca4f000 -     0x7fffbca58ff3  libsystem_networkextension.dylib (563.30.15) <EB020B0C-7DF0-3EEF-8E3C-15DA3C01D687> /usr/lib/system/libsystem_networkextension.dylib
    0x7fffbca59000 -     0x7fffbca62ff3  libsystem_notify.dylib (165.20.1) <E7FD3A7C-DD07-36E2-9FA4-7561F9F114DA> /usr/lib/system/libsystem_notify.dylib
    0x7fffbca63000 -     0x7fffbca6bfe7  libsystem_platform.dylib (126.1.2) <3CA06D4E-C00A-36DE-AA65-3A390097D1F6> /usr/lib/system/libsystem_platform.dylib
    0x7fffbca6c000 -     0x7fffbca76ff7  libsystem_pthread.dylib (218.30.1) <C869ED7C-BE29-3532-8E69-3A8DA1447EDC> /usr/lib/system/libsystem_pthread.dylib
    0x7fffbca77000 -     0x7fffbca7aff7  libsystem_sandbox.dylib (592.31.1) <7BBFDF96-293F-3DD9-B3A4-7C168280B441> /usr/lib/system/libsystem_sandbox.dylib
    0x7fffbca7b000 -     0x7fffbca7cfff  libsystem_secinit.dylib (24) <5C1F1E47-0F7D-3E25-8DEB-D9DB1F902281> /usr/lib/system/libsystem_secinit.dylib
    0x7fffbca7d000 -     0x7fffbca84fff  libsystem_symptoms.dylib (532.30.6) <5D990CF5-B58F-39F7-B375-99B4EC62CFBD> /usr/lib/system/libsystem_symptoms.dylib
    0x7fffbca85000 -     0x7fffbcaa5ff7  libsystem_trace.dylib (518.30.7) <6D34D1EA-2A3C-3D2D-803E-A666E6AEEE52> /usr/lib/system/libsystem_trace.dylib
    0x7fffbcaa6000 -     0x7fffbcaabffb  libunwind.dylib (35.3) <9F7C2AD8-A9A7-3DE4-828D-B0F0F166AAA0> /usr/lib/system/libunwind.dylib
    0x7fffbcaac000 -     0x7fffbcad5ff7  libxpc.dylib (972.30.7) <65E41BB6-EBD5-3D93-B0BE-B190CEE4DD93> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 18285
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=130.1M resident=0K(0%) swapped_out_or_unallocated=130.1M(100%)
Writable regions: Total=55.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=55.7M(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            36.3M       10 
MALLOC guard page                   16K        4 
MALLOC_LARGE (reserved)            512K        3         reserved VM address space (unallocated)
STACK GUARD                          4K        2 
Stack                             16.0M        2 
VM_ALLOCATE                       2568K        7 
__DATA                            3516K       55 
__LINKEDIT                       112.5M       10 
__TEXT                            17.6M       52 
__UNICODE                          556K        2 
shared memory                        8K        3 
===========                     =======  ======= 
TOTAL                            189.4M      140 
TOTAL, minus reserved VM space   188.9M      140 

Model: MacBookPro12,1



$ python
Python 3.6.0 (default, Dec 23 2016, 12:50:55)
[GCC 4.2.1 Compatible Apple LLVM 8.0.0 (clang-800.0.38)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import scipy
Python(53322,0x7fffc56a53c0) malloc: *** error for object 0x107181110: pointer being freed was not allocated
*** set a breakpoint in malloc_error_break to debug
Abort trap: 6


Process:               Python [53322]
Path:                  /opt/local/Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               3.6.0 (3.6.0)
Code Type:             X86-64 (Native)
Parent Process:        bash [18894]
Responsible:           Python [53322]
User ID:               501

Date/Time:             2017-01-31 21:39:22.246 +0100
OS Version:            Mac OS X 10.12.3 (16D32)
Report Version:        12
Anonymous UUID:        8F49AD1E-82F2-5225-6E56-2C3206C6EA28

Sleep/Wake UUID:       74DA9EB1-7BCD-42EA-A653-F45A6B70220B

Time Awake Since Boot: 35000 seconds
Time Since Wake:       15000 seconds

System Integrity Protection: enabled

Crashed Thread:        0  Dispatch queue: com.apple.main-thread

Exception Type:        EXC_CRASH (SIGABRT)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Application Specific Information:
abort() called
*** error for object 0x107181110: pointer being freed was not allocated
 

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fffbc986dd6 __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fffbca72787 pthread_kill + 90
2   libsystem_c.dylib             	0x00007fffbc8ec420 abort + 129
3   libsystem_malloc.dylib        	0x00007fffbc9dc03f free + 530
4   org.python.python             	0x0000000106d07b2b PyOS_Readline + 289
5   org.python.python             	0x0000000106d0a01b tok_nextc + 106
6   org.python.python             	0x0000000106d08d6d tok_get + 154
7   org.python.python             	0x0000000106d08cb7 PyTokenizer_Get + 14
8   org.python.python             	0x0000000106d07dd3 parsetok + 93
9   org.python.python             	0x0000000106dcd758 PyParser_ASTFromFileObject + 105
10  org.python.python             	0x0000000106dcd59d PyRun_InteractiveOneObject + 443
11  org.python.python             	0x0000000106dccf74 PyRun_InteractiveLoopFlags + 209
12  org.python.python             	0x0000000106dcce70 PyRun_AnyFileExFlags + 60
13  org.python.python             	0x0000000106de125d Py_Main + 3677
14  org.python.python             	0x0000000106d00e19 0x106cff000 + 7705
15  libdyld.dylib                 	0x00007fffbc858255 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff58effe18  rdx: 0x0000000000000000
  rdi: 0x0000000000000307  rsi: 0x0000000000000006  rbp: 0x00007fff58effe40  rsp: 0x00007fff58effe18
   r8: 0x0000000000000000   r9: 0x0000000000000000  r10: 0x0000000008000000  r11: 0x0000000000000206
  r12: 0x00007fa287001a00  r13: 0x0000000000000001  r14: 0x00007fffc56a53c0  r15: 0x0000000000000000
  rip: 0x00007fffbc986dd6  rfl: 0x0000000000000206  cr2: 0x00007fffc5687128
  
Logical CPU:     0
Error Code:      0x02000148
Trap Number:     133


Binary Images:
       0x106cff000 -        0x106d00fff +org.python.python (3.6.0 - 3.6.0) <FE31C05E-B7B1-3AA0-BAA5-35F8B9A192D8> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/Resources/Python.app/Contents/MacOS/Python
       0x106d03000 -        0x106e6efff +org.python.python (3.6.0, [c] 2001-2016 Python Software Foundation. - 3.6.0) <BCF0E177-F281-3857-9F4A-8E3C8AFAA6BD> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/Python
       0x106fc6000 -        0x106fceff3 +libintl.8.dylib (0) <34C7A792-8F97-3B47-BE05-892044CF0A65> /opt/local/lib/libintl.8.dylib
       0x106fda000 -        0x1070ceff7 +libiconv.2.dylib (0) <D1DF370F-D618-3944-9662-67D25BDADA0F> /opt/local/lib/libiconv.2.dylib
       0x1073ae000 -        0x1073affff +_heapq.cpython-36m-darwin.so (0) <CFB099D4-7748-352E-8374-3DE8998C5D1B> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/lib-dynload/_heapq.cpython-36m-darwin.so
       0x107433000 -        0x107465ffb +readline.cpython-36m-darwin.so (0) <8BFE5703-7D11-3054-98A4-A56C9A6AFB67> /opt/local/Library/Frameworks/Python.framework/Versions/3.6/lib/python3.6/site-packages/readline/readline.cpython-36m-darwin.so
       0x10747f000 -        0x1074b8ff7 +libncurses.6.dylib (0) <457F6EE5-51C2-3F1F-B113-0EEA47FBDB8A> /opt/local/lib/libncurses.6.dylib
       0x10bac5000 -        0x10bb02267  dyld (421.2) <947FC440-80F9-32F7-A773-6FC418FE1AB7> /usr/lib/dyld
    0x7fffa7279000 -     0x7fffa7713fff  com.apple.CoreFoundation (6.9 - 1348.28) <A40AA224-7A50-3989-95D0-5A228A0E2FAF> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fffbb076000 -     0x7fffbb077ff3  libDiagnosticMessagesClient.dylib (102) <422911A4-E273-3E88-BFC4-DF6470E48242> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fffbb2b5000 -     0x7fffbb2b6ff3  libSystem.B.dylib (1238) <9CB018AF-54E9-300F-82BE-81FE553C9154> /usr/lib/libSystem.B.dylib
    0x7fffbb3ce000 -     0x7fffbb3ceff3  libauto.dylib (187) <5BBF6A00-CC76-389D-84E7-CA88EDADE683> /usr/lib/libauto.dylib
    0x7fffbb3ef000 -     0x7fffbb445ff7  libc++.1.dylib (307.4) <BEE86868-F831-384C-919E-2B286ACFE87C> /usr/lib/libc++.1.dylib
    0x7fffbb446000 -     0x7fffbb470fff  libc++abi.dylib (307.2) <1CEF8ABB-7E6D-3C2F-8E0A-E7884478DD23> /usr/lib/libc++abi.dylib
    0x7fffbb9ae000 -     0x7fffbbbd3ffb  libicucore.A.dylib (57149.0.1) <6B5FDA93-AA88-318F-9608-C2A33D602EC7> /usr/lib/libicucore.A.dylib
    0x7fffbbf60000 -     0x7fffbc330d97  libobjc.A.dylib (706) <F9AFE665-A3A2-3285-9495-19803A565861> /usr/lib/libobjc.A.dylib
    0x7fffbc75a000 -     0x7fffbc76bff3  libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
    0x7fffbc77a000 -     0x7fffbc77eff7  libcache.dylib (79) <0C8092D3-600F-3ADD-A036-F225B6CDCA43> /usr/lib/system/libcache.dylib
    0x7fffbc77f000 -     0x7fffbc78aff7  libcommonCrypto.dylib (60092.30.2) <B16E29B6-EC8D-3A8F-9A89-DD9CF35F7C4B> /usr/lib/system/libcommonCrypto.dylib
    0x7fffbc78b000 -     0x7fffbc792fff  libcompiler_rt.dylib (62) <E992E8D9-037C-3454-A366-A25E4D31D6BB> /usr/lib/system/libcompiler_rt.dylib
    0x7fffbc793000 -     0x7fffbc79bfff  libcopyfile.dylib (138) <64E285D9-5485-333B-AEE7-8B0C8FB9275F> /usr/lib/system/libcopyfile.dylib
    0x7fffbc79c000 -     0x7fffbc81ffdf  libcorecrypto.dylib (442.30.20) <2074B932-FD79-30A9-8E90-AF25C49F2AF1> /usr/lib/system/libcorecrypto.dylib
    0x7fffbc820000 -     0x7fffbc852fff  libdispatch.dylib (703.30.5) <EA0CC14E-D559-3802-B4B2-0E8C7579AAC4> /usr/lib/system/libdispatch.dylib
    0x7fffbc853000 -     0x7fffbc858ff3  libdyld.dylib (421.2) <6F506653-FFF6-3DB8-84F1-109AE3C52F32> /usr/lib/system/libdyld.dylib
    0x7fffbc859000 -     0x7fffbc859ffb  libkeymgr.dylib (28) <1A318923-1200-3B06-B432-5007D82F195D> /usr/lib/system/libkeymgr.dylib
    0x7fffbc867000 -     0x7fffbc867fff  liblaunch.dylib (972.30.7) <15FACC21-079A-3BDF-9AFB-4253EFDEB587> /usr/lib/system/liblaunch.dylib
    0x7fffbc868000 -     0x7fffbc86dfff  libmacho.dylib (894) <A2F38EC1-C37C-3B93-B0E4-36B07C177F8C> /usr/lib/system/libmacho.dylib
    0x7fffbc86e000 -     0x7fffbc870ff3  libquarantine.dylib (85) <C1D7749F-5F5F-3BB9-BEFC-1F0B9DA941FD> /usr/lib/system/libquarantine.dylib
    0x7fffbc871000 -     0x7fffbc872ffb  libremovefile.dylib (45) <CD42974E-BE0B-39FC-9BFC-8A7540A04DC6> /usr/lib/system/libremovefile.dylib
    0x7fffbc873000 -     0x7fffbc88bff7  libsystem_asl.dylib (349.30.2) <EFAC72D7-CB13-3DF7-ADF3-EC6635C6F1EA> /usr/lib/system/libsystem_asl.dylib
    0x7fffbc88c000 -     0x7fffbc88cff7  libsystem_blocks.dylib (67) <B8C3701D-5A91-3D35-999D-2DC8D5393525> /usr/lib/system/libsystem_blocks.dylib
    0x7fffbc88d000 -     0x7fffbc91afef  libsystem_c.dylib (1158.30.7) <2F881962-03CB-3B9D-A782-D98C1BBA4E3D> /usr/lib/system/libsystem_c.dylib
    0x7fffbc91b000 -     0x7fffbc91effb  libsystem_configuration.dylib (888.30.2) <4FE3983C-E4ED-3939-A578-03AD29C99788> /usr/lib/system/libsystem_configuration.dylib
    0x7fffbc91f000 -     0x7fffbc922fff  libsystem_coreservices.dylib (41.4) <1A572B9E-0C47-320F-8C64-7990D0A5FB5A> /usr/lib/system/libsystem_coreservices.dylib
    0x7fffbc923000 -     0x7fffbc93bff3  libsystem_coretls.dylib (121.31.1) <4676F06D-274D-31BE-B61C-4D7A4AEF4858> /usr/lib/system/libsystem_coretls.dylib
    0x7fffbc93c000 -     0x7fffbc942fff  libsystem_dnssd.dylib (765.30.11) <DC708D84-ED7D-3936-B996-A67C66B8DDAA> /usr/lib/system/libsystem_dnssd.dylib
    0x7fffbc943000 -     0x7fffbc96cff7  libsystem_info.dylib (503.30.1) <9ED9121C-F111-3FAD-BC2F-C95DEE1C9362> /usr/lib/system/libsystem_info.dylib
    0x7fffbc96d000 -     0x7fffbc98fff7  libsystem_kernel.dylib (3789.41.3) <B75B128C-7D7A-3318-91CD-82B5A69C5329> /usr/lib/system/libsystem_kernel.dylib
    0x7fffbc990000 -     0x7fffbc9d7fe7  libsystem_m.dylib (3121.4) <266DB92B-A86F-3691-80FB-1B26AD73CFF3> /usr/lib/system/libsystem_m.dylib
    0x7fffbc9d8000 -     0x7fffbc9f6ff7  libsystem_malloc.dylib (116.30.3) <F40DEE3B-386A-3529-A3F7-98117ED55BF4> /usr/lib/system/libsystem_malloc.dylib
    0x7fffbc9f7000 -     0x7fffbca4effb  libsystem_network.dylib (856.30.16) <4AE368E9-605D-379D-B04C-2AC7455B8250> /usr/lib/system/libsystem_network.dylib
    0x7fffbca4f000 -     0x7fffbca58ff3  libsystem_networkextension.dylib (563.30.15) <EB020B0C-7DF0-3EEF-8E3C-15DA3C01D687> /usr/lib/system/libsystem_networkextension.dylib
    0x7fffbca59000 -     0x7fffbca62ff3  libsystem_notify.dylib (165.20.1) <E7FD3A7C-DD07-36E2-9FA4-7561F9F114DA> /usr/lib/system/libsystem_notify.dylib
    0x7fffbca63000 -     0x7fffbca6bfe7  libsystem_platform.dylib (126.1.2) <3CA06D4E-C00A-36DE-AA65-3A390097D1F6> /usr/lib/system/libsystem_platform.dylib
    0x7fffbca6c000 -     0x7fffbca76ff7  libsystem_pthread.dylib (218.30.1) <C869ED7C-BE29-3532-8E69-3A8DA1447EDC> /usr/lib/system/libsystem_pthread.dylib
    0x7fffbca77000 -     0x7fffbca7aff7  libsystem_sandbox.dylib (592.31.1) <7BBFDF96-293F-3DD9-B3A4-7C168280B441> /usr/lib/system/libsystem_sandbox.dylib
    0x7fffbca7b000 -     0x7fffbca7cfff  libsystem_secinit.dylib (24) <5C1F1E47-0F7D-3E25-8DEB-D9DB1F902281> /usr/lib/system/libsystem_secinit.dylib
    0x7fffbca7d000 -     0x7fffbca84fff  libsystem_symptoms.dylib (532.30.6) <5D990CF5-B58F-39F7-B375-99B4EC62CFBD> /usr/lib/system/libsystem_symptoms.dylib
    0x7fffbca85000 -     0x7fffbcaa5ff7  libsystem_trace.dylib (518.30.7) <6D34D1EA-2A3C-3D2D-803E-A666E6AEEE52> /usr/lib/system/libsystem_trace.dylib
    0x7fffbcaa6000 -     0x7fffbcaabffb  libunwind.dylib (35.3) <9F7C2AD8-A9A7-3DE4-828D-B0F0F166AAA0> /usr/lib/system/libunwind.dylib
    0x7fffbcaac000 -     0x7fffbcad5ff7  libxpc.dylib (972.30.7) <65E41BB6-EBD5-3D93-B0BE-B190CEE4DD93> /usr/lib/system/libxpc.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 18285
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=130.1M resident=0K(0%) swapped_out_or_unallocated=130.1M(100%)
Writable regions: Total=55.7M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=55.7M(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            36.3M       10 
MALLOC guard page                   16K        4 
MALLOC_LARGE (reserved)            512K        3         reserved VM address space (unallocated)
STACK GUARD                          4K        2 
Stack                             16.0M        2 
VM_ALLOCATE                       2568K        8 
__DATA                            3516K       55 
__LINKEDIT                       112.5M       10 
__TEXT                            17.6M       52 
__UNICODE                          556K        2 
shared memory                        8K        3 
===========                     =======  ======= 
TOTAL                            189.4M      141 
TOTAL, minus reserved VM space   188.9M      141 

Model: MacBookPro12,1,

Change History (5)

comment:1 Changed 8 years ago by michaelld (Michael Dickens)

Check to see if you have py36-readline installed. If so, try deactivating it & see if that does the trick.

comment:2 Changed 8 years ago by cederom (CeDeROM)

Yes, according to installation message of Python 3.6 I have installed py36-readline, that was the problem, after uninstalling the py36-readline import of both numpy and scipy works fine! Thanks! :-)

# port info py36-readline
py36-readline @6.2.4.1_1 (python)
Variants:             universal

Description:          GNU readline extension for Python
Homepage:             http://github.com/ludwigschwardt/python-readline

Build Dependencies:   py36-setuptools
Library Dependencies: ncurses
Platforms:            darwin
License:              GPL-3+ PSF
Maintainers:          none

comment:3 Changed 8 years ago by michaelld (Michael Dickens)

Had thought so; thanks for the confirmation.

comment:4 Changed 8 years ago by cederom (CeDeROM)

You are welcome Michael :-)

comment:5 Changed 8 years ago by michaelld (Michael Dickens)

Resolution: duplicate
Status: newclosed

Duplicate of, roughly, #53243 and #53360.

Note: See TracTickets for help on using tickets.