First ever server crash?

Posted on
Sat May 19, 2018 11:49 am
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

First ever server crash?

I was in a remote LAN indigo client, adding a note about the battery type to a contact sensor, and suddenly lost connection with the server. So did another device.

Logged in via remote desktop to to the Indigo host and confirmed the server was no longer running.

Checked the log. This is all I see. Obviously the third line is where I restart the server.
Code: Select all
2018-05-19 13:37:36.976   Error   XML Parse Error: instantiation error 4
2018-05-19 13:37:36.978   Error   On character 111 of line number 1.
2018-05-19 13:40:13.399   Application   Starting Indigo Server version 7.1.1 (Mac OS X 10.12.6)


Nothing unusual going on with the server at the time. The lines before the ones above are just events as usual.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sat May 19, 2018 2:17 pm
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: First ever server crash?

Is there a crash log for the IndigoServer process?

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sat May 19, 2018 2:23 pm
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: First ever server crash?

Sorry, but after looking around in console and in the /Perceptive Automation/Indigo 7/Logs folder, I don't see anything. Is there somewhere else I should look?

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sat May 19, 2018 2:29 pm
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: First ever server crash?

ok, maybe this is what you are looking for:
Code: Select all
May 19 13:33:24 Indigo com.apple.xpc.launchd[1] (com.apple.imfoundation.IMRemoteURLConnectionAgent): Unknown key for integer: _DirtyJetsamMemoryLimit
May 19 13:35:04 Indigo com.apple.xpc.launchd[1] (com.apple.quicklook[26755]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.quicklook
May 19 13:37:36 Indigo IndigoServer[378]: Error   XML Parse Error: instantiation error 4
May 19 13:37:36 Indigo IndigoServer[378]: Error   On character 111 of line number 1.
May 19 13:37:36 Indigo IndigoServer[378]: IndigoServer(378,0xa6f551c0) malloc: *** error for object 0x7b049e74: incorrect checksum for freed object - object was probably modified after being freed.
May 19 13:37:37 Indigo IndigoPluginHost[13451]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[533]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[426]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[15744]: Hue Lights - Error in plugin execution runConcurrentThread:
May 19 13:37:37 Indigo IndigoPluginHost[15744]: Hue Lights - plugin runConcurrentThread function returned or failed (will attempt again in 10 seconds)
May 19 13:37:37 Indigo IndigoPluginHost[15744]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[432]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[414]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[24818]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[416]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[13451]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[414]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[24818]: Script - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[422]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[532]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[417]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[416]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[432]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[422]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[15744]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[427]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[427]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[418]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[509]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[428]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[512]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[512]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[429]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[511]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[534]: Virtual Devices - Error in plugin execution ServerReplacedElem:
May 19 13:37:37 Indigo IndigoPluginHost[534]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[534]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[510]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[417]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[428]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[420]: HomeKit Bridge - Exception in homekit.__init__ line 725: ServerRequestError -- server request canceled
                         CODE: if indigo.devices[objId].pluginId != "":
May 19 13:37:37 Indigo IndigoPluginHost[420]: HomeKit Bridge - Exception in homekit.setAttributes line 960: 'service_Switch' object has no attribute 'alias'
May 19 13:37:37 Indigo IndigoPluginHost[420]: HomeKit Bridge - Exception in homekit.getServiceObject line 180: 'service_Switch' object has no attribute 'alias'
May 19 13:37:37 Indigo IndigoPluginHost[420]: HomeKit Bridge - Exception in plugin.onAfter_nonpluginDeviceUpdated line 661: 'NoneType' object has no attribute 'actions'
May 19 13:37:37 Indigo IndigoPluginHost[420]: connection to server failed or was dropped
May 19 13:37:37 Indigo IndigoPluginHost[420]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[429]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[426]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo com.apple.xpc.launchd[1] (com.apple.ReportCrash[26758]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.ReportCrash
May 19 13:37:37 Indigo IndigoPluginHost[509]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[533]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[15744]: Hue Lights - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[532]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[418]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[432]: WUnderground 7 - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[426]: Matplotlib - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[511]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[422]: Harmony Hub - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[510]: Quitting Indigo Plugin Host - received quit signal
May 19 13:37:37 Indigo IndigoPluginHost[427]: Nanoleaf - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[417]: Airfoil Pro - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[428]: Scale Adapters - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[429]: Timers and Pesters - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[512]: iTunes - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[532]: LED Simple Effects - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[414]: Action Collection - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[511]: INSTEON Commands - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[534]: Virtual Devices - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[510]: EPS - Smart Dimmer - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[418]: Domotics Pad Mobile Client - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[509]: EPS - Device Extensions - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[533]: uniFiAP - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[13451]: Grafana Home Dashboard - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:37 Indigo IndigoPluginHost[416]: Z-Wave - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:38 Indigo IndigoPluginHost[420]: HomeKit Bridge - Error in plugin execution _preShutdown:
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 379, in _preShutdown
     File "/Library/Application Support/Perceptive Automation/Indigo 7/IndigoPluginHost.app/Contents/PlugIns/plugin_base.py", line 1203, in _triggerEnumAndStopProcessing
May 19 13:37:38 Indigo IndigoPluginHost[420]: HomeKit Bridge - Exception in plugin.onAfter_shutdown line 400: ServerCommunicationError -- server connection not open
                         CODE: for dev in indigo.devices.iter(self.pluginId + ".Server"):
May 19 13:38:58 Indigo syslogd[46]: ASL Sender Statistics
May 19 13:39:07 Indigo com.apple.xpc.launchd[1] (com.apple.screensharing[26769]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.screensharing.server
May 19 13:39:15 Indigo com.apple.xpc.launchd[1] (com.apple.CoreLocationAgent[26774]): Endpoint has been activated through legacy launch(3) APIs. Please switch to XPC or bootstrap_check_in(): com.apple.CoreLocation.agent

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun May 20, 2018 10:57 am
jay (support) offline
Site Admin
User avatar
Posts: 18199
Joined: Mar 19, 2008
Location: Austin, Texas

Re: First ever server crash?

To find the crash files, you can run Console app which will display all the system messages. If any specific application crashed, look in User Reports. Look for any named IndigoServer or IndigoPluginHost. Once you have found the crash file, you can right-click it and select Reveal in Finder (usually located in ~/Library/Logs/DiagnosticReports). Email the crash log file to us and reference this thread. If there isn't one then just reply here.

Jay (Indigo Support)
Twitter | Facebook | LinkedIn

Posted on
Sun May 20, 2018 11:22 am
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: First ever server crash?

Sent!

And thanks again.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Posted on
Sun May 20, 2018 11:41 am
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: First ever server crash?

I just analyzed the crash log file you emailed us. This was a pretty strange one. An Indigo client (or plugin) had just requested information on a device (totally normal; happens a ton) and the Indigo Server was building up the information to send back when it crashed trying to allocate a bit of memory. The kernel detected that some freed memory had been modified after being freed. So the crash happened a bit after-the-fact which makes it very difficult to track down. There is a small possibility some of your Mac's memory is going bad, but more likely it is a bug.

Anyhow, please let us know if you get another crash (and/or steps to reproduce this crash). We'll then take a look at the crash log file and see if there is any pattern / similarity to this crash.

Image

Posted on
Sun May 20, 2018 12:14 pm
Different Computers offline
User avatar
Posts: 2533
Joined: Jan 02, 2016
Location: East Coast

Re: First ever server crash?

Thanks for your quick reply!

As for reproducibility, the only thing I was actively doing in Indigo was editing the notes field on a z-wave door sensor device. But of course there are a zillion different things happening automatically all the time.

SmartThings refugee, so happy to be on Indigo. Monterey on a base M1 Mini w/Harmony Hub, Hue, DomoPad, Dynamic URL, Device Extensions, HomeKitLink, Grafana, Plex, uniFAP, Fantastic Weather, Nanoleaf, LED Simple Effects, Bond Home, Camect.

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 3 guests