Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

crash in python when exiting vim #495

Closed
mellery451 opened this issue May 16, 2016 · 7 comments
Closed

crash in python when exiting vim #495

mellery451 opened this issue May 16, 2016 · 7 comments

Comments

@mellery451
Copy link

I'm getting a python crash upon exiting vim pretty consistently - I'd say about 90% of the time I exit vim I see a crash like this. I'm pasting the OSX crash info, although I realize it's not super helpful. One other tidbit, it seems like there is an element of time involved here. If I just open vim and edit one file, it doesn't happen. I have to leave it open for some (X) amount of time, where X is > 5 minutes maybe ? I'm not sure if some background operation is timing out that leads to this eventual crash on exit, but I think time is somehow involved here - with admittedly very thin evidence to support this claim.

If there is anything else I can do to help repro, please let me know. Thanks.

Process:               Python [28977]
Path:                  /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Identifier:            Python
Version:               2.7.11 (2.7.11)
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           iTerm [32679]
User ID:               502

Date/Time:             2016-05-16 08:54:00.959 -0700
OS Version:            Mac OS X 10.11.4 (15E65)
Report Version:        11
Anonymous UUID:        15B474C8-7EA0-C5EA-BDFB-2478C7E7F27A

Sleep/Wake UUID:       5FAE572A-AAF3-40B6-929A-4A5A6E1F0BDF

Time Awake Since Boot: 390000 seconds
Time Since Wake:       1600 seconds

System Integrity Protection: enabled

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

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

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fff911aaf06 __pthread_kill + 10
1   libsystem_pthread.dylib         0x00007fff8f4644ec pthread_kill + 90
2   libclang.dylib                  0x00000001024d3d36 abort + 22
3   libclang.dylib                  0x000000010135306d fatal_error_handler(void*, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&, bool) + 45
4   libclang.dylib                  0x000000010248df09 llvm::report_fatal_error(llvm::Twine const&, bool) + 329
5   libclang.dylib                  0x000000010248ddb9 llvm::report_fatal_error(char const*, bool) + 41
6   libclang.dylib                  0x00000001024c0f0e llvm::raw_fd_ostream::~raw_fd_ostream() + 238
7   libsystem_c.dylib               0x00007fff8758046b __cxa_finalize_ranges + 345
8   libsystem_c.dylib               0x00007fff8758076f exit + 55
9   libdyld.dylib                   0x00007fff8d5a35b4 start + 8

Thread 1:
0   libsystem_kernel.dylib          0x00007fff911ab07a __select + 10
1   time.so                         0x0000000100663e08 time_sleep + 127
2   org.python.python               0x0000000100131335 PyEval_EvalFrameEx + 28892
3   org.python.python               0x000000010012a04e PyEval_EvalCodeEx + 1611
4   org.python.python               0x00000001000cc424 function_call + 363
5   org.python.python               0x00000001000ad7d5 PyObject_Call + 100
6   org.python.python               0x0000000100131a2c PyEval_EvalFrameEx + 30675
7   org.python.python               0x0000000100135471 fast_function + 265
8   org.python.python               0x0000000100131253 PyEval_EvalFrameEx + 28666
9   org.python.python               0x0000000100135471 fast_function + 265
10  org.python.python               0x0000000100131253 PyEval_EvalFrameEx + 28666
11  org.python.python               0x000000010012a04e PyEval_EvalCodeEx + 1611
12  org.python.python               0x00000001000cc424 function_call + 363
13  org.python.python               0x00000001000ad7d5 PyObject_Call + 100
14  org.python.python               0x00000001000b894f instancemethod_call + 177
15  org.python.python               0x00000001000ad7d5 PyObject_Call + 100
16  org.python.python               0x0000000100134d9a PyEval_CallObjectWithKeywords + 175
17  org.python.python               0x000000010016326b t_bootstrap + 70
18  libsystem_pthread.dylib         0x00007fff8f46199d _pthread_body + 131
19  libsystem_pthread.dylib         0x00007fff8f46191a _pthread_start + 168
20  libsystem_pthread.dylib         0x00007fff8f45f351 thread_start + 13

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x0000000000000006  rcx: 0x00007fff5fb638a8  rdx: 0x0000000000000000
  rdi: 0x0000000000000a0b  rsi: 0x0000000000000006  rbp: 0x00007fff5fb638d0  rsp: 0x00007fff5fb638a8
   r8: 0x0000000000000040   r9: 0x00007fff764741e0  r10: 0x0000000000000000  r11: 0x0000000000000287
  r12: 0x0000000000000000  r13: 0x0000000101353040  r14: 0x00007fff7891d000  r15: 0x0000000000000000
  rip: 0x00007fff911aaf06  rfl: 0x0000000000000286  cr2: 0x00000001024d3d20

