in reply to Re: Attempt to free unreferenced scalar...
in thread Attempt to free unreferenced scalar...

Ok, i'll try narrowing code, and checking if it still crashes :)

But still have a question: is it possible that buggy module can cause "my" error in the place of code where it is not used?

And I don't do much with signal handlers in my code so I think it's not the problem (but I'll try to check this of course!)

Thanks.

-- Daniellek

Replies are listed 'Best First'.
Re: Re: Attempt to free unreferenced scalar...
by Dominus (Parson) on Nov 30, 2000 at 17:42 UTC
    daniellek says:

    <blcokquote> > is it possible that buggy module can cause
    > "my" error in the place of code where it is not used?

    Yes, that's exactly why it is so hard to track down this sort of bug. Memory is corrupted in one place and then the probably does not manifest until later on.

      Okey, I cut it down from almost everything :)

      modules used are: strict, Carp and Socket. And the problem still exists (so i can assume mime-tools are bug-free which makes mi happy :)

      I stripped it also of connecting to mySQL database

      There are now about 150 lines which make forking/multithreading and these parts with opening "ls" and "find"

      And I don't know what to do further...

      Should I post the code here?

      -- Daniellek
        Says daniellek:

        > Should I post the code here?

        I guess it couldn't hurt to try. If you do I will see if I notice anything and if I can reproduce the problem.