Beefy Boxes and Bandwidth Generously Provided by pair Networks
The stupid question is the question not asked
 
PerlMonks  

Re^2: shared scalar freed early

by chris212 (Scribe)
on Feb 22, 2017 at 19:57 UTC ( [id://1182554]=note: print w/replies, xml ) Need Help??


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

Actually, I forgot about the 3rd party SWIG module that is require'ed in the main thread (conditionally, Win32::API for Windows). The worker threads inherit and use it. That could very well be the culprit, although I'm not sure why it would change the refcount on my shared scalar. I could try taking out the module and see if I can replicate the problem. It should run much faster without it.

Replies are listed 'Best First'.
Re^3: shared scalar freed early
by chris212 (Scribe) on Feb 22, 2017 at 22:20 UTC
    Nope. I got it to crash after removing the module, so I don't think that module is the problem.

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others making s'mores by the fire in the courtyard of the Monastery: (6)
As of 2024-04-18 10:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found