Logical CPU:     0
Error Code:      0x020000b8
Trap Number:     133


Binary Images:
       0x10009b000 -        0x10009cfff +org.python.python (2.7.11 - 2.7.11) <6BAE76DA-21F3-361A-9D58-50D270E8B694> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
       0x1000a3000 -        0x10019eff7 +org.python.python (2.7.11, [c] 2001-2015 Python Software Foundation. - 2.7.11) <AFA377C3-1406-33AE-8E82-D699108C1C8F> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/Python
       0x1005bd000 -        0x1005bffff +_locale.so (0) <68169E09-2492-3AD4-9FFA-7207982B59A0> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so
       0x100642000 -        0x100651fff +_io.so (0) <B358F6BD-513D-3D33-AB4E-508100E1B2DD> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_io.so
       0x100663000 -        0x100664ff7 +time.so (0) <E5716397-66EC-368F-8299-7013EFB9F6C1> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so
       0x10066a000 -        0x10066bfff +cStringIO.so (0) <723E59F1-8C34-3FFC-8FEA-A311A33D5268> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so
       0x100670000 -        0x100673fff +_collections.so (0) <A2105F0A-3632-3C77-87DC-DBC9B12302AC> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so
       0x100678000 -        0x10067bfff +operator.so (0) <F80F7283-F4DE-3CBE-A7DB-0A9F1ACC3CEB> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so
       0x100681000 -        0x100686fff +itertools.so (0) <0AB41D38-268D-39C5-AF71-A825BF1CAA2D> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so
       0x10068f000 -        0x100690fff +_heapq.so (0) <1716E01E-8557-3EB7-8E92-9619BA57BFB7> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so
       0x1006d4000 -        0x1006d5fff +_functools.so (0) <DF2EA628-C92E-3407-A3E5-639EC0C39E23> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so
       0x100718000 -        0x10071bff7 +strop.so (0) <FC828A15-1BD9-31D9-BACA-2FE93C4A179F> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so
       0x10079f000 -        0x1007a2fff +_struct.so (0) <00664EC4-FC7F-3B78-AEBF-BC48789A2DCE> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so
       0x1007a8000 -        0x1007abff7 +binascii.so (0) <0E82CA75-9A82-358D-AF95-838307573017> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so
       0x1007ae000 -        0x1007b0fff +select.so (0) <28E48AAF-2280-3741-9678-3594A5EB89AE> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so
       0x1007b5000 -        0x1007b6fff +fcntl.so (0) <9411ADF9-4724-3465-848C-CEF863CEF8E7> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so
       0x100879000 -        0x10087cff7 +math.so (0) <24621D17-E8AF-3BA0-8321-2AD90AB28AFC> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so
       0x100881000 -        0x100889fff +_socket.so (0) <91F8AABB-6057-3153-BB3F-3A076E915DC5> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_socket.so
       0x1008d3000 -        0x1008defff +_ssl.so (0) <CEECE0D8-8A21-3EBC-89F0-3AFE19696727> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ssl.so
       0x1008e8000 -        0x100926ff7 +libssl.1.0.0.dylib (0) <8E6C01BD-EA1A-3CBE-BCC2-246D6F15B74E> /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
       0x100943000 -        0x100ab4a6f +libcrypto.1.0.0.dylib (0) <72FC7BB2-4F2B-360B-81DB-1282228A37A4> /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
       0x100b6c000 -        0x100b6dfff +_scproxy.so (0) <ABBA6589-58D1-3F05-990C-2155FC56FF92> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_scproxy.so
       0x100bf0000 -        0x100bf0fff +future_builtins.so (0) <19FD11D8-32C0-3D39-8AF8-5440512DE639> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/future_builtins.so
       0x100c73000 -        0x100c73fff +_bisect.so (0) <0CDA1962-E472-39A0-8565-1EF5032BFAC5> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_bisect.so
       0x100c76000 -        0x100c78fff +_hashlib.so (0) <9A14DB21-B8B5-3948-B819-120AB9E974A3> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so
       0x100c7c000 -        0x100c80fff +array.so (0) <0C41EA19-C7B9-3EE3-98BC-2D855B5608D0> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so
       0x100cc6000 -        0x100cc7fff +_random.so (0) <3F53CC80-EDEA-3F91-9AF5-F50524650828> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_random.so
       0x100d4a000 -        0x100d54ff7 +datetime.so (0) <324CA315-DCD5-34A6-9D5A-08BF11160F6F> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so
       0x100e5d000 -        0x100e5efff +termios.so (0) <64EED4C3-DCEA-31E0-8E8C-316BA6ED3DFB> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/termios.so
       0x100e62000 -        0x100e63fff +resource.so (0) <9B13FE36-667B-39BF-A4F0-111BF6C9D632> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/resource.so
       0x100e66000 -        0x100e67fff +dbm.so (0) <B8E50C5A-33EB-3E06-A0F4-AB8B8C8EE330> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/dbm.so
       0x100e6a000 -        0x100e6bfff +gdbm.so (0) <4AE73A20-3450-3FFA-939D-7C4A5E2A04F7> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/gdbm.so
       0x100e6f000 -        0x100e75fff +libgdbm.4.dylib (0) <99F70C1A-1D3E-3B64-AE14-DF932A53F82F> /usr/local/opt/gdbm/lib/libgdbm.4.dylib
       0x100eb9000 -        0x100ebeff7 +_json.so (0) <3679CD21-26B5-34AA-B60D-59886C5B066B> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_json.so
       0x101002000 -        0x1010a6fff +unicodedata.so (0) <D63F4FF8-CD6E-377C-AF45-6CE1065FC251> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/unicodedata.so
       0x1010ab000 -        0x1010b7fff +cPickle.so (0) <A77ACD53-BE80-33E4-BF72-4F211495AC93> /usr/local/Cellar/python/2.7.11/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cPickle.so
       0x1010fd000 -        0x1011eafff +ycm_core.so (0) <3547CF05-1E48-3F80-B45D-3AAF08CC0A8F> /Users/USER/*/ycm_core.so
       0x101331000 -        0x103364ffb +libclang.dylib (0) <20261B37-509C-3021-848D-9622BFA49ED9> /Users/USER/*/libclang.dylib
    0x7fff6585b000 -     0x7fff658920d7  dyld (360.21) <D9B236BC-4AC1-325F-B3EF-3F06DBDA7119> /usr/lib/dyld
    0x7fff86303000 -     0x7fff86305ff7  libsystem_configuration.dylib (802.40.13) <3DEB7DF9-6804-37E1-BC83-0166882FF0FF> /usr/lib/system/libsystem_configuration.dylib
    0x7fff86512000 -     0x7fff86523ff7  libz.1.dylib (61.20.1) <B3EBB42F-48E3-3287-9F0D-308E04D407AC> /usr/lib/libz.1.dylib
    0x7fff86c72000 -     0x7fff86c73fff  libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
    0x7fff86db7000 -     0x7fff86de0fff  libc++abi.dylib (125) <DCCC8177-3D09-35BC-9784-2A04FEC4C71B> /usr/lib/libc++abi.dylib
    0x7fff86e50000 -     0x7fff86e79ff7  libxpc.dylib (765.40.36) <2CC7CF36-66D4-301B-A6D8-EBAE7405B008> /usr/lib/system/libxpc.dylib
    0x7fff873ef000 -     0x7fff87406ff7  libsystem_asl.dylib (323.40.3) <007F9094-317A-33EA-AF62-BAEAAB48C0F7> /usr/lib/system/libsystem_asl.dylib
    0x7fff87504000 -     0x7fff87520ff7  libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib
    0x7fff87521000 -     0x7fff875aefff  libsystem_c.dylib (1082.20.4) <CDEBF2BB-A578-30F5-846F-96274951C3C5> /usr/lib/system/libsystem_c.dylib
    0x7fff8814f000 -     0x7fff8815ffff  libbsm.0.dylib (34) <7E14504C-A8B0-3574-B6EB-5D5FABC72926> /usr/lib/libbsm.0.dylib
    0x7fff8816a000 -     0x7fff8816aff7  libkeymgr.dylib (28) <8371CE54-5FDD-3CE9-B3DF-E98C761B6FE0> /usr/lib/system/libkeymgr.dylib
    0x7fff881ec000 -     0x7fff881edfff  libsystem_blocks.dylib (65) <1244D9D5-F6AA-35BB-B307-86851C24B8E5> /usr/lib/system/libsystem_blocks.dylib
    0x7fff88a68000 -     0x7fff88aceff7  libsystem_network.dylib (583.40.20) <269E5ADD-6922-31E2-8D55-7B777263AC0D> /usr/lib/system/libsystem_network.dylib
    0x7fff88bf7000 -     0x7fff88c00ff3  libsystem_notify.dylib (150.40.1) <D48BDE34-0F7E-34CA-A0FF-C578E39987CC> /usr/lib/system/libsystem_notify.dylib
    0x7fff88ef7000 -     0x7fff88ef8fff  libsystem_secinit.dylib (20) <32B1A8C6-DC84-3F4F-B8CE-9A52B47C3E6B> /usr/lib/system/libsystem_secinit.dylib
    0x7fff892cb000 -     0x7fff894d8fff  libicucore.A.dylib (551.51) <35315A29-E21C-3CC5-8BD6-E07A3AE8FC0D> /usr/lib/libicucore.A.dylib
    0x7fff8b208000 -     0x7fff8b210fef  libsystem_platform.dylib (74.40.2) <29A905EF-6777-3C33-82B0-6C3A88C4BA15> /usr/lib/system/libsystem_platform.dylib
    0x7fff8bf02000 -     0x7fff8bf60fff  com.apple.SystemConfiguration (1.14 - 1.14) <10082F58-6190-3A7C-8B6C-C12B16DC793A> /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration
    0x7fff8cde9000 -     0x7fff8cdebfff  libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
    0x7fff8d458000 -     0x7fff8d459ffb  libSystem.B.dylib (1226.10.1) <CD307E99-FC5C-3575-BCCE-0C861AA63124> /usr/lib/libSystem.B.dylib
    0x7fff8d5a0000 -     0x7fff8d5a3ffb  libdyld.dylib (360.21) <8390E026-F7DE-3C32-9486-3DFF6BD131B0> /usr/lib/system/libdyld.dylib
    0x7fff8d5f8000 -     0x7fff8d5fcfff  libcache.dylib (75) <9548AAE9-2AB7-3525-9ECE-A2A7C4688447> /usr/lib/system/libcache.dylib
    0x7fff8f3d0000 -     0x7fff8f3d0ff7  libunc.dylib (29) <DDB1E947-C775-33B8-B461-63E5EB698F0E> /usr/lib/system/libunc.dylib
    0x7fff8f455000 -     0x7fff8f45dfff  libsystem_networkextension.dylib (385.40.36) <66095DC7-6539-38F2-95EE-458F15F6D014> /usr/lib/system/libsystem_networkextension.dylib
    0x7fff8f45e000 -     0x7fff8f467ff7  libsystem_pthread.dylib (138.10.4) <3DD1EF4C-1D1B-3ABF-8CC6-B3B1CEEE9559> /usr/lib/system/libsystem_pthread.dylib
    0x7fff90cd3000 -     0x7fff90d04ff7  libncurses.5.4.dylib (46) <D4C10699-3E8F-3F42-A695-7490EA4B6B32> /usr/lib/libncurses.5.4.dylib
    0x7fff90d51000 -     0x7fff90d62ff7  libsystem_trace.dylib (201.10.3) <25104542-5251-3E8D-B14A-9E37207218BC> /usr/lib/system/libsystem_trace.dylib
    0x7fff9116f000 -     0x7fff91171ff7  libquarantine.dylib (80) <0F4169F0-0C84-3A25-B3AE-E47B3586D908> /usr/lib/system/libquarantine.dylib
    0x7fff91194000 -     0x7fff911b2ff7  libsystem_kernel.dylib (3248.40.184) <88C17B7F-1CD8-3979-A1A9-F7BDB4FCE789> /usr/lib/system/libsystem_kernel.dylib
    0x7fff913c9000 -     0x7fff9141cff7  libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
    0x7fff921f3000 -     0x7fff921f4ffb  libremovefile.dylib (41) <552EF39E-14D7-363E-9059-4565AC2F894E> /usr/lib/system/libremovefile.dylib
    0x7fff94374000 -     0x7fff943a1fff  libdispatch.dylib (501.40.12) <C7499857-61A5-3D7D-A5EA-65DCC8C3DF92> /usr/lib/system/libdispatch.dylib
    0x7fff95df1000 -     0x7fff95e37ff7  libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
    0x7fff990f7000 -     0x7fff9956dfff  com.apple.CoreFoundation (6.9 - 1258.1) <943A1383-DA6A-3DC0-ABCD-D9AEB3D0D34D> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
    0x7fff99588000 -     0x7fff99588ff7  liblaunch.dylib (765.40.36) <1CD7619D-AF2E-34D1-8EC6-8021CF473D9B> /usr/lib/system/liblaunch.dylib
    0x7fff9a682000 -     0x7fff9a68afff  libcopyfile.dylib (127) <A48637BC-F3F2-34F2-BB68-4C65FD012832> /usr/lib/system/libcopyfile.dylib
    0x7fff9a7d5000 -     0x7fff9a7dcff7  libcompiler_rt.dylib (62) <A13ECF69-F59F-38AE-8609-7B731450FBCD> /usr/lib/system/libcompiler_rt.dylib
    0x7fff9a9c5000 -     0x7fff9a9dcff7  libsystem_coretls.dylib (83.40.5) <C90DAE38-4082-381C-A185-2A6A8B677628> /usr/lib/system/libsystem_coretls.dylib
    0x7fff9afa2000 -     0x7fff9afadff7  libcommonCrypto.dylib (60075.40.2) <B9D08EB8-FB35-3F7B-8A1C-6FCE3F07B7E7> /usr/lib/system/libcommonCrypto.dylib
    0x7fff9afe6000 -     0x7fff9b00ffff  libsystem_info.dylib (477.40.5) <6B01C09E-A3E5-3C71-B370-D0CABD11A436> /usr/lib/system/libsystem_info.dylib
    0x7fff9b334000 -     0x7fff9b339ff3  libunwind.dylib (35.3) <F6EB48E5-4D12-359A-AB54-C937FBBE9043> /usr/lib/system/libunwind.dylib
    0x7fff9b3f7000 -     0x7fff9b46efeb  libcorecrypto.dylib (335.40.8) <9D300121-CAF8-3894-8774-DF38FA65F238> /usr/lib/system/libcorecrypto.dylib
    0x7fff9bfbb000 -     0x7fff9bfeaffb  libsystem_m.dylib (3105) <08E1A4B2-6448-3DFE-A58C-ACC7335BE7E4> /usr/lib/system/libsystem_m.dylib
    0x7fff9c4af000 -     0x7fff9c4b4ff7  libmacho.dylib (875.1) <318264FA-58F1-39D8-8285-1F6254EE410E> /usr/lib/system/libmacho.dylib
    0x7fff9c538000 -     0x7fff9c89af3f  libobjc.A.dylib (680) <7489D2D6-1EFD-3414-B18D-2AECCCC90286> /usr/lib/libobjc.A.dylib
    0x7fff9c89b000 -     0x7fff9c89efff  libsystem_sandbox.dylib (460.40.33) <30671DCC-265F-325A-B33D-11CD336B3DA3> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff9c8af000 -     0x7fff9c8b7ffb  libsystem_dnssd.dylib (625.40.20) <86A05653-DCA0-3345-B29F-F320029AA05E> /usr/lib/system/libsystem_dnssd.dylib

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

