Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fatal error with removeWatcher() and removeDriver() #44

Open
mcicolella opened this issue Oct 18, 2016 · 4 comments
Open

Fatal error with removeWatcher() and removeDriver() #44

mcicolella opened this issue Oct 18, 2016 · 4 comments

Comments

@mcicolella
Copy link

Hi,
a fatal error is raised by JVM when I try to remove watcher and driver to stop our plugin.
This is the block code
protected void onStop() { manager.removeWatcher(watcher, null); manager.removeDriver(controllerPort); Manager.destroy(); Options.destroy(); LOG.info("Zwave plugin stopped "); }

The error is

SIGSEGV (0xb) at pc=0xa1ed565c, pid=2649, tid=2702179136

JRE version: Java(TM) SE Runtime Environment (8.0_66-b17) (build 1.8.0_66-b17)

Java VM: Java HotSpot(TM) Client VM (25.66-b17 mixed mode linux-x86 )

Problematic frame:

C [native-lib-1026292380136096656.tmp+0x10965c] Java_org_zwave4j_Manager_removeWatcher+0x87

Any idea to fix it?

@mcicolella
Copy link
Author

@zgmnkv @EliteScientist any solution for this?

@EliteScientist
Copy link

I've resolved this and many other exceptions in my fork: https://github.com/EliteScientist/zwave4j

I've modified the build script in my fork to build from Visual Studio when under windows because I had so many issues with the gnu stuff building for x64 and x86.

I do have one pending bug with my build script where doesn't include the dll files in the jar. right now I just open the jar with winrar and add them manually until' I get time to fix it.

Also, my fork requires the latest openzwave since I started implementing some of the later functions as needed.

@mcicolella
Copy link
Author

@EliteScientist Thanks! Any possibility to update the artifact on Maven? I'm using it for our plugin.

@zgmnkv
Copy link
Member

zgmnkv commented Jan 16, 2017

@EliteScientist Thank you, feel free to submit pull requests with fixes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants