<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 06.09.2012 14:27, Takeshi MUTOH
      wrote:<br>
    </div>
    <blockquote cite="mid:8CD8A7AF-0037-4A6A-B602-ADAE45F34B43@610t.org"
      type="cite">
      <pre wrap=""> 
Hi Henry, thank you for your advice.

On 2012/09/06, at 18:11, Henrik Sperre Johansen <a class="moz-txt-link-rfc2396E" href="mailto:henrik.s.johansen@veloxit.no">&lt;henrik.s.johansen@veloxit.no&gt;</a> wrote:

</pre>
      <blockquote type="cite">
        <pre wrap="">On 06.09.2012 08:06, Takeshi MUTOH wrote:
</pre>
        <blockquote type="cite">
          <pre wrap=""> Hi, I'm a maintainer of FreeBSD port lang/squeak.

I receive a serious problem report below:
- <a class="moz-txt-link-freetext" href="http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/171291">http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/171291</a>
</pre>
        </blockquote>
      </blockquote>
      <pre wrap="">  (snip)
</pre>
      <blockquote type="cite">
        <pre wrap="">That's seems to be a corrupted Squeak41.sources file, afaict the source offset in the image is correct, but the contents at that offset is gibberish.
I'd suggest checking the version included in FreeBSD port vs the one found at <a class="moz-txt-link-freetext" href="ftp://squeak.org/4.1/SqueakV41.sources.gz">ftp://squeak.org/4.1/SqueakV41.sources.gz</a>
</pre>
      </blockquote>
      <pre wrap="">
Your suggestion is right.
When I replace Squeak41.sources to <a class="moz-txt-link-freetext" href="ftp://squeak.org/4.1/SqueakV41.sources.gz">ftp://squeak.org/4.1/SqueakV41.sources.gz</a>, the problem is fixed.

I'll make patch to fix this problem.

How do you find the problem?
I want to know for fixing this kind of problem.

Thank you very much, again.
--
Takeshi MUTOH <a class="moz-txt-link-rfc2396E" href="mailto:mutoh@openedu.org">&lt;mutoh@openedu.org&gt;</a>
</pre>
    </blockquote>
    From the stacktrace and error message.<br>
    Error says something can't be read as UTF8 (which you describe as
    happening when clicking on the class), a bit down in the trace it is
    clear that something originated as a class comment:<br>
    ClassOrganizer(BasicClassOrganizer)&gt;&gt;classComment<br>
    <br>
    In one of the top frames:<br>
    UTF8TextConverter class&gt;&gt;decodeByteString:<br>
        Receiver: UTF8TextConverter<br>
        Arguments and temporary variables: <br>
            aByteString:     '<b>*garbled contents not remotely
      resembling UTF8*</b><br>
    <br>
    Yeah, that's something which should not be decoded as UTF8 in the
    first place...<br>
    a bit further down:<br>
    <br>
    RemoteString&gt;&gt;text<br>
        Receiver: a RemoteString<br>
        Arguments and temporary variables: <br>
            theFile:     MultiByteFileStream:
    '/usr/local/lib/squeak/4.4.7-2383/SqueakV41.sourc...etc...<br>
        Receiver's instance variables: <br>
            sourceFileNumber:     1<br>
            filePositionHi:     4185358<br>
    <br>
    file name/location looked ok, filePositionHi checked against a 4.1
    image where the error did not occur was the same.<br>
    Hence, it seemed likely problem was a corrupt .sources file (which
    the RemoteString points to) rather than the method in .image file
    containing an incorrect source offset.<br>
    <br>
    Cheers,<br>
    Henry<br>
  </body>
</html>