Re: Issue with GM through JNI
Bob Friesenhahn <[email protected]>
| Newsgroups | gmane.comp.video.graphicsmagick.help |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 17 Jul 2017, Tianyu Lang wrote: > Hi Bob, > > We managed to figure out the problem. The problem was due to conflicts > between Java and GM's signal handlers. It seems like GM is intercepting > Java's signals, which caused Java to freak out. After following the > instructions here > <http://docs.oracle.com/javase/7/docs/technotes/guides/vm/signal-chaining.html>, > we are able to use GM from Java without a problem. I am glad to hear that. Signal handlers and the locale setting for floating point formatting are areas where GM could conflict with an application using it. The signal handlers are primarily there to assure proper clean-up such as to remove any temporary files before quitting (even while crashing). Bob -- Bob Friesenhahn [email protected], http://www.simplesystems.org/users/bfriesen/ GraphicsMagick Maintainer, http://www.GraphicsMagick.org/ ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot