<p></p>
On 2021-07-22 23:24, Tobias Pape wrote:<br>
<br>
> Ken, can you build a debug-vm? (I think you need to ./mvm in <br>
> build.linux64ARMv8/squeak.cog.spur/build.debug)<br>
<br>
OK.  Build runs fine.<br>
<br>
First trace under gdb, 2nd two freestanding.<br>
<br>
In both cases I have loaded a bunch of code and am runnning large number <br>
of tests in the unit test runner.<br>
<br>
FYI,<br>
-KenD<br>
<br>
PS: Many thanks for include order fix!!<br>
<br>
Chromebook:Linux:Arm64:~/OpenSmalltalk/oscogvm/products/debug/sqcogspur64ARMv8linuxht/lib/squeak/5.0-202107242215 >>> git branch -a<br>
* Cog<br>
  fix_include_order<br>
  remotes/origin/Cog<br>
  remotes/origin/HEAD -> origin/Cog<br>
Chromebook:Linux:Arm64:~/OpenSmalltalk/oscogvm/products/debug/sqcogspur64ARMv8linuxht/lib/squeak/5.0-202107242215 >>> gdb squeak<br>
GNU gdb (Debian 8.2.1-2+b3) 8.2.1<br>
Copyright (C) 2018 Free Software Foundation, Inc.<br>
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html><br>
This is free software: you are free to change and redistribute it.<br>
There is NO WARRANTY, to the extent permitted by law.<br>
Type "show copying" and "show warranty" for details.<br>
This GDB was configured as "aarch64-linux-gnu".<br>
Type "show configuration" for configuration details.<br>
For bug reporting instructions, please see:<br>
<http://www.gnu.org/software/gdb/bugs/>.<br>
Find the GDB manual and other documentation resources online at:<br>
    <http://www.gnu.org/software/gdb/documentation/>.<br>
