Seg fault.

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 <<EOF ;
statement.

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


Justin.

--
Justin C, by the sea.
Justin C [ Fr, 11 November 2005 17:29 ] [ ID #1054103 ]

Re: Seg fault.

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 <<EOF ;
> 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
Paul Lalli [ Fr, 11 November 2005 19:40 ] [ ID #1054104 ]

Re: Seg fault.

On 2005-11-11, Paul Lalli <mritty [at] gmail.com> 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.
Justin C [ Sa, 12 November 2005 14:23 ] [ ID #1055022 ]
Perl » alt.perl » Seg fault.

Vorheriges Thema: Problem mit SSL-Verbindung
Nächstes Thema: Shell script