Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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 ( #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? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (3)
As of 2022-01-19 02:49 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In 2022, my preferred method to securely store passwords is:












    Results (55 votes). Check out past polls.

    Notices?