memory and VM issues (interp.c part 1 of 2 attached)

David T. Lewis lewis at mail.msen.com
Mon Aug 1 02:43:59 UTC 2005


On Fri, Jul 29, 2005 at 01:03:31PM -0700, Tim Rowledge wrote:
> Could you try a 3.8-6665 image, SVN revision 1100, VMMaker38b4 combo?
> That is the last pre-64bit-fiddling build and should work ok. One thing
> we're a bit concerned with is the changes to GC/weak objects that got
> put in later.

OK, I spend some time hunting this down the hard way. I can't yet say
exactly what's wrong, but I think I've got it pretty well localized.

Executive summary: The problem was introduced in VMM code as opposed to
platforms code.  It was introduced in the change from VMMaker-tpr.21 to
VMMaker-tpr.22. The VMMaker-tpr.22 change set contains "Merge in johnmci
& ar's GC instrumentation and weak pointer changes".

I don't know anything further at this point, but this should at least
narrow the search.

Here's my debugging log. A bit terse, but it will give you an idea of
some of the combinations that I tried.

- Dave

(CC to vm-dev list: This pertains to building a VM on my 32 bit Intel
Linux box from recent SVN and VMM code bases, following up on my
previous message "Problem building from latest SVN & VMM".)


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

Key:
  OK  -> does not exhibit the memory access bug (crash VM and/or debuggers in minimal image)
  NFG -> has the bug
  ?   -> not sure, gave up due to other problems

Test log (note: I closed in the the problem using SVN 1200 code base, varying VMM versions):

Platforms version               VMMaker version Result
-----------------               --------------- ------
./dist3                         ./dist3         OK

squeak-svn-source-SVN1100       VMMaker-tpr.15  ? needs sqMemoryAccess.h

squeak-svn-source-SVN1140       VMMaker-tpr.15  ? mismatch, lots of missing stuff
squeak-svn-source-SVN1140       VMMaker-tpr.20  ? parse error gnu-interp.c

squeak-svn-source-SVN1145       VMMaker-tpr.15  ? mismatch, lots of missing stuff
squeak-svn-source-SVN1145       VMMaker-tpr.20  ? parse error gnu-interp.c

squeak-svn-source-SVN1150       VMMaker-tpr.15  ? needs interp.h, parse error gnu-interp.c
squeak-svn-source-SVN1150       VMMaker-tpr.14  ? needs interp.h
squeak-svn-source-SVN1150       VMMaker-tpr.20  ? needs interp.h
squeak-svn-source-SVN1150       VMMaker-tpr.25  ? needs interp.h
squeak-svn-source-SVN1150       VMMaker-tpr.34  ? needs interp.h
squeak-svn-source-SVN1150       VMMaker-tpr.31  ? needs interp.h

squeak-svn-source-SVN1158       VMMaker-tpr.15  OK WRT bug, but has FilePlugin problem
squeak-svn-source-SVN1158       VMMaker-tpr.16  OK WRT bug, but has FilePlugin problem
squeak-svn-source-SVN1158       VMMaker-tpr.17  ? parse error in #sufficientSpaceToInstantiate:indexableSize:
squeak-svn-source-SVN1158       VMMaker-tpr.20  ? parse error in #sufficientSpaceToInstantiate:indexableSize:
squeak-svn-source-SVN1158       VMMaker-tpr.31  NFG
squeak-svn-source-SVN1158       VMMaker-tpr.33  ? undefined reference to `fetchWordofObject'

squeak-svn-source-SVN1165       VMMaker-tpr.15  OK WRT bug, but has FilePlugin problem
squeak-svn-source-SVN1165       VMMaker-tpr.16  OK WRT bug, but has FilePlugin problem
squeak-svn-source-SVN1165       VMMaker-tpr.31  NFG
squeak-svn-source-SVN1165       VMMaker-tpr.33  NFG
squeak-svn-source-SVN1165       VMMaker-tpr.34  ? undefined reference to `fetchWordofObject'
squeak-svn-source-SVN1180       VMMaker-tpr.35  ? undefined reference to `fetchWordofObject'
squeak-svn-source-SVN1180       VMMaker-tpr.37  ? undefined reference to `fetchWordofObject'

squeak-svn-source-SVN1200       VMMaker-tpr.16  OK WRT bug, but has FilePlugin problem
squeak-svn-source-SVN1200       VMMaker-tpr.20  OK, but parse error in #sufficientSpaceToInstantiate:indexableSize:
squeak-svn-source-SVN1200       VMMaker-tpr.21  ==> OK, but has FilePlugin problem plus parse error in #sufficientSpaceToInstantiate:indexableSize:
squeak-svn-source-SVN1200       VMMaker-tpr.22  ==> NFG, plus has FilePlugin problem plus parse error in #sufficientSpaceToInstantiate:indexableSize:
squeak-svn-source-SVN1200       VMMaker-tpr.23  NFG, plus has FilePlugin problem
squeak-svn-source-SVN1200       VMMaker-tpr.25  ? parse error in #sufficientSpaceToInstantiate:indexableSize:
squeak-svn-source-SVN1200       VMMaker-tpr.26  NFG
squeak-svn-source-SVN1200       VMMaker-tpr.28  NFG
squeak-svn-source-SVN1200       VMMaker-tpr.31  NFG
squeak-svn-source-SVN1200       VMMaker-tpr.37  NFG

squeak-svn-source-SVN1233       VMMaker-tpr.16  ? undefined reference to `fetchLong32ofObject'
squeak-svn-source-SVN1233       VMMaker-tpr.37  NFG




More information about the Vm-dev mailing list