<br>
For help, type "help".<br>
Type "apropos word" to search for commands related to "word"...<br>
Reading symbols from squeak...done.<br>
(gdb) run $CUIS/Dev.image<br>
Starting program: /home/kendi3he/OpenSmalltalk/oscogvm/products/debug/sqcogspur64ARMv8linuxht/lib/squeak/5.0-202107242215/squeak $CUIS/Dev.image<br>
[Thread debugging using libthread_db enabled]<br>
Using host libthread_db library "/lib/aarch64-linux-gnu/libthread_db.so.1".<br>
[New Thread 0x7ff7274190 (LWP 19574)]<br>
pthread_setschedparam failed: Operation not permitted<br>
This VM uses a separate heartbeat thread to update its internal clock<br>
and handle events.  For best operation, this thread should run at a<br>
higher priority, however the VM was unable to change the priority.  The<br>
effect is that heavily loaded systems may experience some latency<br>
issues.  If this occurs, please create the appropriate configuration<br>
file in /etc/security/limits.d/ as shown below:<br>
<br>
cat <<END | sudo tee /etc/security/limits.d/squeak.conf<br>
*      hard    rtprio  2<br>
*      soft    rtprio  2<br>
END<br>
<br>
and report to the squeak mailing list whether this improves behaviour.<br>
<br>
You will need to log out and log back in for the limits to take effect.<br>
For more information please see<br>
https://github.com/OpenSmalltalk/opensmalltalk-vm/releases/tag/r3732#linux<br>
<br>
Thread 1 "squeak" received signal SIGSEGV, Segmentation fault.<br>
0x0000005555909004 in ?? ()<br>
(gdb) bt<br>
#0  0x0000005555909004 in ?? ()<br>
#1  0x0000005555aa9000 in ?? ()<br>
Backtrace stopped: previous frame identical to this frame (corrupt stack?)<br>
(gdb) info regis<br>
x0             0x555590ab10        366507764496<br>
x1             0x5555aa9000        366509461504<br>
x2             0x5555aa9000        366509461504<br>
x3             0x5555843ed8        366506950360<br>
x4             0x5555a9fd30        366509423920<br>
x5             0x7ff747bef0        549609520880<br>
x6             0xbada553           195929427<br>
x7             0xbada554           195929428<br>
x8             0x0                 0<br>
x9             0x2aa1a6c000        183100686336<br>
x10            0xbabe1f19babe1f18  -4990517141712265448<br>
x11            0xd503201f00000032  -3097596801184694222<br>
x12            0xd503201f17fbe6ce  -3097596800782309682<br>
x13            0x0                 0<br>
x14            0x0                 0<br>
x15            0xffffffffffffff    72057594037927935<br>
x16            0x555580bda0        366506720672<br>
x17            0x7ff7d8c2c0        549619024576<br>
x18            0x7f                127<br>
x19            0x5555843ed8        366506950360<br>
x20            0x555673edd8        366522658264<br>
x21            0x5555a291b8        366508937656<br>
x22            0x7ffffcc010        549755600912<br>
x23            0x9                 9<br>
x24            0x0                 0<br>
x25            0x0                 0<br>
x26            0x0                 0<br>
x27            0x0                 0<br>
x28            0x5555829770        366506841968<br>
x29            0x7ffff98210        549755388432<br>
x30            0x555564efb0        366504898480<br>
sp             0x7ffff98210        0x7ffff98210<br>
pc             0x5555909004        0x5555909004<br>
cpsr           0x60000000          [ EL=0 C Z ]<br>
--Type <RET> for more, q to quit, c to continue without paging--q<br>
Quit<br>
(gdb) cont<br>
Continuing.<br>
<br>
Segmentation fault Sat Jul 24 15:31:46 2021<br>
<br>
<br>
/home/kendi3he/OpenSmalltalk/oscogvm/products/debug/sqcogspur64ARMv8linuxht/lib/squeak/5.0-202107242215/squeak<br>
Squeak VM version: 5.0-202107242215  Sat Jul 24 15:19:41 PDT 2021 gcc 8 [Debug Spur 64-bit VM]<br>
Built from: CoInterpreter VMMaker.oscog-mt.2992 uuid: 0ca40134-7df9-b546-a396-fe2d267143e3 Jul 24 2021<br>
With: StackToRegisterMappingCogit VMMaker.oscog-mt.2992 uuid: 0ca40134-7df9-b546-a396-fe2d267143e3 Jul 24 2021<br>
Revision: VM: 202107242215 ***@***.***:OpenSmalltalk/oscogvm<br>
Date: Sat Jul 24 15:15:43 2021 CommitHash: 5239460e7<br>
Plugins: 202107242215 ***@***.***:OpenSmalltalk/oscogvm<br>
Build host: Linux penguin 5.4.109-26094-g381754fbb430 #1 SMP PREEMPT Sat Jun 26 21:33:25 PDT 2021 aarch64 GNU/Linux<br>
plugin path: /home/kendi3he/OpenSmalltalk/oscogvm/products/debug/sqcogspur64ARMv8linuxht/lib/squeak/5.0-202107242215/ [default: /home/kendi3he/OpenSmalltalk/oscogvm/products/debug/sqcogspur64ARMv8linuxht/lib/squeak/5.0-202107242215/]<br>
<br>
<br>
C stack backtrace & registers:<br>
        x0 0x555590ab10 x1 0x5555aa9000 x2 0x5555aa9000 x3 0x5555843ed8<br>
        x4 0x5555a9fd30 x5 0x7ff747bef0 x6 0xbada553 x7 0xbada554<br>
        x8 (nil) x9 0x2aa1a6c000 x10 0xbabe1f19babe1f18 x11 0xd503201f00000032<br>
        x12 0xd503201f17fbe6ce x13 (nil) x14 (nil) x15 0xffffffffffffff<br>
        x16 0x555580bda0 x17 0x7ff7d8c2c0 x18 0x7f x19 0x5555843ed8<br>
        x20 0x555673edd8 x21 0x5555a291b8 x22 0x7ffffcc010 x23 0x9<br>
        x24 (nil) x25 (nil) x26 (nil) x27 (nil)<br>
        x29 0x5555829770  fp 0x7ffff98210  lr 0x555564efb0  sp 0x7ffff98210<br>
