http://www.perlmonks.org?node_id=1219562


in reply to sv_setpv aborts when the SV (perl output array)have more than 127 size

You aren't extending the stack correctly. Each EXTEND(sp,1) is making sure there is one space on the stack beyond sp, but since sp isn't incremented each time, the EXTENDs don't accumulate.

Dave.

  • Comment on Re: sv_setpv aborts when the SV (perl output array)have more than 127 size