gnu-arch-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnu-arch-users] PANIC: Top-of-file arch tag crosses 1k boundary


From: James Blackwell
Subject: Re: [Gnu-arch-users] PANIC: Top-of-file arch tag crosses 1k boundary
Date: Wed, 25 Aug 2004 09:03:10 -0400

John Meinel wrote: 
> Do I have a different 1.2.1 than you do? I got mine from
> release.gnuarch.org. And it has a valid signature from jblack.
> John

This fix is patch-24, which isn't in 1.2.1 (which ended at patch-19 I
believe).

My guess is that one of two things happened: Either A) he's built
against dev or B) When Tom built for the release on the fsf site, some
patches snuck in that shouldn't be there.


>=:->
>
> Robert Anderson wrote:
>| --- Original Message ---
>| From: Aaron Bentley <address@hidden>
>| To: Robert Anderson <address@hidden>
>| CC: address@hidden
>| Subject: Re: [Gnu-arch-users] PANIC: Top-of-file arch tag crosses
>| 1k boundary
>|
>|
>|>Robert Anderson wrote:
>|>
>|>>This is the error messages I get when I do 'tla changes' using
>|>>the 1.2.1, which I just installed:
>|>>
>|>>PANIC: Top-of-file arch tag crosses 1k boundary
>|>>
>|>>Any ideas?  I don't have any arch-tags at the top of files.  I do
>|>>have some in very small files, however, that I suppose could be
>|>>interpreted as the "top" even though they are closer to the
>|>>bottom than the top.
>|>
>|>Urk.
>|>
>|>Try to avoid one bug, you get another.  The rationale was that
>|
>| ids were
>|
>|>being truncated when their tags crossed the 1K boundary.  Rather
>|
>| than
>|
>|>fix it hastily, a PANIC was added, to prevent tla from silently
>|
>| doing
>|
>|>the wrong thing.
>|
>|
>| Let me see if I understand.  There are two allowable places for
>| tags in the file:  1k starting from the beginning of the file,
>| and the last 1k of the file.
>|
>| The algorithm for finding a tag is: search the top, and if none
>| is found, then search the bottom for the tag identifier.  If
>| found in the "top", do this barrier-cross check on the tag to
>| prevent unintended truncation.
>|
>| The failure mode here is that the tag was intended to be at the
>| bottom of the file, but the file is short enough that the tag is
>| in _both_ the "bottom" and "top" regions, although only partially
>| contained in the "top" region.
>|
>| Shouldn't the algorithm look for the tag at the "bottom" location
>| _first_?  And only if no tag is found, to search the top?
>|
>| Bob
>|
>|
>|
>|
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (Cygwin)
> Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
>
> iD8DBQFBLAH9JdeBCYSNAAMRAln+AJ9hlNkBsfMOO8PAXB6tOiMlwUmCOQCgwLUt
> UIuK0J11upbPwRx0HTQBo3o=
> =pIhW
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> Gnu-arch-users mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/gnu-arch-users
>
> GNU arch home page:
> http://savannah.gnu.org/projects/gnu-arch/
>


-- 
James Blackwell          Try something fun: For the next 24 hours, give
Smile more!              each person you meet a compliment!

GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D  247A 8A55 DA73 0635 7400




reply via email to

[Prev in Thread] Current Thread [Next in Thread]