in reply to Re: Re: Attempt to free unreferenced scalar...
in thread Attempt to free unreferenced scalar...
If so, you have probably found a real bug in Perl and you should prepare a bug report. Try trimming the code down some more by getting rid of some of the more peripheral subroutines. Use the perlbug program on your system to report the error, including the entire source code of the smallest version of the program you can find that still demonstrates the problem.
If commenting out the $SIG{CHLD} line makes the problem magically go away, then you've still found a bug in Perl, but it's a well-known bug that people don't know how to fix. In this case you can still solve your problem by avoiding signal handlers and using waitpid to reap the children. If you post about it I will help you fix the program to do this.
Thanks for taking so much time to investigate this.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Attempt to free unreferenced scalar...
by Daniellek (Sexton) on Dec 01, 2000 at 15:01 UTC | |
by Dominus (Parson) on Dec 01, 2000 at 18:40 UTC | |
by Daniellek (Sexton) on Dec 07, 2000 at 20:02 UTC | |
by Dominus (Parson) on Dec 10, 2000 at 07:21 UTC | |
by Daniellek (Sexton) on Dec 15, 2000 at 15:06 UTC | |
|