Forum Index » Windows Development » Crash in JabraNativeHid.dll   XML
 
Author Message
TravisDoucette


Joined: 17/04/2018 04:27:59
Messages: 2
Offline

Hi,

I am experiencing a crash which appears to be in the native DLL. Our product detects device state through the Windows <code>IMMNotificationClient</code> interface. When a Jabra product is detected the code starts up a class that implements the Jabra API. This crash seems to occur when the device is physically unplugged from the PC after <code>Jabra_Initialize()</code> has been called and before the first scan is complete. (i.e. - <code>JabraFirstScanForDeviceDoneFunc()</code> has not been called yet).

The following dump is generated from the Windows MiniDumpWriteDump function.

<pre><code>================EXCEPTION REPORT STARTS========================
//Error Occurred At [2016/12/21 15:10:38]
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 7738EB83 01:0003EB83 C:\Windows\SysWOW64\ntdll.dll

Registers:
EAX:00000000
EBX:FFFFFFFC
ECX:00000000
EDX:00000004
ESI:675137F4
EDI:675137F8
CS:EIP:0023:7738EB83
SS:ESP:002B:1C2C7A14 EBP:1C2C7A64
DS:002B ES:002B FS:0053 GS:002B
Flags:00010213

Call stack:
Address Frame
7738EB83 1C2C7A64 RtlRandomEx+2BB
7738EA92 1C2C7A8C RtlRandomEx+1CA
674E21EC 1C2C7AA0 0001:000011EC C:\snapshots\doucette_MiVoiceBC_dev4\Consoles\ipconsole_src\Design\Includes\Dlls\JabraNativeHid.dll
674EF1C8 1C2C7AB4 Jabra_GetWindowsAudioNames+B5E8
674EF2E5 1C2CFC58 Jabra_GetWindowsAudioNames+B705
674EF8E0 1C2CFC70 Jabra_GetWindowsAudioNames+BD00
674F5288 1C2CFCA8 Jabra_GetWindowsAudioNames+116A8
674F5312 1C2CFCB4 Jabra_GetWindowsAudioNames+11732
74EA336A 1C2CFCC0 BaseThreadInitThunk+12
77379902 1C2CFD00 RtlInitializeExceptionChain+63
773798D5 1C2CFD18 RtlInitializeExceptionChain+36
//================EXCEPTION REPORT ENDS========================
</code></pre>


Using version 1.3.12880.0 of the Native DLL.

I was also able to duplicate(although not as easily) the issue with simple Windows console program that implements the IMMNotificationClient(not positive this has anything to do with it) interface and the Jabra API. I have a dump file from this I can provide if required.

Please let me know if there is anything else I can provide.

Thank You,

Travis
Mehmet


Joined: 17/04/2018 04:27:59
Messages: 1
Offline

Hi Travis,
thank you for the info. We believe the crash issue has been solved in the updated dll (1.4.308.0). Can you please try it out and let me know the outcome?

thank you

/Mehmet
TravisDoucette


Joined: 17/04/2018 04:27:59
Messages: 2
Offline

Hi Mehmet,

Sorry for the delay(holidays). The problem is still occurring with the latest DLL. Offsets are slightly different.

<pre><code>//Error Occurred At [2017/01/04 14:34:39]
Exception code: C0000005 ACCESS_VIOLATION
Fault address: 7716EB83 01:0003EB83 C:\Windows\SysWOW64\ntdll.dll

Registers:
EAX:00000000
EBX:FFFFFFFC
ECX:00000000
EDX:00000004
ESI:51DF37F4
EDI:51DF37F8
CS:EIP:0023:7716EB83
SS:ESP:002B:2F0A74EC EBP:2F0A753C
DS:002B ES:002B FS:0053 GS:002B
Flags:00010213

Call stack:
Address Frame
7716EB83 2F0A753C RtlRandomEx+2BB
7716EA92 2F0A7564 RtlRandomEx+1CA
51DC21EC 2F0A7578 0001:000011EC C:\Program Files (x86)\Mitel\MiVoice Business Console\JRE\bin\JabraNativeHid.dll
51DCF248 2F0A758C Jabra_GetWindowsAudioNames+B5F8
51DCF365 2F0AF730 Jabra_GetWindowsAudioNames+B715
51DCF960 2F0AF748 Jabra_GetWindowsAudioNames+BD10
51DD5308 2F0AF780 Jabra_GetWindowsAudioNames+116B8
51DD5392 2F0AF78C Jabra_GetWindowsAudioNames+11742
7685336A 2F0AF798 BaseThreadInitThunk+12
77159902 2F0AF7D8 RtlInitializeExceptionChain+63</code></pre>


Is there anything else i can provide.

Thanks,

Travis
Mehmet


Joined: 17/04/2018 04:27:59
Messages: 1
Offline

Hi Travis,
can you provide some additional details on methodology to reproduce incident. Does it occur everytime or only periodically. Which OS version are you using and is the Jabra device connected on a USB 3 port?

thanks.
TravisDoucette


Joined: 17/04/2018 04:27:59
Messages: 2
Offline

Mehmet,

The problem occurs periodically but i can usually duplicate it within a minute or two.

The device has to be removed after <code>Jabra_Initialize()</code> is called and before the callback to <code>JabraFirstScanForDeviceDoneFunc()</code> has been called.

I'm running Windows 7(i will try Windows 8/10 to see if I can duplicate there), and no USB 3 ports.

I can provide some sample code and dump files if that would help?

Thanks,

Travis
Mehmet


Joined: 17/04/2018 04:27:59
Messages: 1
Offline

Hi Travis,
after checking the item it would be good if you can provide some sample code we can try for the investigation.

Thank you and look forward to receive the material. You can send it to developersupport at jabra.com

TravisDoucette


Joined: 17/04/2018 04:27:59
Messages: 2
Offline

Hi Mehmet,

Sorry for the delay. Information has been emailed. Thanks for the help.

Travis
Mehmet


Joined: 17/04/2018 04:27:59
Messages: 1
Offline

Thanks Travis,
material is collected, we will look at it and return by mail.

/Mehmet
Niclas


Joined: 17/04/2018 04:27:59
Messages: 1
Offline

Sorry for waking up an old thread but I have a very similar issue. How was this resolved? Can I download the new version somehow?

This message was edited 1 time. Last update was at 18/10/2018 08:49:52

 
 
Go to: