Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^2: shared scalar freed early

by chris212 (Scribe)
on Feb 23, 2017 at 01:45 UTC ( [id://1182575]=note: print w/replies, xml ) Need Help??


in reply to Re: shared scalar freed early
in thread shared scalar freed early

5.18.2

That is currently the only version I have available to test, but I could request a newer version. I'm not sure what the latest version approved by our security is.

Replies are listed 'Best First'.
Re^3: shared scalar freed early
by stevieb (Canon) on Feb 23, 2017 at 02:45 UTC

    perl 5.24.1 is the current stable release, for your information, and is available for Unix/Linux, and for Windows ActiveState and Strawberry.

    Bureaucracy is completely understandable by most here (I'm sure), so I might advise to test things on more recent versions (after taking all the advice provided into consideration) on the side, and if results are improved, you have justification to request a change. That, combined with the fine documentation on each release perldoc perldelta, may help show that allowing newer releases is pretty reasonable.

    I just went through this with a $work client, and my job is designing solutions for a significant C++ suite with Python hooks. I wanted Perl because I can debug and write quick tests for a Python script that accesses the underlying C++ dll quicker than I could by using Python directly. Client uses Perl for a few things, but they mandated v5.8.8. That changed pretty quickly, in this 290k+ user environment after I demo'd a couple of quick things that used Perl to aggrivate Python to access what I needed done.

      I just tested with Perl 5.24.1 and it still crashed. Interestingly it actually crashed at an earlier reference to the same shared scalar.
        I just tested with Perl 5.24.1 and it still crashed. Interestingly it actually crashed at an earlier reference to the same shared scalar.

        That probably means that particular shared scalar -- the only one in your app? -- is just a symptom rather than the cause.

        In general, this type of error is caused by something being freed twice; but if it was a general problem with shared vars, it would happen far more frequently and would have probably been found and fixed by now.

        Once again, it is something specific to your application, and trying to diagnose it without sight of the code is a fool's errand.


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority". The enemy of (IT) success is complexity.
        In the absence of evidence, opinion is indistinguishable from prejudice.

        It's very hard to imagine it's something other than a buggy XS module.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chanting in the Monastery: (5)
As of 2024-04-18 15:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found