java-native-access / java-native-access/jna
coffeecatch support (turning C crashes into Java exceptions)
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 8.9k
- Forks
- 1.7k
- PR merge metrics
- No merged PRs in 30d
Description
It would be super handy to have coffeecatch support in JNA. ( http://blog.httrack.com/blog/2013/08/23/catching-posix-signals-on-android/ )
This would aid in debugging when a C function crashes, as it would give the Java stack which lead up to it.
No, there is no expectation that the exception can be caught and ignored. Knowing where it crashed, however, would be very valuable.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing JNA's native crash and signal-handling entry points, then read the linked coffeecatch article to understand the proposed approach. Done means C crashes expose the Java stack that led to them, without implying that the resulting exception can be safely caught or ignored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, java
- Domain
- operating-systems
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100