[squeak-dev] seg-fault for the morphic team

gettimothy gettimothy at zoho.com
Wed Oct 6 11:17:27 UTC 2021


Hi Marcel



I went to truck and installed that package.



The bug went away.



Thank you.








---- On Wed, 06 Oct 2021 05:02:15 -0400 Marcel Taeumel <marcel.taeumel at hpi.de> wrote ----


Hi Timothy --



Still not sure how the VM could crash. Yet, the regression in Morphic is fixed in Morphic-mt.1782.



Best,

Marcel

Am 20.09.2021 14:21:54 schrieb gettimothy <mailto:gettimothy at zoho.com>:

Good Morning.





I am on Slackware Linux



VM info from the About Squeak





Virtual Machine

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

/home/wm/usr/src/smalltalk/Squeak6.0alpha-20579/bin/squeak

Open Smalltalk Cog[Spur] VM [CoInterpreterPrimitives VMMaker.oscog-nice.2715]

Unix built on Mar  3 2020 08:27:09 Compiler: 4.2.1 Compatible Clang 7.0.0 (tags/RELEASE_700/final)

platform sources 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

CoInterpreter VMMaker.oscog-nice.2715 uuid: 78e2f556-9829-42fe-963d-e19dfc43c0e9 Mar  3 2020

StackToRegisterMappingCogit VMMaker.oscog-eem.2719 uuid: e40f3e94-3a54-411b-9613-5d19114ea131 Mar  3 2020



To Build A Similar Virtual Machine

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

Visit https://github.com/OpenSmalltalk/opensmalltalk-vm; follow the

"Clone or download" instructions, then read the top-level README.md

and HowToBuild files in the top-level build directory for your

platform(s), build.macos64x64/HowToBuild, build.win32x86/HowToBuild, etc.



Virtual Machine Commandline Options

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

#1	-encoding

#2	UTF-8

#3	-vm-sound-pulse

#4	/home/wm/usr/src/smalltalk/Squeak6.0alpha-20579/shared/Squeak6.0alpha-20579-64bit.image



Loaded VM Modules

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

/lib64/libc.so.6

B2DPlugin VMMaker.oscog-eem.2719 (i)

BitBltPlugin VMMaker.oscog-eem.2719 (i)

CroquetPlugin VMMaker.oscog-eem.2673 (i)

FilePlugin VMMaker.oscog-eem.2673 (i)

FloatArrayPlugin VMMaker.oscog-eem.2673 (i)

LargeIntegers v2.0 VMMaker.oscog-eem.2719 (i)

Matrix2x3Plugin VMMaker.oscog-eem.2673 (i)

MiscPrimitivePlugin VMMaker.oscog-eem.2692 (i)

SecurityPlugin VMMaker.oscog-eem.2673 (i)

SocketPlugin VMMaker.oscog-eem.2673 (i)

SqueakFFIPrims

SqueakSSL VMMaker.oscog-eem.2673 (e)

SurfacePlugin Mar  3 2020 (i)

UnixOSProcessPlugin VMConstruction-Plugins-OSProcessPlugin.oscog-dtl.66 (e)

ZipPlugin VMMaker.oscog-eem.2673 (i)



Virtual Machine Parameters

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

#1		196,183,840	size of old space

#2		589,576	used bytes in new space (used eden + used past space)

#3		205,135,872	size of heap

#7		5	full GCs since startup

#8		512	total milliseconds in full GCs since startup

#9		2,056	scavenging GCs since startup

#10	975	total milliseconds in scavenging GCs since startup

#11	498,333	tenures of surving objects since startup

#12	0	event trace mask (for debugging input events)

#13	0	VM ticker start microseconds (Croquet/QwaqVM)

#14	0	VM ticker count (Croquet/QwaqVM)

#15	0	VM ticker call count (Croquet/QwaqVM)

#16	5,656,740,000	total microseconds in idle since startup

#17	0	proportion of code zone available for use (Sista VMs only; read-write)

#18	251	total milliseconds in full GC compaction since startup (a portion of parameter 8)

#19	5,135,773	scavenge threshold; the effective size of eden

#20	3,809,586,950,445,540	utc microseconds at startup (if non-zero)

#21	69	root/remembered table size (occupancy)

#22	0	root/remembered table overflows since startup

#23	0	bytes of extra memory to reserve for VM buffers, plugins, etc.

#24	33,554,432	free memory threshold above which object memory will be shrunk

#25	16,777,216	memory headroom when growing object memory

#26	2	heartbeat period (ms; see #58)

#31	8	number of grow memory requests

#32	2	number of shrink memory requests

#33	67	number of root table entries at last scavenge

#35	462	number of survivor objects at last scavenge (if non-zero)

#36	494,061,152	millisecond clock when current scavenge completed

#38	0	milliseconds taken by current scavenge

#39	0	Number of finalization signals for Weak Objects pending when current SGC/FGC completed

#40	8	VM word size - 4 or 8

#41	68021	imageFormatVersion for the VM

#42	50	number of stack pages available

