Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: perl built with -DDEBUGGING causes "failed to extend arg stack" error with XS modules

by dave_the_m (Monsignor)
on Jul 25, 2021 at 18:51 UTC ( [id://11135387]=note: print w/replies, xml ) Need Help??


in reply to perl built with -DDEBUGGING causes "failed to extend arg stack" error with XS modules

If both perl and the XS module are built with the same build options (in this case, -DDEBUGGING), then the error message you see is almost certainly a bug in the XS module. If perl is built with -DDEBUGGING while the XS module is built without it (which is the situation the ticket you linked to refers to) then you'll get spurious errors like these.

In general perl only works with XS modules built using the same perl and build options. That ticket was basically asking whether we could make a special exception for -DDEBUGGING, but in general it is exceedingly hard to maintain binary compatibility among different build options.

NB: I added the high-water-mark debugging code to the perl core.

Dave.

  • Comment on Re: perl built with -DDEBUGGING causes "failed to extend arg stack" error with XS modules

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://11135387]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others admiring the Monastery: (6)
As of 2024-04-23 14:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found