hey - this might be silly problem but I've been tr...
# general
c
hey - this might be silly problem but I've been trying to fix it for 3 weeks and I feel a bit defeated. I had to do a complete wipe of my mac and install everything again. Since then my pants set up is not working. I'm so lost I'm not sure I understand what's the actual issue as I've been surfing from one error to the next. The one I'm getting now is:
f
failed with -9
suggests something is sending a SIGKILL to it. do you have any errors in your
/var/log/system.log
?
c
yes,
(com.apple.mdworker.shared.06000000-0300-0000-0000-000000000000[20284]): Service exited due to SIGKILL | sent by mds[125]
f
mds
is the Spotlight daemon
maybe try disabling spotlight indexing temporarily:
Copy code
sudo mdutil -a -i off
although it is not clear that SIGKILL was sent to Pants-related stuff
which python install are you using? the system python or something else like a brew or pyenv install?
if using the system Python, I would suggest using another Python install to see if it is a data corruption in the system Python
c
it doesn't look like it's targetting pants, it's logging every few seconsds. This is the log in system.log
Copy code
Oct  6 17:29:45 ip-192-168-1-5 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.06000000-0300-0000-0000-000000000000[20304]): Service exited due to SIGKILL | sent by mds[125]
Oct  6 17:29:45 ip-192-168-1-5 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.03000000-0400-0000-0000-000000000000[20305]): Service exited due to SIGKILL | sent by mds[125]
Oct  6 17:29:45 ip-192-168-1-5 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0D000000-0600-0000-0000-000000000000[20298]): Service exited due to SIGKILL | sent by mds[125]
Oct  6 17:29:52 ip-192-168-1-5 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.07000000-0500-0000-0000-000000000000[20309]): Service exited due to SIGKILL | sent by mds[125]
Oct  6 17:29:52 ip-192-168-1-5 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0700-0000-0000-000000000000[20311]): Service exited due to SIGKILL | sent by mds[125]
Oct  6 17:30:29 ip-192-168-1-5 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0B000000-0300-0000-0000-000000000000[20310]): Service exited due to SIGKILL | sent by mds[125]
Oct  6 17:31:20 ip-192-168-1-5 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.0C000000-0600-0000-0000-000000000000[20303]): Service exited due to SIGKILL | sent by mds[125]
Oct  6 17:31:28 ip-192-168-1-5 com.apple.xpc.launchd[1] (com.apple.mdworker.shared.01000000-0000-0000-0000-000000000000[20316]): Service exited due to SIGKILL | sent by mds[125]
now I was just trying to run
./pants test insights::
which as far as I know uses only pip. But pip alone is working fine. So if I run
pip install...
no issues
f
and looking at my system’s
/var/log/system.log
. it has similar
mds
daemon kill messages.
c
fair enough, and good to know that's what normal looks like 😅
f
are there any messages in the output from
dmesg
?
although the OOM killer discussion there is Linux-specific
but
dmesg
should dump the kernel log
c
in the log file? Nothing from
dmesg
f
hmm my motivation in asking the questions was to see if the kernel was involved in killing the process, say for memory, disk, or logic board issues. You said you had to reinstall. Any particular reason?
c
yes, so one day I woke up and apparently a Mac OS update had broken my compiler (from the research I could do on stackoverflow). I try to manually fix the headers but no luck so I wiped everything
since then a lot of things are back to normal but pants is the only thing I couldn't make to work again
f
you could reinstall again (as annoying as that is). this issue is some sort of corruption but it does not seem pants-specific. frankly I suspect SSD or logic board failure. If there is a way to run a memory test or SSD test on macOS, I would recommend doing that as well. I had similar “random” kills on a macOS laptop years ago before it just bricked itself.
1
c
oh mighty 😱 ok, it's my work laptop so it might be time to ask a new one
🤞 1
f
I agree, let your IT department figure out if the laptop is worth saving while you move on with a nice newer one 🙂
c
thank you so so much for your time :)
👍 1