🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.sources.bugs
Article #165

Re: Sun4os4 /bin/sh dumps core. (was: perl 3.0 dumps core)

#165
From: Theodore Y. Ts'o
Date: Wed, 13 Sep 1989 07:30
32 lines
2193 bytes
In article <2439@auspex.auspex.com> guy@auspex.auspex.com (Guy Harris) writes:
>There may be some alignment bugs in Perl; Theodore Ts'o's posting
>indicates that there seemed to be such bugs when he brought it up on a
>DECStation, and such bugs would be likely to show up on SPARC-based
>machines as well.  The bug that started this thread ain't one of them,
>though.  The cause of said bug has been identified, so please, no more
>speculation on its cause....

In fact, once the patches I've posted are applied (the most important
of which fixed a array overrun which trashed malloc control blocks),
There's only one problem that I know of which might possibly be related
to alignment restrictions:   

<tytso@hodge>   {~/watchmaker/mipssrc/perl/t}
101% op.sort
1..3
Fixed up unaligned data access for pid 2332 (perl) at pc 0x418b0c
Fixed up unaligned data access for pid 2332 (perl) at pc 0x418b24
Fixed up unaligned data access for pid 2332 (perl) at pc 0x418b2c
not ok 1
ok 2
Segmentation violation (core dumped)

(the "Fixed up unaligned...." message is printed by the Ultrix Kernel)

All of the other regression tests pass on the PMAX, so I doubt most of
the reported bugs are alignment-based, given that everything else
works on a MIPS architecture.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Theodore Ts'o				bloom-beacon!mit-athena!tytso
3 Ames St., Cambridge, MA 02139		tytso@athena.mit.edu
   Everybody's playing the game, but nobody's rules are the same!
Technical Details
Message-ID: <14287@bloom-beacon.MIT.EDU>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!athena.mit.edu!tytso
References: <550@caldwr.UUCP> <SCHWARTZ.89Sep7220013@shire.cs.psu.edu> <FLEE.89Sep7225002@shire.cs.psu.edu> <2256@hydra.Helsinki.FI> <876@pogo.omni.com> <2439@auspex.auspex.com>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!bloom-beacon!athena.mit.edu!tytso
From: tytso@athena.mit.edu (Theodore Y. Ts'o)
Newsgroups: comp.sources.bugs
Subject: Re: Sun4os4 /bin/sh dumps core. (was: perl 3.0 dumps core)
Message-ID: <14287@bloom-beacon.MIT.EDU>
Date: 13 Sep 89 07:30:40 GMT
References: <550@caldwr.UUCP> <SCHWARTZ.89Sep7220013@shire.cs.psu.edu> <FLEE.89Sep7225002@shire.cs.psu.edu> <2256@hydra.Helsinki.FI> <876@pogo.omni.com> <2439@auspex.auspex.com>
Sender: daemon@bloom-beacon.MIT.EDU
Reply-To: tytso@athena.mit.edu (Theodore Y. Ts'o)
Organization: Massachusetts Institute of Technology
Lines: 32