RE: File problem

From: [at]} <weck{>
Date: Tue, 12 Jun 2001 00:02:19 +0200

Greg,

> I can't read this file... when I try, I get a trap #109 in
> Stores.Reader.ReadStore (but the trap is a system trap, not the typical
> interactive BB trap)... any idea why?

When I open the file with a BlackBox already running, I get the usual Trap
Viewer. Only when I double-click at the file to open it, I get the dialog box.

> This file is archived and pulled back from using CVS... I've checked CVS and
> that shouldn't be the problem (it's checked in as a binary file, so no
> modifications should be made to it). I'm able to open other file types into
> BB using the same method, but and .odc file hangs.

The trap indicates that the file format has been corrupted. At a place where a
new Stores.Store is supposed to start the expected tag value cannot be found.

If you open your file as data file to look at the hex dump you will find that
all the places where the file happens to contain the value 0A this is preceeded
by a 0D. This suggests that CVS may have treated your file as text rather than
binary and inserted extra CR wherever it found what looked like a LF. Such
insertions would perfectly explain why the Stores-tag is not found where it is
expected, which in turn explains the trap.

By the way: In addition to being corrupted, your file seems to be truncated as
well.

All the best,
        Wolfgang

--------------------------------------------

To unsubscribe from this mailing list, send a message containing the word "unsubscribe" to:
   blackbox-request{([at]})nowhere.xy

To get a list of valid e-mail commands and instructions on their usage, send a message containing the word "help" to the above address.

Send any problem reports or questions related to this email list to the list owner at
   owner-blackbox{([at]})nowhere.xy
Received on Mon Jun 11 2001 - 22:02:19 UTC

This archive was generated by hypermail 2.3.0 : Thu Sep 26 2013 - 06:27:43 UTC