#43	0	desired number of stack pages (stored in image file header, max 65535)

#44	6,854,880	size of eden, in bytes

#45	0	desired size of eden, in bytes (stored in image file header)

#46	1,433,600	machine code zone size, in bytes (0 in Stack VM)

#47	0	desired machine code zone size (0 => default 1Mb to 2Mb depending on processor)

#48	100100	Persistent image header flags

bit 0: implies Process has threadId as its 4th inst var

bit 1: if set, methods that are interpreted will have the flag bit set in their header

bit 2: if set, implies preempting a process does not put it to the back of its run queue

bit 3: if set, implies the GUI should run on the first thread and event queues should not be accessed from other threads

bit 4: if set, implies the new finalization scheme where WeakArrays are queued

bit 5: if set, implies wheel events will be delivered as such and not mapped to arrow key events

bit 6: if set, implies arithmetic primitives will fail if given arguments of different types (float vs int)

bit 7: if set, causes times delivered from file primitives to be in UTC rather than local time.

#49	256	max size the image promises to grow the external semaphore table to

#50..51	nil	reserved for VM parameters that persist in the image (such as size of eden above)

#52	131,072	root/remembered table capacity

#53	4	number of old space segments

#54	21,926,024	total free old space

#55	0.33333298563957214	ratio of growth and image size at or above which a GC will be performed post scavenge

#56	1,586,377	number of process switches since startup

#57	299,221	number of ioProcessEvents calls since startup

#58	3,025,302	number of forceInterruptCheck calls since startup

#59	3,008,979	number of check event calls since startup

#60	3,295,023	number of stack page overflows since startup

#61	454	number of stack page divorces since startup

#62	40	compiled code compactions since startup

#63	38	total milliseconds in compiled code compactions since startup

#64	3,016	the number of methods that currently have jitted machine-code

#65	11	Cog feature flags

bit 0: set if the VM supports MULTIPLE_BYTECODE_SETS.

bit 1: set if the VM supports read-only objects (IMMUTABILITY).

bit 2: set if the VM has an ITIMER_HEARTBEAT

bit 3: set if the VM supports cross-platform BIT_IDENTICAL_FLOATING_POINT arithmetic

#66	8,192	the byte size of a stack page

#67	0	the maximum allowed size of old space (if zero there is no limit)

#68	28.36108422071636	the average number of live stack pages when scanned by scavenge/gc/become

#69	50	the maximum number of live stack pages when scanned by scavenge/gc/become

#70	1	the vmProxyMajorVersion (the interpreterProxy VM_MAJOR_VERSION)

#71	16	the vmProxyMinorVersion (the interpreterProxy VM_MINOR_VERSION)

#72	259	milliseconds spent marking since startup

#73	0	reserved for more Spur-related info

#74	0	reserved for more Spur-related info

#75	true	do mixed arithmetic; if false binary arithmetic primitives will fail unless receiver and argument are of the same type



Virtual Machine Statistics

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

uptime		1h 43m 51s	(runtime 9m 34s, idletime 1h 34m 16s)

memory		205,135,872 bytes

old			196,183,840 bytes (95.6%)

young		7,190,528 bytes (3.5%)

used		169,256,568 bytes (82.5%)

free		27,854,088 bytes (13.6%)

GCs			2,061 (3023.6 ms between GCs 278.9 ms runtime between GCs)

full		5 totalling 512 ms (0.09% runtime), avg 102.4 ms

marking		261 ms (51%) avg 52.2 ms,

compacting	251 ms (49%) avg 50.2 ms

scavenges	2,056 totalling 975 ms (0.17% runtime), avg 0.5 ms

tenures		498,333 (avg 242 tenures per scavenge)

Code compactions

40 totalling 38 ms (0.007% runtime), avg 1 ms






cordially,



t






---- On Mon, 20 Sep 2021 07:59:11 -0400 Marcel Taeumel <mailto:marcel.taeumel at hpi.de> wrote ----


Hi Timothy --

The segfault is an issue for the VM team. Yet, the resizing/positioning bug when dragging the left bottom handle is for the Morphic team. :-D



I cannot reproduce the segfault on my Windows machine, just the jumpy dialog window. What VM are you using?



Thanks for reporting!



Best,

Marcel



Am 20.09.2021 12:40:51 schrieb gettimothy via Squeak-dev <mailto:squeak-dev at lists.squeakfoundation.org>:

Good morning folks.



/home/wm/usr/src/smalltalk/Squeak6.0alpha-20579/shared/Squeak6.0alpha-20579-64bit.image

Squeak6.0alpha

latest update: #20633





To reproduce.



Open Monticello.

Open a remote repository (not sure if being remote matters..but for brevity sake)

   the repo window opens towards the right of the screen.



Open a local repository.

      this opens more to the left of the original.





on the remote repo on the right, highlight a version ad select "copy".

the teeny window with the available repos opens.



Select the left bottom handle and drag to expand it.

segfault.





Right bottom handle does not have the issue.



cheers,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20211006/2475295b/attachment.html>


More information about the Squeak-dev mailing list