Skip to content
This repository

ipython test failures on Mac OS X Lion #662

Closed
cdeil opened this Issue · 6 comments

3 participants

Christoph Deil Min RK Fernando Perez
Christoph Deil
In [1]: import IPython

In [2]: IPython.test()
**********************************************************************
IPython test group: IPython.config
...............................S.
----------------------------------------------------------------------
Ran 33 tests in 0.060s

OK (SKIP=1)
**********************************************************************
IPython test group: IPython.core
.............................................................................................................................................................................................K............................................................................................................................................KF.F...
======================================================================
FAIL: Test that object's __del__ methods are called on exit.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/core/tests/test_run.py", line 170, in test_obj_del
    tt.ipexec_validate(self.fname, 'object A deleted')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/testing/tools.py", line 260, in ipexec_validate
    nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: '\x1b[?1034hobject A deleted' != 'object A deleted'
    "'\\x1b[?1034hobject A deleted' != 'object A deleted'" = '%s != %s' % (safe_repr('\x1b[?1034hobject A deleted'), safe_repr('object A deleted'))
    "'\\x1b[?1034hobject A deleted' != 'object A deleted'" = self._formatMessage("'\\x1b[?1034hobject A deleted' != 'object A deleted'", "'\\x1b[?1034hobject A deleted' != 'object A deleted'")
>>  raise self.failureException("'\\x1b[?1034hobject A deleted' != 'object A deleted'")


