本文介绍了Pandas中的分段故障read_csv的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有Python 2.7.5在Os X 10.9与Pandas版本0.12.0-943-gaef5061。当我下载并运行read_csv ,我得到分割故障11.我已经实验了文件编码,将值放在空列,并更改选项的报价,但没有效果。从错误报告,它看起来好像故障可能发生在 unmath.so

I have Python 2.7.5 on Os X 10.9 with Pandas version 0.12.0-943-gaef5061. When I download this train.csv file and run read_csv, I get Segmentation Fault 11. I have experimented with the file encoding, putting values in the empty columns, and changing the options for quotes, but to no avail. From the error report, it looks as if the fault may be occurring in unmath.so.

解释或解决方法?

Python 2.7.5 (default, Aug 25 2013, 00:04:04)
[GCC 4.2.1 Compatible Apple LLVM 5.0 (clang-500.0.68)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import pandas
>>> pandas.read_csv('train.csv')
Segmentation fault: 11

错误报告:

Process:         Python [5400]
Path:            /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:      Python
Version:         2.7.5 (2.7.5)
Code Type:       X86-64 (Native)
Parent Process:  bash [4823]
Responsible:     Terminal [321]
User ID:         501

PlugIn Path:       /Library/Python/2.7/site-packages/numpy-1.9.0.dev_54d3559-py2.7-macosx-10.9-intel.egg/numpy/core/umath.so
PlugIn Identifier: umath.so
PlugIn Version:    ??? (0)

Date/Time:       2013-10-26 09:02:45.350 -0700
OS Version:      Mac OS X 10.9 (13A603)
Report Version:  11
Anonymous UUID:  CAE885D2-2BCB-60AF-9133-E06FE6DD85A9

Sleep/Wake UUID: 2B9C017B-5FE4-4EA0-A2DF-EB279848BED9

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                 0000000109030000-0000000109031000 [    4K] r-x/rwx SM=COW  /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   umath.so                        0x0000000109563567 _extract_pyvals + 403
1   umath.so                        0x0000000109565ea4 _get_bufsize_errmask + 49
2   umath.so                        0x0000000109563ad4 PyUFunc_GenericFunction + 1181
3   umath.so                        0x00000001095677b7 ufunc_generic_call + 307
4   org.python.python               0x000000010903ef72 PyObject_Call + 101
5   org.python.python               0x00000001090b8df5 PyEval_EvalFrameEx + 15416
6   org.python.python               0x00000001090bb864 0x109035000 + 551012
7   org.python.python               0x00000001090b84d4 PyEval_EvalFrameEx + 13079
8   org.python.python               0x00000001090bb864 0x109035000 + 551012
9   org.python.python               0x00000001090b84d4 PyEval_EvalFrameEx + 13079
10  org.python.python               0x00000001090bb864 0x109035000 + 551012
11  org.python.python               0x00000001090b84d4 PyEval_EvalFrameEx + 13079
12  org.python.python               0x00000001090bb864 0x109035000 + 551012
13  org.python.python               0x00000001090b84d4 PyEval_EvalFrameEx + 13079
14  org.python.python               0x00000001090b5093 PyEval_EvalCodeEx + 1641
15  org.python.python               0x000000010905c796 0x109035000 + 161686
16  org.python.python               0x000000010903ef72 PyObject_Call + 101
17  org.python.python               0x00000001090499a7 0x109035000 + 84391
18  org.python.python               0x000000010903ef72 PyObject_Call + 101
19  org.python.python               0x00000001090b8df5 PyEval_EvalFrameEx + 15416
20  org.python.python               0x00000001090b5093 PyEval_EvalCodeEx + 1641
21  org.python.python               0x00000001090bb8c8 0x109035000 + 551112
22  org.python.python               0x00000001090b84d4 PyEval_EvalFrameEx + 13079
23  org.python.python               0x00000001090b5093 PyEval_EvalCodeEx + 1641
24  org.python.python               0x000000010905c796 0x109035000 + 161686
25  org.python.python               0x000000010903ef72 PyObject_Call + 101
26  org.python.python               0x00000001090499a7 0x109035000 + 84391
27  org.python.python               0x000000010903ef72 PyObject_Call + 101
28  org.python.python               0x00000001090b8df5 PyEval_EvalFrameEx + 15416
29  org.python.python               0x00000001090b5093 PyEval_EvalCodeEx + 1641
30  org.python.python               0x00000001090bb8c8 0x109035000 + 551112
31  org.python.python               0x00000001090b84d4 PyEval_EvalFrameEx + 13079
32  org.python.python               0x00000001090b5093 PyEval_EvalCodeEx + 1641
33  org.python.python               0x00000001090bb8c8 0x109035000 + 551112
34  org.python.python               0x00000001090b84d4 PyEval_EvalFrameEx + 13079
35  org.python.python               0x00000001090bb864 0x109035000 + 551012
36  org.python.python               0x00000001090b84d4 PyEval_EvalFrameEx + 13079
37  org.python.python               0x00000001090bb864 0x109035000 + 551012
38  org.python.python               0x00000001090b84d4 PyEval_EvalFrameEx + 13079
39  org.python.python               0x00000001090b5093 PyEval_EvalCodeEx + 1641
40  org.python.python               0x000000010905c796 0x109035000 + 161686
41  org.python.python               0x000000010903ef72 PyObject_Call + 101
42  org.python.python               0x00000001090499a7 0x109035000 + 84391
43  org.python.python               0x000000010903ef72 PyObject_Call + 101
44  org.python.python               0x00000001090bb01f PyEval_CallObjectWithKeywords + 93
45  org.python.python               0x0000000109083d09 0x109035000 + 322825
46  org.python.python               0x000000010906dd34 _PyObject_Str + 127
47  org.python.python               0x000000010906ddca PyObject_Str + 15
48  org.python.python               0x00000001090769c2 0x109035000 + 268738
49  org.python.python               0x00000001090800f9 0x109035000 + 307449
50  org.python.python               0x000000010903ef72 PyObject_Call + 101
51  org.python.python               0x00000001090b8df5 PyEval_EvalFrameEx + 15416
52  org.python.python               0x00000001090b5093 PyEval_EvalCodeEx + 1641
53  org.python.python               0x000000010905c796 0x109035000 + 161686
54  org.python.python               0x000000010903ef72 PyObject_Call + 101
55  org.python.python               0x00000001090499a7 0x109035000 + 84391
56  org.python.python               0x000000010903ef72 PyObject_Call + 101
57  org.python.python               0x00000001090bb01f PyEval_CallObjectWithKeywords + 93
58  org.python.python               0x0000000109083a74 0x109035000 + 322164
59  org.python.python               0x000000010906dbde PyObject_Repr + 49
60  org.python.python               0x000000010906da93 0x109035000 + 232083
61  org.python.python               0x000000010905563f PyFile_WriteObject + 137
62  org.python.python               0x00000001090d9b5f 0x109035000 + 674655
63  org.python.python               0x000000010903ef72 PyObject_Call + 101
64  org.python.python               0x00000001090bb01f PyEval_CallObjectWithKeywords +     93
65  org.python.python               0x00000001090b7682 PyEval_EvalFrameEx + 9413
66  org.python.python               0x00000001090b5093 PyEval_EvalCodeEx + 1641
67  org.python.python               0x00000001090b4a24 PyEval_EvalCode + 54
68  org.python.python               0x00000001090d3c2c 0x109035000 + 650284
69  org.python.python               0x00000001090d3a4e PyRun_InteractiveOneFlags + 365
70  org.python.python               0x00000001090d353f PyRun_InteractiveLoopFlags + 188
71  org.python.python               0x00000001090d33f0 PyRun_AnyFileExFlags + 60
72  org.python.python               0x00000001090e4363 Py_Main + 2995
73  libdyld.dylib                   0x00007fff8821b5fd start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000010e1810e0  rbx: 0x0000000000000000  rcx: 0xc4002be6c4209f06  rdx: 0x0000000000000000
  rdi: 0x0000000109584326  rsi: 0x00007fff56bca700  rbp: 0x00007fff56bca870  rsp: 0x00007fff56bca840
   r8: 0x0000000000000000   r9: 0x0800000000000100  r10: 0x2000000000000200  r11: 0x0000000004c09dce
  r12: 0x00007fff56bcaa88  r13: 0x00007fff56bcaa8c  r14: 0x00007fff56bcaa88  r15: 0x0000000000000000
  rip: 0x0000000109563567  rfl: 0x0000000000010206  cr2: 0x0000000000000000

Logical CPU:     4
Error Code:      0x00000006
Trap Number:     14


Binary Images:
   0x109030000 -        0x109030fff  org.python.python (2.7.5 - 2.7.5) <2E89A7CC-BF9F-341D-951F-D4BCAEDE52E3> /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
   0x109035000 -        0x10911ffff  org.python.python (2.7.5 - 2.7.5) <0202C38E-0354-34FA-9996-8D2ADCE353D8> /System/Library/Frameworks/Python.framework/Versions/2.7/Python
   0x109237000 -        0x109238fff  termios.so (76) <D8E846F9-BB9A-3D9C-924B-D3E8282E3042> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/termios.so
   0x1092e7000 -        0x109325ff7 +readline.so (???) <91E41C1B-723F-375F-B456-45B90A19C9F6> /Library/Python/2.7/site-packages/readline-6.2.4.1-py2.7-macosx-10.7-intel.egg/readline.so
   0x109340000 -        0x10935ffff +hashtable.so (0) <01F7E241-2D0D-38AB-A6EC-8E607145ADD6> /Library/Python/2.7/site-packages/pandas-0.12.0_943_gaef5061-py2.7-macosx-10.9-intel.egg/pandas/hashtable.so
   0x1093b5000 -        0x1093b8ff7  math.so (76) <76BA19D5-48F5-31C5-9AF7-0C855F30890B> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
   0x1093be000 -        0x10948cfff +multiarray.so (0) <3D91B229-4015-35AD-BB40-F9A11EC60C82> /Library/Python/2.7/site-packages/numpy-1.9.0.dev_54d3559-py2.7-macosx-10.9-intel.egg/numpy/core/multiarray.so
   0x109532000 -        0x10953bfff  datetime.so (76) <0DDECD56-F93B-38D2-8012-2D7F021BF41D> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
   0x109544000 -        0x109584fff +umath.so (0) <0CF4AA4D-67DB-335F-94E3-6056C13B0AC0> /Library/Python/2.7/site-packages/numpy-1.9.0.dev_54d3559-py2.7-macosx-10.9-intel.egg/numpy/core/umath.so
   0x1095f0000 -        0x1095f2fff  _collections.so (76) <6E5B8C6C-361D-34FA-8883-E385DECFC519> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
   0x1095f8000 -        0x1095fbfff  operator.so (76) <57797464-DDAA-32B0-A680-BC3583B4BDEF> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
   0x109601000 -        0x109605fff  itertools.so (76) <0FFE8556-9608-3A7C-B0D0-995902493A91> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
   0x10960e000 -        0x10960ffff  _heapq.so (76) <EBFA8646-5C30-3853-8800-C4BDFC9D201E> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
   0x109614000 -        0x10961ffff  cPickle.so (76) <A49A9059-2F96-3054-9069-3CC5A6D71C44> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
   0x109625000 -        0x109626fff  cStringIO.so (76) <33F5D92E-34D7-3B43-8626-BDB07AB03941> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
   0x10962b000 -        0x10962eff7 +_dotblas.so (0) <4AAE40D9-613A-307A-B271-49A0579E2FB1> /Library/Python/2.7/site-packages/numpy-1.9.0.dev_54d3559-py2.7-macosx-10.9-intel.egg/numpy/core/_dotblas.so
   0x109632000 -        0x109633fff  _functools.so (76) <4A72F6F8-BB2F-357F-8CF1-FAF3CD4371C2> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
   0x109677000 -        0x109690fff +scalarmath.so (0) <E87137B3-03D5-31A7-B616-0261F04C85E8> /Library/Python/2.7/site-packages/numpy-1.9.0.dev_54d3559-py2.7-macosx-10.9-intel.egg/numpy/core/scalarmath.so
   0x1097a3000 -        0x1097a4fff  time.so (76) <60566D0D-485D-3EE6-BD9F-3C330C973922> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
   0x1097eb000 -        0x1097efff7 +_compiled_base.so (0) <907FD9FE-69CF-309F-BC37-7A7341740D39> /Library/Python/2.7/site-packages/numpy-1.9.0.dev_54d3559-py2.7-macosx-10.9-intel.egg/numpy/lib/_compiled_base.so
   0x109833000 -        0x109836fff +lapack_lite.so (0) <12B329E7-CA0B-3D05-8580-AC8659BF1FBC> /Library/Python/2.7/site-packages/numpy-1.9.0.dev_54d3559-py2.7-macosx-10.9-intel.egg/numpy/linalg/lapack_lite.so
   0x10983a000 -        0x109846ff7 +_umath_linalg.so (0) <74F5BE7A-13E1-3290-B667-C0C5258E7748> /Library/Python/2.7/site-packages/numpy-1.9.0.dev_54d3559-py2.7-macosx-10.9-intel.egg/numpy/linalg/_umath_linalg.so
   0x109892000 -        0x109892fff  grp.so (76) <2BA0ACBA-C009-384C-8981-E882A2DE01B1> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/grp.so
   0x109896000 -        0x109896fff  future_builtins.so (76) <3D7FA052-D105-3FB5-B187-55590005429D> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/future_builtins.so
   0x10989a000 -        0x1098a1ff7 +fftpack_lite.so (0) <2A8F98B4-94C1-3614-A0DC-2D39E2EF3700> /Library/Python/2.7/site-packages/numpy-1.9.0.dev_54d3559-py2.7-macosx-10.9-intel.egg/numpy/fft/fftpack_lite.so
   0x1098e5000 -        0x1098e8fff  strop.so (76) <935E433D-305A-303F-A01A-80DEE79CD72C> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
   0x1099ee000 -        0x109a20ff7 +mtrand.so (0) <DA29F14E-5353-3834-B98A-E6DA6A02523A> /Library/Python/2.7/site-packages/numpy-1.9.0.dev_54d3559-py2.7-macosx-10.9-intel.egg/numpy/random/mtrand.so
   0x109a6e000 -        0x109a7cfff  _ctypes.so (76) <421053C0-2110-3BCA-AE7C-25DF92BEA34A> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so
   0x109a87000 -        0x109a8afff  _struct.so (76) <32BDEED3-1674-30E5-8C71-9536BFFEB0DE> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
   0x109a91000 -        0x109b12ff7 +tslib.so (0) <5B59DDC3-0E1B-30D8-95D0-BC093DD93EE6> /Library/Python/2.7/site-packages/pandas-0.12.0_943_gaef5061-py2.7-macosx-10.9-intel.egg/pandas/tslib.so
   0x109b53000 -        0x109b57fff  array.so (76) <622968CE-6E2E-38BB-A1AE-03D30ED25485> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
   0x109b5d000 -        0x109b64ff7  _socket.so (76) <ABDAD166-1FB8-3B83-AFC1-7BF6A97F229B> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
   0x109b6e000 -        0x109b71fff  _ssl.so (76) <E4C0816B-0AFD-3360-89AC-6E4B5FB42976> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
   0x109b77000 -        0x109b85fff  _io.so (76) <C18AD571-D722-3780-AAF6-F586F97A10F3> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
   0x109b94000 -        0x109b96fff  binascii.so (76) <B0E73D99-049D-3871-940A-64B4C87305FE> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
   0x109b9a000 -        0x109b9bfff  _hashlib.so (76) <81D1416F-11BD-33BF-BDB5-9D432BF241C4> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
   0x109ba0000 -        0x109ba1ff7  _random.so (76) <45324BA4-BC2A-3342-B41E-9ADDF6AD12F5> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
   0x109ba5000 -        0x109ba6fff  fcntl.so (76) <90ABCE6A-D5CE-3870-97A6-E3C46FC7D4A2> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
   0x109c2a000 -        0x109c2bfff  _locale.so (76) <129B3BEC-CA63-36F8-BA69-974D874BE59C> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
   0x109caf000 -        0x109cb4fff  pyexpat.so (76) <0D2CD180-56F8-3AB7-B5B2-7BFCA54B6ED4> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/pyexpat.so
   0x109cfb000 -        0x109cfbfff  _bisect.so (76) <BEC58E05-E56E-3EC9-82A7-22387D18DF56> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_bisect.so
   0x109cff000 -        0x109d64fff +lib.so (0) <97CE8729-9265-3894-B62D-971D05E48D63> /Library/Python/2.7/site-packages/pandas-0.12.0_943_gaef5061-py2.7-macosx-10.9-intel.egg/pandas/lib.so
   0x109dda000 -        0x109ddcfff  _csv.so (76) <BAD4C636-3BF3-35EA-B892-16228F4299A2> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_csv.so
   0x109e22000 -        0x109f4eff7 +algos.so (0) <33114579-E1CC-3CCC-8BF0-5FF2C8AE930D> /Library/Python/2.7/site-packages/pandas-0.12.0_943_gaef5061-py2.7-macosx-10.9-intel.egg/pandas/algos.so
   0x109fe4000 -        0x10a000fff +index.so (0) <6667E941-CC0B-3F07-97F8-F90A78063154> /Library/Python/2.7/site-packages/pandas-0.12.0_943_gaef5061-py2.7-macosx-10.9-intel.egg/pandas/index.so
   0x10a154000 -        0x10a178ff7 +_sparse.so (0) <3E6B66B0-FCD3-39ED-83CE-E7EFA78DD187> /Library/Python/2.7/site-packages/pandas-0.12.0_943_gaef5061-py2.7-macosx-10.9-intel.egg/pandas/_sparse.so
   0x10a28c000 -        0x10a28efff  zlib.so (76) <5CBC403F-1518-3592-928F-4140E0C59320> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/zlib.so
   0x10a2d4000 -        0x10a2d6fff  select.so (76) <50E27D67-1E2C-3481-81A3-CCB53750968B> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
   0x10a3dc000 -        0x10a405fff +_path.so (0) <E34E4548-20B3-3764-B038-9F22831FA9A4> /Library/Python/2.7/site-packages/matplotlib-1.4.x-py2.7-macosx-10.9-intel.egg/matplotlib/_path.so
   0x10a63b000 -        0x10a63bfff  _scproxy.so (76) <C61BD17F-8394-3733-B519-51B56D545DA9> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_scproxy.so
   0x10a640000 -        0x10a670ff7 +parser.so (0) <DDBA9D11-72D3-3511-ACA2-81C7F9218C94> /Library/Python/2.7/site-packages/pandas-0.12.0_943_gaef5061-py2.7-macosx-10.9-intel.egg/pandas/parser.so
   0x10a68e000 -        0x10a699fff +json.so (0) <393DA9E8-77C3-3961-B952-E25B3860F049> /Library/Python/2.7/site-packages/pandas-0.12.0_943_gaef5061-py2.7-macosx-10.9-intel.egg/pandas/json.so
   0x10a723000 -        0x10a738fff +msgpack.so (0) <5015FDF4-FF64-38B1-97F2-2A309FD0AF32> /Library/Python/2.7/site-packages/pandas-0.12.0_943_gaef5061-py2.7-macosx-10.9-intel.egg/pandas/msgpack.so
0x7fff6caef000 -     0x7fff6cb22817  dyld (239.3) <D1DFCF3F-0B0C-332A-BCC0-87A851B570FF> /usr/lib/dyld
0x7fff86384000 -     0x7fff8639cfff  libexpat.1.dylib (12) <97F4A9A7-CB3E-3BBF-9314-4997FC770E52> /usr/lib/libexpat.1.dylib
0x7fff866ce000 -     0x7fff866d4ff7  libsystem_platform.dylib (24.1.4) <331BA4A5-55CE-3B95-99EB-44E0C89D7FB8> /usr/lib/system/libsystem_platform.dylib
0x7fff867de000 -     0x7fff867defff  com.apple.Accelerate (1.9 - Accelerate 1.9) <509BB27A-AE62-366D-86D8-0B06D217CF56> /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate
0x7fff867df000 -     0x7fff867e0ff7  libSystem.B.dylib (1197.1.1) <BFC0DC97-46C6-3BE0-9983-54A98734897A> /usr/lib/libSystem.B.dylib
0x7fff867fc000 -     0x7fff867feff7  libquarantine.dylib (71) <7A1A2BCB-C03D-3A25-BFA4-3E569B2D2C38> /usr/lib/system/libquarantine.dylib
0x7fff8689d000 -     0x7fff868a4ff7  liblaunch.dylib (842.1.4) <FCBF0A02-0B06-3F97-9248-5062A9DEB32C> /usr/lib/system/liblaunch.dylib
0x7fff86925000 -     0x7fff86949fff  libxpc.dylib (300.1.17) <4554927A-9467-365C-91F1-5A116989DD7F> /usr/lib/system/libxpc.dylib
0x7fff87b1b000 -     0x7fff87b2bfff  libbsm.0.dylib (33) <2CAC00A2-1352-302A-88FA-C567D4D69179> /usr/lib/libbsm.0.dylib
0x7fff87b34000 -     0x7fff87b82fff  libcorecrypto.dylib (161.1) <F3973C28-14B6-3006-BB2B-00DD7F09ABC7> /usr/lib/system/libcorecrypto.dylib
0x7fff87b83000 -     0x7fff87bd5fff  libc++.1.dylib (120) <4F68DFC5-2077-39A8-A449-CAC5FDEE7BDE> /usr/lib/libc++.1.dylib
0x7fff87ea3000 -     0x7fff8805bff3  libicucore.A.dylib (511.25) <3ED7B656-416E-3071-AEC8-E85C90232F78> /usr/lib/libicucore.A.dylib
0x7fff88218000 -     0x7fff8821bff7  libdyld.dylib (239.3) <62F4D752-4089-31A8-8B73-B95A68893B3C> /usr/lib/system/libdyld.dylib
0x7fff8821c000 -     0x7fff88243ffb  libsystem_info.dylib (449.1.3) <7D41A156-D285-3849-A2C3-C04ADE797D98> /usr/lib/system/libsystem_info.dylib
0x7fff88244000 -     0x7fff882f4ff7  libvMisc.dylib (423.32) <049C0735-1808-39B9-943F-76CB8021744F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib
0x7fff884c1000 -     0x7fff884c1ff7  libkeymgr.dylib (28) <3AA8D85D-CF00-3BD3-A5A0-E28E1A32A6D8> /usr/lib/system/libkeymgr.dylib
0x7fff88952000 -     0x7fff88953ff7  libsystem_sandbox.dylib (278.10) <A47E7E11-3C76-318E-B67D-98972B86F094> /usr/lib/system/libsystem_sandbox.dylib
0x7fff88d28000 -     0x7fff88f0dff7  com.apple.CoreFoundation (6.9 - 855.11) <E22C6A1F-8996-349C-905E-96C3BBE07C2F> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff8a102000 -     0x7fff8a11eff7  libsystem_kernel.dylib (2422.1.72) <D14913DB-47F1-3591-8DAF-D4B4EF5F8818> /usr/lib/system/libsystem_kernel.dylib
0x7fff8a558000 -     0x7fff8a561ff3  libsystem_notify.dylib (121) <52571EC3-6894-37E4-946E-064B021ED44E> /usr/lib/system/libsystem_notify.dylib
0x7fff8a5ca000 -     0x7fff8a60cff7  libauto.dylib (185.5) <F45C36E8-B606-3886-B5B1-B6745E757CA8> /usr/lib/libauto.dylib
0x7fff8a92d000 -     0x7fff8a947fff  libdispatch.dylib (339.1.9) <46878A5B-4248-3057-962C-6D4A235EEF31> /usr/lib/system/libdispatch.dylib
0x7fff8ab42000 -     0x7fff8ab46ff7  libcache.dylib (62) <BDC1E65B-72A1-3DA3-A57C-B23159CAAD0B> /usr/lib/system/libcache.dylib
0x7fff8ab47000 -     0x7fff8ab48fff  libffi.dylib (18.1) <FEB76C94-97BA-39BC-B713-D086B9757BA5> /usr/lib/libffi.dylib
0x7fff8ab49000 -     0x7fff8ab4afff  com.apple.TrustEvaluationAgent (2.0 - 25) <334A82F4-4AE4-3719-A511-86D0B0723E2B> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent
0x7fff8ab73000 -     0x7fff8abd6ff7  com.apple.SystemConfiguration (1.13 - 1.13) <F05F4149-981B-380B-8F50-51CE804BBB89> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
0x7fff8aeb9000 -     0x7fff8aec3fff  libcommonCrypto.dylib (60049) <8C4F0CA0-389C-3EDC-B155-E62DD2187E1D> /usr/lib/system/libcommonCrypto.dylib
0x7fff8bd81000 -     0x7fff8bd82ff7  libDiagnosticMessagesClient.dylib (100) <4CDB0F7B-C0AF-3424-BC39-495696F0DB1E> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff8be54000 -     0x7fff8be59fff  libmacho.dylib (845) <1D2910DF-C036-3A82-A3FD-44FF73B5FF9B> /usr/lib/system/libmacho.dylib
0x7fff8bfaa000 -     0x7fff8bfd9fd2  libsystem_m.dylib (3047.16) <B7F0E2E4-2777-33FC-A787-D6430B630D54> /usr/lib/system/libsystem_m.dylib
0x7fff8c6ba000 -     0x7fff8c6bcff3  libsystem_configuration.dylib (596.12) <C4F633D9-94C8-35D9-BB2D-84C5122533C7> /usr/lib/system/libsystem_configuration.dylib
0x7fff8d7e0000 -     0x7fff8d810fff  libncurses.5.4.dylib (42) <BF763D62-9149-37CB-B1D2-F66A2510E6DD> /usr/lib/libncurses.5.4.dylib
0x7fff8d811000 -     0x7fff8d9bef27  libobjc.A.dylib (551.1) <AD7FD984-271E-30F4-A361-6B20319EC73B> /usr/lib/libobjc.A.dylib
0x7fff8dcc0000 -     0x7fff8dcdbff7  libsystem_malloc.dylib (23.1.10) <FFE5C472-B23A-318A-85BF-77CDE61900D1> /usr/lib/system/libsystem_malloc.dylib
0x7fff8dd15000 -     0x7fff8dd1cfff  libcompiler_rt.dylib (35) <4CD916B2-1B17-362A-B403-EF24A1DAC141> /usr/lib/system/libcompiler_rt.dylib
0x7fff8dd1d000 -     0x7fff8dd25fff  libsystem_dnssd.dylib (522.1.11) <270DCF6C-502D-389A-AA9F-DE4624A36FF7> /usr/lib/system/libsystem_dnssd.dylib
0x7fff8dd26000 -     0x7fff8dd2dff3  libcopyfile.dylib (103) <5A881779-D0D6-3029-B371-E3021C2DDA5E> /usr/lib/system/libcopyfile.dylib
0x7fff8e589000 -     0x7fff8e59aff7  libz.1.dylib (53) <42E0C8C6-CA38-3CA4-8619-D24ED5DD492E> /usr/lib/libz.1.dylib
0x7fff8e5ae000 -     0x7fff8e68dfff  libcrypto.0.9.8.dylib (50) <B95B9DBA-39D3-3EEF-AF43-44608B28894E> /usr/lib/libcrypto.0.9.8.dylib
0x7fff8e80b000 -     0x7fff8e834ff7  libc++abi.dylib (48) <8C16158F-CBF8-3BD7-BEF4-022704B2A326> /usr/lib/libc++abi.dylib
0x7fff8f319000 -     0x7fff8f487ff7  libBLAS.dylib (1094.5) <DE93A590-5FA5-32A2-A16C-5D7D7361769F> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
0x7fff8f4b0000 -     0x7fff8f4b7ff7  libsystem_pthread.dylib (53.1.4) <AB498556-B555-310E-9041-F67EC9E00E2C> /usr/lib/system/libsystem_pthread.dylib
0x7fff8f64a000 -     0x7fff8f64fff7  libunwind.dylib (35.3) <78DCC358-2FC1-302E-B395-0155B47CB547> /usr/lib/system/libunwind.dylib
0x7fff8f9df000 -     0x7fff8fdc0ffe  libLAPACK.dylib (1094.5) <7E7A9B8D-1638-3914-BAE0-663B69865986> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib
0x7fff8fdcd000 -     0x7fff8fe56ff7  libsystem_c.dylib (997.1.1) <61833FAA-7281-3FF9-937F-686B6F20427C> /usr/lib/system/libsystem_c.dylib
0x7fff8feb7000 -     0x7fff8feb8ffb  libremovefile.dylib (33) <3543F917-928E-3DB2-A2F4-7AB73B4970EF> /usr/lib/system/libremovefile.dylib
0x7fff8feb9000 -     0x7fff9018dfc7  com.apple.vImage (7.0 - 7.0) <D241DBFA-AC49-31E2-893D-EAAC31890C90> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage
0x7fff90baa000 -     0x7fff90baefff  libsystem_stats.dylib (93.1.26) <B9E26A9E-FBBC-3938-B8B7-6CF7CA8C99AD> /usr/lib/system/libsystem_stats.dylib
0x7fff91031000 -     0x7fff91058ff7  libsystem_network.dylib (241.3) <8B1E1F1D-A5CC-3BAE-8B1E-ABC84337A364> /usr/lib/system/libsystem_network.dylib
0x7fff9236d000 -     0x7fff9237aff0  libbz2.1.0.dylib (29) <0B98AC35-B138-349C-8063-2B987A75D24C> /usr/lib/libbz2.1.0.dylib
0x7fff9237b000 -     0x7fff9237cff7  libsystem_blocks.dylib (63) <FB856CD1-2AEA-3907-8E9B-1E54B6827F82> /usr/lib/system/libsystem_blocks.dylib
0x7fff9237d000 -     0x7fff9238eff7  libsystem_asl.dylib (217.1.4) <655FB343-52CF-3E2F-B14D-BEBF5AAEF94D> /usr/lib/system/libsystem_asl.dylib
0x7fff92436000 -     0x7fff92436fff  com.apple.Accelerate.vecLib (3.9 - vecLib 3.9) <F8D0CC77-98AC-3B58-9FE6-0C25421827B6> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib
0x7fff92437000 -     0x7fff9246bfff  libssl.0.9.8.dylib (50) <B15F967C-B002-36C2-9621-3456D8509F50> /usr/lib/libssl.0.9.8.dylib
0x7fff92843000 -     0x7fff92844fff  libunc.dylib (28) <62682455-1862-36FE-8A04-7A6B91256438> /usr/lib/system/libunc.dylib
0x7fff931b6000 -     0x7fff93281fff  libvDSP.dylib (423.32) <3BF732BE-DDE0-38EB-8C54-E4E3C64F77A7> /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib


推荐答案

我注意到了与熊猫和其他模块相同的问题。在:

他们的状态:

I have noticed the same issue with pandas and other modules. At:http://www.python.org/download/releases/2.7.6/they state:

所以,我刚刚下载了mac的二进制包。自那时以来,segfault从未再次发生过。我试过与熊猫和其他模块。

So, I just downloaded the binary package for mac. The segfault never occurred again since then. I tried with pandas and other modules since.

这篇关于Pandas中的分段故障read_csv的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-30 10:34