sharppy / SHARPpy

Sounding/Hodograph Analysis and Research Program in Python
https://sharppy.github.io/SHARPpy/index.html
Other
216 stars 112 forks source link

SHARPpy crashes on launch on macOS Sierra #101

Closed jonblatho closed 7 years ago

jonblatho commented 7 years ago

I know 10.12’s probably not officially supported yet, but I figured I’d let you know that the precompiled binary crashes on launch on the latest build (16A313a) of macOS Sierra.

Here’s the information given in the crash dialog.

wblumberg commented 7 years ago

Good to know! Thanks for the heads up.

jaredwsmith commented 7 years ago

Howdy! Unfortunately, this crash is still an issue on 10.12.1. Crash data:

Process:               SHARPpy [12165]
Path:                  /Applications/SHARPpy.app/Contents/MacOS/SHARPpy
Identifier:            SHARPpy
Version:               ???
Code Type:             X86-64 (Native)
Parent Process:        ??? [1]
Responsible:           SHARPpy [12165]
User ID:               501

Date/Time:             2016-10-30 15:13:00.616 -0400
OS Version:            Mac OS X 10.12.1 (16B2555)
Report Version:        12
Anonymous UUID:        9403DFF2-8559-208C-15A8-F7E604FC2B38

Sleep/Wake UUID:       785CC1F4-4FD7-488F-A7C7-254E9FF87D82

Time Awake Since Boot: 83000 seconds
Time Since Wake:       2200 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_CRASH (SIGKILL)
Exception Codes:       0x0000000000000000, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Reason:    EXEC, [0xc] This UPX compressed binary contains an invalid Mach-O header and cannot be loaded.

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   libsystem_kernel.dylib          0x00007fffb83bdbb2 __posix_spawn + 10
1   libsystem_kernel.dylib          0x00007fffb83b8ef2 posix_spawn + 386
2   xpcproxy                        0x0000000102d4fd6d 0x102d4d000 + 11629
3   xpcproxy                        0x0000000102d5098a 0x102d4d000 + 14730
4   libdyld.dylib                   0x00007fffb828f255 start + 1

Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x000000000000000d  rbx: 0x0000000000000000  rcx: 0x00007fff5ceb2388  rdx: 0x00007fff5ceb23a0
  rdi: 0x0000000000000000  rsi: 0x00007f8d0fc02825  rbp: 0x00007fff5ceb2430  rsp: 0x00007fff5ceb2388
   r8: 0x00007f8d0fc03e20   r9: 0x00007f8d0fc03e20  r10: 0x00007f8d0fc02440  r11: 0x0000000000000202
  r12: 0x00007f8d0fc02440  r13: 0x00007f8d0fc02825  r14: 0x00007fff5ceb2950  r15: 0x00007fff5ceb2958
  rip: 0x00007fffb83bdbb2  rfl: 0x0000000000000203  cr2: 0x00007fffc0f8a0a8

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