======================================================================
FAIL: IPython.core.tests.test_run.TestMagicRunSimple.test_tclass
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/testing/decorators.py", line 228, in skipper_func
    return f(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/core/tests/test_run.py", line 208, in test_tclass
    tt.ipexec_validate(self.fname, out)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/testing/tools.py", line 260, in ipexec_validate
    nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: "\x1b[?1034hARGV 1-: [u'C-first']\nARGV 1-: [u'C-second']\ntclass.py: deleting object: C-first\nARGV 1-: [u'C-third']\ntclass.py: deleting object: C-second\ntclass.py: deleting object: C-third" != "ARGV 1-: [u'C-first']\nARGV 1-: [u'C-second']\ntclass.py: deleting object: C-first\nARGV 1-: [u'C-third']\ntclass.py: deleting object: C-second\ntclass.py: deleting object: C-third"
    '"\\x1b[?1034hARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third" != "ARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third"' = '%s != %s' % (safe_repr("\x1b[?1034hARGV 1-: [u'C-first']\nARGV 1-: [u'C-second']\ntclass.py: deleting object: C-first\nARGV 1-: [u'C-third']\ntclass.py: deleting object: C-second\ntclass.py: deleting object: C-third"), safe_repr("ARGV 1-: [u'C-first']\nARGV 1-: [u'C-second']\ntclass.py: deleting object: C-first\nARGV 1-: [u'C-third']\ntclass.py: deleting object: C-second\ntclass.py: deleting object: C-third"))
    '"\\x1b[?1034hARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third" != "ARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third"' = self._formatMessage('"\\x1b[?1034hARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third" != "ARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third"', '"\\x1b[?1034hARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third" != "ARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third"')
>>  raise self.failureException('"\\x1b[?1034hARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third" != "ARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third"')


----------------------------------------------------------------------
Ran 343 tests in 6.907s

FAILED (KNOWNFAIL=2, failures=2)
**********************************************************************
IPython test group: IPython.extensions
..
----------------------------------------------------------------------
Ran 2 tests in 0.002s

OK
**********************************************************************
IPython test group: IPython.frontend
..
----------------------------------------------------------------------
Ran 2 tests in 0.003s

OK
**********************************************************************
IPython test group: IPython.lib
......
----------------------------------------------------------------------
Ran 7 tests in 0.366s

OK
**********************************************************************
IPython test group: IPython.scripts

----------------------------------------------------------------------
Ran 0 tests in 0.000s

OK
**********************************************************************
IPython test group: IPython.testing
.........................S....S....................S
----------------------------------------------------------------------
Ran 56 tests in 0.127s

OK (SKIP=3)
**********************************************************************
IPython test group: IPython.utils
...............................................SS..SSSS............S.....S...............................................................................................
----------------------------------------------------------------------
Ran 170 tests in 2.142s

OK (SKIP=8)
**********************************************************************
IPython test group: IPython.parallel
..........................................................................F....................
======================================================================
FAIL: test_magic_px_blocking (IPython.parallel.tests.test_view.TestView)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/parallel/tests/test_view.py", line 322, in test_magic_px_blocking
    self.assertTrue('[stdout:%i]'%v.targets in buf)
AssertionError: False is not true
    'False is not true' = self._formatMessage('False is not true', "%s is not true" % safe_repr(False))
>>  raise self.failureException('False is not true')

-------------------- >> begin captured stdout << ---------------------
Parallel execution on engine(s): 21
Parallel execution on engine(s): 21

--------------------- >> end captured stdout << ----------------------

----------------------------------------------------------------------
Ran 95 tests in 61.070s

FAILED (failures=1)

**********************************************************************
Test suite completed for system with the following information:
{'commit_hash': '1eea56b',
 'commit_source': 'repository',
 'ipython_path': '/Users/deil/github/ipython/IPython',
 'ipython_version': '0.12.dev',
 'os_name': 'posix',
 'platform': 'Darwin-11.0.0-x86_64-i386-64bit',
 'sys_executable': '/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python',
 'sys_platform': 'darwin',
 'sys_version': '2.7.2 (default, Jul 23 2011, 13:25:29) \n[GCC 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2335.15.00)]'}

Tools and libraries available at test time:
   curses matplotlib zmq

Tools and libraries NOT available at test time:
   pexpect pymongo qt wx wx.aui

Ran 9 test groups in 84.556s

Status:
ERROR - 2 out of 9 test groups failed.
----------------------------------------
Runner failed: IPython.core
You may wish to rerun this one individually, with:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python /Users/deil/github/ipython/IPython/testing/iptest.py IPython.core

----------------------------------------
Runner failed: IPython.parallel
You may wish to rerun this one individually, with:
/opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python /Users/deil/github/ipython/IPython/testing/iptest.py IPython.parallel

An exception has occurred, use %tb to see the full traceback.

SystemExit: 1

To exit: use 'exit', 'quit', or Ctrl-D.

In [3]: 
Min RK
Owner

The parallel test failure happens once in a while, but rarely. Is it reliably failing for you? I'll try to improve that one.

The core failure is because readline now emits an escape at initialization. I don't know how/why this changed, but it is described in a redhat bug from 2007: https://bugzilla.redhat.com/show_bug.cgi?id=304181. It shouldn't be tricky to handle this.

Christoph Deil

Yes, I've tried five times to call iptest and it always fails for me.

Actually while running the tests two "Problem Report from Python" windows from Mac OS X pop up where I am asked if I want to send a problem report to Apple.
I think this always happens when a process tries to access memory locations it is not allowed to access, the reports contain the following lines:

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

I am pasting the first report (which contain info on the process when it crashed) below (isn't there a way to attach text files to github issues?)

Hope that helps you track down the problem, could of course also be a segfault in zmq or some other C-extension, I don't know what the relevant info in the report is or how to debug the problem.

Process:         Python [84732]
Path:            /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:      Python
Version:         ??? (???)
Code Type:       X86-64 (Native)
Parent Process:  Python [84702]

Date/Time:       2011-08-02 23:34:32.708 +0200
OS Version:      Mac OS X 10.7 (11A511)
Report Version:  9

Interval Since Last Report:          550999 sec
Crashes Since Last Report:           53
Per-App Crashes Since Last Report:   7
Anonymous UUID:                      9CCF5652-9536-4AE6-B70B-4277DF8344E0

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

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000

VM Regions Near 0:
--> 
    __TEXT                 0000000106c78000-0000000106c79000 [    4K] r-x/rwx SM=COW  /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

Application Specific Information:
objc[84732]: garbage collection is OFF

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   org.python.python               0x0000000106d1b9b5 PyEval_EvalFrameEx + 1429
1   org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
2   org.python.python               0x0000000106d22d56 PyEval_EvalCode + 54
3   org.python.python               0x0000000106d1c094 PyEval_EvalFrameEx + 3188
4   org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
5   org.python.python               0x0000000106cb031b function_call + 347
6   org.python.python               0x0000000106c87ae1 PyObject_Call + 97
7   org.python.python               0x0000000106d203ea PyEval_EvalFrameEx + 20426
8   org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
9   org.python.python               0x0000000106d22d56 PyEval_EvalCode + 54
10  org.python.python               0x0000000106d416d9 PyRun_StringFlags + 121
11  org.python.python               0x0000000106d1c233 PyEval_EvalFrameEx + 3603
12  org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
13  org.python.python               0x0000000106d22e88 fast_function + 296
14  org.python.python               0x0000000106d1fb2d PyEval_EvalFrameEx + 18189
15  org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
16  org.python.python               0x0000000106d22e88 fast_function + 296
17  org.python.python               0x0000000106d1fb2d PyEval_EvalFrameEx + 18189
18  org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
19  org.python.python               0x0000000106cb031b function_call + 347
20  org.python.python               0x0000000106c87ae1 PyObject_Call + 97
21  org.python.python               0x0000000106d203ea PyEval_EvalFrameEx + 20426
22  org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
23  org.python.python               0x0000000106cb031b function_call + 347
24  org.python.python               0x0000000106c87ae1 PyObject_Call + 97
25  _functools.so                   0x00000001075203b8 partial_call + 104
26  org.python.python               0x0000000106c87ae1 PyObject_Call + 97
27  org.python.python               0x0000000106d203ea PyEval_EvalFrameEx + 20426
28  org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
29  org.python.python               0x0000000106d22e88 fast_function + 296
30  org.python.python               0x0000000106d1fb2d PyEval_EvalFrameEx + 18189
31  org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
32  org.python.python               0x0000000106d22e88 fast_function + 296
33  org.python.python               0x0000000106d1fb2d PyEval_EvalFrameEx + 18189
34  org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
35  org.python.python               0x0000000106cb031b function_call + 347
36  org.python.python               0x0000000106c87ae1 PyObject_Call + 97
37  org.python.python               0x0000000106d203ea PyEval_EvalFrameEx + 20426
38  org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
39  org.python.python               0x0000000106cb031b function_call + 347
40  org.python.python               0x0000000106c87ae1 PyObject_Call + 97
41  _functools.so                   0x00000001075203b8 partial_call + 104
42  org.python.python               0x0000000106c87ae1 PyObject_Call + 97
43  org.python.python               0x0000000106d1fd45 PyEval_EvalFrameEx + 18725
44  org.python.python               0x0000000106d22e13 fast_function + 179
45  org.python.python               0x0000000106d1fb2d PyEval_EvalFrameEx + 18189
46  org.python.python               0x0000000106d22e13 fast_function + 179
47  org.python.python               0x0000000106d1fb2d PyEval_EvalFrameEx + 18189
48  org.python.python               0x0000000106d22e13 fast_function + 179
49  org.python.python               0x0000000106d1fb2d PyEval_EvalFrameEx + 18189
50  org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
51  org.python.python               0x0000000106d22d56 PyEval_EvalCode + 54
52  org.python.python               0x0000000106d415c4 PyRun_FileExFlags + 164
53  org.python.python               0x0000000106d42878 PyRun_SimpleFileExFlags + 392
54  org.python.python               0x0000000106d55919 Py_Main + 2969
55  org.python.python               0x0000000106c78f14 0x106c78000 + 3860

Thread 1:
0   libsystem_kernel.dylib          0x00007fff8ca307e6 kevent + 10
1   libzmq.1.dylib                  0x000000010717891a zmq::kqueue_t::loop() + 326
2   libzmq.1.dylib                  0x0000000107186d4d thread_routine + 45
3   libsystem_c.dylib               0x00007fff8c4b88bf _pthread_start + 335
4   libsystem_c.dylib               0x00007fff8c4bbb75 thread_start + 13

Thread 2:
0   libsystem_kernel.dylib          0x00007fff8ca307e6 kevent + 10
1   libzmq.1.dylib                  0x000000010717891a zmq::kqueue_t::loop() + 326
2   libzmq.1.dylib                  0x0000000107186d4d thread_routine + 45
3   libsystem_c.dylib               0x00007fff8c4b88bf _pthread_start + 335
4   libsystem_c.dylib               0x00007fff8c4bbb75 thread_start + 13

Thread 3:
0   libsystem_kernel.dylib          0x00007fff8ca30a7a poll + 10
1   libzmq.1.dylib                  0x000000010718b0e6 zmq_poll + 550
2   libzmq.1.dylib                  0x0000000107176255 zmq::device(zmq::socket_base_t*, zmq::socket_base_t*) + 133
3   device.so                       0x00000001074c843d __pyx_pf_3zmq_4core_6device_device + 1485
4   org.python.python               0x0000000106d1fa7b PyEval_EvalFrameEx + 18011
5   org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
6   org.python.python               0x0000000106cb031b function_call + 347
7   org.python.python               0x0000000106c87ae1 PyObject_Call + 97
8   org.python.python               0x0000000106d203ea PyEval_EvalFrameEx + 20426
9   org.python.python               0x0000000106d22e13 fast_function + 179
10  org.python.python               0x0000000106d1fb2d PyEval_EvalFrameEx + 18189
11  org.python.python               0x0000000106d22e13 fast_function + 179
12  org.python.python               0x0000000106d1fb2d PyEval_EvalFrameEx + 18189
13  org.python.python               0x0000000106d22cd7 PyEval_EvalCodeEx + 2103
14  org.python.python               0x0000000106cb031b function_call + 347
15  org.python.python               0x0000000106c87ae1 PyObject_Call + 97
16  org.python.python               0x0000000106c998e7 instancemethod_call + 503
17  org.python.python               0x0000000106c87ae1 PyObject_Call + 97
18  org.python.python               0x0000000106d1a824 PyEval_CallObjectWithKeywords + 180
19  org.python.python               0x0000000106d57dc2 t_bootstrap + 66
20  libsystem_c.dylib               0x00007fff8c4b88bf _pthread_start + 335
21  libsystem_c.dylib               0x00007fff8c4bbb75 thread_start + 13

Thread 4:
0   libsystem_kernel.dylib          0x00007fff8ca307e6 kevent + 10
1   libzmq.1.dylib                  0x000000010717891a zmq::kqueue_t::loop() + 326
2   libzmq.1.dylib                  0x0000000107186d4d thread_routine + 45
3   libsystem_c.dylib               0x00007fff8c4b88bf _pthread_start + 335
4   libsystem_c.dylib               0x00007fff8c4bbb75 thread_start + 13

Thread 5:
0   libsystem_kernel.dylib          0x00007fff8ca307e6 kevent + 10
1   libzmq.1.dylib                  0x000000010717891a zmq::kqueue_t::loop() + 326
2   libzmq.1.dylib                  0x0000000107186d4d thread_routine + 45
3   libsystem_c.dylib               0x00007fff8c4b88bf _pthread_start + 335
4   libsystem_c.dylib               0x00007fff8c4bbb75 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000106d1b9aa  rbx: 0x00007fef5c9734f8  rcx: 0x0000000000000000  rdx: 0x0000000000000000
  rdi: 0x00007fef5c973380  rsi: 0x0000000106d22204  rbp: 0x00007fff66874f50  rsp: 0x00007fff66874de0
   r8: 0x0000000000000010   r9: 0x0000000000000732  r10: 0x0000000000000000  r11: 0x000000010820be1c
  r12: 0x000000000000000c  r13: 0x0000000108c239d0  r14: 0x0000000000000004  r15: 0x0000000108c348f5
  rip: 0x0000000106d1b9b5  rfl: 0x0000000000010207  cr2: 0x0000000000000000
Logical CPU: 0

Binary Images:
       0x106c78000 -        0x106c78ff7 +org.python.python (2.7.2 - 2.7.2) <D4729E9F-A069-345B-B72A-044EF876F8D5> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
       0x106c7e000 -        0x106dbffef +org.python.python (2.7.2, [c] 2004-2011 Python Software Foundation. - 2.7.2) <00371571-E30B-36A2-B384-B2EC7F2160A2> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/Python
       0x106ef3000 -        0x106ef7fff +_struct.so (??? - ???) <3848C60F-099A-369C-B8C4-260AEFBB9FB6> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
       0x107140000 -        0x107145ff7 +_json.so (??? - ???) <7CFFD859-95F3-3333-BA4D-81FDF26F35DC> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
       0x10714a000 -        0x10714dff7 +binascii.so (??? - ???) <551BF3B5-D23F-3C33-A1CD-29ACFB8F4085> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
       0x107151000 -        0x107164fff +libz.1.dylib (1.2.5 - compatibility 1.0.0) <C9756B5C-85C1-38AA-8861-27FDE74BCF0B> /opt/local/lib/libz.1.dylib
       0x107168000 -        0x10716aff7 +time.so (??? - ???) <49CAC234-7E58-33BB-9FD0-73D6BC04AD7A> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
       0x10716f000 -        0x10716ffff +initthreads.so (??? - ???) <270AA109-177A-39DE-8C1F-6C79B9E23286> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/utils/initthreads.so
       0x107172000 -        0x10719eff7 +libzmq.1.dylib (2.0.0 - compatibility 2.0.0) <72204338-C163-3A2E-8CA9-6EA64C772324> /opt/local/lib/libzmq.1.dylib
       0x1071b2000 -        0x1071b7ff7 +constants.so (??? - ???) <A1C5E760-2DAF-3AD1-A546-BEC693154C01> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/core/constants.so
       0x1071be000 -        0x1071c0ff7 +error.so (??? - ???) <99484F5D-D117-3C1A-8DBD-C70150D9B044> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/core/error.so
       0x1071c5000 -        0x1071cefff +message.so (??? - ???) <94EC9BE0-1EFF-30C4-ACF4-DD481B415B17> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/core/message.so
       0x1071da000 -        0x1071ddff7 +_collections.so (??? - ???) <8CFE8BE9-4D9A-337A-90EA-477BCED06A50> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
       0x1071e4000 -        0x1071e8fff +operator.so (??? - ???) <ED4547ED-78FA-3274-B3D4-82853B5A4B3B> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
       0x1071ef000 -        0x1071f5ff7 +itertools.so (??? - ???) <27347838-3243-33EE-BD7F-C19463947F79> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
       0x107200000 -        0x107200ff7 +_bisect.so (??? - ???) <1350C884-B52E-3304-84DC-A9C3BDAC7421> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_bisect.so
       0x107203000 -        0x107204ff7 +_heapq.so (??? - ???) <7BAAA35D-C9BB-3318-9284-F86B6BA7D2B6> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
       0x107208000 -        0x10720cff7 +context.so (??? - ???) <39F3CC38-B1A7-3496-91BB-74B95C88C17F> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/core/context.so
       0x107213000 -        0x107224ff7 +socket.so (??? - ???) <C3825BC6-C13A-3529-B047-FC5B33025DCE> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/core/socket.so
       0x107275000 -        0x10727bfff +math.so (??? - ???) <F077B587-60C6-3437-B87C-32FC02C51811> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
       0x107282000 -        0x107283fff +_hashlib.so (??? - ???) <C145DE3B-71AC-386A-BEEB-6E891C672CA0> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
       0x107287000 -        0x1072ccfe7 +libssl.1.0.0.dylib (??? - ???) <FA8196B8-B18B-3EBE-95D5-69D152CB9B42> /opt/local/lib/libssl.1.0.0.dylib
       0x1072e3000 -        0x10741cfe7 +libcrypto.1.0.0.dylib (??? - ???) <611A1682-E1FA-312E-AB82-E53443D0ED8A> /opt/local/lib/libcrypto.1.0.0.dylib
       0x107489000 -        0x10748aff7 +_random.so (??? - ???) <F5B9D89B-828E-3300-9403-7F9788C2152D> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
       0x10748e000 -        0x10749cfff +cPickle.so (??? - ???) <32658083-1D09-39CE-BF88-CD278957DD9A> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
       0x1074a4000 -        0x1074a5ff7 +cStringIO.so (??? - ???) <10CEF3A3-75FE-3773-963E-2144203BE8FC> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
       0x1074aa000 -        0x1074b2fff +poll.so (??? - ???) <EDE5050C-68F6-3DB7-9EA0-7E1A9916DE11> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/core/poll.so
       0x1074ba000 -        0x1074bcff7 +stopwatch.so (??? - ???) <23F3BB8F-F1A2-3AA5-A921-DBB5BB29DD82> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/core/stopwatch.so
       0x1074c1000 -        0x1074c2fff +version.so (??? - ???) <0B4D38EE-79A8-3EBF-AB34-BDA8F9DADCD1> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/core/version.so
       0x1074c6000 -        0x1074c8fff +device.so (??? - ???) <9DC1262B-D834-3D02-B1D1-4F65DC973852> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/core/device.so
       0x1074cd000 -        0x1074d0ff7 +_multiprocessing.so (??? - ???) <3F79532A-8EBF-3FA4-8A0F-846D4A174EAD> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_multiprocessing.so
       0x1074d5000 -        0x1074d8fff +monitoredqueue.so (??? - ???) <CBE26525-F4E5-329A-A87D-5F6D1EEDDCB1> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/zmq/devices/monitoredqueue.so
       0x10751f000 -        0x107520fff +_functools.so (??? - ???) <14551503-4EF7-38CF-8D53-8C5DD9116ED5> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
       0x107524000 -        0x107525ff7 +fcntl.so (??? - ???) <14AC8629-058F-3B43-B1A9-3A77EEFBC8C3> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
       0x107568000 -        0x10756bff7 +strop.so (??? - ???) <2BFEA229-0C23-372B-9E51-45D75080D162> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
       0x107630000 -        0x107632ff7 +_locale.so (??? - ???) <51214302-0823-30C3-9848-B12BA8947F67> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
       0x107636000 -        0x10763efff +libintl.8.dylib (10.1.0 - compatibility 10.0.0) <9FEA328D-A24A-3D1F-AD16-CBC4FEAB0608> /opt/local/lib/libintl.8.dylib
       0x107643000 -        0x10773bfe7 +libiconv.2.dylib (8.0.0 - compatibility 8.0.0) <D811391D-B0D9-317F-B7A8-9BD9C7CE40A4> /opt/local/lib/libiconv.2.dylib
       0x107788000 -        0x10778aff7 +select.so (??? - ???) <FA7C40B3-721D-3404-9ED3-DE4B5344E987> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
       0x1077cf000 -        0x1077d0fff +resource.so (??? - ???) <5EA1DFCE-3C73-3A1E-8372-4B4A8F4A4CD9> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/resource.so
       0x1077d3000 -        0x1077d4fff +termios.so (??? - ???) <2FB0EC00-7FC4-342B-AA65-51DBFD02DF0E> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/termios.so
       0x1077d9000 -        0x1077d9fff +grp.so (??? - ???) <A6C8064D-A02C-312A-9027-262280CADF59> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/grp.so
       0x1077dc000 -        0x1077e9fff +datetime.so (??? - ???) <257DDAA4-78D5-3735-8429-B80A632DD25E> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
       0x107975000 -        0x107981ff7 +_curses.so (??? - ???) <8953B2BE-FF07-301E-9E96-27C0BF87ADCA> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_curses.so
       0x10798c000 -        0x1079cbfef +libncurses.5.dylib (5.0.0 - compatibility 5.0.0) <9FC5E997-7C15-3B1A-9953-8C1F2624ED31> /opt/local/lib/libncurses.5.dylib
       0x1079da000 -        0x1079e4fff +_sqlite3.so (??? - ???) <B4157BD3-7F9A-36F7-950F-937CC6FDCFE1> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_sqlite3.so
       0x1079f1000 -        0x107aa3fef +libsqlite3.0.dylib (9.6.0 - compatibility 9.0.0) <7A0DE0D4-3CFA-364D-8824-416390003087> /opt/local/lib/libsqlite3.0.dylib
       0x107af4000 -        0x107afbfff +_socket.so (??? - ???) <08D6AC4A-EC80-3C97-8A6F-53163B17A406> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
       0x107b05000 -        0x107b09fff +_ssl.so (??? - ???) <90991615-0CEF-3574-82B8-79CA7A2D1783> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
       0x107b4f000 -        0x107b63fff +_ctypes.so (??? - ???) <5735E3A9-1C8C-337B-A1E1-A130B52CC278> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so
       0x107bf5000 -        0x107bfafff +array.so (??? - ???) <AF625550-2CE1-3F06-8AD8-D14CAE76DFDC> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
       0x107c02000 -        0x107c04fff +zlib.so (??? - ???) <5B62C62E-3B02-3E5C-89D2-B90A281099DD> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/zlib.so
       0x107c09000 -        0x107c1bfff +_io.so (??? - ???) <79349BB2-A76A-3C89-BC2B-1B25BB295D90> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
       0x107c73000 -        0x107c99fef +pyexpat.so (??? - ???) <84EB778F-A8CE-3AFC-879D-BB517BD7C7C6> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/pyexpat.so
       0x107cac000 -        0x107cadff7 +_lsprof.so (??? - ???) <4F2405F5-95D0-37AA-9012-768EFC32721E> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_lsprof.so
       0x107d6f000 -        0x107e52fef +multiarray.so (??? - ???) <9620BA31-68B9-3EF3-9BD7-E078C415B16B> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/multiarray.so
       0x107ee8000 -        0x107f2dfff +umath.so (??? - ???) <764D9F96-246B-352D-BDA4-52C2BFB47B3B> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/umath.so
       0x107f98000 -        0x107faeff7 +_sort.so (??? - ???) <AE63B48F-0E91-3035-91D7-05B85ECD4423> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/_sort.so
       0x107fb7000 -        0x107fbaff7 +_dotblas.so (??? - ???) <37EACDA9-654C-33F4-909C-D180EEC049CA> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/_dotblas.so
       0x107ffe000 -        0x10801ffff +scalarmath.so (??? - ???) <BD1973E3-5109-3DEE-838D-9C7E20FE1BB5> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/core/scalarmath.so
       0x108071000 -        0x108075ff7 +_compiled_base.so (??? - ???) <32A93989-F3EC-3D3F-AF89-5641D2D92086> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/lib/_compiled_base.so
       0x1080b9000 -        0x1080bcfff +lapack_lite.so (??? - ???) <39AFC356-3C82-3C14-AEB4-39A2A6E4750E> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/linalg/lapack_lite.so
       0x108100000 -        0x108109ff7 +fftpack_lite.so (??? - ???) <497C98E8-2C88-3C3C-A5B8-FF12D355223B> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/fft/fftpack_lite.so
       0x10820d000 -        0x108245ff7 +mtrand.so (??? - ???) <14F74F38-FC7E-37F5-A626-9E4BA13EE8F1> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/numpy/random/mtrand.so
       0x10828f000 -        0x108291ff7 +readline.so (??? - ???) <58CED200-29B7-395E-B1F9-E86D19E6276A> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so
       0x108298000 -        0x1082c0fff +libreadline.6.2.dylib (6.2.0 - compatibility 6.0.0) <57527480-D072-3099-9712-C50B102BBFE5> /opt/local/lib/libreadline.6.2.dylib
       0x108b56000 -        0x108b62ff7 +parser.so (??? - ???) <6E52AB34-73DA-3C11-AF57-B831F79E3803> /opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/parser.so
    0x7fff66878000 -     0x7fff668acac7  dyld (195.5 - ???) <4A6E2B28-C7A2-3528-ADB7-4076B9836041> /usr/lib/dyld
    0x7fff89fc7000 -     0x7fff8a19aff7  com.apple.CoreFoundation (6.7 - 635) <57446B22-0778-3E07-9690-96AC705D57E8> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff8a694000 -     0x7fff8a69dfff  libnotify.dylib (80.0.0 - compatibility 1.0.0) <BD08553D-8088-38A8-8007-CF5C0B8F0404> /usr/lib/system/libnotify.dylib
    0x7fff8af33000 -     0x7fff8af38fff  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
    0x7fff8afdb000 -     0x7fff8b408fff  libLAPACK.dylib (??? - ???) <4F2E1055-2207-340B-BB45-E4F16171EE0D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
    0x7fff8b409000 -     0x7fff8b542fef  com.apple.vImage (5.0 - 5.0) <C45D2CBE-FA15-3D13-9E9D-A3BF57B84BBE> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
    0x7fff8b711000 -     0x7fff8b712fff  libsystem_sandbox.dylib (??? - ???) <8D14139B-B671-35F4-9E5A-023B4C523C38> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8b77d000 -     0x7fff8b788ff7  libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
    0x7fff8c46a000 -     0x7fff8c547fef  libsystem_c.dylib (763.11.0 - compatibility 1.0.0) <1D61CA57-3C6D-30F7-89CB-CC6F0787B1DC> /usr/lib/system/libsystem_c.dylib
    0x7fff8c562000 -     0x7fff8c569fff  libcopyfile.dylib (85.1.0 - compatibility 1.0.0) <172B1985-F24A-34E9-8D8B-A2403C9A0399> /usr/lib/system/libcopyfile.dylib
    0x7fff8c99e000 -     0x7fff8ca13ff7  libc++.1.dylib (19.0.0 - compatibility 1.0.0) <C0EFFF1B-0FEB-3F99-BE54-506B35B555A9> /usr/lib/libc++.1.dylib
    0x7fff8ca19000 -     0x7fff8ca39fff  libsystem_kernel.dylib (1699.22.73 - compatibility 1.0.0) <69F2F501-72D8-3B3B-8357-F4418B3E1348> /usr/lib/system/libsystem_kernel.dylib
    0x7fff8d42f000 -     0x7fff8d434fff  libcache.dylib (47.0.0 - compatibility 1.0.0) <B7757E2E-5A7D-362E-AB71-785FE79E1527> /usr/lib/system/libcache.dylib
    0x7fff8d435000 -     0x7fff8d439fff  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
    0x7fff8d8f2000 -     0x7fff8d940ff7  libauto.dylib (??? - ???) <F0004B88-CA01-37D0-A77F-6651C4EC7D8E> /usr/lib/libauto.dylib
    0x7fff8de91000 -     0x7fff8deaeff7  libxpc.dylib (77.16.0 - compatibility 1.0.0) <0A4B4775-29A9-30D6-956B-3BE1DBF98090> /usr/lib/system/libxpc.dylib
    0x7fff8deaf000 -     0x7fff8df0ffff  libvDSP.dylib (325.3.0 - compatibility 1.0.0) <74B62E70-4189-3022-8FC9-1182EA7C6E34> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib
    0x7fff8df25000 -     0x7fff8e509faf  libBLAS.dylib (??? - ???) <D62D6A48-5C7A-3ED6-875D-AA3C2C5BF791> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
    0x7fff8e822000 -     0x7fff8e823ff7  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
    0x7fff8ed83000 -     0x7fff8ed83fff  com.apple.Accelerate.vecLib (3.7 - vecLib 3.7) <4CC14F7C-BCA7-3CAC-BEC9-B06576E5A15B> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
    0x7fff8ed84000 -     0x7fff8ed86fff  libquarantine.dylib (36.0.0 - compatibility 1.0.0) <4C3BFBC7-E592-3939-B376-1C2E2D7C5389> /usr/lib/system/libquarantine.dylib
    0x7fff8f375000 -     0x7fff8f37dfff  libsystem_dnssd.dylib (??? - ???) <7749128E-D0C5-3832-861C-BC9913F774FA> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8f79a000 -     0x7fff8f7acff7  libz.1.dylib (1.2.5 - compatibility 1.0.0) <30CBEF15-4978-3DED-8629-7109880A19D4> /usr/lib/libz.1.dylib
    0x7fff8fd0f000 -     0x7fff8fd10fff  libunc.dylib (24.0.0 - compatibility 1.0.0) <C67B3B14-866C-314F-87FF-8025BEC2CAAC> /usr/lib/system/libunc.dylib
    0x7fff8ff70000 -     0x7fff90172fff  libicucore.A.dylib (46.1.0 - compatibility 1.0.0) <82DCB94B-3819-3CC3-BC16-2AACA7F64F8A> /usr/lib/libicucore.A.dylib
    0x7fff902ab000 -     0x7fff902acff7  libremovefile.dylib (21.0.0 - compatibility 1.0.0) <C6C49FB7-1892-32E4-86B5-25AD165131AA> /usr/lib/system/libremovefile.dylib
    0x7fff90c07000 -     0x7fff90c7afff  libstdc++.6.dylib (52.0.0 - compatibility 7.0.0) <6BDD43E4-A4B1-379E-9ED5-8C713653DFF2> /usr/lib/libstdc++.6.dylib
    0x7fff914ee000 -     0x7fff914effff  libdnsinfo.dylib (395.6.0 - compatibility 1.0.0) <718A135F-6349-354A-85D5-430B128EFD57> /usr/lib/system/libdnsinfo.dylib
    0x7fff91b4c000 -     0x7fff91b56ff7  liblaunch.dylib (392.18.0 - compatibility 1.0.0) <39EF04F2-7F0C-3435-B785-BF283727FFBD> /usr/lib/system/liblaunch.dylib
    0x7fff91f07000 -     0x7fff91f0dfff  libmacho.dylib (800.0.0 - compatibility 1.0.0) <D86F63EC-D2BD-32E0-8955-08B5EAFAD2CC> /usr/lib/system/libmacho.dylib
    0x7fff91f0e000 -     0x7fff91f0efff  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
    0x7fff92c9d000 -     0x7fff92cd9fff  libsystem_info.dylib (??? - ???) <BC49C624-1DAB-3A37-890F-6EFD46538424> /usr/lib/system/libsystem_info.dylib
    0x7fff92e4d000 -     0x7fff92e4efff  libDiagnosticMessagesClient.dylib (??? - ???) <3DCF577B-F126-302B-BCE2-4DB9A95B8598> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff92f2e000 -     0x7fff92fc4ff7  libvMisc.dylib (325.3.0 - compatibility 1.0.0) <AC5A384A-FA5A-3307-9CED-BD69E6F12A09> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
    0x7fff93018000 -     0x7fff93018fff  com.apple.Accelerate (1.7 - Accelerate 1.7) <3E4582EB-CFEF-34EA-9DA8-8421F1C3C77D> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
    0x7fff930f9000 -     0x7fff9313bff7  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <A5B9778E-11C3-3F61-B740-1F2114E967FB> /usr/lib/system/libcommonCrypto.dylib
    0x7fff9342f000 -     0x7fff9343dfff  libdispatch.dylib (187.5.0 - compatibility 1.0.0) <698F8EFB-7075-3111-94E3-891156C88172> /usr/lib/system/libdispatch.dylib
    0x7fff93a8d000 -     0x7fff93a91fff  libdyld.dylib (195.5.0 - compatibility 1.0.0) <F1903B7A-D3FF-3390-909A-B24E09BAD1A5> /usr/lib/system/libdyld.dylib
    0x7fff93b24000 -     0x7fff93b51fe7  libSystem.B.dylib (159.0.0 - compatibility 1.0.0) <7B4D685D-939C-3ABE-8780-77A1889E0DE9> /usr/lib/libSystem.B.dylib
    0x7fff9449f000 -     0x7fff944a5ff7  libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
    0x7fff94845000 -     0x7fff9484aff7  libsystem_network.dylib (??? - ???) <4ABCEEF3-A3F9-3E06-9682-CE00F17138B7> /usr/lib/system/libsystem_network.dylib
    0x7fff9622b000 -     0x7fff9630fdef  libobjc.A.dylib (228.0.0 - compatibility 1.0.0) <C5F2392D-B481-3A9D-91BE-3D039FFF4DEC> /usr/lib/libobjc.A.dylib

External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 24
    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: 41386909
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=78.8M resident=59.6M(76%) swapped_out_or_unallocated=19.2M(24%)
Writable regions: Total=50.8M written=16.9M(33%) resident=22.6M(44%) swapped_out=0K(0%) unallocated=28.2M(56%)

REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             35.8M
MALLOC guard page                    32K
STACK GUARD                        56.0M
Stack                              14.0M
VM_ALLOCATE                           8K
__DATA                             2296K
__LINKEDIT                         49.9M
__TEXT                             28.8M
__UNICODE                           544K
shared memory                        12K
===========                      =======
TOTAL                             187.4M

Model: MacBook5,1, BootROM MB51.007D.B03, 2 processors, Intel Core 2 Duo, 2 GHz, 6 GB, SMC 1.32f8
Graphics: NVIDIA GeForce 9400M, NVIDIA GeForce 9400M, PCI, 256 MB
Memory Module: BANK 0/DIMM0, 4 GB, DDR3, 1067 MHz, 0x830B, 0x4D3253344736344342384842354E2D434720
Memory Module: BANK 0/DIMM1, 2 GB, DDR3, 1067 MHz, 0x80AD, 0x484D54313235533641465238432D47372020
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x8D), Broadcom BCM43xx 1.0 (5.100.98.75.6)
Bluetooth: Version 2.5.0f17, 2 service, 19 devices, 1 incoming serial ports
Network Service: Ethernet, Ethernet, en0
Network Service: AirPort, AirPort, en1
Serial ATA Device: FUJITSU MHZ2160BH FFS G1, 160.04 GB
Serial ATA Device: HL-DT-ST DVDRW  GS21N
USB Device: Built-in iSight, apple_vendor_id, 0x8507, 0x24400000 / 2
USB Device: IR Receiver, apple_vendor_id, 0x8242, 0x04500000 / 3
USB Device: Apple Internal Keyboard / Trackpad, apple_vendor_id, 0x0237, 0x04600000 / 2
USB Device: BRCM2046 Hub, 0x0a5c  (Broadcom Corp.), 0x4500, 0x06100000 / 2
USB Device: Bluetooth USB Host Controller, apple_vendor_id, 0x8213, 0x06110000 / 5
Min RK minrk referenced this issue from a commit in minrk/ipython
Min RK strip leading 'ESC[?1034h' in tests caused by `import readline`
`import readline` causes 'ESC[?1034h' to be the first output sometimes,
so strip that off the front of the first line if it is found.

This has been reported to RedHat in 2007, but appears to only apply to
OSX 10.7 at the moment.

closes gh-662
8ef2842
Fernando Perez
Owner

@minrk, I've merged #666, but I won't close this until you guys confirm it really takes care of things.

Christoph Deil

Commit 487466d does not resolve the problems for me.

Here is what I now get for the core tests:

IPython test group: IPython.core
.............................................................................................................................................................................................K............................................................................................................................................KF.F...
======================================================================
FAIL: Test that object's __del__ methods are called on exit.
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/core/tests/test_run.py", line 170, in test_obj_del
    tt.ipexec_validate(self.fname, 'object A deleted')
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/testing/tools.py", line 260, in ipexec_validate
    nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: '\x1b[?1034hobject A deleted' != 'object A deleted'
    "'\\x1b[?1034hobject A deleted' != 'object A deleted'" = '%s != %s' % (safe_repr('\x1b[?1034hobject A deleted'), safe_repr('object A deleted'))
    "'\\x1b[?1034hobject A deleted' != 'object A deleted'" = self._formatMessage("'\\x1b[?1034hobject A deleted' != 'object A deleted'", "'\\x1b[?1034hobject A deleted' != 'object A deleted'")
>>  raise self.failureException("'\\x1b[?1034hobject A deleted' != 'object A deleted'")


======================================================================
FAIL: IPython.core.tests.test_run.TestMagicRunSimple.test_tclass
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/nose/case.py", line 187, in runTest
    self.test(*self.arg)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/testing/decorators.py", line 228, in skipper_func
    return f(*args, **kwargs)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/core/tests/test_run.py", line 208, in test_tclass
    tt.ipexec_validate(self.fname, out)
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/testing/tools.py", line 260, in ipexec_validate
    nt.assert_equals(out.strip(), expected_out.strip())
AssertionError: "\x1b[?1034hARGV 1-: [u'C-first']\nARGV 1-: [u'C-second']\ntclass.py: deleting object: C-first\nARGV 1-: [u'C-third']\ntclass.py: deleting object: C-second\ntclass.py: deleting object: C-third" != "ARGV 1-: [u'C-first']\nARGV 1-: [u'C-second']\ntclass.py: deleting object: C-first\nARGV 1-: [u'C-third']\ntclass.py: deleting object: C-second\ntclass.py: deleting object: C-third"
    '"\\x1b[?1034hARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third" != "ARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third"' = '%s != %s' % (safe_repr("\x1b[?1034hARGV 1-: [u'C-first']\nARGV 1-: [u'C-second']\ntclass.py: deleting object: C-first\nARGV 1-: [u'C-third']\ntclass.py: deleting object: C-second\ntclass.py: deleting object: C-third"), safe_repr("ARGV 1-: [u'C-first']\nARGV 1-: [u'C-second']\ntclass.py: deleting object: C-first\nARGV 1-: [u'C-third']\ntclass.py: deleting object: C-second\ntclass.py: deleting object: C-third"))
    '"\\x1b[?1034hARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third" != "ARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third"' = self._formatMessage('"\\x1b[?1034hARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third" != "ARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third"', '"\\x1b[?1034hARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third" != "ARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third"')
>>  raise self.failureException('"\\x1b[?1034hARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third" != "ARGV 1-: [u\'C-first\']\\nARGV 1-: [u\'C-second\']\\ntclass.py: deleting object: C-first\\nARGV 1-: [u\'C-third\']\\ntclass.py: deleting object: C-second\\ntclass.py: deleting object: C-third"')


----------------------------------------------------------------------
Ran 343 tests in 1.726s

FAILED (KNOWNFAIL=2, failures=2)

I ran the parallel tests three times.
I now get one or two "Problem Report from Python" as described above.

Two times no fails were reported in the console:

IPython test group: IPython.parallel
...............................................................................................
----------------------------------------------------------------------
Ran 95 tests in 59.883s

OK

Once I got the following fail:

IPython test group: IPython.parallel
..................................................................................F............
======================================================================
FAIL: test_push_tracked (IPython.parallel.tests.test_view.TestView)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/IPython/parallel/tests/test_view.py", line 188, in test_push_tracked
    self.assertEquals(ar.sent, ar._tracker.done)
AssertionError: False != True
    'False != True' = '%s != %s' % (safe_repr(False), safe_repr(True))
    'False != True' = self._formatMessage('False != True', 'False != True')
>>  raise self.failureException('False != True')


----------------------------------------------------------------------
Ran 95 tests in 59.886s

FAILED (failures=1)
Min RK
Owner

hm. My readline is still printing the escape like yours, but core tests do pass for me. The commit you referenced has nothing to do with this, are you on the right branch? Commit 8ef2842 is the one that fixes the readline issue.

The crash dialogs are something I hadn't noticed, probably because I have them disabled on my machine. They are not bugs, because code is really crashing. There are two tests that cause hard crashes in the engines, in order to test that the client and controller handle the crash gracefully. Unfortunately, I don't know how to disable the crash reports for a specific process, so I will just disable those tests for now.

The nondeterministic failure is one that I haven't seen, but I do understand it, now that I've looked at it:

ar.sent, and ar._tracker.done point to the same information, but since they are properties there is some evaluation in retrieving the value. When the test fails, the state is changing between the times that the first and second values are retrieved. It's impossible to guarantee that that doesn't happen, So I guess I just can't test it.

It turns out that testing the values of inherently nondeterministic quantities is hard to do reliably.

I'll push a few small adjustments to the parallel tests. I'm afraid that I don't know anything more that can be done to fix the readline issue, since I was able to reproduce the bug and fix it, but somehow not in a way that resolves the original report.

Min RK
Owner

I just pushed the few small tweaks described above (36fdaf3), so the parallel tests are now a bit more conservative. I was able to run the parallel test group 50 times on OSX, and 100x on Linux without failure, so hopefully that helps.

Min RK minrk closed this
Brian E. Granger ellisonbg referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Min RK minrk referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Min RK minrk referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Min RK minrk referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Min RK minrk referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Min RK minrk referenced this issue from a commit in minrk/ipython
Min RK more general fix for #662
Previously, the extra readline output was only stripped from the
front, but I have recently seen it (Python 3.2, OSX 10.7) elsewhere,
so the replacement is now a general `re.sub`.
6608a6b
Matthias Bussonnier Carreau referenced this issue from a commit
Commit has since been removed from the repository and is no longer available.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.