[OpenSmalltalk/opensmalltalk-vm] Metal crash on Mac (#467)

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

[OpenSmalltalk/opensmalltalk-vm] Metal crash on Mac (#467)

David T Lewis
 

Once the image is saved with an external screen attached it can not be opened again with that external screen disconnected:

Segmentation fault Mon Jan  6 14:45:41 2020


VM: 201911282316 https://github.com/OpenSmalltalk/opensmalltalk-vm.git
Date: Thu Nov 28 15:16:31 2019 CommitHash: 4710c5a
Plugins: 201911282316 https://github.com/OpenSmalltalk/opensmalltalk-vm.git

C stack backtrace & registers:
	rax 0x0000000000000000 rbx 0x0000000000000000 rcx 0x0000000000002800 rdx 0x00007fff2b4adb00
	rdi 0x0000004110a2b400 rsi 0x00000002238ea538 rbp 0x00007ffee80666b0 rsp 0x00007ffee8066698
	r8  0x0000000000000008 r9  0x0000000000000571 r10 0x0000000000000a00 r11 0x0000000000000000
	r12 0x0000000000000000 r13 0x0000000000000000 r14 0x0000000000000008 r15 0x0000000000000000
	rip 0x00007fff2b401f95
0   AMDMTLBronzeDriver                  0x00007fff2b401f95 _ZL30amdMtlBronzeWritePixelByPixel2PvS_PA8_Khjjjj + 44
1   Pharo                               0x0000000107bf5ee1 reportStackState + 818
2   Pharo                               0x0000000107bf6235 sigsegv + 195
3   libsystem_platform.dylib            0x00007fff6e22db1d _sigtramp + 29
4   ???                                 0x0000000000000000 0x0 + 0
5   AMDMTLBronzeDriver                  0x00007fff2b400aec _ZL25bronzePartialTileCallbackyjjjPv + 180
6   AMDMTLBronzeDriver                  0x00007fff2b3feb6d _Z34BronzeGenerateMicroTileAddresses2DPK24BronzeCpuTexInterfaceRecPK21ATIMipmapBufferHeaderjjjjjjjPFvyjjjPvES5_ + 1210
7   AMDMTLBronzeDriver                  0x00007fff2b3ff695 _ZL35amdMtlBronzeTextureStdReplacePixelsPK24BronzeCpuTexInterfaceRecPK21ATIMipmapBufferHeaderPK18ati_si_format_infomjmmjjjjj + 288
8   AMDMTLBronzeDriver                  0x00007fff2b3ff095 _ZL34amdMtlBronzeTextureStdAccessRegionPK24BronzeCpuTexInterfaceRecPFvS1_PK21ATIMipmapBufferHeaderPK18ati_si_format_infomjmmjjjjjES9_S4_S7_mjmmjjjjj + 645
9   AMDMTLBronzeDriver                  0x00007fff2b3ff3f9 _Z35amdMtlBronzeTextureStdReplaceRegionPK24BronzeCpuTexInterfaceRecPK21ATIMipmapBufferHeaderPK18ati_si_format_infoPvjmmjjjjj + 286
10  AMDMTLBronzeDriver                  0x00007fff2b42af52 -[BronzeMtlTexture replaceRegion:mipmapLevel:withBytes:bytesPerRow:] + 578
11  Pharo                               0x0000000107bec0b0 -[sqSqueakOSXMetalView loadTexturesFrom:subRectangle:] + 437
12  Pharo                               0x0000000107bebc81 -[sqSqueakOSXMetalView drawRect:] + 159
13  MetalKit                            0x00007fff3c01b86b -[MTKView draw] + 159
14  Pharo                               0x0000000107beb5a2 -[sqSqueakOSXMetalView drawThelayers] + 67
15  Pharo                               0x0000000107bf7e9d -[sqSqueakScreenAndWindow ioForceDisplayUpdate] + 188
16  Pharo                               0x0000000107bf7b92 ioForceDisplayUpdate + 61
17  Pharo                               0x0000000107ba021a primitiveShowDisplayRect + 206
18  Pharo                               0x0000000107b6a23c interpret + 17024
19  Pharo                               0x0000000107b72aa6 enterSmalltalkExecutiveImplementation + 149
20  Pharo                               0x0000000107b66232 interpret + 630
21  Pharo                               0x0000000107bf7648 -[sqSqueakMainApplication runSqueak] + 393
22  Foundation                          0x00007fff392f01cb __NSFirePerformWithOrder + 360
23  CoreFoundation                      0x00007fff36ba566e __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
24  CoreFoundation                      0x00007fff36ba5594 __CFRunLoopDoObservers + 457
25  CoreFoundation                      0x00007fff36b4872b __CFRunLoopRun + 1219
26  CoreFoundation                      0x00007fff36b47fe3 CFRunLoopRunSpecific + 499
27  HIToolbox                           0x00007fff356cf67d RunCurrentEventLoopInMode + 292
28  HIToolbox                           0x00007fff356cf2c9 ReceiveNextEventCommon + 356
29  HIToolbox                           0x00007fff356cf147 _BlockUntilNextEventMatchingListInModeWithFilter + 64
30  AppKit                              0x00007fff33d54864 _DPSNextEvent + 990
31  AppKit                              0x00007fff33d535d4 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1352
32  AppKit                              0x00007fff33d4dd76 -[NSApplication run] + 658
33  AppKit                              0x00007fff33d3f95d NSApplicationMain + 777
34  libdyld.dylib                       0x00007fff6e02c2e5 start + 1
35  ???                                 0x0000000000000002 0x0 + 2


Smalltalk stack dump:
    0x7ffee806bb20 I DisplayScreen>forceToScreen: 0x11580f4c0: a(n) DisplayScreen
    0x7ffee806bb58 M [] in DisplayScreen>forceDamageToScreen: 0x11580f4c0: a(n) DisplayScreen
    0x7ffee806bba0 M OrderedCollection>do: 0x114de0080: a(n) OrderedCollection
    0x7ffee806bbf8 I DisplayScreen>forceDamageToScreen: 0x11580f4c0: a(n) DisplayScreen
    0x7ffee806bc40 I VMWorldRenderer>forceDamageToScreen: 0x114a28f18: a(n) VMWorldRenderer
    0x7ffee806bc90 M VMWorldRenderer>displayWorldState:ofWorld:submorphs: 0x114a28f18: a(n) VMWorldRenderer
    0x7ffee806bce8 I WorldState>displayWorld:submorphs: 0x1158d6a60: a(n) WorldState
    0x7ffee806bd38 I WorldMorph>displayWorld 0x1158cab48: a(n) WorldMorph
    0x7ffee806bd90 I TaskbarMorph(Morph)>snapToEdgeIfAppropriate 0x115e9a7f0: a(n) TaskbarMorph
    0x7ffee806bdd0 I TaskbarMorph>updateBounds 0x115e9a7f0: a(n) TaskbarMorph
    0x7ffee8068928 I TaskbarMorph>displayExtentChanged 0x115e9a7f0: a(n) TaskbarMorph
    0x7ffee8068958 M [] in VMWorldRenderer(AbstractWorldRenderer)>restoreMorphicDisplay 0x114a28f18: a(n) VMWorldRenderer
    0x7ffee80689a0 M Array(SequenceableCollection)>do: 0x122cff900: a(n) Array
    0x7ffee80689e8 I WorldMorph(Morph)>submorphsDo: 0x1158cab48: a(n) WorldMorph
    0x7ffee8068a38 I VMWorldRenderer(AbstractWorldRenderer)>restoreMorphicDisplay 0x114a28f18: a(n) VMWorldRenderer
    0x7ffee8068a78 I WorldMorph>restoreMorphicDisplay 0x1158cab48: a(n) WorldMorph
    0x7ffee8068ac0 I MorphicUIManager>activate 0x114a28f08: a(n) MorphicUIManager
    0x7ffee8068b08 I UIManager class>default: 0x1151cc508: a(n) UIManager class
    0x7ffee8068b40 M UIManagerSessionHandler>startup: 0x1155b2618: a(n) UIManagerSessionHandler
    0x7ffee8068b80 M [] in WorkingSession>runStartup: 0x114a28000: a(n) WorkingSession
    0x7ffee8068bc8 M [] in WorkingSession>runList:do: 0x114a28000: a(n) WorkingSession
    0x7ffee8068bf8 M BlockClosure>on:do: 0x114a3d618: a(n) BlockClosure
    0x7ffee8068c40 M [] in WorkingSession>runList:do: 0x114a28000: a(n) WorkingSession
    0x7ffee8068c88 M Array(SequenceableCollection)>do: 0x114a3d748: a(n) Array
    0x7ffee8068cd0 I WorkingSession>runList:do: 0x114a28000: a(n) WorkingSession
    0x7ffee8068d20 I WorkingSession>runStartup: 0x114a28000: a(n) WorkingSession
    0x7ffee8068d68 I WorkingSession>start: 0x114a28000: a(n) WorkingSession
    0x7ffee8068dc0 I SessionManager>launchSnapshot:andQuit: 0x11523de78: a(n) SessionManager
       0x123935448 s [] in SessionManager>snapshot:andQuit:
       0x123936578 s [] in BlockClosure>newProcess


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/467?email_source=notifications\u0026email_token=AIJPEWYD2KIAV5GBHNC4EQ3Q4MZANA5CNFSM4KDESKJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEHIPSA", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/467?email_source=notifications\u0026email_token=AIJPEWYD2KIAV5GBHNC4EQ3Q4MZANA5CNFSM4KDESKJ2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IEHIPSA", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] Metal crash on Mac (10.15.1) (#467)

David T Lewis
 

Hi Aliaksei,

can you state the steps to reproduce this?  Also is it definitely a VM metal issue or a Pharo imaging model issue or both?  Can you provide more analysis?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/467?email_source=notifications\u0026email_token=AIJPEW5QE5GMJELGM5GE5HLRD3B45A5CNFSM4KDESKJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMPPZOQ#issuecomment-589233338", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/467?email_source=notifications\u0026email_token=AIJPEW5QE5GMJELGM5GE5HLRD3B45A5CNFSM4KDESKJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEMPPZOQ#issuecomment-589233338", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>
Reply | Threaded
Open this post in threaded view
|

Re: [OpenSmalltalk/opensmalltalk-vm] Metal crash on Mac (10.15.1) (#467)

David T Lewis
In reply to this post by David T Lewis
 

Closed #467.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

<script type="application/ld+json">[ { "@context": "http://schema.org", "@type": "EmailMessage", "potentialAction": { "@type": "ViewAction", "target": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/467#event-3895885720", "url": "https://github.com/OpenSmalltalk/opensmalltalk-vm/issues/467#event-3895885720", "name": "View Issue" }, "description": "View this Issue on GitHub", "publisher": { "@type": "Organization", "name": "GitHub", "url": "https://github.com" } } ]</script>