Logitech / logi_craft_sdk

Provide (API) SDK specifications to map your app functions to Logitech Craft dial controller called "Crown".
575 stars 110 forks source link

Sample causing LogitechOptions to crash #14

Open nixx77 opened 5 years ago

nixx77 commented 5 years ago

used hardware: Crown + MX Master

  1. cloned the repository, compiled the c++ example (crown_client)
  2. start dbgview
  3. start the compiled example binary (crown_client.exe)
  4. added plugin into LogitechOptions (developer mode is enabled)

I get the activate/deactivate plugin messages just fine as I change the foreground window.

But as soon as I try to use the crown while the window is active to get any messages from it - it seems that the Logitech software just crashes and my software/example just gets disconnected from it obviously.

Tried the same routine on my notebook (environment is more or less the same, but still) - same result, connection closed as the logitech software crashes.

Debug log:

[13472] on_connect called with hdl: 0000023534339B60 [13472] [13472] [13472] Plugin GUID is: d4cecd7f-9eff-4428-b372-190f1126b983 [13472] [13472] *** [13472] on_message called with hdl: 0000023534339B60 and message: {"message_type":"register_ack","sequence_id":0,"session_id":"ad552245-24e0-8977-a285-b95c0a70bfad","status":200,"enable":true} [13472] on_message called with hdl: 0000023534339B60 and message: {"message_type":"activate_plugin","session_id":"ad552245-24e0-8977-a285-b95c0a70bfad"} [13472] on_message called with hdl: 0000023534339B60 and message: {"message_type":"deactivate_plugin","session_id":"ad552245-24e0-8977-a285-b95c0a70bfad"} [13472] on_message called with hdl: 0000023534339B60 and message: {"message_type":"activate_plugin","session_id":"ad552245-24e0-8977-a285-b95c0a70bfad"} [13472] on_close called with hdl: 0000023534339B60 [16152] LogiOverlay.exe Error: 0 :

Event log:

Faulting application name: LogiOptionsMgr.exe, version: 6.92.275.0, time stamp: 0x5b6e2f77 Faulting module name: LogiOptionsMgr.exe, version: 6.92.275.0, time stamp: 0x5b6e2f77 Exception code: 0xc0000409 Fault offset: 0x00000000005a5300 Faulting process id: 0x3c2c Faulting application start time: 0x01d458576798e872 Faulting application path: C:\ProgramData\Logishrd\LogiOptions\Software\Current\LogiOptionsMgr.exe Faulting module path: C:\ProgramData\Logishrd\LogiOptions\Software\Current\LogiOptionsMgr.exe Report Id: a8f942ac-b41f-4365-91e5-ee099a3b9329 Faulting package full name: Faulting package-relative application ID:

PS: Tried to do the same thing on my notebook (environment is more or less the same, but the OS is almost freshly installed) - same result, logitech software crashes and the connection gets closed.

nbandaru-logi commented 5 years ago

Thanks for reporting this issues to us! We are looking into it and will get back to you when we have a fix for it.

Cheers, Nitin

nixx77 commented 5 years ago

It seems that the issue no longer happens using 7.10.3 version of logitech options. Haven't had time to check it extensively, but so far it seems to be working on both PCs it was consistently occuring before (even using the same example binary without recompilation). (7.00.64 was still having that bug as far as I understand)

Is there a reason to believe that it has been fixed? (or is that just a coincidence maybe, idk :) )

zsong commented 2 years ago

Faulting application name: LogiOptionsMgr.exe, version: 9.60.87.0, time stamp: 0x6213c1cd Faulting module name: LogiOptionsMgr.exe, version: 9.60.87.0, time stamp: 0x6213c1cd Exception code: 0xc0000409 Fault offset: 0x00000000008c96dc Faulting process id: 0x1db0 Faulting application start time: 0x01d83e5dd15dc57b Faulting application path: C:\ProgramData\Logishrd\LogiOptions\Software\Current\LogiOptionsMgr.exe Faulting module path: C:\ProgramData\Logishrd\LogiOptions\Software\Current\LogiOptionsMgr.exe Report Id: 0bb1531b-5729-416b-b872-3a32e72c89d0 Faulting package full name: Faulting package-relative application ID: