massive crashes from clang 6

Riccardo Mottola riccardo.mottola at libero.it
Mon Dec 16 20:33:26 UTC 2019


H,

I routinely compile ArcticFox with compile 6 while developing it. I notice that sometimes the Mac almost "hangs" and the ActivityMonitor reports an extremely high CPU usace from Crash Reporter. (MacOS 10.7)
Often, just interrupting build and resuming it fixes that!

So today I thought about checking in the Console… and I noticed several clang crashes! I feel stupid for not checking earlier. However… I attach one of the crashes. Can you get smarter from it?
What makes me wonder is that perhaps at the next attempt… it works!

Riccardo

Process:         clang [48429]
Path:            /opt/local/libexec/*/clang
Identifier:      clang
Version:         6.0.1 (6.0)
Code Type:       X86-64 (Native)
Parent Process:  sh [48428]

Date/Time:       2019-12-16 21:24:44.928 +0100
OS Version:      Mac OS X 10.7.5 (11G63)
Report Version:  9

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

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

Application Specific Information:
abort() called
pure virtual method called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib        	0x00007fff90b2e82a __kill + 10
1   libsystem_c.dylib             	0x00007fff8ef1ea9c abort + 177
2   libc++abi.dylib               	0x00007fff92c787bc abort_message + 214
3   libc++abi.dylib               	0x00007fff92c7609c __cxa_pure_virtual + 18
4   libc++.1.dylib                	0x00007fff99583554 std::__1::error_code::message() const + 24
5   libLLVM.dylib                 	0x000000010e571051 llvm::raw_fd_ostream::~raw_fd_ostream() + 155
6   libsystem_c.dylib             	0x00007fff8ef1e7c8 __cxa_finalize + 274
7   libsystem_c.dylib             	0x00007fff8ef1e652 exit + 18
8   clang                         	0x000000010cce4053 start + 59

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0000000000000000  rbx: 0x00007fff6c8e1070  rcx: 0x00007fff6c8e1058  rdx: 0x0000000000000000
  rdi: 0x000000000000bd2d  rsi: 0x0000000000000006  rbp: 0x00007fff6c8e1080  rsp: 0x00007fff6c8e1058
   r8: 0x0000000000000004   r9: 0x0000000000000012  r10: 0x00007fff90b2fe62  r11: 0x0000000000000206
  r12: 0x000000010e57109c  r13: 0x0000000110dc5fd8  r14: 0x00007fff6c8e1090  r15: 0x00007fff6c8e11a0
  rip: 0x00007fff90b2e82a  rfl: 0x0000000000000206  cr2: 0x000000010cd55084
Logical CPU: 0

Binary Images:
       0x10cce2000 -        0x10dddbfff +clang (6.0.1 - 6.0) <C97D86F8-C77E-363F-87B2-B31EC145A32C> /opt/local/libexec/*/clang
       0x10e4e3000 -        0x110a46ff7 +libLLVM.dylib (6.0.1 - compatibility 1.0.0) <374682BD-156D-3461-AC4F-FE1A22FBA4EE> /opt/local/libexec/*/libLLVM.dylib
       0x111904000 -        0x111909fff +libffi.6.dylib (7.4.0 - compatibility 7.0.0) <3BB38592-BD64-3B31-9DB4-75CFBBD3EBE2> /opt/local/lib/libffi.6.dylib
       0x111912000 -        0x111935fff +libedit.0.dylib (1.61.0 - compatibility 1.0.0) <855B2293-732D-3F35-8F7F-B08B25849203> /opt/local/lib/libedit.0.dylib
       0x111948000 -        0x111959fff +libz.1.dylib (1.2.11 - compatibility 1.0.0) <A22CD79F-ABFB-301C-ADF6-F733923EF1A5> /opt/local/lib/libz.1.dylib
       0x111962000 -        0x1119a6fff +libncurses.6.dylib (6.0.0 - compatibility 6.0.0) <ECD063DE-E945-3E85-A6D8-DB33C97A4986> /opt/local/lib/libncurses.6.dylib
       0x1119bd000 -        0x111abfff7 +libxml2.2.dylib (12.10.0 - compatibility 12.0.0) <D8476998-E560-371F-9F51-E36855DED570> /opt/local/lib/libxml2.2.dylib
       0x111af5000 -        0x111cd2ff7 +libicui18n.65.dylib (65.1.0 - compatibility 65.0.0) <4CC0A0A9-09E3-3F9A-A766-DB12D4C68959> /opt/local/lib/libicui18n.65.dylib
       0x111de4000 -        0x111f2eff7 +libicuuc.65.dylib (65.1.0 - compatibility 65.0.0) <1EABAB49-BB0D-3ABB-9606-53676B138BD6> /opt/local/lib/libicuuc.65.dylib
       0x111faa000 -        0x113a58fff +libicudata.65.dylib (65.1.0 - compatibility 65.0.0) <7441FF01-7BE1-337D-9361-BB2546F5C0DB> /opt/local/lib/libicudata.65.dylib
       0x113a5d000 -        0x113a7cff7 +liblzma.5.dylib (8.4.0 - compatibility 8.0.0) <9B99470C-AA5B-37B6-92F4-728E810047C6> /opt/local/lib/liblzma.5.dylib
       0x113a85000 -        0x113b7dfff +libiconv.2.dylib (9.1.0 - compatibility 9.0.0) <E45B40CC-B1A0-3624-8F93-4EF9ED86B3C3> /opt/local/lib/libiconv.2.dylib
    0x7fff6c8e2000 -     0x7fff6c916baf  dyld (195.6 - ???) <C58DAD8A-4B00-3676-8637-93D6FDE73147> /usr/lib/dyld
    0x7fff8cf13000 -     0x7fff8cf14ff7  libremovefile.dylib (21.1.0 - compatibility 1.0.0) <739E6C83-AA52-3C6C-A680-B37FE2888A04> /usr/lib/system/libremovefile.dylib
    0x7fff8d491000 -     0x7fff8d49aff7  libsystem_notify.dylib (80.1.0 - compatibility 1.0.0) <A4D651E3-D1C6-3934-AD49-7A104FD14596> /usr/lib/system/libsystem_notify.dylib
    0x7fff8d884000 -     0x7fff8d885ff7  libsystem_sandbox.dylib (??? - ???) <5459F293-E1F2-33B3-B9B2-2ABB7B915B62> /usr/lib/system/libsystem_sandbox.dylib
    0x7fff8ded3000 -     0x7fff8def0fff  libxpc.dylib (77.19.0 - compatibility 1.0.0) <9F57891B-D7EF-3050-BEDD-21E7C6668248> /usr/lib/system/libxpc.dylib
    0x7fff8e398000 -     0x7fff8e39afff  libquarantine.dylib (36.7.0 - compatibility 1.0.0) <8D9832F9-E4A9-38C3-B880-E5210B2353C7> /usr/lib/system/libquarantine.dylib
    0x7fff8e5e0000 -     0x7fff8e5e4fff  libmathCommon.A.dylib (2026.0.0 - compatibility 1.0.0) <FF83AFF7-42B2-306E-90AF-D539C51A4542> /usr/lib/system/libmathCommon.A.dylib
    0x7fff8ebca000 -     0x7fff8ec0cff7  libcommonCrypto.dylib (55010.0.0 - compatibility 1.0.0) <A5B9778E-11C3-3F61-B740-1F2114E967FB> /usr/lib/system/libcommonCrypto.dylib
    0x7fff8ee7b000 -     0x7fff8ee83fff  libsystem_dnssd.dylib (??? - ???) <584B321E-5159-37CD-B2E7-82E069C70AFB> /usr/lib/system/libsystem_dnssd.dylib
    0x7fff8eed6000 -     0x7fff8eedcfff  libmacho.dylib (800.0.0 - compatibility 1.0.0) <D86F63EC-D2BD-32E0-8955-08B5EAFAD2CC> /usr/lib/system/libmacho.dylib
    0x7fff8eedd000 -     0x7fff8efbafef  libsystem_c.dylib (763.13.0 - compatibility 1.0.0) <41B43515-2806-3FBC-ACF1-A16F35B7E290> /usr/lib/system/libsystem_c.dylib
    0x7fff8ffaa000 -     0x7fff8ffaafff  libkeymgr.dylib (23.0.0 - compatibility 1.0.0) <61EFED6A-A407-301E-B454-CD18314F0075> /usr/lib/system/libkeymgr.dylib
    0x7fff902dd000 -     0x7fff902e7ff7  liblaunch.dylib (392.39.0 - compatibility 1.0.0) <8C235D13-2928-30E5-9E12-2CC3D6324AE2> /usr/lib/system/liblaunch.dylib
    0x7fff90b18000 -     0x7fff90b38fff  libsystem_kernel.dylib (1699.32.7 - compatibility 1.0.0) <66C9F9BD-C7B3-30D4-B1A0-03C8A6392351> /usr/lib/system/libsystem_kernel.dylib
    0x7fff911a8000 -     0x7fff911acfff  libdyld.dylib (195.5.0 - compatibility 1.0.0) <F1903B7A-D3FF-3390-909A-B24E09BAD1A5> /usr/lib/system/libdyld.dylib
    0x7fff91c50000 -     0x7fff91c51ff7  libsystem_blocks.dylib (53.0.0 - compatibility 1.0.0) <8BCA214A-8992-34B2-A8B9-B74DEACA1869> /usr/lib/system/libsystem_blocks.dylib
    0x7fff927c5000 -     0x7fff927cbff7  libunwind.dylib (30.0.0 - compatibility 1.0.0) <1E9C6C8C-CBE8-3F4B-A5B5-E03E3AB53231> /usr/lib/system/libunwind.dylib
    0x7fff92c70000 -     0x7fff92c7bff7  libc++abi.dylib (14.0.0 - compatibility 1.0.0) <8FF3D766-D678-36F6-84AC-423C878E6D14> /usr/lib/libc++abi.dylib
    0x7fff93832000 -     0x7fff93839fff  libcopyfile.dylib (85.1.70 - compatibility 1.0.0) <E805FDF4-7098-3F9F-BF27-191E3E0A0F10> /usr/lib/system/libcopyfile.dylib
    0x7fff938ab000 -     0x7fff938acfff  libunc.dylib (24.0.0 - compatibility 1.0.0) <C67B3B14-866C-314F-87FF-8025BEC2CAAC> /usr/lib/system/libunc.dylib
    0x7fff93940000 -     0x7fff9396dfe7  libSystem.B.dylib (159.1.0 - compatibility 1.0.0) <6E5C8AC3-DBB7-31CB-BEB7-D6ED8E6DE0CE> /usr/lib/libSystem.B.dylib
    0x7fff93ed9000 -     0x7fff93edeff7  libsystem_network.dylib (??? - ???) <5DE7024E-1D2D-34A2-80F4-08326331A75B> /usr/lib/system/libsystem_network.dylib
    0x7fff94082000 -     0x7fff940bdfff  libsystem_info.dylib (??? - ???) <35F90252-2AE1-32C5-8D34-782C614D9639> /usr/lib/system/libsystem_info.dylib
    0x7fff95b01000 -     0x7fff95b06fff  libcompiler_rt.dylib (6.0.0 - compatibility 1.0.0) <98ECD5F6-E85C-32A5-98CD-8911230CB66A> /usr/lib/system/libcompiler_rt.dylib
    0x7fff96c6f000 -     0x7fff96c74fff  libcache.dylib (47.0.0 - compatibility 1.0.0) <B7757E2E-5A7D-362E-AB71-785FE79E1527> /usr/lib/system/libcache.dylib
    0x7fff96d7f000 -     0x7fff96d80fff  libdnsinfo.dylib (395.11.0 - compatibility 1.0.0) <853BAAA5-270F-3FDC-B025-D448DB72E1C3> /usr/lib/system/libdnsinfo.dylib
    0x7fff99541000 -     0x7fff995b7ff7  libc++.1.dylib (28.4.0 - compatibility 1.0.0) <A24FC3DA-4FFA-3DD2-9DCC-2B8D1B3BF97C> /usr/lib/libc++.1.dylib
    0x7fff99acc000 -     0x7fff99adafff  libdispatch.dylib (187.10.0 - compatibility 1.0.0) <8E03C652-922A-3399-93DE-9EA0CBFA0039> /usr/lib/system/libdispatch.dylib

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

VM Region Summary:
ReadOnly portion of Libraries: Total=157.3M resident=67.4M(43%) swapped_out_or_unallocated=89.9M(57%)
Writable regions: Total=22.6M written=5480K(24%) resident=5636K(24%) swapped_out=0K(0%) unallocated=17.1M(76%)
 
REGION TYPE                      VIRTUAL
===========                      =======
MALLOC                             9540K
MALLOC guard page                    16K
STACK GUARD                        56.0M
Stack                              8192K
__DATA                             5720K
__LINKEDIT                         67.6M
__TEXT                             89.8M
shared memory                        12K
===========                      =======
TOTAL                             236.2M

 



More information about the macports-users mailing list