Closed junjianglin closed 7 years ago
closing due to inactivity
I am also having this issue. I have installed the unox file from here https://raw.githubusercontent.com/hnsl/unox/d1d82763826db7adf177e1054dea80bdb7bbf401/unox.py and gave proper right. And have macfsevents installed. When I run
unison -ui text dev_desktop
I get
Fatal error: File monitoring helper program not running
then unison command terminates and I also get an OS X message "Python quit unexpectedly" with the following report:
Process: Python [5293] Path: /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: 2.7.13 (2.7.13) Code Type: X86-64 (Native) Parent Process: ??? [5291] Responsible: Python [5293] User ID: 2103985830
Date/Time: 2017-05-09 11:09:13.568 +0300 OS Version: Mac OS X 10.12.4 (16E195) Report Version: 12 Anonymous UUID: 6818CE60-AD52-2774-CECE-9EA2DFD5BDB6
Sleep/Wake UUID: DB8A3871-1062-4C7B-8EFE-AC9AA4256005
Time Awake Since Boot: 860000 seconds Time Since Wake: 7100 seconds
System Integrity Protection: enabled
Crashed Thread: 1
Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000100000000 Exception Note: EXC_CORPSE_NOTIFY
Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [0]
VM Regions Near 0x100000000: --> __TEXT 0000000103aa5000-0000000103aa7000 [ 8K] r-x/rwx SM=COW /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
Thread 0:: Dispatch queue: com.apple.main-thread 0 libsystem_kernel.dylib 0x00007fffb9494bf2 __psynch_cvwait + 10 1 libsystem_pthread.dylib 0x00007fffb958086e _pthread_cond_wait + 712 2 org.python.python 0x0000000103b5b060 PyThread_acquire_lock + 83 3 org.python.python 0x0000000103b2a549 PyEval_RestoreThread + 62 4 org.python.python 0x0000000103ac9dd7 get_line + 642 5 org.python.python 0x0000000103acb052 file_readline + 171 6 org.python.python 0x0000000103b2dbac PyEval_EvalFrameEx + 11238 7 org.python.python 0x0000000103b33b84 fast_function + 196 8 org.python.python 0x0000000103b2dae8 PyEval_EvalFrameEx + 11042 9 org.python.python 0x0000000103b2ade5 PyEval_EvalCodeEx + 1579 10 org.python.python 0x0000000103b33be2 fast_function + 290 11 org.python.python 0x0000000103b2dae8 PyEval_EvalFrameEx + 11042 12 org.python.python 0x0000000103b33b84 fast_function + 196 13 org.python.python 0x0000000103b2dae8 PyEval_EvalFrameEx + 11042 14 org.python.python 0x0000000103b2ade5 PyEval_EvalCodeEx + 1579 15 org.python.python 0x0000000103b2a7b4 PyEval_EvalCode + 32 16 org.python.python 0x0000000103b4bfdf run_mod + 49 17 org.python.python 0x0000000103b4c086 PyRun_FileExFlags + 130 18 org.python.python 0x0000000103b4bc03 PyRun_SimpleFileExFlags + 697 19 org.python.python 0x0000000103b5cee5 Py_Main + 3013 20 libdyld.dylib 0x00007fffb9366235 start + 1
Thread 1 Crashed: 0 org.python.python 0x0000000103b2dbb8 PyEval_EvalFrameEx + 11250 1 org.python.python 0x0000000103b2ade5 PyEval_EvalCodeEx + 1579 2 org.python.python 0x0000000103b33be2 fast_function + 290 3 org.python.python 0x0000000103b2dae8 PyEval_EvalFrameEx + 11042 4 org.python.python 0x0000000103b33b84 fast_function + 196 5 org.python.python 0x0000000103b2dae8 PyEval_EvalFrameEx + 11042 6 org.python.python 0x0000000103b33b84 fast_function + 196 7 org.python.python 0x0000000103b2dae8 PyEval_EvalFrameEx + 11042 8 org.python.python 0x0000000103b2ade5 PyEval_EvalCodeEx + 1579 9 org.python.python 0x0000000103ad1651 function_call + 330 10 org.python.python 0x0000000103ab3cda PyObject_Call + 97 11 org.python.python 0x0000000103abe4d5 instancemethod_call + 163 12 org.python.python 0x0000000103ab3cda PyObject_Call + 97 13 org.python.python 0x0000000103b33528 PyEval_CallObjectWithKeywords + 159 14 org.python.python 0x0000000103b5f084 t_bootstrap + 70 15 libsystem_pthread.dylib 0x00007fffb957f9af _pthread_body + 180 16 libsystem_pthread.dylib 0x00007fffb957f8fb _pthread_start + 286 17 libsystem_pthread.dylib 0x00007fffb957f101 thread_start + 13
Thread 2: 0 libsystem_pthread.dylib 0x00007fffb957f0e4 start_wqthread + 0
Thread 3: 0 libsystem_pthread.dylib 0x00007fffb957f0e4 start_wqthread + 0
Thread 4:: Dispatch queue: com.apple.root.default-qos.overcommit 0 libsystem_kernel.dylib 0x00007fffb948d34a mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fffb948c797 mach_msg + 55 2 libsystem_notify.dylib 0x00007fffb956b005 _notify_server_get_state + 144 3 libsystem_notify.dylib 0x00007fffb956e2d7 _notify_lib_init + 374 4 libsystem_notify.dylib 0x00007fffb9571b42 _notify_lib_regenerate + 65 5 libdispatch.dylib 0x00007fffb93308fc _dispatch_client_callout + 8 6 libdispatch.dylib 0x00007fffb9336672 _dispatch_mach_barrier_invoke + 521 7 libdispatch.dylib 0x00007fffb9345856 _dispatch_continuation_pop + 85 8 libdispatch.dylib 0x00007fffb9336b0c _dispatch_mach_send_drain + 207 9 libdispatch.dylib 0x00007fffb934a483 _dispatch_mach_send_barrier_drain_invoke + 353 10 libdispatch.dylib 0x00007fffb93467db _dispatch_queue_serial_drain + 443 11 libdispatch.dylib 0x00007fffb9335497 _dispatch_mach_invoke + 868 12 libdispatch.dylib 0x00007fffb933f020 _dispatch_queue_override_invoke + 369 13 libdispatch.dylib 0x00007fffb93326b5 _dispatch_root_queue_drain + 476 14 libdispatch.dylib 0x00007fffb933248c _dispatch_worker_thread3 + 99 15 libsystem_pthread.dylib 0x00007fffb957f616 _pthread_wqthread + 1299 16 libsystem_pthread.dylib 0x00007fffb957f0f1 start_wqthread + 13
Thread 1 crashed with X86 Thread State (64-bit): rax: 0x0000000103bb1eb8 rbx: 0x0000000100000000 rcx: 0x0000000000000103 rdx: 0x0000000000002064 rdi: 0x0000000000000000 rsi: 0x0000000000a74a00 rbp: 0x000070000bec6380 rsp: 0x000070000bec61c0 r8: 0x0000000000000040 r9: 0x00007fe031f01a60 r10: 0xffffffffffffffff r11: 0x0000000000002064 r12: 0x0000000103db22a3 r13: 0x0000000103bb1eb8 r14: 0x00000001042165f0 r15: 0x000000000000001e rip: 0x0000000103b2dbb8 rfl: 0x0000000000010206 cr2: 0x0000000100000000
Logical CPU: 3 Error Code: 0x00000006 Trap Number: 14
Binary Images:
0x103aa5000 - 0x103aa6fff +org.python.python (2.7.13 - 2.7.13) <465F3FA6-C708-3ECC-A708-34C02601B958> /usr/local/Cellar/python/2.7.13/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python
0x103aa9000 - 0x103b9cff7 +org.python.python (2.7.13, [c] 2001-2016 Python Software Foundation. - 2.7.13)
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: 19691780 thread_create: 0 thread_set_state: 0
VM Region Summary: ReadOnly portion of Libraries: Total=196.3M resident=0K(0%) swapped_out_or_unallocated=196.3M(100%) Writable regions: Total=60.5M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=60.5M(100%)
VIRTUAL REGION
REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Dispatch continuations 8192K 2 Kernel Alloc Once 8K 2 MALLOC 36.4M 9 MALLOC guard page 16K 4 STACK GUARD 56.0M 6 Stack 13.5M 6 VM_ALLOCATE 2304K 6 DATA 9.8M 158 LINKEDIT 114.8M 23 TEXT 81.5M 158 UNICODE 556K 2 shared memory 12K 4 =========== ======= ======= TOTAL 322.9M 368
Happens the same to me, but I don't get any stack trace only Fatal error: File monitoring helper program not running. What's even more strange is that it seemed to work just a couple of days ago, and now suddenly stopped working.
Looks like the python interpreter itself is crashing. Perhaps watchdog is corrupting the memory?
Try switching to Python 3 instead of using the ancient Python 2?
Same for me (I changed the shebang line of unison-fsmonitor to forcibly use Python 3).
@marciof how do you do that?
@maxisme, I don't have a Mac anymore to remember exactly what I did, but I think it was just editing the shebang line of that script to use python3
.
This still isn't working for me. Any updates?
@seawatts did you try what @marciof said?
Yes. Didn't work
Le ven. 23 mars 2018 à 17:50, Maximilian Mitchell notifications@github.com a écrit :
@seawatts http:///seawatts did you try what @marciof http:///marciof said?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/hnsl/unox/issues/11#issuecomment-375833761, or mute the thread https://github.com/notifications/unsubscribe-auth/ACDIwvM6-uhqw2BjDBbUoA2OclEj760Zks5thZhIgaJpZM4Kke5W .
Hi,
When I run unison and set the "repeat = watch", I am getting this error without any other useful debugging information, I found it is very weird. Do you have any ideas in you mind what may cause this issue? Thanks!