RishiGupta12 / SerialPundit

Serial port communication in Java - FTDI D2XX, HID API, X/Y modem
GNU Affero General Public License v3.0
125 stars 56 forks source link

Cannot make it work on Windows 10 x64 #24

Open AndreiPiakhota opened 7 years ago

AndreiPiakhota commented 7 years ago

Hi The library works without a hitch on Linux but I cannot make it work on Windows 10 AMD x64. Every time I try ranning it, the JVM crashes with EXCEPTION_ACCESS_VIOLATION (0xc0000005). I tried on 3 different machines with the same crash. I checked all the libraries (msvcr120.dll, setupapi.dll, advapi32.dll, kernel32.dll) and there they are. There is no consistency in crash log files (hs_err_pid...log). I attach some of these files. It seems like Windows 10 (x64) is not supported but how can I be sure.

hs_err_pid5820.txt hs_err_pid8624.txt hs_err_pid8996.txt

RishiGupta12 commented 7 years ago

Is the issue is with API writeBytesDirect only or you are not able to run anything at all. Were simple read and write methods working.

AndreiPiakhota commented 7 years ago

Yes, simple write and read work. So, the problem with methods writeBytesDirect and readBytesDirect in SerialComManager. Thanks for your prompt reply.

RishiGupta12 commented 7 years ago

Is this test working for you https://github.com/RishiGupta12/SerialPundit/tree/master/tests/test61-directwrite/src/test61

RishiGupta12 commented 6 years ago

Hi AndreiPiakhota, Is this test working for you https://github.com/RishiGupta12/SerialPundit/tree/master/tests/test61-directwrite/src/test61