From: gnome-perl (bugzilla.gnome.o. <bug...@gn...> - 2010-04-16 22:53:03
|
https://bugzilla.gnome.org/show_bug.cgi?id=614650 gnome-perl | general | unspecified --- Comment #1 from Torsten Schoenfeld <kaf...@gm...> 2010-04-16 22:52:52 UTC --- Created an attachment (id=158929) View: https://bugzilla.gnome.org/attachment.cgi?id=158929 Review: https://bugzilla.gnome.org/review?bug=614650&attachment=158929 Fix a threading bug in dGPERL_CLOSURE_MARSHAL_ARGS Previously, dGPERL_CLOSURE_MARSHAL_ARGS used the dSP macro to declare the stack pointer. But dSP involves accessing the my_perl pointer which might be invalid if we've been called from a thread other than the main one. To avoid this, manually declare SV **sp first and let GPERL_CLOSURE_MARSHAL_INIT initialize it after it has set up my_perl via PERL_SET_CONTEXT. This fixes the bug with your example program on my system. Quentin, can you verify this? -- Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the QA contact for the bug. You are the assignee for the bug. |