GNOME Bugzilla – Bug 695876
Stack corruption in seed_closure_invoke{,_with_context}
Last modified: 2013-03-15 15:50:46 UTC
Patch coming. This is one of the stack traces I've gotten for this problem: Program received signal SIGSEGV, Segmentation fault. JSObjectCallAsFunction (ctx=0x3, object=0xbfffdbd0, thisObject=0xbfffdc40, argumentCount=<unknown type>, arguments=0xb7eaf05b <seed_closure_invoke+43>, exception=0xb1d3ec28) at ../Source/JavaScriptCore/API/APICast.h:70 70 ../Source/JavaScriptCore/API/APICast.h: No such file or directory. (gdb) bt
+ Trace 231644
Created attachment 238923 [details] [review] Append user data to the new arguments array, not the source one
Created attachment 238926 [details] [review] Remove duplicated code, call function instead Small re-factoring to make the two sister functions share their core statements by having one call the other, more code reuse, less problems with forgetting to apply fixes to both.
Feel free to commit stuff like this directly if you can. Regards Alan
Comment on attachment 238923 [details] [review] Append user data to the new arguments array, not the source one Thanks =)