Binary Images:
       0x102d4d000 -        0x102d51fff  xpcproxy (2.0.0 - 972.20.3) <4A173B59-A786-3CBF-9740-CFC693060FEF> /usr/libexec/xpcproxy
       0x10dbd9000 -        0x10dc16287  dyld (421.2) <13A9466A-2576-3ABB-AD9D-D6BC16439B8F> /usr/lib/dyld
    0x7fffb6cf8000 -     0x7fffb6cf9ff3  libSystem.B.dylib (1238) <CFC3669C-FB44-3A51-8815-1E84A168F3C5> /usr/lib/libSystem.B.dylib
    0x7fffb6e09000 -     0x7fffb6e09ff3  libauto.dylib (187) <5BBF6A00-CC76-389D-84E7-CA88EDADE683> /usr/lib/libauto.dylib
    0x7fffb6e2a000 -     0x7fffb6e80ff7  libc++.1.dylib (307.4) <BEE86868-F831-384C-919E-2B286ACFE87C> /usr/lib/libc++.1.dylib
    0x7fffb6e81000 -     0x7fffb6eabfff  libc++abi.dylib (307.2) <1CEF8ABB-7E6D-3C2F-8E0A-E7884478DD23> /usr/lib/libc++abi.dylib
    0x7fffb799c000 -     0x7fffb7d6cd97  libobjc.A.dylib (706) <F9AFE665-A3A2-3285-9495-19803A565861> /usr/lib/libobjc.A.dylib
    0x7fffb81b3000 -     0x7fffb81b7ff7  libcache.dylib (79) <84E55656-FDA9-3B29-9E4F-BE31B2C0AA3C> /usr/lib/system/libcache.dylib
    0x7fffb81b8000 -     0x7fffb81c2fff  libcommonCrypto.dylib (60092.20.1) <31040F10-5E57-3B9C-8D5B-33AD87D1BEE8> /usr/lib/system/libcommonCrypto.dylib
    0x7fffb81c3000 -     0x7fffb81cafff  libcompiler_rt.dylib (62) <486BDE52-81B4-3446-BD72-23977CAE556F> /usr/lib/system/libcompiler_rt.dylib
    0x7fffb81cb000 -     0x7fffb81d3fff  libcopyfile.dylib (138) <0DA49B77-56EC-362D-98FF-FA78CFD986D6> /usr/lib/system/libcopyfile.dylib
    0x7fffb81d4000 -     0x7fffb8256fdb  libcorecrypto.dylib (442.20.2) <2684CC01-087E-33E2-8219-AAA3BBD9BFD7> /usr/lib/system/libcorecrypto.dylib
    0x7fffb8257000 -     0x7fffb8289fff  libdispatch.dylib (703.20.1) <877B505D-826C-3246-84F7-0F850636039E> /usr/lib/system/libdispatch.dylib
    0x7fffb828a000 -     0x7fffb828fff3  libdyld.dylib (421.2) <7BFA3476-6210-3BCB-8CE8-9B952F87BD84> /usr/lib/system/libdyld.dylib
    0x7fffb8290000 -     0x7fffb8290ffb  libkeymgr.dylib (28) <09CD7CA6-46D2-3A9F-B9F1-7C4CA5CA0D68> /usr/lib/system/libkeymgr.dylib
    0x7fffb829e000 -     0x7fffb829efff  liblaunch.dylib (972.20.3) <7AB2E2EA-8B47-3420-87CE-5EE18A4EEE49> /usr/lib/system/liblaunch.dylib
    0x7fffb829f000 -     0x7fffb82a4fff  libmacho.dylib (894) <1EAE5ADD-490C-3B1F-9F97-447BA8E0E90F> /usr/lib/system/libmacho.dylib
    0x7fffb82a5000 -     0x7fffb82a7ff3  libquarantine.dylib (85) <F3E47D7C-8776-327C-9426-DD7DEB30DBDD> /usr/lib/system/libquarantine.dylib
    0x7fffb82a8000 -     0x7fffb82a9ffb  libremovefile.dylib (45) <C4FC07FF-ED86-382E-B06F-33C34718080C> /usr/lib/system/libremovefile.dylib
    0x7fffb82aa000 -     0x7fffb82c2ff7  libsystem_asl.dylib (349.1.1) <F0987490-8427-367F-B302-A05A7D61FEBF> /usr/lib/system/libsystem_asl.dylib
    0x7fffb82c3000 -     0x7fffb82c3ff7  libsystem_blocks.dylib (67) <B8C3701D-5A91-3D35-999D-2DC8D5393525> /usr/lib/system/libsystem_blocks.dylib
    0x7fffb82c4000 -     0x7fffb8351fef  libsystem_c.dylib (1158.20.4) <5F9531F5-EDA3-3D25-A827-3E0FD6B392BA> /usr/lib/system/libsystem_c.dylib
    0x7fffb8352000 -     0x7fffb8355ffb  libsystem_configuration.dylib (888.20.5) <CDC55FCB-C1FC-350D-A919-5DBCFC835B63> /usr/lib/system/libsystem_configuration.dylib
    0x7fffb8356000 -     0x7fffb8359fff  libsystem_coreservices.dylib (41.2) <5DE691C6-7EE6-3210-895D-9EA3ECBC09B4> /usr/lib/system/libsystem_coreservices.dylib
    0x7fffb835a000 -     0x7fffb8372ffb  libsystem_coretls.dylib (121.1.1) <8F7E9B12-400D-3276-A9C5-4546B0258554> /usr/lib/system/libsystem_coretls.dylib
    0x7fffb8373000 -     0x7fffb8379fff  libsystem_dnssd.dylib (765.20.4) <28E52C39-DF10-340F-A3EC-C0119AF6361F> /usr/lib/system/libsystem_dnssd.dylib
    0x7fffb837a000 -     0x7fffb83a3fff  libsystem_info.dylib (503) <C686B834-5E7D-382C-AF6E-44AB78EE83E2> /usr/lib/system/libsystem_info.dylib
    0x7fffb83a4000 -     0x7fffb83c6ff7  libsystem_kernel.dylib (3789.21.3) <EC53F92A-0DFA-3027-A220-414A01F17B2E> /usr/lib/system/libsystem_kernel.dylib
    0x7fffb83c7000 -     0x7fffb840efe7  libsystem_m.dylib (3121.4) <7F86C291-B105-31C1-9923-90EBAB22B73F> /usr/lib/system/libsystem_m.dylib
    0x7fffb840f000 -     0x7fffb842dff7  libsystem_malloc.dylib (116) <F9840080-4C2C-3F3B-8087-7C738F12A1C7> /usr/lib/system/libsystem_malloc.dylib
    0x7fffb842e000 -     0x7fffb8485ff3  libsystem_network.dylib (856.20.4) <2BAFB24F-999C-3148-BDD8-F28E05F716F7> /usr/lib/system/libsystem_network.dylib
    0x7fffb8486000 -     0x7fffb848fff3  libsystem_networkextension.dylib (563.20.3) <971DD3AD-D17A-32FF-95DE-0A5A979E68AE> /usr/lib/system/libsystem_networkextension.dylib
    0x7fffb8490000 -     0x7fffb8499ff3  libsystem_notify.dylib (165.20.1) <EAD023A2-AD3F-31C8-9489-274B9A42DA61> /usr/lib/system/libsystem_notify.dylib
    0x7fffb849a000 -     0x7fffb84a2fe7  libsystem_platform.dylib (126.1.2) <2F2D6A81-C36C-353D-B27B-A6643A32375E> /usr/lib/system/libsystem_platform.dylib
    0x7fffb84a3000 -     0x7fffb84adff7  libsystem_pthread.dylib (218.20.1) <46375095-4731-3034-9D87-396DE95FC697> /usr/lib/system/libsystem_pthread.dylib
    0x7fffb84ae000 -     0x7fffb84b1ff7  libsystem_sandbox.dylib (592.21.2) <2D42A2BF-A7AF-352A-A821-D8F6E85A63AC> /usr/lib/system/libsystem_sandbox.dylib
    0x7fffb84b2000 -     0x7fffb84b3fff  libsystem_secinit.dylib (24) <A54B8FEF-E792-3C54-8E0B-E80A376662F2> /usr/lib/system/libsystem_secinit.dylib
    0x7fffb84b4000 -     0x7fffb84bbfff  libsystem_symptoms.dylib (532.1.1) <8FB7CA37-79EF-3651-B5B9-B5E1E0947067> /usr/lib/system/libsystem_symptoms.dylib
    0x7fffb84bc000 -     0x7fffb84dcff7  libsystem_trace.dylib (518.20.8) <C029B910-A65F-35F6-B194-B933B454EAB4> /usr/lib/system/libsystem_trace.dylib
    0x7fffb84dd000 -     0x7fffb84e2ffb  libunwind.dylib (35.3) <9F7C2AD8-A9A7-3DE4-828D-B0F0F166AAA0> /usr/lib/system/libunwind.dylib
    0x7fffb84e3000 -     0x7fffb850cff7  libxpc.dylib (972.20.3) <85EB25FD-218F-38EE-9E69-391CC8EBE6C5> /usr/lib/system/libxpc.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: 50155
    thread_create: 0
    thread_set_state: 0

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

                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Kernel Alloc Once                    8K        2 
