Hi. Since i upgraded to macOS Sierra i get a lot of "SPJS Disconnect"

Hi. Since i upgraded to macOS Sierra i get a lot of “SPJS Disconnect” errors.

fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x55954cbc5e7f pc=0x41173a0]

Does anybody have a similar problem? I am using Version:1.92 on macOS 10.12

Thanks a lot.

Screenshot would’ve helped as not sure who is giving you that error? Where it pops up? If it’s a Mac dialog, etc.

The “SPJS Disconnect” pops up in chrome above the server list.

These are the first two lines from the terminal output

“fatal error: unexpected signal during runtime execution
[signal 0xb code=0x1 addr=0x55954cbc5e7f pc=0x41173a0]”

This is the content of the serial-port-json-server_xxx.crash file

Process: serial-port-json-server [13610]
Path: /Volumes/VOLUME/*/serial-port-json-server
Identifier: serial-port-json-server
Version: 0
Code Type: X86-64 (Native)
Parent Process: bash [13604]
Responsible: serial-port-json-server [13610]
User ID: 501

Date/Time: 2016-09-24 13:27:51.479 +0200
OS Version: Mac OS X 10.12 (16A323)
Report Version: 12
Anonymous UUID: 00503087-6385-0E78-6FB4-30687A312ACC

Sleep/Wake UUID: B9E55337-7957-4C24-A94D-B91BDA5F8404

Time Awake Since Boot: 92000 seconds
Time Since Wake: 330 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x000053db8d4d4332
Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11
Termination Reason: Namespace SIGNAL, Code 0xb
Terminating Process: exc handler [0]

VM Regions Near 0x53db8d4d4332:
VM_ALLOCATE 000000c820100000-0000014820002000 [512.0G] -/rwx SM=NUL
–>
STACK GUARD 00007fff5bc00000-00007fff5f400000 [ 56.0M] -/rwx SM=NUL stack guard for thread 0

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 serial-port-json-server 0x000000000406ea0b runtime.unlock + 331 (lock_sema.go:107)

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x000053db8d4d4073 rbx: 0x000000000487dcc0 rcx: 0x000000000487dcc0 rdx: 0x000053db8d4d4072
rdi: 0x00007fff5fbff5d0 rsi: 0x0000000004d07000 rbp: 0x000053db8d4d4073 rsp: 0x00007fff5fbff6e0
r8: 0x0000000000000015 r9: 0x0000000000000010 r10: 0x0000000026e1b6c5 r11: 0x0000000096ee6e7a
r12: 0x0000538de30b6480 r13: 0x000053db72903688 r14: 0x14773ed1265f6600 r15: 0x0000000000000000
rip: 0x000000000406ea0b rfl: 0x0000000000010206 cr2: 0x000053db8d4d4332

Logical CPU: 0
Error Code: 0x00000004
Trap Number: 14

Binary Images:
0x4000000 - 0x4859fe3 +serial-port-json-server (0) <8E3FC7EC-84F8-3DA0-BA42-8EB8451F1140> /Volumes/VOLUME/*/serial-port-json-server
0xfd75000 - 0xfdb21c7 dyld (421.1) /usr/lib/dyld
0x7fff84ece000 - 0x7fff85361ff7 com.apple.CoreFoundation (6.9 - 1348.1) <2A35BE4F-BA5B-3C22-BCF1-CFBBA2786081> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff86ea8000 - 0x7fff86f3dfff com.apple.framework.IOKit (2.0.2 - 1324.1.7) <10BDCD1E-0463-3C53-BF11-C9A0919C1588> /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit
0x7fff8b1de000 - 0x7fff8b4f9fff com.apple.security (7.0 - 57740.1.18) /System/Library/Frameworks/Security.framework/Versions/A/Security
0x7fff987ee000 - 0x7fff987efff3 libDiagnosticMessagesClient.dylib (102) <422911A4-E273-3E88-BFC4-DF6470E48242> /usr/lib/libDiagnosticMessagesClient.dylib
0x7fff98a27000 - 0x7fff98a27fff libOpenScriptingUtil.dylib (172) /usr/lib/libOpenScriptingUtil.dylib
0x7fff98a2c000 - 0x7fff98a2dff3 libSystem.B.dylib (1238) <168B3C56-081B-3998-9A44-681EB4C6828F> /usr/lib/libSystem.B.dylib
0x7fff98ba3000 - 0x7fff98ba3ff3 libauto.dylib (187) <5BBF6A00-CC76-389D-84E7-CA88EDADE683> /usr/lib/libauto.dylib
0x7fff98ba4000 - 0x7fff98bb4ff3 libbsm.0.dylib (34) <20084796-B04D-3B35-A003-EA11459557A9> /usr/lib/libbsm.0.dylib
0x7fff98bb5000 - 0x7fff98bc3ff7 libbz2.1.0.dylib (38) <6FD3B63F-0F86-3A25-BD5B-E243F58792C9> /usr/lib/libbz2.1.0.dylib
0x7fff98bc4000 - 0x7fff98c1aff7 libc++.1.dylib (307.4) /usr/lib/libc++.1.dylib
0x7fff98c1b000 - 0x7fff98c45fff libc++abi.dylib (307.2) <1CEF8ABB-7E6D-3C2F-8E0A-E7884478DD23> /usr/lib/libc++abi.dylib
0x7fff98c6d000 - 0x7fff98c6dff7 libcoretls.dylib (121.1.1) /usr/lib/libcoretls.dylib
0x7fff98c6e000 - 0x7fff98c6fffb libcoretls_cfhelpers.dylib (121.1.1) /usr/lib/libcoretls_cfhelpers.dylib
0x7fff99078000 - 0x7fff99078fff libenergytrace.dylib (15) /usr/lib/libenergytrace.dylib
0x7fff99181000 - 0x7fff993a6fff libicucore.A.dylib (57131.0.1) <72594943-D25E-3F70-A4AC-8E9F9F442B7E> /usr/lib/libicucore.A.dylib
0x7fff993ae000 - 0x7fff993c7ffb liblzma.5.dylib (10) <44BD0279-99DD-36B5-8A6E-C11432E2098D> /usr/lib/liblzma.5.dylib
0x7fff99734000 - 0x7fff99b09127 libobjc.A.dylib (706) <47104A1B-13E8-369F-BC36-27FF465809FD> /usr/lib/libobjc.A.dylib
0x7fff99b0c000 - 0x7fff99b10fff libpam.2.dylib (21) <352F8FF6-2248-3594-B357-8D031DEFB06C> /usr/lib/libpam.2.dylib
0x7fff99bcb000 - 0x7fff99d0cffb libsqlite3.dylib (252) /usr/lib/libsqlite3.dylib
0x7fff99dfd000 - 0x7fff99e0afff libxar.1.dylib (354) /usr/lib/libxar.1.dylib
0x7fff99e0e000 - 0x7fff99efdffb libxml2.2.dylib (30.11) <26676155-64CE-323F-B73C-AD77AF5982E8> /usr/lib/libxml2.2.dylib
0x7fff99f28000 - 0x7fff99f39ff3 libz.1.dylib (67) <46E3FFA2-4328-327A-8D34-A03E20BFFB8E> /usr/lib/libz.1.dylib
0x7fff99f48000 - 0x7fff99f4cff7 libcache.dylib (79) <84E55656-FDA9-3B29-9E4F-BE31B2C0AA3C> /usr/lib/system/libcache.dylib
0x7fff99f4d000 - 0x7fff99f57fff libcommonCrypto.dylib (60092.1.2) <79F738D8-0AD7-3DEA-AF80-E0F8B90B74E3> /usr/lib/system/libcommonCrypto.dylib
0x7fff99f58000 - 0x7fff99f5ffff libcompiler_rt.dylib (62) <486BDE52-81B4-3446-BD72-23977CAE556F> /usr/lib/system/libcompiler_rt.dylib
0x7fff99f60000 - 0x7fff99f68fff libcopyfile.dylib (138) <0DA49B77-56EC-362D-98FF-FA78CFD986D6> /usr/lib/system/libcopyfile.dylib
0x7fff99f69000 - 0x7fff99febff3 libcorecrypto.dylib (442.1.3) <1CA8B679-810E-3C04-945A-4AC19372CDC7> /usr/lib/system/libcorecrypto.dylib
0x7fff99fec000 - 0x7fff9a01efff libdispatch.dylib (703.1.4) <12B1D95B-283D-325D-85AB-29A2FFD36987> /usr/lib/system/libdispatch.dylib
0x7fff9a01f000 - 0x7fff9a024ff3 libdyld.dylib (421.1) /usr/lib/system/libdyld.dylib
0x7fff9a025000 - 0x7fff9a025ffb libkeymgr.dylib (28) <09CD7CA6-46D2-3A9F-B9F1-7C4CA5CA0D68> /usr/lib/system/libkeymgr.dylib
0x7fff9a026000 - 0x7fff9a032ffb libkxld.dylib (3789.1.32) <48BDBE7F-AAE6-3050-9017-6959051CF16A> /usr/lib/system/libkxld.dylib
0x7fff9a033000 - 0x7fff9a033fff liblaunch.dylib (972.1.5) /usr/lib/system/liblaunch.dylib
0x7fff9a034000 - 0x7fff9a039fff libmacho.dylib (894) <1EAE5ADD-490C-3B1F-9F97-447BA8E0E90F> /usr/lib/system/libmacho.dylib
0x7fff9a03a000 - 0x7fff9a03cff3 libquarantine.dylib (85) <78EF62D8-C890-3FC0-937A-C2FD8CEF8992> /usr/lib/system/libquarantine.dylib
0x7fff9a03d000 - 0x7fff9a03effb libremovefile.dylib (45) /usr/lib/system/libremovefile.dylib
0x7fff9a03f000 - 0x7fff9a057ff7 libsystem_asl.dylib (349.1.1) /usr/lib/system/libsystem_asl.dylib
0x7fff9a058000 - 0x7fff9a058ff7 libsystem_blocks.dylib (67) /usr/lib/system/libsystem_blocks.dylib
0x7fff9a059000 - 0x7fff9a0e6fe7 libsystem_c.dylib (1158.1.2) <5F260836-48E4-3F57-8553-62D2DA228A1F> /usr/lib/system/libsystem_c.dylib
0x7fff9a0e7000 - 0x7fff9a0eaffb libsystem_configuration.dylib (888.1.2) <67BB9D8B-2430-38AD-81A7-F0EC924B2590> /usr/lib/system/libsystem_configuration.dylib
0x7fff9a0eb000 - 0x7fff9a0eefff libsystem_coreservices.dylib (41.1) <11F22E6C-0DCB-3699-A4F0-C99E301E56E9> /usr/lib/system/libsystem_coreservices.dylib
0x7fff9a0ef000 - 0x7fff9a107ffb libsystem_coretls.dylib (121.1.1) <8F7E9B12-400D-3276-A9C5-4546B0258554> /usr/lib/system/libsystem_coretls.dylib
0x7fff9a108000 - 0x7fff9a10efff libsystem_dnssd.dylib (765.1.2) /usr/lib/system/libsystem_dnssd.dylib
0x7fff9a10f000 - 0x7fff9a138fff libsystem_info.dylib (503) /usr/lib/system/libsystem_info.dylib
0x7fff9a139000 - 0x7fff9a15bff7 libsystem_kernel.dylib (3789.1.32) <5C68A0D7-C3C9-3E52-B983-EDE9A28AB6FC> /usr/lib/system/libsystem_kernel.dylib
0x7fff9a15c000 - 0x7fff9a1a3fe7 libsystem_m.dylib (3121.4) /usr/lib/system/libsystem_m.dylib
0x7fff9a1a4000 - 0x7fff9a1c2ff7 libsystem_malloc.dylib (116) <3DD17B88-B7A4-38B9-9E95-AB88E1C3B647> /usr/lib/system/libsystem_malloc.dylib
0x7fff9a1c3000 - 0x7fff9a219fff libsystem_network.dylib (856.1.8) /usr/lib/system/libsystem_network.dylib
0x7fff9a21a000 - 0x7fff9a223ff3 libsystem_networkextension.dylib (563.1.11) <1C551832-9360-36DD-A7BA-52B55A171720> /usr/lib/system/libsystem_networkextension.dylib
0x7fff9a224000 - 0x7fff9a22dffb libsystem_notify.dylib (165) /usr/lib/system/libsystem_notify.dylib
0x7fff9a22e000 - 0x7fff9a236fe7 libsystem_platform.dylib (126.1.2) <884DDF42-3CAE-334A-82CE-965617130FB1> /usr/lib/system/libsystem_platform.dylib
0x7fff9a237000 - 0x7fff9a241fff libsystem_pthread.dylib (218.1.3) <050AE77B-4F4B-334A-A5BA-CF0D10AF5304> /usr/lib/system/libsystem_pthread.dylib
0x7fff9a242000 - 0x7fff9a245fff libsystem_sandbox.dylib (592.1.3) <90FEF628-316D-3F84-9EF4-F7F510A4FBBB> /usr/lib/system/libsystem_sandbox.dylib
0x7fff9a246000 - 0x7fff9a247fff libsystem_secinit.dylib (24) /usr/lib/system/libsystem_secinit.dylib
0x7fff9a248000 - 0x7fff9a24ffff libsystem_symptoms.dylib (532.1.1) /usr/lib/system/libsystem_symptoms.dylib
0x7fff9a250000 - 0x7fff9a270ff7 libsystem_trace.dylib (518.1.16) /usr/lib/system/libsystem_trace.dylib
0x7fff9a271000 - 0x7fff9a276ffb libunwind.dylib (35.3) <9F7C2AD8-A9A7-3DE4-828D-B0F0F166AAA0> /usr/lib/system/libunwind.dylib
0x7fff9a277000 - 0x7fff9a2a0ff7 libxpc.dylib (972.1.5) <2A901937-48E1-3BF2-83F1-2431156D82B7> /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: 48471
thread_create: 0
thread_set_state: 0

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

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced)
=========== ======= =======
Kernel Alloc Once 8K 2
MALLOC 9396K 8
MALLOC guard page 16K 4
STACK GUARD 56.0M 2
Stack 8192K 2
VM_ALLOCATE 544.5G 6
VM_ALLOCATE (reserved) 1056K 2 reserved VM address space (unallocated)
__DATA 3584K 61
__DWARF 3180K 2
__LINKEDIT 112.4M 4
__TEXT 29.3M 60
__UNICODE 556K 2
shared memory 8K 3
=========== ======= =======
TOTAL 544.7G 145
TOTAL, minus reserved VM space 544.7G 145

I will send some screenshots tomorrow when i am back in my workshop.

I presume you compiled this on your own since 1.92 Mac version I never released because I have no Mac to compile on and Apple doesn’t allow virtual machines such that guys like me can compile for them. If so, it would seem this is a bad compile.

Hi John, you are right. I build a new version with latest Xcode / go on MacOS Sierra and it seems to work fine now. Thanks

Would you possibly be able to send me the compiled binary so I can put it up on the Github releases so other Mac folks can use it? jlauer12@gmail.com or a pull request to Github.

Yes sure. Its on its way to jlauer12@gmail.com as zip attachment.

Having the same problem. Has it been put on the Github yet John? Is it possible to get a copy?

Yes, it’s in the release tab of the serial port json server repo on Github.

Got it, Thanks!

Had the same problem.

Loop Masta, thank you for making a version that works in Sierra.

John Lauer, I want to thank you for creating ChiliPeppr and allowing the general community access to it. Also thank you for all the post support.

+Michael Higa you’re welcome