*[0x5555909004]<br>
/home/kendi3he/OpenSmalltalk/oscogvm/products/debug/sqcogspur64ARMv8linuxht/lib/squeak/5.0-202107242215/squeak(+0x36d48)[0x555558bd48]<br>
/home/kendi3he/OpenSmalltalk/oscogvm/products/debug/sqcogspur64ARMv8linuxht/lib/squeak/5.0-202107242215/squeak(+0x374cc)[0x555558c4cc]<br>
linux-vdso.so.1(__kernel_rt_sigreturn+0x0)[0x7ff7ffc564]<br>
[0x5555909004]<br>
[0x0]<br>
<br>
<br>
Smalltalk stack dump:<br>
      0x7ffffcc180 M ByteArray(SequenceableCollection)>hasEqualElements: 0x55578df9a0: a(n) ByteArray<br>
      0x7ffffcc1b8 M ByteArray(SequenceableCollection)>= 0x55578df9a0: a(n) ByteArray<br>
      0x7ffffcc1f0 M ByteArray>= 0x55578df9a0: a(n) ByteArray<br>
      0x7ffffcc250 M InstructionEncoderTest>encodingOf:equals: 0x5557a36c70: a(n) InstructionEncoderTest<br>
      0x7ffffcc2a0 I InstructionEncoderTest>test_MOV_001 0x5557a36c70: a(n) InstructionEncoderTest<br>
      0x7ffffcc2d0 M InstructionEncoderTest(TestCase)>performTest 0x5557a36c70: a(n) InstructionEncoderTest<br>
      0x7ffffc7d98 M [] in InstructionEncoderTest(TestCase)>runCase 0x5557a36c70: a(n) InstructionEncoderTest<br>
      0x7ffffc7dd8 M BlockClosure>ensure: 0x5555c002f0: a(n) BlockClosure<br>
      0x7ffffc7e10 M InstructionEncoderTest(TestCase)>runCase 0x5557a36c70: a(n) InstructionEncoderTest<br>
      0x7ffffc7e48 M [] in TestResult>runCase: 0x5557a33e50: a(n) TestResult<br>
      0x7ffffc7e78 M BlockClosure>on:do: 0x5555c003e8: a(n) BlockClosure<br>
      0x7ffffc7ec0 M [] in TestResult>runCase: 0x5557a33e50: a(n) TestResult<br>
      0x7ffffc7ef0 M BlockClosure>on:do: 0x5555c004f0: a(n) BlockClosure<br>
      0x7ffffc7f38 M TestResult>runCase: 0x5557a33e50: a(n) TestResult<br>
      0x7ffffc7f78 M [] in InstructionEncoderTest(TestCase)>run: 0x5557a36c70: a(n) InstructionEncoderTest<br>
      0x7ffffc7fb8 M BlockClosure>ensure: 0x5555c005f8: a(n) BlockClosure<br>
      0x7ffffc7ff0 M ChangeSet class>runningTest:do: 0x55564655d8: a(n) ChangeSet class<br>
      0x7ffffc8030 M InstructionEncoderTest(TestCase)>run: 0x5557a36c70: a(n) InstructionEncoderTest<br>
      0x7ffffc8070 M [] in TestSuite>run: 0x5557a33e70: a(n) TestSuite<br>
      0x7ffffc80b0 M OrderedCollection>do: 0x5557a33eb8: a(n) OrderedCollection<br>
      0x7ffffc80f8 I TestSuite>run: 0x5557a33e70: a(n) TestSuite<br>
      0x7ffffc8138 M [] in TestSuite>run 0x5557a33e70: a(n) TestSuite<br>
      0x7ffffc8178 M BlockClosure>ensure: 0x5557a33f90: a(n) BlockClosure<br>
      0x7ffffc81c8 I TestSuite>run 0x5557a33e70: a(n) TestSuite<br>
      0x7ffffc8200 M [] in TestRunner>runSuite: 0x55579fb760: a(n) TestRunner<br>
      0x7ffffc8240 M BlockClosure>ensure: 0x5557a34090: a(n) BlockClosure<br>
      0x7ffffc8290 I [] in TestRunner>runSuite: 0x55579fb760: a(n) TestRunner<br>
      0x7ffffc82d0 I [] in BlockClosure>newProcess 0x5557a34198: a(n) BlockClosure<br>
