Re: Bus error in LWP/Perl5
Gisle Aas (aas@oslonett.no)
Thu, 19 Oct 1995 19:48:29 +0100
> This also bus errors on my NeXT, with Perl5.001m...
> Any other takers?
It also core dumps for me (SunOS4.1.4) and it seems to be in pp_sselect()
somewhere. Hans de Graaff once reported a bug involving pp_sselect so I guess
this is that same problem. I still don't know what the problem is.
Hans, did you manage to track down this problem any further?
--Gisle
------
Message-id: <199510041203.NAA04577@dutifp>
Date: Wed, 4 Oct 1995 13:03:32 +0100
From: J.J.deGraaff@TWI.TUDelft.NL (Hans de Graaff)
To: perlbug@perl.com
Subject: Bug: perl 5.001m crashes in pp_select
I'm getting a segmentation fault with perl5.
Details: perl5.001m, Solaris 2.4, compiled with gcc 2.5.8,
using libwwwperl-5b5.
Backtrace:
(gdb) bt
#0 0x72e70 in pp_sselect () at pp_sys.c:571
#1 0x476ec in run () at run.c:56
#2 0x1cc40 in perl_run (sv_interp=0x9f008) at perl.c:516
#3 0x1bb34 in main (argc=0, argv=0xeffff6dc, env=0xeffff6ec) at perlmain.c:34
567 SP -= 4;
568 for (i = 1; i <= 3; i++) {
569 if (!SvPOK(SP[i]))
570 continue;
571 j = SvCUR(SP[i]);
572 if (maxlen < j)
573 maxlen = j;
574 }
i == 2; sp[i] exists, as does SvCUR (which evaluates to 2). I don't
really see why a segmentation fault occurs here, but maybe somebody
else does?
Hans
--
Hans de Graaff J.J.deGraaff@TWI.TUDelft.NL
Delft University of Technology Department of Information Systems
----- <a href=http://is.twi.tudelft.nl/~graaff/>Hans de Graaff</a> ----