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

Re^2: Setting break point for particular condition in the subroutine

by srlbharu (Acolyte)
on Mar 07, 2013 at 13:48 UTC ( [id://1022231]=note: print w/replies, xml ) Need Help??


in reply to Re: Setting break point for particular condition in the subroutine
in thread Setting break point for particular condition in the subroutine

I am getting the below error only when I try to create child process using fork in the code mentioned in this Thread.

Engine::_Execute(..\..\perl\modules/Engine.pm:122): 122: unless (fork) { DB<1> s Bizarre SvTYPE [37] at ..\..\perl\modules/Engine.pm line 122. Engine::_Execute(C:/Perl/lib/Carp.pm:97): 97: { local $@; require Carp::Heavy; } # XXX fix require to not clea +r $@?

It means there are some localized scalar variables are trying to restore in a child process hence throwing error

"Attempt to free unreferenced scalar"

There is some modules where carp.pm is used. I replaced all the places of carp with warn and tried but no luck still it is showing the same. Please let me know how to debug this issue.

Replies are listed 'Best First'.
Re^3: Setting break point for particular condition in the subroutine
by LanX (Saint) on Mar 07, 2013 at 14:54 UTC
    No idea, better start a new thread: "Forking Problem: Attempt to free unreferenced scalar" to attract the experts.

    One tip: Following the local markup conventions using <p> instead of <pre> will help in gaining acceptance and finding support. =)

    Cheers Rolf

Re^3: Setting break point for particular condition in the subroutine
by choroba (Cardinal) on Mar 07, 2013 at 15:13 UTC
    Please, do not use <pre> tags for text. Read <pre> Versus <code> Tags for more information as already advised in a /msg.
    لսႽ† ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2024-03-28 14:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found