Hi,
Has anyone in this group tried out BBC's micro:bit board[1]? The board
was released around 2016 targeted at seventh graders - the same target
audience as the original Squeak and Etoys team.
[1] https://microbit.org/
What I like about the board is its out of the box readiness for
programming - It has two push buttons, 5x5 LED array, an accelerometer,
magnetometer and BT and USB chip on board and boots to a Micro Python
REPL shell. It powers up just from a pair of AAA batteries (included).
No need to muck around with toolchains. Just connect, power up and start
programming.
The board allows direct, live programming in the spirit of Morphic and
Logo turtle. I wonder if anyone has tried a squeeze a Squeak VM
(pipsqueak?) into this board? or tried to control the board from Squeak?
Regards .. Subbu
Otherwise, a segmentation fault on quit time is produced when using third party libraries such as Vulkan drivers that depend on it.
Here is the stack trace that I obtain:
C stack backtrace & registers:
rax 0x7f9521972810 rbx 0x00000000 rcx 0x013df6a0 rdx 0x7f9522cf3ca0
rdi 0x00000000 rsi 0x00000000 rbp 0x013cd090 rsp 0x7ffd0cf3f3d8
r8 0x00000001 r9 0x00000007 r10 0x00000016 r11 0x00000000
r12 0x013ddfe8 r13 0x00000000 r14 0x00000000 r15 0x00000000
rip 0x7f9522d03960
*/lib/x86_64-linux-gnu/libpthread.so.0(__pthread_mutex_lock+0x0)[0x7f9522d03960]
sqcogspur64linuxht/lib/squeak/5.0-201906220205/squeak[0x41b7c3]
sqcogspur64linuxht/lib/squeak/5.0-201906220205/squeak[0x41d24e]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x12dd0)[0x7f9522d0bdd0]
/lib/x86_64-linux-gnu/libpthread.so.0(__pthread_mutex_lock+0x0)[0x7f9522d03960]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XrmDestroyDatabase+0x27)[0x7f952198d287]
/usr/lib/x86_64-linux-gnu/libX11.so.6(_XFreeDisplayStructure+0x39b)[0x7f95219747ab]
/usr/lib/x86_64-linux-gnu/libX11.so.6(XCloseDisplay+0xdf)[0x7f9521961c4f]
sqcogspur64linuxht/lib/squeak/5.0-201906220205/vm-display-X11.so(disconnectXDisplay+0xa6)[0x7f9521b28456]
sqcogspur64linuxht/lib/squeak/5.0-201906220205/squeak(ioExitWithErrorCode+0x21)[0x41dfe1]
sqcogspur64linuxht/lib/squeak/5.0-201906220205/squeak(interpret+0xa1f5)[0x467fd5]
sqcogspur64linuxht/lib/squeak/5.0-201906220205/squeak[0x469216]
sqcogspur64linuxht/lib/squeak/5.0-201906220205/squeak(interpret+0x246)[0x45e026]
sqcogspur64linuxht/lib/squeak/5.0-201906220205/squeak(main+0x2fa)[0x41acfa]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xeb)[0x7f9522b3309b]
sqcogspur64linuxht/lib/squeak/5.0-201906220205/squeak[0x41b024]
[0x0]
You can view, comment on, or merge this pull request online at:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/409
-- Commit Summary --
* Always call XInitThreads, not only on the Pharo VM. Otherwise, a segmentation fault on quit time is produced when using third party libraries such as Vulkan drivers that depend on it.
-- File Changes --
M platforms/unix/vm-display-X11/sqUnixX11.c (7)
-- Patch Links --
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/409.patchhttps://github.com/OpenSmalltalk/opensmalltalk-vm/pull/409.diff
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/OpenSmalltalk/opensmalltalk-vm/pull/409
Branch: refs/heads/Cog
Home: https://github.com/OpenSmalltalk/opensmalltalk-vm
Commit: f6761a4e82194984ef3ab47e104d2f84c44f31fd
https://github.com/OpenSmalltalk/opensmalltalk-vm/commit/f6761a4e82194984ef…
Author: Ronie Salgado <roniesalg(a)gmail.com>
Date: 2019-06-23 (Sun, 23 Jun 2019)
Changed paths:
M platforms/unix/vm-display-X11/sqUnixX11.c
Log Message:
-----------
Always call XInitThreads, not only on the Pharo VM. Otherwise, a segmentation fault on quit time is produced when using third party libraries such as Vulkan drivers that depend on it.
The class name "NotFoundError" was too generic in Alien package - so I renamed it
into LibrarySymbolNotFoundError. I also added the missing class comment.
I hope the small change does not create too much hazzle
----------------------------------------------------------------------------------------------------------------
Name: Alien-Core-TorstenBergmann.101
Author: TorstenBergmann
Time: 14 June 2019, 9:48:43.798137 pm
UUID: 796ac3ab-af47-0d00-8f6e-47ed0d723e43
Ancestors: Alien-Core-tbn.100
-------------------------------------------------------------------------------
- done in original SqueakSource version http://www.squeaksource.com/Alien.html as Alien-Core-TorstenBergmann.101.mcz
- and for Pharo: https://github.com/pharo-project/pharo/issues/3536 / https://github.com/pharo-project/pharo/pull/3537