Thema xbox dll & listener instability ? 
Autor Frederic 
Eingangsdatum 2016-10-22 14:58:59.0 
Mitteilung Hello, and thanks for your previous reply (as for a request of a shutdown_xbox function).

I'm still coding with xbox, but as my program grows up, I have some instability with the xboxcontroller64 dll that make the program stop with a EXCEPTION_ACCESS_VIOLATION (0xc0000005) (The crash happened outside the Java Virtual Machine in native code)

It seems to have something to do with listeners conflicts (?) but I can't figure out what's happening (I'm working under Windows 10, netbeans 8.2 and latests jdk/jre 1.8.0_111)

if you have any cue,
Thema Instability with XboxController 
Autor Aegidius Pluess 
Eingangsdatum 2016-10-25 04:01:06.0 
Mitteilung We know about these instabilities and we apologize for this inconvenience. They are probably due to threading issues when the data transfer buffer is accessed simultaneously by the native thread and the Java VM. We do not have a clean solution yet, but try to increase the parameters controllerPollPeriod and/or queuePollPeriod to 100 or even 200 ms.

public XboxController(java.lang.String dll,
int playerNb,
int controllerPollPeriod,
int queuePollPeriod) 
Thema xbox dll & listener instability ?  
Autor Frederic 
Eingangsdatum 2016-10-27 05:58:29.0 
Mitteilung ok, I think you're right about the threading issue. I have a better behaviour by now, managing the classes quite differently, trying to isolate as far as I can the xbox from the core program.
I'll try to change the parameters you mention,
Thanks for your reply.