[Cuis-dev] VM crash when saving image a second time
Weslleymberg Lisboa
weslleym.lisboa at gmail.com
Mon Dec 23 14:44:29 PST 2024
Hi, all
I'm new here. Today I was trying Cuis Rolling Release and got a vm crash
every time I saved the image a second time after starting it up. After
some investigation I was able to find that EphemeronFinalizationProcess
wasn't being restarted after a snapshot, so I changed #startUp: method
to allow the process to be restarted.
Attached is the ChangeSet, a print of the crash and the core dump. Don't
know if there is something that can be done on the VM side to avoid a
crash in situations like this.
I'm running the most recent Cuis7.3, update #6947, on a Windows machine.
Cuis7.2 does not have this issue.
--
Wéslleymberg Lisboa
Graduado em Sistemas de Informação
Docente no IFFluminense - Campus Itaboraí
-------------- next part --------------
'From Cuis7.3 [latest update: #6947] on 23 December 2024 at 6:47:53 pm'!
!EphemeronFinalizationProcess class methodsFor: 'system startup' stamp: 'wbsl 12/23/2024 18:10:14'!
startUp: resuming
"resuming ifFalse: [ ^self ]."
"Must restart even if just continuing after a snapshot"
self restartFinalizationProcess! !
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Captura de tela 2024-12-23 123030.png
Type: image/png
Size: 234724 bytes
Desc: not available
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20241223/1da73b0e/attachment-0001.png>
-------------- next part --------------
---------------------------------------------------------------------
Mon Dec 23 18:06:51 2024
Exception code: C0000005
Exception addr: 00007FF64A467565
Access violation (read access) at 0000000000000008
RAX:0000000000000040 RBX:000000f5aaf69000 RCX:0000000000000000
RDX:000000f5aafcc720 RSI:0000000000000018 RDI:000000f5ab000000
RBP:000000f5aafcb790 RSP:000000f5aafcb6d0 R8 :000000f5aaac9000
R9 :0000000000000000 R10:0000000000000000 R11:0000000000000000
R12:00007ff64a565910 R13:00007ff64bab5fa0 R14:00000000000003cc
R15:000000f5aafcc720 RIP:00007ff64a467565 EFL:00010202
FP Control: 0000037f FP Status: 00000020 FP Tag: 00000000
Crashed in the VM thread
Hardware information:
Manufacturer: Unknown
Model: Unknown
Number of processors: 8
Page size: 4096
Memory Information (upon launch):
Physical Memory Size: 16661040 kbytes
Physical Memory Free: 8655296 kbytes
Page File Size: 17709616 kbytes
Page File Free: 6127544 kbytes
Virtual Memory Size: 137438953344 kbytes
Virtual Memory Free: 137434635704 kbytes
Memory Load: 48 percent
Processor 0: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 10
~MHZ: 1800
Processor 1: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 10
~MHZ: 1800
Processor 2: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 10
~MHZ: 1800
Processor 3: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 10
~MHZ: 1800
Processor 4: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 10
~MHZ: 1800
Processor 5: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 10
~MHZ: 1800
Processor 6: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 10
~MHZ: 1800
Processor 7: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
Identifier: Intel64 Family 6 Model 142 Stepping 10
~MHZ: 1800
Operating System: Windows 10 Home Single Language (Build 26100 )
Registered Owner: weslleym.lisboa at gmail.com
Registered Company:
SP major version: 0
SP minor version: 0
Suite mask: 300
Product type: 1
Display Information:
Graphics adapter name: Intel(R) UHD Graphics 620
Primary monitor resolution: 1920 x 1080
Device: ???
Adapter String: Intel(R) UHD Graphics 620
Bios String: Intel Video BIOS
Chip Type: Intel(R) UHD Graphics Family
DAC Type: Internal
Memory Size: 0x40000000
Driver Versions:
igdumdim64:
VM Version: Cog Spur VM 5.0 (release) from Dec 20 2023
Compiler: gcc Clang 17.0.6
Interpreter Build: CoInterpreter VMMaker.oscog-eem.3339 uuid: b1c834e2-5de7-464c-aeb5-4f2a7b8812d6 Dec 20 2023
Cogit Build: StackToRegisterMappingCogit VMMaker.oscog-eem.3339 uuid: b1c834e2-5de7-464c-aeb5-4f2a7b8812d6 Dec 20 2023
Source Version: VM: 202312181441 https://github.com/OpenSmalltalk/opensmalltalk-vm
Date: Mon Dec 18 15:41:18 2023 CommitHash: cc2dd90
Plugins: 202312181441 https://github.com/OpenSmalltalk/opensmalltalk-vm
Current byte code: -1
Primitive index: 5
Loaded plugins:
FloatArrayPlugin VMMaker.oscog-eem.3166 (i)
Win32OSProcessPlugin VMConstruction-Plugins-OSProcessPlugin.oscog-eem.75 (e)
BitBltPlugin VMMaker.oscog-eem.3313 (i)
MiscPrimitivePlugin VMMaker.oscog-eem.3228 (i)
Module information:
00007fff1f8f0000 - 00007fff1f9a1000: C:\WINDOWS\SYSTEM32\ResampleDmo.DLL
00007fff206b0000 - 00007fff20744000: C:\WINDOWS\SYSTEM32\DSOUND.dll
00007fff21430000 - 00007fff2148a000: C:\WINDOWS\system32\dataexchange.dll
00007fff35c00000 - 00007fff35c31000: C:\WINDOWS\SYSTEM32\winmmbase.dll
00007fff35e10000 - 00007fff360a0000: C:\WINDOWS\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.26100.2454_none_3e0b68a2e331ad60\COMCTL32.dll
00007fff39c70000 - 00007fff39e4d000: C:\WINDOWS\SYSTEM32\inputhost.dll
00007fff3f030000 - 00007fff3f066000: C:\WINDOWS\SYSTEM32\WINMM.dll
00007fff3f0a0000 - 00007fff3f1e6000: C:\WINDOWS\SYSTEM32\textinputframework.dll
00007fff41bd0000 - 00007fff41eb3000: C:\WINDOWS\SYSTEM32\CoreUIComponents.dll
00007fff44ca0000 - 00007fff44cd3000: C:\WINDOWS\SYSTEM32\DINPUT.dll
00007fff453b0000 - 00007fff455e7000: C:\WINDOWS\system32\twinapi.appcore.dll
00007fff45b10000 - 00007fff45b1e000: C:\WINDOWS\SYSTEM32\msdmo.dll
00007fff48110000 - 00007fff48235000: C:\WINDOWS\SYSTEM32\CoreMessaging.dll
00007fff488c0000 - 00007fff488cb000: C:\WINDOWS\SYSTEM32\VERSION.dll
00007fff49010000 - 00007fff49018000: C:\WINDOWS\SYSTEM32\SHFOLDER.dll
00007fff49ab0000 - 00007fff49c18000: C:\WINDOWS\SYSTEM32\wintypes.dll
00007ff64a3c0000 - 00007ff64a65c000: C:\dev\Cuis-Dev\Cuis-Smalltalk-Dev\CuisVM.app\Contents\Windows-x86_64\Squeak.exe
00007ff64a700000 - 00007ff64ba898e0: CogCode
00007fff4aee0000 - 00007fff4af8d000: C:\WINDOWS\system32\uxtheme.dll
00007fff4bd80000 - 00007fff4c5b1000: C:\WINDOWS\SYSTEM32\windows.storage.dll
00007fff4ccd0000 - 00007fff4cce4000: C:\WINDOWS\SYSTEM32\UMPDC.dll
00007fff4ccf0000 - 00007fff4cd3e000: C:\WINDOWS\SYSTEM32\powrprof.dll
00007fff4cf90000 - 00007fff4cfaa000: C:\WINDOWS\SYSTEM32\kernel.appcore.dll
00007fff4d240000 - 00007fff4d288000: C:\WINDOWS\SYSTEM32\SspiCli.dll
00007fff4d780000 - 00007fff4d78c000: C:\WINDOWS\SYSTEM32\CRYPTBASE.DLL
00007fff4dcd0000 - 00007fff4dd2f000: C:\WINDOWS\SYSTEM32\cfgmgr32.dll
00007fff4e100000 - 00007fff4e4b2000: C:\WINDOWS\System32\KERNELBASE.dll
00007fff4e4c0000 - 00007fff4e559000: C:\WINDOWS\System32\bcryptPrimitives.dll
00007fff4e560000 - 00007fff4e6ab000: C:\WINDOWS\System32\ucrtbase.dll
00007fff4e770000 - 00007fff4e89b000: C:\WINDOWS\System32\gdi32full.dll
00007fff4e8a0000 - 00007fff4e943000: C:\WINDOWS\System32\msvcp_win.dll
00007fff4ead0000 - 00007fff4eaf7000: C:\WINDOWS\System32\win32u.dll
00007fff4eb60000 - 00007fff4ec14000: C:\WINDOWS\System32\ADVAPI32.dll
00007fff4ec40000 - 00007fff4ecb4000: C:\WINDOWS\System32\WS2_32.dll
00007fff4ecc0000 - 00007fff4ed69000: C:\WINDOWS\System32\msvcrt.dll
00007fff4ed70000 - 00007fff4ef09000: C:\WINDOWS\System32\ole32.dll
00007fff4ef10000 - 00007fff4f28e000: C:\WINDOWS\System32\combase.dll
00007fff4f2a0000 - 00007fff4f9a0000: C:\WINDOWS\System32\SHELL32.dll
00007fff4f9b0000 - 00007fff4f9da000: C:\WINDOWS\System32\GDI32.dll
00007fff4f9e0000 - 00007fff4faa8000: C:\WINDOWS\System32\KERNEL32.DLL
00007fff4fab0000 - 00007fff4fb9d000: C:\WINDOWS\System32\comdlg32.dll
00007fff4fba0000 - 00007fff4fcb6000: C:\WINDOWS\System32\RPCRT4.dll
00007fff4fcd0000 - 00007fff4fe98000: C:\WINDOWS\System32\USER32.dll
00007fff4ffa0000 - 00007fff50046000: C:\WINDOWS\System32\sechost.dll
00007fff50050000 - 00007fff5012a000: C:\WINDOWS\System32\shcore.dll
00007fff507c0000 - 00007fff50896000: C:\WINDOWS\System32\OLEAUT32.dll
00007fff508a0000 - 00007fff50948000: C:\WINDOWS\System32\clbcatq.dll
00007fff50950000 - 00007fff50aac000: C:\WINDOWS\System32\MSCTF.dll
00007fff50ab0000 - 00007fff50b0d000: C:\WINDOWS\System32\SHLWAPI.dll
00007fff50c00000 - 00007fff50c2f000: C:\WINDOWS\System32\IMM32.DLL
00007fff50c40000 - 00007fff50c48000: C:\WINDOWS\System32\psapi.dll
00007fff50ca0000 - 00007fff50f03000: C:\WINDOWS\SYSTEM32\ntdll.dll
000000006cb00000 - 000000006cb49000: C:\dev\Cuis-Dev\Cuis-Smalltalk-Dev\CuisVM.app\Contents\Windows-x86_64\VectorEnginePlugin.DLL
000000006cec0000 - 000000006cee5000: C:\dev\Cuis-Dev\Cuis-Smalltalk-Dev\CuisVM.app\Contents\Windows-x86_64\Win32OSProcessPlugin.DLL
Primitive trace:
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#-
BitBlt>>#copyBits
SmallFloat64>>#+
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#+
SmallFloat64>>#+
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#+
Object>>#perform:with:
SmallFloat64>>#+
SmallFloat64>>#-
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#-
SmallFloat64>>#-
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#-
SmallFloat64>>#-
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#-
BitBlt>>#copyBits
Object>>#perform:with:
SmallFloat64>>#<=
Object>>#perform:with:
SmallFloat64>>#=
Object>>#shallowCopy
SystemDictionary>>#maxIdentityHash
SmallFloat64>>#+
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#+
SmallFloat64>>#*
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#*
SmallFloat64>>#/
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#/
SmallFloat64>>#+
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#+
SmallFloat64>>#*
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#*
SmallFloat64>>#/
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#/
SmallFloat64>>#-
**PrimitiveFailure** SmallFloat64
**PrimitiveFailure** SmallFloat64
Object>>#perform:with:
SmallFloat64>>#-
Object>>#perform:with:
SmallFloat64>>#+
Object>>#shallowCopy
Object>>#perform:with:
SmallFloat64>>#+
Object>>#perform:with:
SmallFloat64>>#+
Object>>#perform:with:
SmallFloat64>>#+
Object>>#perform:with:
SmallFloat64>>#+
Object>>#perform:with:
SmallFloat64>>#>=
Object>>#perform:with:
SmallFloat64>>#>=
Object>>#perform:with:
SmallFloat64>>#<=
Object>>#perform:with:
SmallFloat64>>#=
Object>>#perform:with:
SmallFloat64>>#<=
Object>>#perform:with:
SmallFloat64>>#=
VectorEngineWithPlugin>>#primResetContourTop:bottom:contour:
VectorEngineWithPlugin>>#primResetContourTop:bottom:contour:
VectorEngineWithPlugin>>#primResetContourTop:bottom:contour:
VectorEngineWithPlugin>>#primResetContourTop:bottom:contour:
SystemDictionary>>#maxIdentityHash
VectorEngineWithPlugin>>#primResetContourTop:bottom:contour:
DisplayScreen>>#actualScreenSize
DisplayScreen>>#primShowRectLeft:right:top:bottom:
SmallInteger>>#*
SmallInteger>>#//
SmallInteger>>#+
Time>>#primLocalMicrosecondClock
SmallInteger>>#-
ProcessorScheduler>>#yield
Time>>#primLocalMicrosecondClock
DisplayScreen>>#actualScreenSize
DisplayScreen>>#actualScreenSize
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
ProtoObject>>#identityHash
Semaphore>>#signal
Semaphore>>#wait
Semaphore>>#signal
Semaphore>>#wait
Semaphore>>#signal
Object>>#perform:with:
Object>>#perform:
BlockClosure>>#value
Time>>#primUtcWithOffset:
SmallInteger>>#*
SmallInteger>>#+
SmallInteger>>#*
**PrimitiveFailure** SmallInteger
Integer>>#digitMultiply:neg:
Integer>>#digitCompare:
SmallInteger>>#=
LargePositiveInteger>>#//
LargePositiveInteger>>#\\
SmallInteger>>#//
SmallInteger>>#\\
Behavior>>#basicNew
Behavior>>#basicNew
SmallInteger>>#-
SmallInteger>>#*
SmallInteger>>#+
SmallInteger>>#quo:
SmallInteger>>#*
SmallInteger>>#-
SmallInteger>>#quo:
String>>#replaceFrom:to:with:startingAt:
SmallInteger>>#quo:
Time>>#primLocalMicrosecondClock
SmallInteger>>#-
SmallInteger>>#+
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
Semaphore>>#signal
Semaphore>>#wait
Semaphore>>#signal
EventSensor>>#primGetNextEvent:
Time>>#primLocalMicrosecondClock
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
SystemDictionary>>#maxIdentityHash
Semaphore>>#signal
Semaphore>>#wait
Semaphore>>#signal
Semaphore>>#wait
Semaphore>>#signal
Time>>#primLocalMicrosecondClock
Semaphore>>#signal
Time>>#primMillisecondClock
SmallInteger>>#<=
Semaphore>>#signal
Time>>#primMillisecondClock
Delay>>#primSignal:atMilliseconds:
Time>>#primMillisecondClock
Semaphore>>#wait
Semaphore>>#wait
Stack backtrace:
[00007ff64a467565] ??? + 0xa7565 in Squeak.exe
Smalltalk stack dump:
000000f5aaff7858 M [] in Delay>wait 00007ff64a9006d0: a(n) Delay
000000f5aaff7898 M BlockClosure>ifCurtailed: 00007ff64b523168: a(n) BlockClosure
000000f5aaff78d0 M Delay>wait 00007ff64a9006d0: a(n) Delay
000000f5aaff7910 M WorldMorph>doOneCycleOn:delay: 00007ff64cc957e8: a(n) WorldMorph
000000f5aaff7950 M [] in WorldMorph>mainLoop 00007ff64cc957e8: a(n) WorldMorph
000000f5aaff7980 M BlockClosure>on:do: 00007ff64a909100: a(n) BlockClosure
000000f5aaff79c0 M WorldMorph>mainLoop 00007ff64cc957e8: a(n) WorldMorph
000000f5aaff7a08 I [] in WorldMorph>runProcess: 00007ff64cc957e8: a(n) WorldMorph
000000f5aaff7a50 I [] in BlockClosure>newProcess 00007ff64a909210: a(n) BlockClosure
stack page bytes 4096 available headroom 1480 minimum unused headroom 1832
More information about the Cuis-dev
mailing list