Skip Menu |

This queue is for tickets about the JavaScript CPAN distribution.

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

People
Owner: Nobody in particular
Requestors:
Cc:
AdminCc:

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.
--- 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