VM Region Summary:
ReadOnly portion of Libraries: Total=149.4M resident=0K(0%) swapped_out_or_unallocated=149.4M(100%)
Writable regions: Total=181.8M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=181.8M(100%)

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Activity Tracing                  2048K        2 
Kernel Alloc Once                    4K        2 
MALLOC                           156.9M       32 
MALLOC guard page                   16K        4 
STACK GUARD                       56.0M        3 
Stack                             12.0M        4 
VM_ALLOCATE                       10.5M       26 
__DATA                            7168K       91 
__LINKEDIT                        97.7M       41 
__TEXT                            51.7M       86 
__UNICODE                          552K        2 
shared memory                       12K        4 
===========                     =======  ======= 
TOTAL                            394.3M      285 

Model: MacBookPro11,5, BootROM MBP114.0172.B09, 4 processors, Intel Core i7, 2.5 GHz, 16 GB, SMC 2.30f2
Graphics: AMD Radeon R9 M370X, AMD Radeon R9 M370X, PCIe, 2048 MB
Graphics: Intel Iris Pro, Intel Iris Pro, Built-In
Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x802C, 0x31364B544631473634485A2D314736453120
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x152), Broadcom BCM43xx 1.0 (7.21.95.175.1a6)
Bluetooth: Version 4.4.4f4 17685, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
Serial ATA Device: APPLE SSD SM0512G, 500.28 GB
USB Device: USB 3.0 Bus
USB Device: Apple Internal Keyboard / Trackpad
USB Device: Bluetooth USB Host Controller
Thunderbolt Bus: MacBook Pro, Apple Inc., 27.1

