[Cuis-dev] copyBitsLockedAndClipped

Juan Vuletich juan at cuis.st
Tue Mar 5 14:02:15 PST 2024


Hi Francisco,

Can you reproduce the problem consistently? How?

Thanks,

On 3/5/2024 4:11 PM, Francisco Garau via Cuis-dev wrote:
> Playing with my son we opened many Sample04Pacman morphs and moving 
> one of them over the others we got the Squeak 5.0 VM to become 
> unresponsive.
>
> ...
>
> Sampling the VM, shows the copyBitsLockedAndClipped as the possible 
> culprit.
>
> Analysis of sampling Squeak (pid 3794) every 1 millisecond
> Process:         Squeak [3794]
> Path:            /Users/USER/*/CuisVM.app/Contents/MacOS/Squeak
> Load Address:    0x10af30000
> Identifier:      org.squeak.Squeak
> Version:         5.20231218.1441 (5.20231218.1441)
> Code Type:       X86-64
> Platform:        macOS
> Parent Process:  bash [3793]
>
> Date/Time:       2024-03-05 18:45:03.504 +0000
> Launch Time:     2024-03-05 18:33:54.919 +0000
> OS Version:      macOS 14.3.1 (23D60)
> Report Version:  7
> Analysis Tool:   /usr/bin/sample
>
> Physical footprint:         4.1G
> Physical footprint (peak):  4.1G
> Idle exit:                  untracked
> ----
>
> Call graph:
>     2129 Thread_5154206   DispatchQueue_1: com.apple.main-thread  (serial)
>     + 1437 start  (in dyld) + 1942  [0x7ff80df99386]
>     + ! 1437 NSApplicationMain  (in AppKit) + 816  [0x7ff8119d41c1]
>     + !   1437 -[NSApplication run]  (in AppKit) + 603  [0x7ff811a001b2]
>     + !     1437 -[NSApplication(NSEventRouting) 
> _nextEventMatchingEventMask:untilDate:inMode:dequeue:]  (in AppKit) + 
> 1304  [0x7ff812318804]
>     + !       1437 _DPSNextEvent  (in AppKit) + 880  [0x7ff811a0ec39]
>     + !         1437 _BlockUntilNextEventMatchingListInModeWithFilter 
>  (in HIToolbox) + 66  [0x7ff818cf0531]
>     + !           1437 ReceiveNextEventCommon  (in HIToolbox) + 201 
>  [0x7ff818cf0616]
>     + !             1437 RunCurrentEventLoopInMode  (in HIToolbox) + 
> 292  [0x7ff818cf09d9]
>     + !               1437 CFRunLoopRunSpecific  (in CoreFoundation) + 
> 557  [0x7ff80e3fe082]
>     + !                 1437 __CFRunLoopRun  (in CoreFoundation) + 850 
>  [0x7ff80e3fe99c]
>     + !                   1437 __CFRunLoopDoObservers  (in 
> CoreFoundation) + 493  [0x7ff80e3ff41a]
>     + !                     1437 
> __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__  (in 
> CoreFoundation) + 23  [0x7ff80e3ff4f6]
>     + !                       1437 __NSFirePerformWithOrder  (in 
> Foundation) + 357  [0x7ff80f4583fc]
>     + !                         1437 -[sqSqueakMainApplication 
> runSqueak]  (in Squeak) + 381  [0x10afceb33]
>     + !                           1437 interpret  (in Squeak) + 867 
>  [0x10af37bf1]
>     + !                             995 ???  (in <unknown binary>) 
>  [0x116c063e8]
>     + !                             : 988 primitiveCopyBits  (in 
> Squeak) + 39  [0x10afdf1e7]
>     + !                             : | 988 copyBits  (in Squeak) + 42 
>  [0x10afded28]
>     + !                             : |   988 copyBitsLockedAndClipped 
>  (in Squeak) + 2867,2861,...  [0x10afe2799,0x10afe2793,...]
>     + !                             : 4 primitiveCopyBits  (in Squeak) 
> + 29  [0x10afdf1dd]
>     + !                             : | 2 loadBitBltFromwarping  (in 
> Squeak) + 538,695  [0x10afe5c25,0x10afe5cc2]
>     + !                             : | 1 loadBitBltFromwarping  (in 
> Squeak) + 214  [0x10afe5ae1]
>     + !                             : | + 1 isPointers  (in Squeak) + 
> 0  [0x10af5cc4b]
>     + !                             : | 1 loadBitBltFromwarping  (in 
> Squeak) + 1885  [0x10afe6168]
>     + !                             : |   1 isWordsOrBytes  (in 
> Squeak) + 17  [0x10af5cd22]
>     + !                             : 1 primitiveCopyBits  (in Squeak) 
> + 61  [0x10afdf1fd]
>     + !                             : | 1 statNumGCs  (in Squeak) + 18 
>  [0x10af62047]
>     + !                             : 1 primitiveCopyBits  (in Squeak) 
> + 111  [0x10afdf22f]
>     + !                             : | 1 
> showDisplayBitsLeftTopRightBottom  (in Squeak) + 47  [0x10af676da]
>     + !                             : 1 primitiveCopyBits  (in Squeak) 
> + 175  [0x10afdf26f]
>     + !                             :   1 methodReturnReceiver  (in 
> Squeak) + 1  [0x10af64819]
>     + !                             96 ???  (in <unknown binary>) 
>  [0x116c13a94]
>     + !                             : 60 primitivePerform  (in Squeak) 
> + 267  [0x10af6b8d8]
>     + !                             : | 36 executeNewMethod  (in 
> Squeak) + 91  [0x10af4ac77]
>     + !                             : | + 23 slowPrimitiveResponse 
>  (in Squeak) + 121  [0x10af7b65f]
>     + !                             : | + ! 5 primitiveSmallFloatAdd 
>  (in Squeak) + 0,23,...  [0x10af75afc,0x10af75b13,...]
>     + !                             : | + ! 5 
> primitiveSmallFloatDivide  (in Squeak) + 181,0,...
>


-- 
Juan Vuletich
cuis.st
github.com/jvuletich
researchgate.net/profile/Juan-Vuletich
independent.academia.edu/JuanVuletich
patents.justia.com/inventor/juan-manuel-vuletich
linkedin.com/in/juan-vuletich-75611b3
twitter.com/JuanVuletich

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20240305/e8863676/attachment.htm>


More information about the Cuis-dev mailing list