logi_craft_sdk icon indicating copy to clipboard operation
logi_craft_sdk copied to clipboard

Sample causing LogitechOptions to crash

Open nixx77 opened this issue 7 years ago • 3 comments

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:

  • 1000 2 100 0x80000000000000 8431 Application DESKTOP-RND1F2J
  • LogiOptionsMgr.exe 6.92.275.0 5b6e2f77 LogiOptionsMgr.exe 6.92.275.0 5b6e2f77 c0000409 00000000005a5300 3c2c 01d458576798e872 C:\ProgramData\Logishrd\LogiOptions\Software\Current\LogiOptionsMgr.exe C:\ProgramData\Logishrd\LogiOptions\Software\Current\LogiOptionsMgr.exe a8f942ac-b41f-4365-91e5-ee099a3b9329

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.

nixx77 avatar Sep 30 '18 01:09 nixx77

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

nbandaru-logi avatar Oct 03 '18 18:10 nbandaru-logi

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 :) )

nixx77 avatar Dec 25 '18 15:12 nixx77

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:

zsong avatar Mar 23 '22 02:03 zsong