On further reading in GSL docs:

The purpose of the |gsl_error|handler is to provide a function
  where a breakpoint can be set that will catch library errors
  when running under the debugger. It is not intended for use in
  production programs, which should handle any errors using the
  return codes.

So the appropriate fix is to disable the error handler for
our bindings.

--Chris

On 4/29/2017 09:46, Chris Marshall wrote:
Per the link from GSL:

"The default behavior of the GSL error handler is to print a short message and call |abort|."

Given that abort doesn't mix with interpreter longevity,
the fix needs to be applied/verified on all our GSL
bindings.

On 4/29/2017 09:39, Chris Marshall wrote:
Setting our own error handler or disabling it
(as in GSL/INTEG) seems to be needed.  Please
open a bug report ticket at sf.net to track the issue.

Thanks,
Chris

On 4/29/2017 04:13, Ari Jolma wrote:
29.04.2017, 04:29, Shawn Laffan kirjoitti:
C:\somedir>perl -MMath::GSL::SF -E"say Math::GSL::SF::gsl_sf_lngamma(0)"
gsl: gamma.c:1138: ERROR: domain error
Default GSL error handler invoked.
They should install a new error handler, which should croak and not abort.

https://www.gnu.org/software/gsl/manual/html_node/Error-Handlers.html#Error-Handlers

Ari


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
pdl-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pdl-general

Reply via email to