MALLOC                            11.2M        8 
MALLOC guard page                   16K        4 
STACK GUARD                       56.0M        2 
Stack                             8192K        2 
VM_ALLOCATE                          4K        2 
__DATA                            1460K       43 
__LINKEDIT                       111.5M        4 
__TEXT                            8088K       42 
shared memory                       12K        4 
===========                     =======  ======= 
TOTAL                            196.1M      103 
wblumberg commented 7 years ago

Hi Jared. We'd recommend trying to install the program straight from source. We're working off of some older Macs and haven't been able to update to Sierra yet for various reasons. It looks like for the binaries to work on Sierra we'll have to recompile them underneath the Sierra OS. We might wait till Andover is finished to do this...I'm not sure since we're going to be a little busy in the next week or so. Thanks for the heads up! We appreciate knowing where things are broken.

russ-schumacher commented 7 years ago

I just wanted to bring this back up -- I have the same issue (with the same error messages) as noted above on Sierra. Would be happy to help test new binaries if you're able to build them. :)

mhaake2 commented 7 years ago

I haven't been able to use this for months and I really wish I could because it is very useful

wblumberg commented 7 years ago

Hi everyone...I spoke with @tsupinie about this today, and we'll be trying to get a new binary for Sierra in the next week or so..

wblumberg commented 7 years ago

Okay, we have a new binary that we should be uploading today or tomorrow. It works on Sierra and has support for high-resolution displays (e.g., retina.)

tsupinie commented 7 years ago

Okay, all, I've uploaded a new binary that should be compatible with all recent versions of OS X. You can download and try it here:

https://github.com/sharppy/SHARPpy/releases/download/v1.3.0-Xenia-beta/sharppy-osx-64.zip

russ-schumacher commented 7 years ago

Finally got to give it a try, and it appears to be working great for me -- thanks for making it available!

On Wed, Mar 8, 2017 at 9:31 PM Tim Supinie notifications@github.com wrote:

Okay, all, I've uploaded a new binary that should be compatible with all recent versions of OS X. You can download and try it here:

https://github.com/sharppy/SHARPpy/releases/download/v1.3.0-Xenia-beta/sharppy-osx-64.zip

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/sharppy/SHARPpy/issues/101#issuecomment-285251893, or mute the thread https://github.com/notifications/unsubscribe-auth/ARkqBy_vehViKTI0X1ZkrjL18kpfsbH0ks5rj4CrgaJpZM4JyOjQ .

tsupinie commented 7 years ago

Great! You're welcome!