🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.msdos.misc
Article #3514

Re: "Packed file is corrupt" error and MS-DOS 5.0

#3514
From: Geoff Arnold Sun BOS - R.H. coas...
Date: Tue, 25 Jun 1991 11:30
36 lines
2459 bytes
Quoth victor@ccwf.cc.utexas.edu (Victor Menayang) (in <51169@ut-emx.uucp>):
#In article <1991Jun24.195425.19543@jarvis.csri.toronto.edu> west@turing.toronto.edu (Tom West) writes:
#>
#>  I have been getting "Packed file is corrupt" errors when trying to
#>run certain applications after installing MS-DOS 5.0.  Any idea what 
#>might cause this?  Specifically qbasic and PC-NFS telnet give this
#>error when I try to run them.
#>
#
#Perhaps the fix is simple: loadfix program.
#It was mentioned in one online doc in the Beta. You're right though, it has
#something to do with you loading DOS high (loadfix puts the program
#abovethe first 64k of conventional memory).

It seems that the bug is in the EXEPACK distributed with Microsoft C versions
before 6.0. The unpacking function assumes that the load address will
always be >64K. This was a reasonable assumption prior to DR-DOS and MS-DOS 5.0,
but no more. The immediate answer, as Victor pointed out, is LOADFIX. Long-term,
the solution is to build with MSC 6.x tools.

#I thought loadfix and wina20.386 would only be needed in the Beta
#versions :-)

But how....? After all, there's nothing in DOS 5.0 (beta or FCS) that can
change the way the EXEPACK-generated stuff works. (Or are you suggesting
that DOS 5.0 should run a signature check on an EXE, recognize that it's
EXEPACKed, and automatically LOADFIX it?)

Or did I misinterpret the smiley?

Geoff

--Geoff Arnold, PC-NFS architect(geoff@East.Sun.COM or geoff.arnold@Sun.COM)--
------------------------------------------------------------------------------
--       Sun Technology Enterprises : PC Networking group                   --
--   (officially from July 1, but effectively in place right now)           --
Technical Details
Message-ID: <6886@eastapps.East.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!milano!uudell!bigtex!texsun!cronkite!newstop!eastapps!bodleian!geoff
References: <1991Jun24.195425.19543@jarvis.csri.toronto.edu> <51169@ut-emx.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!usc!cs.utexas.edu!milano!uudell!bigtex!texsun!cronkite!newstop!eastapps!bodleian!geoff
From: geoff@bodleian.East.Sun.COM (Geoff Arnold @ Sun BOS - R.H. coast near the top)
Newsgroups: comp.os.msdos.misc,comp.protocols.nfs
Subject: Re: "Packed file is corrupt" error and MS-DOS 5.0
Message-ID: <6886@eastapps.East.Sun.COM>
Date: 25 Jun 91 11:30:53 GMT
References: <1991Jun24.195425.19543@jarvis.csri.toronto.edu> <51169@ut-emx.uucp>
Sender: news@East.Sun.COM
Reply-To: geoff@east.sun.com (Geoff Arnold @ Sun BOS - R.H. coast near the top)
Followup-To: comp.os.msdos.misc
Organization: Sun Microsystems PC-NFS Engineering
Lines: 36