Seg fault.

Seg fault.

am 11.11.2005 17:29:45 von Justin C

What sort of thing might cause my perl script to seg fault? I don't want
to post it, it's a bit large and I can't fathom what, at the point it
dies, is the problem (it looks like it's in the middle of a:
print < statement.

Any suggestions before I post the whole gory mess to a web-page?


Justin.

--
Justin C, by the sea.

Re: Seg fault.

am 11.11.2005 19:40:15 von Paul Lalli

Justin C wrote:
> What sort of thing might cause my perl script to seg fault?

Nothing should make perl segfault. If it is, it's entirely possible
you've found a bug. What version of perl are you using? (run `perl
-v` to check)

> I don't want
> to post it, it's a bit large and I can't fathom what, at the point it
> dies, is the problem (it looks like it's in the middle of a:
> print < > statement.

You need to start analyzing the code. Strip functionality out until
you're left with the bare minimum program that still exhibits the seg
fault. Also give details on your operating system and perl version

> Any suggestions before I post the whole gory mess to a web-page?

Yes. Please don't.

Paul Lalli

Re: Seg fault.

am 12.11.2005 14:23:10 von Justin C

On 2005-11-11, Paul Lalli wrote:
> Justin C wrote:
>> What sort of thing might cause my perl script to seg fault?
>
> Nothing should make perl segfault. If it is, it's entirely possible
> you've found a bug. What version of perl are you using? (run `perl
> -v` to check)

I can't fathom what it was. I don't intend breaking this code, now that
I've fixed it, to try to figure it out.

Thanks anyway.


Justin.

--
Justin C, by the sea.