<br>
Most recent primitives<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
compare:with:collated:<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
specialObjectsArray<br>
digitCompare:<br>
digitCompare:<br>
digitCompare:<br>
do:<br>
and:and:<br>
isString<br>
select:thenDo:<br>
basicNew<br>
translate:from:to:table:<br>
basicNew<br>
with:withAll:<br>
at:put:<br>
at:put:<br>
basicNew<br>
shallowCopy<br>
translate:from:to:table:<br>
basicNew<br>
=<br>
isInBounds:<br>
isInBounds:<br>
identityHash<br>
bitXor:<br>
hashBytes:startingWith:<br>
bitXor:<br>
identityHash<br>
identityHash<br>
hash<br>
compare:with:collated:<br>
compare:with:collated:<br>
hashBytes:startingWith:<br>
compare:with:collated:<br>
acceptsOperands:<br>
acceptsOperands:<br>
acceptsOperands:<br>
bitAnd:<br>
bitAnd:<br>
registerGroup<br>
registerGroup<br>
registerGroup<br>
length<br>
isSpecificRegister<br>
compare:with:collated:<br>
compare:with:collated:<br>
hasImmediateFlag<br>
value:<br>
identityHash<br>
hashBytes:startingWith:<br>
compare:with:collated:<br>
compare:with:collated:<br>
basicNew<br>
newFrom:<br>
anySatisfy:<br>
overridesOperandSize<br>
isSegment<br>
and:and:and:<br>
~=<br>
**PrimitiveFailure**<br>
~=<br>
**PrimitiveFailure**<br>
isNumber<br>
isNil<br>
writeRexPrefix:<br>
noneSatisfy:<br>
position:<br>
position:<br>
arity<br>
encodeOperand:of:<br>
perform:with:<br>
postCopy<br>
last<br>
at:<br>
at:<br>
at:<br>
perform:with:<br>
//<br>
//<br>
//<br>
//<br>
basicNew<br>
basicNew<br>
peek<br>
value<br>
isLegacy<br>
rex<br>
size<br>
growTo:<br>
max:<br>
ofSize:<br>
ofSize:<br>
ofSize:<br>
do:separatedBy:<br>
specialObjectsArray<br>
indexOfByte:inString:startingAt:<br>
~=<br>
basicNew<br>
do:separatedBy:<br>
do:separatedBy:<br>
bitAnd:<br>
bitAnd:<br>
bitAnd:<br>
bitAnd:<br>
bitAnd:<br>
bitAnd:<br>
raisedToInteger:<br>
raisedToInteger:<br>
*<br>
-<br>
-<br>
basicNew<br>
basicNew<br>
hi<br>
hi<br>
basicNew<br>
basicNew<br>
upToEnd<br>
nextPutAll:<br>
mid<br>
lo<br>
lo<br>
lo<br>
lo<br>
lo<br>
do:<br>
specialObjectsArray<br>
indexOfByte:inString:startingAt:<br>
basicNew<br>
compare:with:collated:<br>
isSequenceable<br>
isSequenceable<br>
isSequenceable<br>
isSequenceable<br>
**CompactCode**<br>
<br>
stack page bytes 8192 available headroom 5596 minimum unused headroom 6040<br>
<br>
        (Segmentation fault)<br>
<br>
Thread 1 "squeak" received signal SIGABRT, Aborted.<br>
__GI_raise ***@***.***=6) at ../sysdeps/unix/sysv/linux/raise.c:50<br>
50      ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.<br>
(gdb) <br>


<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you commented.<br />Reply to this email directly, <a href="https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/574#issuecomment-886119866">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AIJPEW2YU2MVLFZRSH2JUMLTZM7FXANCNFSM5AV3NXFQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AIJPEW3VZCIEONLNRRFZ6XDTZM7FXA5CNFSM5AV3NXF2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOGTIR3OQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/574#issuecomment-886119866",
"url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/574#issuecomment-886119866",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>