www.homeseer.com    
 

Go Back   HomeSeer Message Board > Ultilities (Plug-ins) > Utilities Discussion > Keyboard and Mouse Sensor Plug-in (3P)

Keyboard and Mouse Sensor Plug-in (3P) Keyboard / Mouse plug-in

Reply
 
Thread Tools Display Modes
  #1  
Old March 19th, 2016, 04:07 PM
sparkman's Avatar
sparkman sparkman is offline
OverSeer
 
Join Date: Oct 2001
Location: Calgary, Alberta, Canada
Posts: 6,001
Remote KMS client crashes on W10

Hi spud,

I've had a few crashes of a remote instance on a W10 device:

Code:
- System 

  - Provider 

   [ Name]  .NET Runtime 
 
  - EventID 1026 

   [ Qualifiers]  0 
 
   Level 2 
 
   Task 0 
 
   Keywords 0x80000000000000 
 
  - TimeCreated 

   [ SystemTime]  2016-03-19T20:10:17.000000000Z 
 
   EventRecordID 7672 
 
   Channel Application 
 
   Computer Spengler 
 
   Security 
 

- EventData 

   Application: HSPI_KMS.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.NullReferenceException Stack: at System.Runtime.Remoting.Messaging.LogicalCallContext.PropagateIncomingHeadersToCallContext(System.Runtime.Remoting.Messaging.IMessage) at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(System.Runtime.Remoting.Proxies.MessageData ByRef, Int32) at HomeSeerAPI.IHSApplication.WriteLog(System.String, System.String) at HSPI_KMS.Logger.Log(System.String, ELogLevel) at HSPI_KMS.KMSApp.OnSensorStatusReport(System.Object, System.EventArgs) at HSPI_KMS.Sensor.UserInputReceived() at HSPI_KMS.Sensor.MouseMoved(System.Object, MouseKeyboardActivityMonitor.MouseEventExtArgs) at MouseKeyboardActivityMonitor.MouseHookListener.InvokeMouseEventHandlerExt(System.EventHandler`1<MouseKeyboardActivityMonitor.MouseEventExtArgs>, MouseKeyboardActivityMonitor.MouseEventExtArgs) at MouseKeyboardActivityMonitor.MouseHookListener.ProcessMouseMove(MouseKeyboardActivityMonitor.MouseEventExtArgs ByRef) at MouseKeyboardActivityMonitor.MouseHookListener.ProcessCallback(Int32, IntPtr) at MouseKeyboardActivityMonitor.BaseHookListener.HookCallback(Int32, Int32, IntPtr) at System.Windows.Forms.UnsafeNativeMethods.PeekMessage(MSG ByRef, System.Runtime.InteropServices.HandleRef, Int32, Int32, Int32) at System.Windows.Forms.Application+ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr, Int32, Int32) at System.Windows.Forms.Application+ThreadContext.RunMessageLoopInner(Int32, System.Windows.Forms.ApplicationContext) at System.Windows.Forms.Application+ThreadContext.RunMessageLoop(Int32, System.Windows.Forms.ApplicationContext) at HSPI_KMS.KMSApp.RunHookThread() at System.Threading.ThreadHelper.ThreadStart_Context(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at System.Threading.ThreadHelper.ThreadStart()
Any ideas?

Thanks
Al
__________________
HS3Pro 3.0.0.318 on Jetway JBC501F9Q-Q87-B i7 8GB 1874 Devices, 955 Events, 28 Plugins
Z-Wave 3.0.1.131 Z-Net 105 nodes:Leviton Vizia,Kwikset,FortrezZ Valve/Sensors,Everspring Sensors/Modules/Outlets,CT30 Stats,MIMOLites,Aeotec Smart Switches
RFXCom W800,RFXrec433,RFXtrx433|APCUPSD|Pushover|Squeezebox|weatherXML|HS Phone W2C|APCUPSD|UltraLog
UltraGCIR GC-100|UltraNetcam|UltraPioneer|Ultra1Wire|DSC PC1832|BLLED|BLTVGuide|ImperiHome|jon00 Utilities|MySensors

PHLocation|X10 CM11A IOLinc,etc
Reply With Quote
  #2  
Old March 20th, 2016, 08:33 AM
sparkman's Avatar
sparkman sparkman is offline
OverSeer
 
Join Date: Oct 2001
Location: Calgary, Alberta, Canada
Posts: 6,001
This mostly seems to happen when the w10 system comes ot of sleep/suspend mode.

Cheers
Al
Reply With Quote
  #3  
Old March 21st, 2016, 12:14 PM
spud's Avatar
spud spud is offline
Moderator
 
Join Date: Jan 2012
Location: Canada
Posts: 5,125
This kind of exception is usually raised when the plugin can't communicate with HS, but I don't understand why it makes the plugin crash, it should only log an error.
I will try to reproduce and debug it.
Reply With Quote
  #4  
Old March 21st, 2016, 01:53 PM
sparkman's Avatar
sparkman sparkman is offline
OverSeer
 
Join Date: Oct 2001
Location: Calgary, Alberta, Canada
Posts: 6,001
Quote:
Originally Posted by spud View Post
This kind of exception is usually raised when the plugin can't communicate with HS, but I don't understand why it makes the plugin crash, it should only log an error.
I will try to reproduce and debug it.
Thanks!
Reply With Quote
  #5  
Old March 22nd, 2016, 10:12 AM
Kaje's Avatar
Kaje Kaje is offline
Seer Plus
 
Join Date: Dec 2008
Location: Indiana
Posts: 123
I'm not getting W10 crashes but sometime in the last couple of weeks (aka a W10 update I'm sure) all of a sudden the mouse control goes bonkers. I disable KMS and it runs fine.

More than happy to help you troubleshoot if you want to tell me what to monitor or look for.

Ken J.
Reply With Quote
  #6  
Old November 18th, 2017, 03:34 PM
tahl tahl is offline
Seer Plus
 
Join Date: Jun 2015
Posts: 90
I'm getting the same thing ... what's the solution

I cannot find a pattern but every couple of days KSM crashes on Windows 10 Pro. I've tried running it in both "console" mode and not. This is a remote instance and it not the machine with HS. I have version 3.0.0.5.

It's not usable if I can't rely on it of course. It turns my monitor on among other things.

I have another problem which I will post separately.

Tahl
Reply With Quote
  #7  
Old November 20th, 2017, 04:29 PM
spud's Avatar
spud spud is offline
Moderator
 
Join Date: Jan 2012
Location: Canada
Posts: 5,125
Quote:
Originally Posted by tahl View Post
I cannot find a pattern but every couple of days KSM crashes on Windows 10 Pro. I've tried running it in both "console" mode and not. This is a remote instance and it not the machine with HS. I have version 3.0.0.5.

It's not usable if I can't rely on it of course. It turns my monitor on among other things.

I have another problem which I will post separately.

Tahl
check my answer in the other thread.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
HSTouch Client Crashes with video now thymer HS3Touch Clients - Android 5 December 8th, 2015 10:38 AM
client crashes on startup zimmer62 Bluetooth Connector 5 October 14th, 2008 09:21 AM
Bluetooth client crashes... Moskus Bluetooth Connector 6 August 7th, 2008 09:33 AM
Speaker Client Crashes on startup fran_joel HS2 / HSPRO 4 June 6th, 2007 10:04 PM
Bluetooth Client crashes on MCE2005 system danes75 Bluetooth Connector 10 December 15th, 2006 11:15 PM


All times are GMT -4. The time now is 03:22 PM.


Copyright HomeSeer Technologies, LLC