Open batsatt opened 3 years ago
Are you able to execute the binary standalone?
This trace is not anything I am familiar with but this section seems interesting.
Referenced from: /Users/USER/Library/Application Support/JetBrains/*/shellcheck_darwin_amd64 (which was built for Mac OS X 10.13)
Expected in: /usr/lib/libSystem.B.dylib
built for Mac OS X 10.13 - should mean that they are referencing a newer mac os than you have?
Hi @batsatt , author of BashSupport Pro here. I just found this issue and I‘m investigating this at https://github.com/BashSupport-Pro/bashsupport-pro/issues/71 now. It‘s best to report all issues related to the plugin at the corresponding GitHub repo first.
The plugin includes a custom built binary (e.g. due to signing), and I‘ll try to reproduce your issue. As a workaround you could try to install the official build from this project‘s release page and link to it in the settings, https://www.bashsupport.com/pro/settings/
@batsatt Here's what I found out. Using the official release builds won't help you, as far as I understand:
IntelliJ 2020.3 IDEs require macOS 10.13 or later, so it's probably a lucky coincidence that the IDE is working on your system.
I successfully cross-compiled a shellcheck binary for 10.11, if you'd like to try it you can find it with instructions at https://github.com/BashSupport-Pro/bashsupport-pro/issues/71.
@batsatt Can you kindly close the issue given the problem is not connected with shellcheck repository?
Crashes every time it runs under BashSupport Pro in IntelliJ (2020.3.3) on Mac OS 10.11.06. Yes, that is an older mac os, but I can't move from it...
Process: shellcheck_darwin_amd64 [16155] Path: /Users/USER/Library/Application Support/JetBrains/*/shellcheck_darwin_amd64 Identifier: shellcheck_darwin_amd64 Version: 0 Code Type: X86-64 (Native) Parent Process: idea [15912] Responsible: shellcheck_darwin_amd64 [16155] User ID: 502
Date/Time: 2021-03-21 13:30:58.477 -0700 OS Version: Mac OS X 10.11.6 (15G22010) Report Version: 11 Anonymous UUID: 6CF1F5C4-98B8-42D6-BFF4-451F8D6B5976
Sleep/Wake UUID: BB25235F-0650-4769-8434-DFBF3A59B596
Time Awake Since Boot: 390000 seconds Time Since Wake: 4600 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY
Dyld Error Message: Symbol not found: _clock_gettime Referenced from: /Users/USER/Library/Application Support/JetBrains/*/shellcheck_darwin_amd64 (which was built for Mac OS X 10.13) Expected in: /usr/lib/libSystem.B.dylib
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 dyld 0x00007fff628e6075 dyld_fatal_error + 1 1 dyld 0x00007fff628e9094 dyld::fastBindLazySymbol(ImageLoader**, unsigned long) + 139 2 libdyld.dylib 0x00007fff875d3262 dyld_stub_binder + 282 3 ??? 0x000000010968b180 0 + 4452823424 4 libdyld.dylib 0x00007fff875d55ad start + 1
Thread 0 crashed with X86 Thread State (64-bit): rax: 0x00007fff6291f290 rbx: 0x00007f88ea500030 rcx: 0x0000000000000000 rdx: 0x0000000000000000 rdi: 0x00007fff6291f400 rsi: 0x0000000000000000 rbp: 0x00007fff56a30810 rsp: 0x00007fff56a307f8 r8: 0x00007fff6290804c r9: 0x00000000f0000000 r10: 0x00007fff56a305ed r11: 0x00007fff6291f400 r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x00007fff6291f400 r15: 0x00007fff56a30e44 rip: 0x00007fff628e6075 rfl: 0x0000000000000246 cr2: 0x00007fff62914a48
Logical CPU: 0 Error Code: 0x00000000 Trap Number: 3
Binary Images: 0x1091ce000 - 0x10968af27 +shellcheck_darwin_amd64 (0) <200F237E-32A6-307D-BA9D-8645AEB42C1C> /Users/USER/Library/Application Support/JetBrains/*/shellcheck_darwin_amd64 0x7fff628e5000 - 0x7fff6291ca47 dyld (360.22) <6B9CD3BA-2D60-3629-A0CB-AB810F55E8DD> /usr/lib/dyld 0x7fff80e48000 - 0x7fff80e59ff7 libsystem_trace.dylib (201.10.3) <0ED15BED-B1F8-3845-9EC1-CC0B54B6BF1B> /usr/lib/system/libsystem_trace.dylib 0x7fff81169000 - 0x7fff81185ff7 libsystem_malloc.dylib (67.40.1) <5748E8B2-F81C-34C6-8B13-456213127678> /usr/lib/system/libsystem_malloc.dylib 0x7fff81693000 - 0x7fff816aaff7 libsystem_coretls.dylib (83.40.5) /usr/lib/system/libsystem_coretls.dylib
0x7fff8186e000 - 0x7fff818c1ff7 libc++.1.dylib (120.1) <8FC3D139-8055-3498-9AC5-6467CB7F4D14> /usr/lib/libc++.1.dylib
0x7fff8354b000 - 0x7fff83553fff libsystem_networkextension.dylib (385.40.36) <66095DC7-6539-38F2-95EE-458F15F6D014> /usr/lib/system/libsystem_networkextension.dylib
0x7fff8406e000 - 0x7fff840d4ff7 libsystem_network.dylib (583.50.1) /usr/lib/system/libsystem_network.dylib
0x7fff840d5000 - 0x7fff840ddffb libsystem_dnssd.dylib (625.60.5) <8BE2BAFE-B2A3-38FA-A960-F6884217F54D> /usr/lib/system/libsystem_dnssd.dylib
0x7fff84bb1000 - 0x7fff84bb5fff libcache.dylib (75) <9548AAE9-2AB7-3525-9ECE-A2A7C4688447> /usr/lib/system/libcache.dylib
0x7fff86030000 - 0x7fff86030ff7 liblaunch.dylib (765.70.2) <4B800A8C-6C75-3279-92E0-FBA668812B55> /usr/lib/system/liblaunch.dylib
0x7fff86031000 - 0x7fff86060fc3 libsystem_m.dylib (3105) <8A645D53-92DD-3C2E-8AFA-F28BC63E3657> /usr/lib/system/libsystem_m.dylib
0x7fff866a6000 - 0x7fff866cffff libsystem_info.dylib (477.50.4) /usr/lib/system/libsystem_info.dylib
0x7fff8689f000 - 0x7fff868c9ff7 libc++abi.dylib (307.4) /usr/lib/libc++abi.dylib
0x7fff86be6000 - 0x7fff86f51657 libobjc.A.dylib (680) /usr/lib/libobjc.A.dylib
0x7fff874a0000 - 0x7fff874a5ff3 libunwind.dylib (35.3) /usr/lib/system/libunwind.dylib
0x7fff875d2000 - 0x7fff875d5ffb libdyld.dylib (360.22) /usr/lib/system/libdyld.dylib
0x7fff88a08000 - 0x7fff88a09fff libsystem_secinit.dylib (20) <32B1A8C6-DC84-3F4F-B8CE-9A52B47C3E6B> /usr/lib/system/libsystem_secinit.dylib
0x7fff89237000 - 0x7fff892aefeb libcorecrypto.dylib (335.50.2) <4E339108-3997-39D3-BB58-C5A0340E3651> /usr/lib/system/libcorecrypto.dylib
0x7fff892d7000 - 0x7fff892f5ff7 libsystem_kernel.dylib (3248.73.11) <4810EB90-DEEB-3E89-9ACA-BECC351E72F0> /usr/lib/system/libsystem_kernel.dylib
0x7fff8937c000 - 0x7fff8937dfff libDiagnosticMessagesClient.dylib (100) <4243B6B4-21E9-355B-9C5A-95A216233B96> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff8b27f000 - 0x7fff8b280fff libsystem_blocks.dylib (65) <1244D9D5-F6AA-35BB-B307-86851C24B8E5> /usr/lib/system/libsystem_blocks.dylib
0x7fff8b3eb000 - 0x7fff8b3edfff libsystem_coreservices.dylib (19.2) <1B3F5AFC-FFCD-3ECB-8B9A-5538366FB20D> /usr/lib/system/libsystem_coreservices.dylib
0x7fff8c6da000 - 0x7fff8c6daff7 libkeymgr.dylib (28) <8371CE54-5FDD-3CE9-B3DF-E98C761B6FE0> /usr/lib/system/libkeymgr.dylib
0x7fff8cab7000 - 0x7fff8cba9ff7 libiconv.2.dylib (44) /usr/lib/libiconv.2.dylib
0x7fff8ce56000 - 0x7fff8ce58ff7 libsystem_configuration.dylib (802.40.13) /usr/lib/system/libsystem_configuration.dylib
0x7fff8e3e8000 - 0x7fff8e3e9ffb libSystem.B.dylib (1226.10.1) <9A358336-F9EE-301B-A00D-D91C591BA684> /usr/lib/libSystem.B.dylib
0x7fff8e831000 - 0x7fff8e839fef libsystem_platform.dylib (74.40.2) <29A905EF-6777-3C33-82B0-6C3A88C4BA15> /usr/lib/system/libsystem_platform.dylib
0x7fff8f271000 - 0x7fff8f279fff libcopyfile.dylib (127) /usr/lib/system/libcopyfile.dylib
0x7fff8f4d8000 - 0x7fff8f565fef libsystem_c.dylib (1082.60.1) <0F0C7ED5-3902-3427-9C1D-E2F130B528C5> /usr/lib/system/libsystem_c.dylib
0x7fff8f914000 - 0x7fff8f95aff7 libauto.dylib (186) <999E610F-41FC-32A3-ADCA-5EC049B65DFB> /usr/lib/libauto.dylib
0x7fff90c59000 - 0x7fff90c82ff7 libxpc.dylib (765.70.2) <7978B4D9-7970-3302-87FA-75709127DBD2> /usr/lib/system/libxpc.dylib
0x7fff9103e000 - 0x7fff91055ff7 libsystem_asl.dylib (323.50.1) <41F8E11F-1BD0-3F1D-BA3A-AA1577ED98A9> /usr/lib/system/libsystem_asl.dylib
0x7fff923ee000 - 0x7fff923f5ff7 libcompiler_rt.dylib (62) /usr/lib/system/libcompiler_rt.dylib
0x7fff924e8000 - 0x7fff924e8ff7 libunc.dylib (29) /usr/lib/system/libunc.dylib
0x7fff92918000 - 0x7fff92921ff3 libsystem_notify.dylib (150.40.1) /usr/lib/system/libsystem_notify.dylib
0x7fff9301a000 - 0x7fff93047fff libdispatch.dylib (501.40.12) /usr/lib/system/libdispatch.dylib
0x7fff93ca4000 - 0x7fff93ca9ff7 libmacho.dylib (875.1) <318264FA-58F1-39D8-8285-1F6254EE410E> /usr/lib/system/libmacho.dylib
0x7fff944ce000 - 0x7fff944cfffb libremovefile.dylib (41) <552EF39E-14D7-363E-9059-4565AC2F894E> /usr/lib/system/libremovefile.dylib
0x7fff9472e000 - 0x7fff94737ff7 libsystem_pthread.dylib (138.10.4) <62FC23B9-1DEE-3918-A30D-A58EC95A0720> /usr/lib/system/libsystem_pthread.dylib
0x7fff94a3f000 - 0x7fff94a42fff libsystem_sandbox.dylib (460.60.4) <71D697CA-7339-37C7-8DAF-3BAA1D57B56A> /usr/lib/system/libsystem_sandbox.dylib
0x7fff950e3000 - 0x7fff950e5ff7 libquarantine.dylib (80) <5B351BEC-27CC-3935-82F3-A065CC764255> /usr/lib/system/libquarantine.dylib
0x7fff95228000 - 0x7fff95233ff7 libcommonCrypto.dylib (60075.50.1) /usr/lib/system/libcommonCrypto.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: 607130 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=108.5M resident=0K(0%) swapped_out_or_unallocated=108.5M(100%) Writable regions: Total=30.4M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=30.4M(100%)
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Activity Tracing 2048K 2 Kernel Alloc Once 4K 2 MALLOC 18.2M 8 MALLOC guard page 16K 4 Process Corpse Info 2048K 2 STACK GUARD 56.0M 2 Stack 8192K 2 VM_ALLOCATE 4K 2 DATA 1976K 44 LINKEDIT 95.3M 4 __TEXT 13.2M 44 shared memory 8K 3 =========== ======= ======= TOTAL 196.7M 107
Model: MacBookPro9,1, BootROM MBP91.00DA.B00, 4 processors, Intel Core i7, 2.3 GHz, 16 GB, SMC 2.1f175 Graphics: Intel HD Graphics 4000, Intel HD Graphics 4000, Built-In Graphics: NVIDIA GeForce GT 650M, NVIDIA GeForce GT 650M, PCIe, 512 MB Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x0198, 0x393930353432382D3133362E4130304C4620 Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x0198, 0x393930353432382D3133362E4130304C4620 AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF5), Broadcom BCM43xx 1.0 (7.21.95.178.1a2) Bluetooth: Version 4.4.6f4, 3 services, 27 devices, 1 incoming serial ports Network Service: Ethernet, Ethernet, en0 Serial ATA Device: Samsung SSD 850 EVO 500GB, 500.11 GB Serial ATA Device: MATSHITADVD-R UJ-8A8 USB Device: USB 2.0 Bus USB Device: Hub USB Device: FaceTime HD Camera (Built-in) USB Device: USB 2.0 Bus USB Device: Hub USB Device: Hub USB Device: Apple Internal Keyboard / Trackpad USB Device: IR Receiver USB Device: BRCM20702 Hub USB Device: Bluetooth USB Host Controller USB Device: USB 3.0 Bus USB Device: ASM107x USB Device: ASM107x USB Device: ASM107x USB Device: Kensington Slimblade Trackball USB Device: ASM107x USB Device: Backup+ Desk USB Device: Plantronics Savi 8200 Office Series USB Device: Goldtouch USB Keyboard USB Device: HD Pro Webcam C920 Thunderbolt Bus: MacBook Pro, Apple Inc., 25.1