Skip Menu |

This queue is for tickets about the JavaScript CPAN distribution.

Report information
The Basics
Id: 14911
Status: resolved
Priority: 0/
Queue: JavaScript

Owner: Nobody in particular

Bug Information
Severity: Important
Broken in: (no value)
Fixed in: 1.00


Subject: [PATCH] Fix function call return value gc
returning a local variable in javascript to perl space sometimes causes segfault.
Download func_call-gc.patch
text/x-diff 426b
--- JavaScript-0.55/JavaScript.xs 2005-06-29 20:07:06.000000000 +0100 +++ JavaScript-0.55.clkao/JavaScript.xs 2005-10-04 11:58:44.000000000 +0100 @@ -1408,9 +1410,8 @@ jsc_CallFunctionImpl(cx, func_name, args XSRETURN_UNDEF; } - JS_GC(cx->cx); - RETVAL = rval; + JS_GC(cx->cx); OUTPUT: RETVAL

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to