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

SIGSEV upon program finish #7

Open
zyklone92 opened this issue Sep 25, 2018 · 2 comments
Open

SIGSEV upon program finish #7

zyklone92 opened this issue Sep 25, 2018 · 2 comments

Comments

@zyklone92
Copy link

First of all, many thanks for this project - it has saved me a lot of trouble and work for a private project of mine.
I am using a WS2812b LED-Strip on a RPi 3 via gpiopin 21, pwm-channel 0 and can use it without a problem. When the program finishes however (or I call System.exit()), I get a sigsev error and I strongly believe this is due to the corresponding channel not being closed properly, because nothing else could cause it. I even tried executing a program, where I just instantiate a new strip and send something and I still get the error.
Honestly, this is not super important, since everything works fine upon execution, but I thought I might post this here and see, if others get the same error, or if this behaviour is even expected.
Thanks again for this great contribution.

@zyklone92 zyklone92 changed the title destroy not getting executed. SIGSEV upon program finish Sep 25, 2018
@mbelling
Copy link
Collaborator

Sorry for the lack of a response, I was in the process of moving to a new home when this was written and forgot to come back to it.

I will review the code a bit to see if anything jumps out at me. Do you have a simple code example that causes the problem?

@EduardoAule
Copy link

Greetings, install this library with some problems in my raspberry pi, for example I had to use:
./gradlew assemble -x signArchives
...
...
:compileJava UP-TO-DATE
:processResources UP-TO-DATE
:classes UP-TO-DATE
:jar UP-TO-DATE
:javadoc UP-TO-DATE
:javadocJar UP-TO-DATE
:sourceJar UP-TO-DATE
:assemble

BUILD SUCCESSFUL in 22s
6 actionable tasks: 6 up-to-date

without the above, it generated an error:
:processResources
:classes
:jar
:javadoc
:javadocJar
:sourceJar
:signArchives FAILED

FAILURE: Build failed with an exception.

  • What went wrong:
    Execution failed for task ':signArchives'.

Cannot perform signing task ':signArchives' because it has no configured signatory

  • Try:
    Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

  • Get more help at https://help.gradle.org

BUILD FAILED in 12m 55s
7 actionable tasks: 7 executed

However someone could provide me with a simple example of how to use it in java.
thank you.

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