Cuis-Smalltalk / Cuis-Smalltalk-Dev

Active development of Cuis Smalltalk
MIT License
433 stars 71 forks source link

can not work with Raspberry Pi Raspian #212

Closed wwj718 closed 2 years ago

wwj718 commented 2 years ago

when I run command: cogspur/squeak Cuis-Smalltalk-Dev/Cuis5.0-4928-32.image, the following error occurs:

Segmentation fault Tue Oct 19 13:21:58 2021

/home/pi/smalltalk/cogspur/lib/squeak/5.0-202003021730/squeak
Squeak VM version: 5.0-202003021730  Tue Mar  3 09:42:45 UTC 2020 gcc 4.9.2 [Production Spur VM]
Built from: CoInterpreter VMMaker.oscog-nice.2712 uuid: da64ef0b-fb0a-4770-ac16-f9b448234615 Mar  3 2020
With: StackToRegisterMappingCogit VMMaker.oscog-eem.2719 uuid: e40f3e94-3a54-411b-9613-5d19114ea131 Mar  3 2020
Revision: VM: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Date: Mon Mar 2 18:30:55 2020 CommitHash: 6a0bc96
Plugins: 202003021730 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Build host: Linux travis-job-97835d24-79f4-41d1-b7e9-c81bd8bf7149 4.4.0-104-generic #127~14.04.1-Ubuntu SMP Mon Dec 11 12:44:15 UTC 2017 armv7l GNU/Linux
plugin path: ./cogspur/lib/squeak/5.0-202003021730 [default: /home/pi/smalltalk/cogspur/lib/squeak/5.0-202003021730/]

C stack backtrace & registers:
     r0 0x00000000 r1 0x01e04c70 r2 0x01e04d30 r3 0x01e04c70
     r4 0x00000000 r5 0xbea1f6f0 r6 0x01e12d10 r7 0x00224250
     r8 0x00000000 r9 0x00000001 r10 0x00216288 fp 0x0021a278
     ip 0x00000c58 sp 0xbea1d708 lr 0x00069290 pc 0x0004fe44
*[0x0]
/lib/arm-linux-gnueabihf/libc.so.6(vsprintf+0x80)[0xb6caa228]

Smalltalk stack dump:
0xbea1f6c4 M SystemDictionary(Set)>findElementOrNil: 0x1ecbe50: a(n) SystemDictionary
0xbea1f6f0 I SystemDictionary(Dictionary)>at:put: 0x1ecbe50: a(n) SystemDictionary
0xbea1f71c I SystemDictionary>at:put: 0x1ecbe50: a(n) SystemDictionary
0xbea1f768 I [] in SystemDictionary>snapshot:andQuit:embedded:clearAllClassState: 0x1ecbe50: a(n) SystemDictionary
 0x24321a8 s [] in BlockClosure>newProcess

Most recent primitives
maxIdentityHash
identityHash
at:
at:

stack page bytes 4096 available headroom 2788 minimum unused headroom 3776

    (Segmentation fault)

system info

image

nmingotti commented 2 years ago

Please follow these instructions.

https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/wiki/Run-Cuis-in-a-ARM-platform,-RPi,-BeagleBone-and-similar.-(Linux)

in the future please send mail in the mailing list, don't post straight here.

wwj718 commented 2 years ago

@nmingotti got it, thanks!