@Valloric
Copy link
Member

Huh, crash in LLVM code. @d0k @r4nt ideas?

@d0k
Copy link
Contributor

d0k commented May 16, 2016

LLVM doesn't like when there's an error on writing to stdout or stderr while exiting and aborts. This typically happens when one of those streams is prematurely closed or the disk it's writing to is full.

@Valloric
Copy link
Member

We redirect ycmd std output and error descriptors to point to log files. We delete these during some part of shutdown (can't remember the details). So there might be a race condition here between the log files getting deleted and libclang writing stuff to stderr.

What I'm curious about is why is libclang writing anything to stderr...

@micbou
Copy link
Collaborator

micbou commented Sep 21, 2016

@mellery451 Do you still get crashes with latest ycmd?

@mellery451
Copy link
Author

@micbou - I do not see the crash on exit anymore. I'm not sure exactly when this got resolved, but it seems like sometime in June/July perhaps?

@vheon
Copy link
Contributor

vheon commented Sep 21, 2016

Then I think this can be closed. We can reopen it if it happens again. 👍

@vheon vheon closed this as completed Sep 21, 2016
@micbou
Copy link
Collaborator

micbou commented Sep 21, 2016

I'm not sure exactly when this got resolved, but it seems like sometime in June/July perhaps?

We changed the way the server shuts down in July so it could be that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants