cogentcore / core

A free and open source framework for building powerful, fast, elegant 2D and 3D apps that run on macOS, Windows, Linux, iOS, Android, and the web with a single Go codebase, allowing you to Code Once, Run Everywhere.
http://cogentcore.org/core
BSD 3-Clause "New" or "Revised" License
1.7k stars 79 forks source link

panic: vulkan error: vulkan error: out of host memory (-1) #868

Closed ddkwork closed 7 months ago

ddkwork commented 8 months ago

Describe the bug

panic: vulkan error: vulkan error: out of host memory (-1)

How to reproduce

It's a bug that has been bothering me for a long time, I can't reproduce it every time, so I can't write a demo, and I've had dozens of crashes with the same error in recent times

Example code

func (sf *Surface) AcquireNextImage() uint32 {
    dev := sf.Device.Device
    for {
        vk.WaitForFences(dev, 1, []vk.Fence{sf.RenderFence}, vk.True, vk.MaxUint64)
        vk.ResetFences(dev, 1, []vk.Fence{sf.RenderFence})
        var idx uint32
        ret := vk.AcquireNextImage(dev, sf.Swapchain, vk.MaxUint64, sf.ImageAcquired, vk.NullFence, &idx)
        switch ret {
        case vk.ErrorOutOfDate, vk.Suboptimal:
            sf.ReConfigSwapchain()
            if Debug {
                fmt.Printf("vgpu.Surface.AcquireNextImage, new format: %#v\n", sf.Format)
            }
            continue // try again
        case vk.Success:
            return idx
        default:
            IfPanic(NewError(ret))
            return idx
        }
    }
}

Relevant output

############################ LayoutScene SizeUp start: /Crash details DebugSettings.UpdateTrace Update: /Crash details/to...ar-0/overflow-menu updt: true DebugSettings.UpdateTrace: NeedsRender: /Crash details/to...ar-0/overflow-menu /Crash details/to...-0/back.parts/icon SizeUp from Style: (33, 33) SzUp i: 0 /Crash details/to...-0/back.parts/icon cidx: (0,0) sz: (37, 37) grw: (0, 0) /Crash details/to...olbar-0/back.parts SizeFromChildren col: 0 max X: 37 sum Y: 37 max grX: 0 sum grY: 0 row: 0 sum X: 37 max Y: 37 sum grX: 0 max grY: 0 /Crash details/to...olbar-0/back.parts SizeUpPass FromChildren: (37, 37) Content: (37, 37) Internal: (37, 37) /Crash details/to...chooser.parts/text SizeUp from Style: (478, 32) /Crash details/to...ad-icon.parts/icon SizeUp from Style: (33, 33) SzUp i: 0 /Crash details/to...ad-icon.parts/icon cidx: (0,0) sz: (37, 37) grw: (0, 0) /Crash details/to...ts/lead-icon.parts SizeFromChildren col: 0 max X: 37 sum Y: 37 max grX: 0 sum grY: 0 row: 0 sum X: 37 max Y: 37 sum grX: 0 max grY: 0 /Crash details/to...ts/lead-icon.parts SizeUpPass FromChildren: (37, 37) Content: (37, 37) Internal: (37, 37) /Crash details/to...rts/trail-icon-str SizeUp from Style: (14, 29) /Crash details/to...il-icon.parts/icon SizeUp from Style: (33, 33) SzUp i: 0 /Crash details/to...il-icon.parts/icon cidx: (0,0) sz: (37, 37) grw: (0, 0) /Crash details/to...s/trail-icon.parts SizeFromChildren col: 0 max X: 37 sum Y: 37 max grX: 0 sum grY: 0 row: 0 sum X: 37 max Y: 37 sum grX: 0 max grY: 0 /Crash details/to...s/trail-icon.parts SizeUpPass FromChildren: (37, 37) Content: (37, 37) Internal: (37, 37) SzUp i: 0 /Crash details/to...xt.parts/lead-icon cidx: (0,0) sz: (48, 41) grw: (0, 0) SzUp i: 1 /Crash details/to...rts/trail-icon-str cidx: (1,0) sz: (18, 33) grw: (1, 1) SzUp i: 2 /Crash details/to...t.parts/trail-icon cidx: (2,0) sz: (48, 41) grw: (0, 0) /Crash details/to...r.parts/text.parts SizeFromChildren col: 0 max X: 48 sum Y: 41 max grX: 0 sum grY: 0 col: 1 max X: 18 sum Y: 33 max grX: 1 sum grY: 1 col: 2 max X: 48 sum Y: 41 max grX: 0 sum grY: 0 row: 0 sum X: 114 max Y: 41 sum grX: 1 max grY: 1 /Crash details/to...r.parts/text.parts SizeUpPass FromChildren: (114, 41) Content: (114, 41) Internal: (114, 41) SzUp i: 0 /Crash details/to...chooser.parts/text cidx: (0,0) sz: (506, 63) grw: (0, 0) /Crash details/to.../app-chooser.parts SizeFromChildren col: 0 max X: 506 sum Y: 63 max grX: 0 sum grY: 0 row: 0 sum X: 506 max Y: 63 sum grX: 0 max grY: 0 /Crash details/to.../app-chooser.parts SizeUpPass FromChildren: (506, 63) Content: (506, 63) Internal: (506, 63) /Crash details/to...ow-menu.parts/icon SizeUp from Style: (33, 33) SzUp i: 0 /Crash details/to...ow-menu.parts/icon cidx: (0,0) sz: (37, 37) grw: (0, 0) /Crash details/to...verflow-menu.parts SizeFromChildren col: 0 max X: 37 sum Y: 37 max grX: 0 sum grY: 0 row: 0 sum X: 37 max Y: 37 sum grX: 0 max grY: 0 /Crash details/to...verflow-menu.parts SizeUpPass FromChildren: (37, 37) Content: (37, 37) Internal: (37, 37) SzUp i: 0 /Crash details/top-bar/toolbar-0/back cidx: (0,0) sz: (69, 59) grw: (0, 0) SzUp i: 1 /Crash details/to...lbar-0/app-chooser cidx: (1,0) sz: (506, 63) grw: (0, 0) SzUp i: 2 /Crash details/to...ar-0/overflow-menu cidx: (2,0) sz: (69, 59) grw: (0, 0) /Crash details/top-bar/toolbar-0 SizeFromChildren col: 0 max X: 69 sum Y: 59 max grX: 0 sum grY: 0 col: 1 max X: 506 sum Y: 63 max grX: 0 sum grY: 0 col: 2 max X: 69 sum Y: 59 max grX: 0 sum grY: 0 row: 0 sum X: 644 max Y: 63 sum grX: 0 max grY: 0 /Crash details/top-bar/toolbar-0 SizeUpPass FromChildren: (69, 63) Content: (69, 63) Internal: (69, 63) SzUp i: 0 /Crash details/top-bar/toolbar-0 cidx: (0,0) sz: (101, 67) grw: (1, 0) /Crash details/top-bar SizeFromChildren col: 0 max X: 101 sum Y: 67 max grX: 1 sum grY: 0 row: 0 sum X: 101 max Y: 67 sum grX: 1 max grY: 0 /Crash details/top-bar SizeUpPass FromChildren: (101, 67) Content: (101, 67) Internal: (101, 67) /Crash details/crash-details/title SizeUpWrapSize chars: 13 area: 15028 sz: (122.58697, 75.7645) /Crash details/crash-details/title Label SizeUp: (128, 116) Actual: (128, 116) /Crash details/crash-details/label-1 SizeUpWrapSize chars: 2059 area: 3.131739e+06 sz: (1769.6462, 1093.7245) /Crash details/crash-details/label-1 Label SizeUp: (1958, 1772) Actual: (1958, 1772) SzUp i: 0 /Crash details/crash-details/title cidx: (0,0) sz: (132, 120) grw: (1, 0) SzUp i: 1 /Crash details/crash-details/label-1 cidx: (0,1) sz: (1962, 1776) grw: (1, 0) /Crash details/crash-details SizeFromChildren col: 0 max X: 1962 sum Y: 1896 max grX: 1 sum grY: 0 row: 0 sum X: 132 max Y: 120 sum grX: 1 max grY: 0 row: 1 sum X: 1962 max Y: 1776 sum grX: 1 max grY: 0 /Crash details/crash-details SizeUpPass FromChildren: (1962, 1903) Content: (0, 0) Internal: (1962, 1903) /Crash details/bo...utton-0.parts/icon SizeUp from Style: (33, 33) /Crash details/bo...tton-0.parts/space SizeUp from Style: (14, 29) /Crash details/bo...tton-0.parts/label Label SizeUp: (58, 36) Actual: (58, 36) SzUp i: 0 /Crash details/bo...utton-0.parts/icon cidx: (0,0) sz: (37, 37) grw: (0, 0) SzUp i: 1 /Crash details/bo...tton-0.parts/space cidx: (1,0) sz: (14, 29) grw: (0, 0) SzUp i: 2 /Crash details/bo...tton-0.parts/label cidx: (2,0) sz: (62, 40) grw: (1, 0) /Crash details/bo...bar/button-0.parts SizeFromChildren col: 0 max X: 37 sum Y: 37 max grX: 0 sum grY: 0 col: 1 max X: 14 sum Y: 29 max grX: 0 sum grY: 0 col: 2 max X: 62 sum Y: 40 max grX: 1 sum grY: 0 row: 0 sum X: 113 max Y: 40 sum grX: 1 max grY: 0 /Crash details/bo...bar/button-0.parts SizeUpPass FromChildren: (113, 40) Content: (113, 40) Internal: (113, 40) /Crash details/bo...bar/ok.parts/label Label SizeUp: (34, 36) Actual: (34, 36) SzUp i: 0 /Crash details/bo...bar/ok.parts/label cidx: (0,0) sz: (38, 40) grw: (1, 0) /Crash details/bottom-bar/ok.parts SizeFromChildren col: 0 max X: 38 sum Y: 40 max grX: 1 sum grY: 0 row: 0 sum X: 38 max Y: 40 sum grX: 1 max grY: 0 /Crash details/bottom-bar/ok.parts SizeUpPass FromChildren: (38, 40) Content: (38, 40) Internal: (38, 40) SzUp i: 0 /Crash details/bottom-bar/button-0 cidx: (0,0) sz: (162, 72) grw: (0, 0) SzUp i: 1 /Crash details/bottom-bar/ok cidx: (1,0) sz: (94, 72) grw: (0, 0) /Crash details/bottom-bar SizeFromChildren col: 0 max X: 162 sum Y: 72 max grX: 0 sum grY: 0 col: 1 max X: 94 sum Y: 72 max grX: 0 sum grY: 0 row: 0 sum X: 256 max Y: 72 sum grX: 0 max grY: 0 /Crash details/bottom-bar SizeUpPass FromChildren: (263, 72) Content: (263, 72) Internal: (263, 72) SzUp i: 0 /Crash details/top-bar cidx: (0,0) sz: (101, 67) grw: (1, 0) SzUp i: 1 /Crash details/crash-details cidx: (0,1) sz: (4, 4) grw: (1, 1) SzUp i: 2 /Crash details/bottom-bar cidx: (0,2) sz: (263, 72) grw: (1, 0) /Crash details SizeFromChildren col: 0 max X: 263 sum Y: 143 max grX: 1 sum grY: 1 row: 0 sum X: 101 max Y: 67 sum grX: 1 max grY: 0 row: 1 sum X: 4 max Y: 4 sum grX: 1 max grY: 1 row: 2 sum X: 263 max Y: 72 sum grX: 1 max grY: 0 /Crash details SizeUpPass FromChildren: (263, 157) Content: (263, 157) Internal: (263, 157) ############################ SizeDown start: /Crash details /Crash details Managing Alloc: (1895, 1286) /Crash details SizeDown extra: (1632, 1129) Internal: (263, 157) Alloc: (1895, 1286) /Crash details/top-bar X alloc: 1895 was act: 277 mx: 263 gsum: 1 gr: 1 ex: 1632 /Crash details/top-bar Y alloc: 67 was act: 171 mx: 67 gsum: 1 gr: 0 ex: 1129 /Crash details/crash-details X alloc: 1895 was act: 277 mx: 263 gsum: 1 gr: 1 ex: 1632 /Crash details/crash-details Y alloc: 1133 was act: 171 mx: 4 gsum: 1 gr: 1 ex: 1129 /Crash details/bottom-bar X alloc: 1895 was act: 277 mx: 263 gsum: 1 gr: 1 ex: 1632 /Crash details/bottom-bar Y alloc: 72 was act: 171 mx: 72 gsum: 1 gr: 0 ex: 1129 /Crash details/top-bar Managing Alloc: (1895, 67) /Crash details/top-bar SizeDown extra: (1794, 0) Internal: (101, 67) Alloc: (1895, 67) /Crash details/top-bar/toolbar-0 X alloc: 1895 was act: 101 mx: 101 gsum: 1 gr: 1 ex: 1794 /Crash details/top-bar/toolbar-0 Y alloc: 67 was act: 67 mx: 67 gsum: 0 gr: 0 ex: 0 /Crash details/top-bar/toolbar-0 Managing Alloc: (1863, 63) /Crash details/top-bar/toolbar-0 SizeDown extra: (1794, 0) Internal: (69, 63) Alloc: (1863, 63) /Crash details/top-bar/toolbar-0/back X alloc: 69 was act: 101 mx: 69 gsum: 0 gr: 0 ex: 1794 /Crash details/top-bar/toolbar-0/back Y alloc: 63 was act: 67 mx: 63 gsum: 0 gr: 0 ex: 0 /Crash details/to...lbar-0/app-chooser X alloc: 506 was act: 101 mx: 506 gsum: 0 gr: 0 ex: 1794 /Crash details/to...lbar-0/app-chooser Y alloc: 63 was act: 67 mx: 63 gsum: 0 gr: 0 ex: 0 /Crash details/to...ar-0/overflow-menu X alloc: 69 was act: 101 mx: 69 gsum: 0 gr: 0 ex: 1794 /Crash details/to...ar-0/overflow-menu Y alloc: 63 was act: 67 mx: 63 gsum: 0 gr: 0 ex: 0 /Crash details/to...olbar-0/back.parts Managing Alloc: (37, 37) /Crash details/to.../app-chooser.parts Managing Alloc: (506, 63) /Crash details/to...r.parts/text.parts Managing Alloc: (478, 41) /Crash details/to...r.parts/text.parts SizeDown extra: (364, 0) Internal: (114, 41) Alloc: (478, 41) /Crash details/to...xt.parts/lead-icon X alloc: 48 was act: 114 mx: 48 gsum: 1 gr: 0 ex: 364 /Crash details/to...xt.parts/lead-icon Y alloc: 41 was act: 41 mx: 41 gsum: 0 gr: 0 ex: 0 /Crash details/to...rts/trail-icon-str X alloc: 382 was act: 114 mx: 18 gsum: 1 gr: 1 ex: 364 /Crash details/to...rts/trail-icon-str Y alloc: 41 was act: 41 mx: 41 gsum: 1 gr: 1 ex: 0 /Crash details/to...t.parts/trail-icon X alloc: 48 was act: 114 mx: 48 gsum: 1 gr: 0 ex: 364 /Crash details/to...t.parts/trail-icon Y alloc: 41 was act: 41 mx: 41 gsum: 0 gr: 0 ex: 0 /Crash details/to...ts/lead-icon.parts Managing Alloc: (37, 37) /Crash details/to...s/trail-icon.parts Managing Alloc: (37, 37) /Crash details/to...verflow-menu.parts Managing Alloc: (37, 37) /Crash details/top-bar SizeDownChildren child: toolbar-0 triggered redo SzUp i: 0 /Crash details/top-bar/toolbar-0 cidx: (0,0) sz: (101, 67) grw: (1, 0) /Crash details/top-bar SizeFromChildren col: 0 max X: 101 sum Y: 67 max grX: 1 sum grY: 0 row: 0 sum X: 101 max Y: 67 sum grX: 1 max grY: 0 /Crash details/top-bar SizeDownPass FromChildren: (101, 67) Content: (101, 67) Internal: (101, 67) /Crash details/top-bar SizeDown redo /Crash details SizeDownChildren child: top-bar triggered redo /Crash details/crash-details Managing Alloc: (1891, 1129) /Crash details/crash-details OverflowAuto enabling scrollbars for dim for overflow: X 71 alloc: 1891 internal: 1962 /Crash details/crash-details OverflowAuto enabling scrollbars for dim for overflow: Y 774 alloc: 1129 internal: 1903 /Crash details/crash-details ManageOverflow changed /Crash details/crash-details/title Label Size Changed: (250, 58) was: (128, 116) /Crash details/crash-details SizeDownChildren child: title triggered redo /Crash details/crash-details/label-1 Label Size Changed: (1958, 1685) was: (1958, 1772) /Crash details/crash-details SizeDownChildren child: label-1 triggered redo SzUp i: 0 /Crash details/crash-details/title cidx: (0,0) sz: (254, 62) grw: (1, 0) SzUp i: 1 /Crash details/crash-details/label-1 cidx: (0,1) sz: (1962, 1689) grw: (1, 0) /Crash details/crash-details SizeFromChildren col: 0 max X: 1962 sum Y: 1751 max grX: 1 sum grY: 0 row: 0 sum X: 254 max Y: 62 sum grX: 1 max grY: 0 row: 1 sum X: 1962 max Y: 1689 sum grX: 1 max grY: 0 /Crash details/crash-details SizeDownPass FromChildren: (1962, 1758) Content: (0, 0) Internal: (1962, 1758) /Crash details/crash-details SizeDown redo /Crash details SizeDownChildren child: crash-details triggered redo /Crash details/bottom-bar Managing Alloc: (1895, 72) /Crash details/bottom-bar SizeDown extra: (1632, 0) Internal: (263, 72) Alloc: (1895, 72) /Crash details/bottom-bar/button-0 X alloc: 162 was act: 263 mx: 162 gsum: 0 gr: 0 ex: 1632 /Crash details/bottom-bar/button-0 Y alloc: 72 was act: 72 mx: 72 gsum: 0 gr: 0 ex: 0 /Crash details/bottom-bar/ok X alloc: 94 was act: 263 mx: 94 gsum: 0 gr: 0 ex: 1632 /Crash details/bottom-bar/ok Y alloc: 72 was act: 72 mx: 72 gsum: 0 gr: 0 ex: 0 /Crash details/bo...bar/button-0.parts Managing Alloc: (113, 40) /Crash details/bottom-bar/ok.parts Managing Alloc: (38, 40) SzUp i: 0 /Crash details/top-bar cidx: (0,0) sz: (101, 67) grw: (1, 0) SzUp i: 1 /Crash details/crash-details cidx: (0,1) sz: (22, 22) grw: (1, 1) SzUp i: 2 /Crash details/bottom-bar cidx: (0,2) sz: (263, 72) grw: (1, 0) /Crash details SizeFromChildren col: 0 max X: 263 sum Y: 161 max grX: 1 sum grY: 1 row: 0 sum X: 101 max Y: 67 sum grX: 1 max grY: 0 row: 1 sum X: 22 max Y: 22 sum grX: 1 max grY: 1 row: 2 sum X: 263 max Y: 72 sum grX: 1 max grY: 0 /Crash details SizeDownPass FromChildren: (263, 175) Content: (263, 175) Internal: (263, 175) /Crash details SizeDown redo ############################ SizeDown redo: /Crash details iter: 1 /Crash details Managing Alloc: (1895, 1286) /Crash details SizeDown extra: (1632, 1111) Internal: (263, 175) Alloc: (1895, 1286) /Crash details/top-bar X alloc: 1895 was act: 277 mx: 263 gsum: 1 gr: 1 ex: 1632 /Crash details/top-bar Y alloc: 67 was act: 189 mx: 67 gsum: 1 gr: 0 ex: 1111 /Crash details/crash-details X alloc: 1895 was act: 277 mx: 263 gsum: 1 gr: 1 ex: 1632 /Crash details/crash-details Y alloc: 1133 was act: 189 mx: 22 gsum: 1 gr: 1 ex: 1111 /Crash details/bottom-bar X alloc: 1895 was act: 277 mx: 263 gsum: 1 gr: 1 ex: 1632 /Crash details/bottom-bar Y alloc: 72 was act: 189 mx: 72 gsum: 1 gr: 0 ex: 1111 /Crash details/top-bar Managing Alloc: (1895, 67) /Crash details/top-bar SizeDown extra: (1794, 0) Internal: (101, 67) Alloc: (1895, 67) /Crash details/top-bar/toolbar-0 X alloc: 1895 was act: 101 mx: 101 gsum: 1 gr: 1 ex: 1794 /Crash details/top-bar/toolbar-0 Y alloc: 67 was act: 67 mx: 67 gsum: 0 gr: 0 ex: 0 /Crash details/top-bar/toolbar-0 Managing Alloc: (1863, 63) /Crash details/top-bar/toolbar-0 SizeDown extra: (1794, 0) Internal: (69, 63) Alloc: (1863, 63) /Crash details/top-bar/toolbar-0/back X alloc: 69 was act: 101 mx: 69 gsum: 0 gr: 0 ex: 1794 /Crash details/top-bar/toolbar-0/back Y alloc: 63 was act: 67 mx: 63 gsum: 0 gr: 0 ex: 0 /Crash details/to...lbar-0/app-chooser X alloc: 506 was act: 101 mx: 506 gsum: 0 gr: 0 ex: 1794 /Crash details/to...lbar-0/app-chooser Y alloc: 63 was act: 67 mx: 63 gsum: 0 gr: 0 ex: 0 /Crash details/to...ar-0/overflow-menu X alloc: 69 was act: 101 mx: 69 gsum: 0 gr: 0 ex: 1794 /Crash details/to...ar-0/overflow-menu Y alloc: 63 was act: 67 mx: 63 gsum: 0 gr: 0 ex: 0 /Crash details/to...olbar-0/back.parts Managing Alloc: (37, 37) /Crash details/to.../app-chooser.parts Managing Alloc: (506, 63) /Crash details/to...r.parts/text.parts Managing Alloc: (478, 41) /Crash details/to...r.parts/text.parts SizeDown extra: (364, 0) Internal: (114, 41) Alloc: (478, 41) /Crash details/to...xt.parts/lead-icon X alloc: 48 was act: 114 mx: 48 gsum: 1 gr: 0 ex: 364 /Crash details/to...xt.parts/lead-icon Y alloc: 41 was act: 41 mx: 41 gsum: 0 gr: 0 ex: 0 /Crash details/to...rts/trail-icon-str X alloc: 382 was act: 114 mx: 18 gsum: 1 gr: 1 ex: 364 /Crash details/to...rts/trail-icon-str Y alloc: 41 was act: 41 mx: 41 gsum: 1 gr: 1 ex: 0 /Crash details/to...t.parts/trail-icon X alloc: 48 was act: 114 mx: 48 gsum: 1 gr: 0 ex: 364 /Crash details/to...t.parts/trail-icon Y alloc: 41 was act: 41 mx: 41 gsum: 0 gr: 0 ex: 0 /Crash details/to...ts/lead-icon.parts Managing Alloc: (37, 37) /Crash details/to...s/trail-icon.parts Managing Alloc: (37, 37) /Crash details/to...verflow-menu.parts Managing Alloc: (37, 37) DebugSettings.UpdateTrace Update: /Crash details/to...ar-0/overflow-menu updt: true DebugSettings.UpdateTrace: NeedsRender: /Crash details/to...ar-0/overflow-menu /Crash details/crash-details Managing Alloc: (1873, 1111) /Crash details/bottom-bar Managing Alloc: (1895, 72) /Crash details/bottom-bar SizeDown extra: (1632, 0) Internal: (263, 72) Alloc: (1895, 72) /Crash details/bottom-bar/button-0 X alloc: 162 was act: 263 mx: 162 gsum: 0 gr: 0 ex: 1632 /Crash details/bottom-bar/button-0 Y alloc: 72 was act: 72 mx: 72 gsum: 0 gr: 0 ex: 0 /Crash details/bottom-bar/ok X alloc: 94 was act: 263 mx: 94 gsum: 0 gr: 0 ex: 1632 /Crash details/bottom-bar/ok Y alloc: 72 was act: 72 mx: 72 gsum: 0 gr: 0 ex: 0 /Crash details/bo...bar/button-0.parts Managing Alloc: (113, 40) /Crash details/bottom-bar/ok.parts Managing Alloc: (38, 40) ############################ SizeFinal start: /Crash details SzUp i: 0 /Crash details/to...-0/back.parts/icon cidx: (0,0) sz: (37, 37) grw: (0, 0) /Crash details/to...olbar-0/back.parts SizeFromChildren col: 0 max X: 37 sum Y: 37 max grX: 0 sum grY: 0 row: 0 sum X: 37 max Y: 37 sum grX: 0 max grY: 0 /Crash details/to...olbar-0/back.parts SizeFinalPass FromChildren: (37, 37) Content: (37, 37) Internal: (37, 37) SzUp i: 0 /Crash details/to...ad-icon.parts/icon cidx: (0,0) sz: (37, 37) grw: (0, 0) /Crash details/to...ts/lead-icon.parts SizeFromChildren col: 0 max X: 37 sum Y: 37 max grX: 0 sum grY: 0 row: 0 sum X: 37 max Y: 37 sum grX: 0 max grY: 0 /Crash details/to...ts/lead-icon.parts SizeFinalPass FromChildren: (37, 37) Content: (37, 37) Internal: (37, 37) /Crash details/to...rts/trail-icon-str GrowToAlloc: (382, 41) from actual: (18, 33) SzUp i: 0 /Crash details/to...il-icon.parts/icon cidx: (0,0) sz: (37, 37) grw: (0, 0) /Crash details/to...s/trail-icon.parts SizeFromChildren col: 0 max X: 37 sum Y: 37 max grX: 0 sum grY: 0 row: 0 sum X: 37 max Y: 37 sum grX: 0 max grY: 0 /Crash details/to...s/trail-icon.parts SizeFinalPass FromChildren: (37, 37) Content: (37, 37) Internal: (37, 37) SzUp i: 0 /Crash details/to...xt.parts/lead-icon cidx: (0,0) sz: (48, 41) grw: (0, 0) SzUp i: 1 /Crash details/to...rts/trail-icon-str cidx: (1,0) sz: (382, 41) grw: (1, 1) SzUp i: 2 /Crash details/to...t.parts/trail-icon cidx: (2,0) sz: (48, 41) grw: (0, 0) /Crash details/to...r.parts/text.parts SizeFromChildren col: 0 max X: 48 sum Y: 41 max grX: 0 sum grY: 0 col: 1 max X: 382 sum Y: 41 max grX: 1 sum grY: 1 col: 2 max X: 48 sum Y: 41 max grX: 0 sum grY: 0 row: 0 sum X: 478 max Y: 41 sum grX: 1 max grY: 1 /Crash details/to...r.parts/text.parts SizeFinalPass FromChildren: (478, 41) Content: (478, 41) Internal: (478, 41) SzUp i: 0 /Crash details/to...chooser.parts/text cidx: (0,0) sz: (506, 63) grw: (0, 0) /Crash details/to.../app-chooser.parts SizeFromChildren col: 0 max X: 506 sum Y: 63 max grX: 0 sum grY: 0 row: 0 sum X: 506 max Y: 63 sum grX: 0 max grY: 0 /Crash details/to.../app-chooser.parts SizeFinalPass FromChildren: (506, 63) Content: (506, 63) Internal: (506, 63) SzUp i: 0 /Crash details/to...ow-menu.parts/icon cidx: (0,0) sz: (37, 37) grw: (0, 0) /Crash details/to...verflow-menu.parts SizeFromChildren col: 0 max X: 37 sum Y: 37 max grX: 0 sum grY: 0 row: 0 sum X: 37 max Y: 37 sum grX: 0 max grY: 0 /Crash details/to...verflow-menu.parts SizeFinalPass FromChildren: (37, 37) Content: (37, 37) Internal: (37, 37) SzUp i: 0 /Crash details/top-bar/toolbar-0/back cidx: (0,0) sz: (69, 59) grw: (0, 0) SzUp i: 1 /Crash details/to...lbar-0/app-chooser cidx: (1,0) sz: (506, 63) grw: (0, 0) SzUp i: 2 /Crash details/to...ar-0/overflow-menu cidx: (2,0) sz: (69, 59) grw: (0, 0) /Crash details/top-bar/toolbar-0 SizeFromChildren col: 0 max X: 69 sum Y: 59 max grX: 0 sum grY: 0 col: 1 max X: 506 sum Y: 63 max grX: 0 sum grY: 0 col: 2 max X: 69 sum Y: 59 max grX: 0 sum grY: 0 row: 0 sum X: 644 max Y: 63 sum grX: 0 max grY: 0 /Crash details/top-bar/toolbar-0 SizeFinalPass FromChildren: (69, 63) Content: (69, 63) Internal: (69, 63) /Crash details/top-bar/toolbar-0 GrowToAlloc: (1863, 67) from actual: (101, 67) SzUp i: 0 /Crash details/top-bar/toolbar-0 cidx: (0,0) sz: (1863, 67) grw: (1, 0) /Crash details/top-bar SizeFromChildren col: 0 max X: 1863 sum Y: 67 max grX: 1 sum grY: 0 row: 0 sum X: 1863 max Y: 67 sum grX: 1 max grY: 0 /Crash details/top-bar SizeFinalPass FromChildren: (1863, 67) Content: (1863, 67) Internal: (1863, 67) /Crash details/top-bar GrowToAlloc: (1895, 67) from actual: (1863, 67) SzUp i: 0 /Crash details/crash-details/title cidx: (0,0) sz: (254, 62) grw: (1, 0) SzUp i: 1 /Crash details/crash-details/label-1 cidx: (0,1) sz: (1962, 1689) grw: (1, 0) /Crash details/crash-details SizeFromChildren col: 0 max X: 1962 sum Y: 1751 max grX: 1 sum grY: 0 row: 0 sum X: 254 max Y: 62 sum grX: 1 max grY: 0 row: 1 sum X: 1962 max Y: 1689 sum grX: 1 max grY: 0 /Crash details/crash-details SizeFinalPass FromChildren: (1962, 1758) Content: (0, 0) Internal: (1962, 1758) /Crash details/crash-details GrowToAlloc: (1895, 1133) from actual: (22, 22) SzUp i: 0 /Crash details/bo...utton-0.parts/icon cidx: (0,0) sz: (37, 37) grw: (0, 0) SzUp i: 1 /Crash details/bo...tton-0.parts/space cidx: (1,0) sz: (14, 29) grw: (0, 0) SzUp i: 2 /Crash details/bo...tton-0.parts/label cidx: (2,0) sz: (62, 40) grw: (1, 0) /Crash details/bo...bar/button-0.parts SizeFromChildren col: 0 max X: 37 sum Y: 37 max grX: 0 sum grY: 0 col: 1 max X: 14 sum Y: 29 max grX: 0 sum grY: 0 col: 2 max X: 62 sum Y: 40 max grX: 1 sum grY: 0 row: 0 sum X: 113 max Y: 40 sum grX: 1 max grY: 0 /Crash details/bo...bar/button-0.parts SizeFinalPass FromChildren: (113, 40) Content: (113, 40) Internal: (113, 40) SzUp i: 0 /Crash details/bo...bar/ok.parts/label cidx: (0,0) sz: (38, 40) grw: (1, 0) /Crash details/bottom-bar/ok.parts SizeFromChildren col: 0 max X: 38 sum Y: 40 max grX: 1 sum grY: 0 row: 0 sum X: 38 max Y: 40 sum grX: 1 max grY: 0 /Crash details/bottom-bar/ok.parts SizeFinalPass FromChildren: (38, 40) Content: (38, 40) Internal: (38, 40) SzUp i: 0 /Crash details/bottom-bar/button-0 cidx: (0,0) sz: (162, 72) grw: (0, 0) SzUp i: 1 /Crash details/bottom-bar/ok cidx: (1,0) sz: (94, 72) grw: (0, 0) /Crash details/bottom-bar SizeFromChildren col: 0 max X: 162 sum Y: 72 max grX: 0 sum grY: 0 col: 1 max X: 94 sum Y: 72 max grX: 0 sum grY: 0 row: 0 sum X: 256 max Y: 72 sum grX: 0 max grY: 0 /Crash details/bottom-bar SizeFinalPass FromChildren: (263, 72) Content: (263, 72) Internal: (263, 72) /Crash details/bottom-bar GrowToAlloc: (1895, 72) from actual: (263, 72) SzUp i: 0 /Crash details/top-bar cidx: (0,0) sz: (1895, 67) grw: (1, 0) SzUp i: 1 /Crash details/crash-details cidx: (0,1) sz: (1895, 1133) grw: (1, 1) SzUp i: 2 /Crash details/bottom-bar cidx: (0,2) sz: (1895, 72) grw: (1, 0) /Crash details SizeFromChildren col: 0 max X: 1895 sum Y: 1272 max grX: 1 sum grY: 1 row: 0 sum X: 1895 max Y: 67 sum grX: 1 max grY: 0 row: 1 sum X: 1895 max Y: 1133 sum grX: 1 max grY: 1 row: 2 sum X: 1895 max Y: 72 sum grX: 1 max grY: 0 /Crash details SizeFinalPass FromChildren: (1895, 1286) Content: (1895, 1286) Internal: (1895, 1286) ############################ Position start: /Crash details /Crash details Position within Main=Y: (0, 0) /Crash details PositionCells, alloc: (1895, 1286) internal: (1895, 1286) /Crash details/top-bar Position within Main=Y: (0, 0) /Crash details/crash-details Position within Main=Y: (0, 74) /Crash details/bottom-bar Position within Main=Y: (0, 1214) /Crash details/top-bar PositionCells Main X, alloc: (1895, 67) internal: (1863, 67) /Crash details/top-bar/toolbar-0 Position within Main=X: (0, 0) /Crash details/top-bar/toolbar-0 PositionCells Main X, alloc: (1831, 63) internal: (69, 63) /Crash details/top-bar/toolbar-0/back Position within Main=X: (0, 0) /Crash details/to...lbar-0/app-chooser Position within Main=X: (69, 0) /Crash details/to...ar-0/overflow-menu Position within Main=X: (575, 0) /Crash details/to...olbar-0/back.parts parts align pos: (0, 0) /Crash details/to...olbar-0/back.parts PositionCells Main X, alloc: (37, 37) internal: (37, 37) /Crash details/to...-0/back.parts/icon Position within Main=X: (0, 0) /Crash details/to.../app-chooser.parts parts align pos: (0, 0) /Crash details/to.../app-chooser.parts PositionCells Main X, alloc: (506, 63) internal: (506, 63) /Crash details/to...chooser.parts/text Position within Main=X: (0, 0) /Crash details/to...r.parts/text.parts parts align pos: (0, 0) /Crash details/to...r.parts/text.parts PositionCells Main X, alloc: (478, 41) internal: (478, 41) /Crash details/to...xt.parts/lead-icon Position within Main=X: (0, 0) /Crash details/to...rts/trail-icon-str Position within Main=X: (48, 0) /Crash details/to...t.parts/trail-icon Position within Main=X: (430, 0) /Crash details/to...ts/lead-icon.parts parts align pos: (0, 0) /Crash details/to...ts/lead-icon.parts PositionCells Main X, alloc: (37, 37) internal: (37, 37) /Crash details/to...ad-icon.parts/icon Position within Main=X: (0, 0) /Crash details/to...s/trail-icon.parts parts align pos: (0, 0) /Crash details/to...s/trail-icon.parts PositionCells Main X, alloc: (37, 37) internal: (37, 37) /Crash details/to...il-icon.parts/icon Position within Main=X: (0, 0) /Crash details/to...verflow-menu.parts parts align pos: (0, 0) /Crash details/to...verflow-menu.parts PositionCells Main X, alloc: (37, 37) internal: (37, 37) /Crash details/to...ow-menu.parts/icon Position within Main=X: (0, 0) /Crash details/crash-details PositionCells, alloc: (1873, 1111) internal: (1962, 1758) /Crash details/crash-details/title Position within Main=Y: (0, 0) /Crash details/crash-details/label-1 Position within Main=Y: (0, 69) /Crash details/bottom-bar PositionCells Main X, alloc: (1895, 72) internal: (263, 72) /Crash details/bottom-bar/button-0 Position within Main=X: (1632, 0) /Crash details/bottom-bar/ok Position within Main=X: (1801, 0) /Crash details/bo...bar/button-0.parts parts align pos: (0, 0) /Crash details/bo...bar/button-0.parts PositionCells Main X, alloc: (113, 40) internal: (113, 40) /Crash details/bo...utton-0.parts/icon Position within Main=X: (0, 1) /Crash details/bo...tton-0.parts/space Position within Main=X: (37, 5) /Crash details/bo...tton-0.parts/label Position within Main=X: (51, 0) /Crash details/bottom-bar/ok.parts parts align pos: (0, 0) /Crash details/bottom-bar/ok.parts PositionCells Main X, alloc: (38, 40) internal: (38, 40) /Crash details/bo...bar/ok.parts/label Position within Main=X: (0, 0) ############################ ScenePos start: /Crash details /Crash details pos: (0, 0) parPos: (0, 0) /Crash details Total BBox: (0,0)-(1909,1300) /Crash details Content BBox: (7,7)-(1902,1293) /Crash details/top-bar pos: (7, 7) parPos: (7, 7) /Crash details/top-bar Total BBox: (7,7)-(1902,74) parBB: (7,7)-(1902,1293) BBox: (7,7)-(1902,74) /Crash details/top-bar Content BBox: (7,7)-(1902,74) parBB: (7,7)-(1902,1293) BBox: (7,7)-(1902,74) /Crash details/top-bar/toolbar-0 pos: (7, 7) parPos: (7, 7) /Crash details/top-bar/toolbar-0 Total BBox: (7,7)-(1870,74) parBB: (7,7)-(1902,74) BBox: (7,7)-(1870,74) /Crash details/top-bar/toolbar-0 Content BBox: (23,9)-(1854,72) parBB: (7,7)-(1902,74) BBox: (23,9)-(1854,72) /Crash details/top-bar/toolbar-0/back pos: (23, 9) parPos: (23, 9) /Crash details/top-bar/toolbar-0/back Total BBox: (23,9)-(92,68) parBB: (23,9)-(1854,72) BBox: (23,9)-(92,68) /Crash details/top-bar/toolbar-0/back Content BBox: (39,20)-(76,57) parBB: (23,9)-(1854,72) BBox: (39,20)-(76,57) /Crash details/to...olbar-0/back.parts pos: (39, 20) parPos: (39, 20) /Crash details/to...olbar-0/back.parts Total BBox: (39,20)-(76,57) parBB: (39,20)-(76,57) BBox: (39,20)-(76,57) /Crash details/to...olbar-0/back.parts Content BBox: (39,20)-(76,57) parBB: (39,20)-(76,57) BBox: (39,20)-(76,57) /Crash details/to...-0/back.parts/icon pos: (39, 20) parPos: (39, 20) /Crash details/to...-0/back.parts/icon Total BBox: (39,20)-(76,57) parBB: (39,20)-(76,57) BBox: (39,20)-(76,57) /Crash details/to...-0/back.parts/icon Content BBox: (41,22)-(74,55) parBB: (39,20)-(76,57) BBox: (41,22)-(74,55) /Crash details/to...lbar-0/app-chooser pos: (92, 9) parPos: (23, 9) /Crash details/to...lbar-0/app-chooser Total BBox: (92,9)-(598,72) parBB: (23,9)-(1854,72) BBox: (92,9)-(598,72) /Crash details/to...lbar-0/app-chooser Content BBox: (92,9)-(598,72) parBB: (23,9)-(1854,72) BBox: (92,9)-(598,72) /Crash details/to.../app-chooser.parts pos: (92, 9) parPos: (92, 9) /Crash details/to.../app-chooser.parts Total BBox: (92,9)-(598,72) parBB: (92,9)-(598,72) BBox: (92,9)-(598,72) /Crash details/to.../app-chooser.parts Content BBox: (92,9)-(598,72) parBB: (92,9)-(598,72) BBox: (92,9)-(598,72) /Crash details/to...chooser.parts/text pos: (92, 9) parPos: (92, 9) /Crash details/to...chooser.parts/text Total BBox: (92,9)-(598,72) parBB: (92,9)-(598,72) BBox: (92,9)-(598,72) /Crash details/to...chooser.parts/text Content BBox: (106,20)-(584,61) parBB: (92,9)-(598,72) BBox: (106,20)-(584,61) /Crash details/to...r.parts/text.parts pos: (106, 20) parPos: (106, 20) /Crash details/to...r.parts/text.parts Total BBox: (106,20)-(584,61) parBB: (106,20)-(584,61) BBox: (106,20)-(584,61) /Crash details/to...r.parts/text.parts Content BBox: (106,20)-(584,61) parBB: (106,20)-(584,61) BBox: (106,20)-(584,61) /Crash details/to...xt.parts/lead-icon pos: (106, 20) parPos: (106, 20) /Crash details/to...xt.parts/lead-icon Total BBox: (106,20)-(154,61) parBB: (106,20)-(584,61) BBox: (106,20)-(154,61) /Crash details/to...xt.parts/lead-icon Content BBox: (108,22)-(145,59) parBB: (106,20)-(584,61) BBox: (108,22)-(145,59) /Crash details/to...ts/lead-icon.parts pos: (108, 22) parPos: (108, 22) /Crash details/to...ts/lead-icon.parts Total BBox: (108,22)-(145,59) parBB: (108,22)-(145,59) BBox: (108,22)-(145,59) /Crash details/to...ts/lead-icon.parts Content BBox: (108,22)-(145,59) parBB: (108,22)-(145,59) BBox: (108,22)-(145,59) /Crash details/to...ad-icon.parts/icon pos: (108, 22) parPos: (108, 22) /Crash details/to...ad-icon.parts/icon Total BBox: (108,22)-(145,59) parBB: (108,22)-(145,59) BBox: (108,22)-(145,59) /Crash details/to...ad-icon.parts/icon Content BBox: (110,24)-(143,57) parBB: (108,22)-(145,59) BBox: (110,24)-(143,57) /Crash details/to...rts/trail-icon-str pos: (154, 20) parPos: (106, 20) /Crash details/to...rts/trail-icon-str Total BBox: (154,20)-(536,61) parBB: (106,20)-(584,61) BBox: (154,20)-(536,61) /Crash details/to...rts/trail-icon-str Content BBox: (156,22)-(534,59) parBB: (106,20)-(584,61) BBox: (156,22)-(534,59) /Crash details/to...t.parts/trail-icon pos: (536, 20) parPos: (106, 20) /Crash details/to...t.parts/trail-icon Total BBox: (536,20)-(584,61) parBB: (106,20)-(584,61) BBox: (536,20)-(584,61) /Crash details/to...t.parts/trail-icon Content BBox: (545,22)-(582,59) parBB: (106,20)-(584,61) BBox: (545,22)-(582,59) /Crash details/to...s/trail-icon.parts pos: (545, 22) parPos: (545, 22) /Crash details/to...s/trail-icon.parts Total BBox: (545,22)-(582,59) parBB: (545,22)-(582,59) BBox: (545,22)-(582,59) /Crash details/to...s/trail-icon.parts Content BBox: (545,22)-(582,59) parBB: (545,22)-(582,59) BBox: (545,22)-(582,59) /Crash details/to...il-icon.parts/icon pos: (545, 22) parPos: (545, 22) /Crash details/to...il-icon.parts/icon Total BBox: (545,22)-(582,59) parBB: (545,22)-(582,59) BBox: (545,22)-(582,59) /Crash details/to...il-icon.parts/icon Content BBox: (547,24)-(580,57) parBB: (545,22)-(582,59) BBox: (547,24)-(580,57) /Crash details/to...ar-0/overflow-menu pos: (598, 9) parPos: (23, 9) /Crash details/to...ar-0/overflow-menu Total BBox: (598,9)-(667,68) parBB: (23,9)-(1854,72) BBox: (598,9)-(667,68) /Crash details/to...ar-0/overflow-menu Content BBox: (614,20)-(651,57) parBB: (23,9)-(1854,72) BBox: (614,20)-(651,57) /Crash details/to...verflow-menu.parts pos: (614, 20) parPos: (614, 20) /Crash details/to...verflow-menu.parts Total BBox: (614,20)-(651,57) parBB: (614,20)-(651,57) BBox: (614,20)-(651,57) /Crash details/to...verflow-menu.parts Content BBox: (614,20)-(651,57) parBB: (614,20)-(651,57) BBox: (614,20)-(651,57) /Crash details/to...ow-menu.parts/icon pos: (614, 20) parPos: (614, 20) /Crash details/to...ow-menu.parts/icon Total BBox: (614,20)-(651,57) parBB: (614,20)-(651,57) BBox: (614,20)-(651,57) /Crash details/to...ow-menu.parts/icon Content BBox: (616,22)-(649,55) parBB: (614,20)-(651,57) BBox: (616,22)-(649,55) /Crash details/crash-details pos: (7, 81) parPos: (7, 7) /Crash details/crash-details Total BBox: (7,81)-(1902,1214) parBB: (7,7)-(1902,1293) BBox: (7,81)-(1902,1214) /Crash details/crash-details Content BBox: (9,83)-(1882,1194) parBB: (7,7)-(1902,1293) BBox: (9,83)-(1882,1194) /Crash details/crash-details/title pos: (9, 83) parPos: (9, 83) /Crash details/crash-details/title Total BBox: (9,83)-(263,145) parBB: (9,83)-(1882,1194) BBox: (9,83)-(263,145) /Crash details/crash-details/title Content BBox: (11,85)-(261,143) parBB: (9,83)-(1882,1194) BBox: (11,85)-(261,143) /Crash details/crash-details/label-1 pos: (9, 152) parPos: (9, 83) /Crash details/crash-details/label-1 Total BBox: (9,152)-(1971,1841) parBB: (9,83)-(1882,1194) BBox: (9,152)-(1882,1194) /Crash details/crash-details/label-1 Content BBox: (11,154)-(1969,1839) parBB: (9,83)-(1882,1194) BBox: (11,154)-(1882,1194) /Crash details/bottom-bar pos: (7, 1221) parPos: (7, 7) /Crash details/bottom-bar Total BBox: (7,1221)-(1902,1293) parBB: (7,7)-(1902,1293) BBox: (7,1221)-(1902,1293) /Crash details/bottom-bar Content BBox: (7,1221)-(1902,1293) parBB: (7,7)-(1902,1293) BBox: (7,1221)-(1902,1293) /Crash details/bottom-bar/button-0 pos: (1639, 1221) parPos: (7, 1221) /Crash details/bottom-bar/button-0 Total BBox: (1639,1221)-(1801,1293) parBB: (7,1221)-(1902,1293) BBox: (1639,1221)-(1801,1293) /Crash details/bottom-bar/button-0 Content BBox: (1660,1235)-(1773,1275) parBB: (7,1221)-(1902,1293) BBox: (1660,1235)-(1773,1275) /Crash details/bo...bar/button-0.parts pos: (1660, 1235) parPos: (1660, 1235) /Crash details/bo...bar/button-0.parts Total BBox: (1660,1235)-(1773,1275) parBB: (1660,1235)-(1773,1275) BBox: (1660,1235)-(1773,1275) /Crash details/bo...bar/button-0.parts Content BBox: (1660,1235)-(1773,1275) parBB: (1660,1235)-(1773,1275) BBox: (1660,1235)-(1773,1275) /Crash details/bo...utton-0.parts/icon pos: (1660, 1236) parPos: (1660, 1235) /Crash details/bo...utton-0.parts/icon Total BBox: (1660,1236)-(1697,1273) parBB: (1660,1235)-(1773,1275) BBox: (1660,1236)-(1697,1273) /Crash details/bo...utton-0.parts/icon Content BBox: (1662,1238)-(1695,1271) parBB: (1660,1235)-(1773,1275) BBox: (1662,1238)-(1695,1271) /Crash details/bo...tton-0.parts/space pos: (1697, 1240) parPos: (1660, 1235) /Crash details/bo...tton-0.parts/space Total BBox: (1697,1240)-(1711,1269) parBB: (1660,1235)-(1773,1275) BBox: (1697,1240)-(1711,1269) /Crash details/bo...tton-0.parts/space Content BBox: (1697,1240)-(1711,1269) parBB: (1660,1235)-(1773,1275) BBox: (1697,1240)-(1711,1269) /Crash details/bo...tton-0.parts/label pos: (1711, 1235) parPos: (1660, 1235) /Crash details/bo...tton-0.parts/label Total BBox: (1711,1235)-(1773,1275) parBB: (1660,1235)-(1773,1275) BBox: (1711,1235)-(1773,1275) /Crash details/bo...tton-0.parts/label Content BBox: (1713,1237)-(1771,1273) parBB: (1660,1235)-(1773,1275) BBox: (1713,1237)-(1771,1273) /Crash details/bottom-bar/ok pos: (1808, 1221) parPos: (7, 1221) /Crash details/bottom-bar/ok Total BBox: (1808,1221)-(1902,1293) parBB: (7,1221)-(1902,1293) BBox: (1808,1221)-(1902,1293) /Crash details/bottom-bar/ok Content BBox: (1836,1235)-(1874,1275) parBB: (7,1221)-(1902,1293) BBox: (1836,1235)-(1874,1275) /Crash details/bottom-bar/ok.parts pos: (1836, 1235) parPos: (1836, 1235) /Crash details/bottom-bar/ok.parts Total BBox: (1836,1235)-(1874,1275) parBB: (1836,1235)-(1874,1275) BBox: (1836,1235)-(1874,1275) /Crash details/bottom-bar/ok.parts Content BBox: (1836,1235)-(1874,1275) parBB: (1836,1235)-(1874,1275) BBox: (1836,1235)-(1874,1275) /Crash details/bo...bar/ok.parts/label pos: (1836, 1235) parPos: (1836, 1235) /Crash details/bo...bar/ok.parts/label Total BBox: (1836,1235)-(1874,1275) parBB: (1836,1235)-(1874,1275) BBox: (1836,1235)-(1874,1275) /Crash details/bo...bar/ok.parts/label Content BBox: (1838,1237)-(1872,1273) parBB: (1836,1235)-(1874,1275) BBox: (1838,1237)-(1872,1273) Render: /Crash details at (0,0)-(1909,1300) Render: /Crash details/top-bar at (7,7)-(1902,74) Render: /Crash details/top-bar/toolbar-0 at (7,7)-(1870,74) Render: /Crash details/top-bar/toolbar-0/back at (23,9)-(92,68) Render: /Crash details/top-bar/toolbar-0/back.parts at (39,20)-(76,57) Render: /Crash details/top-bar/toolbar-0/back.parts/icon at (39,20)-(76,57) Render: /Crash details/top-bar/toolbar-0/app-chooser at (92,9)-(598,72) Render: /Crash details/top-bar/toolbar-0/app-chooser.parts at (92,9)-(598,72) Render: /Crash details/top-bar/toolbar-0/app-chooser.parts/text at (92,9)-(598,72) Render: /Crash details/top-bar/toolbar-0/app-chooser.parts/text.parts at (106,20)-(584,61) Render: /Crash details/top-bar/toolbar-0/app-chooser.parts/text.parts/lead-icon at (106,20)-(154,61) Render: /Crash details/top-bar/toolbar-0/app-chooser.parts/text.parts/lead-icon.parts at (108,22)-(145,59) Render: /Crash details/top-bar/toolbar-0/app-chooser.parts/text.parts/lead-icon.parts/icon at (108,22)-(145,59) Render: /Crash details/top-bar/toolbar-0/app-chooser.parts/text.parts/trail-icon-str at (154,20)-(536,61) Render: /Crash details/top-bar/toolbar-0/app-chooser.parts/text.parts/trail-icon at (536,20)-(584,61) Render: /Crash details/top-bar/toolbar-0/app-chooser.parts/text.parts/trail-icon.parts at (545,22)-(582,59) Render: /Crash details/top-bar/toolbar-0/app-chooser.parts/text.parts/trail-icon.parts/icon at (545,22)-(582,59) Render: /Crash details/top-bar/toolbar-0/overflow-menu at (598,9)-(667,68) Render: /Crash details/top-bar/toolbar-0/overflow-menu.parts at (614,20)-(651,57) Render: /Crash details/top-bar/toolbar-0/overflow-menu.parts/icon at (614,20)-(651,57) Render: /Crash details/crash-details at (7,81)-(1902,1214) Render: /Crash details/crash-details/title at (9,83)-(263,145) Render: /Crash details/crash-details/label-1 at (9,152)-(1882,1194) Render: /Crash details/crash-details/scrollX at (9,1194)-(1878,1212) DebugSettings.UpdateTrace: NeedsRender: /Crash details/crash-details/scrollX Render: /Crash details/crash-details/scrollY at (1882,83)-(1900,1190) DebugSettings.UpdateTrace: NeedsRender: /Crash details/crash-details/scrollY Render: /Crash details/bottom-bar at (7,1221)-(1902,1293) Render: /Crash details/bottom-bar/button-0 at (1639,1221)-(1801,1293) Render: /Crash details/bottom-bar/button-0.parts at (1660,1235)-(1773,1275) Render: /Crash details/bottom-bar/button-0.parts/icon at (1660,1236)-(1697,1273) Render: /Crash details/bottom-bar/button-0.parts/space at (1697,1240)-(1711,1269) Render: /Crash details/bottom-bar/button-0.parts/label at (1711,1235)-(1773,1275) Render: /Crash details/bottom-bar/ok at (1808,1221)-(1902,1293) Render: /Crash details/bottom-bar/ok.parts at (1836,1235)-(1874,1275) Render: /Crash details/bottom-bar/ok.parts/label at (1836,1235)-(1874,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: mitmproxy stopped unexpectedly (0,0)-(1909,1300) RenderScenes.SetImages: Crash details (0,0)-(1909,1300) MouseLeave{Time: 19:49, Handled: false} to /Crash details/bottom-bar/button-0 DebugSettings.UpdateTrace: NeedsRender: /Crash details/bottom-bar/button-0 MouseEnter{Time: 19:49, Handled: false} to /Crash details/bottom-bar/ok DebugSettings.UpdateTrace: NeedsRender: /Crash details/bottom-bar/ok Render: /Crash details/crash-details/scrollX at (9,1194)-(1878,1212) DebugSettings.UpdateTrace: NeedsRender: /Crash details/crash-details/scrollX Render: /Crash details/crash-details/scrollY at (1882,83)-(1900,1190) DebugSettings.UpdateTrace: NeedsRender: /Crash details/crash-details/scrollY Render: /Crash details/bottom-bar/button-0 at (1639,1221)-(1801,1293) Render: /Crash details/bottom-bar/button-0.parts at (1660,1235)-(1773,1275) Render: /Crash details/bottom-bar/button-0.parts/icon at (1660,1236)-(1697,1273) Render: /Crash details/bottom-bar/button-0.parts/space at (1697,1240)-(1711,1269) Render: /Crash details/bottom-bar/button-0.parts/label at (1711,1235)-(1773,1275) Render: /Crash details/bottom-bar/ok at (1808,1221)-(1902,1293) Render: /Crash details/bottom-bar/ok.parts at (1836,1235)-(1874,1275) Render: /Crash details/bottom-bar/ok.parts/label at (1836,1235)-(1874,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: sc Image NotUpdated mitmproxy stopped unexpectedly RenderScenes.SetImages: Crash details (0,0)-(1909,1300) Window got event MouseDown{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} MouseDown{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} to /Crash details/bo...bar/ok.parts/label MouseDown{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} to /Crash details/bottom-bar/ok.parts MouseDown{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} to /Crash details/bottom-bar/ok DebugSettings.UpdateTrace: NeedsRender: /Crash details/bottom-bar/ok MouseDown{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} to /Crash details/bottom-bar MouseDown{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} to /Crash details Render: /Crash details/crash-details/scrollX at (9,1194)-(1878,1212) DebugSettings.UpdateTrace: NeedsRender: /Crash details/crash-details/scrollX Render: /Crash details/crash-details/scrollY at (1882,83)-(1900,1190) DebugSettings.UpdateTrace: NeedsRender: /Crash details/crash-details/scrollY Render: /Crash details/bottom-bar/ok at (1808,1221)-(1902,1293) Render: /Crash details/bottom-bar/ok.parts at (1836,1235)-(1874,1275) Render: /Crash details/bottom-bar/ok.parts/label at (1836,1235)-(1874,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: sc Image NotUpdated mitmproxy stopped unexpectedly RenderScenes.SetImages: Crash details (0,0)-(1909,1300) Window got event MouseUp{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} MouseUp{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} to /Crash details/bo...bar/ok.parts/label MouseUp{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} to /Crash details/bottom-bar/ok.parts MouseUp{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} to /Crash details/bottom-bar/ok DebugSettings.UpdateTrace: NeedsRender: /Crash details/bottom-bar/ok MouseUp{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} to /Crash details/bottom-bar MouseUp{Button: Left, Pos: (1864,1259), Mods: , Time: 19:49} to /Crash details Click{Time: 19:49, Handled: false} to /Crash details/bottom-bar/ok /Crash details SetFocusEvent: /Crash details SetFocus: /Crash details/bottom-bar/ok Close{Time: 19:49, Handled: false} to /Crash details RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: true sceneMods: false GatherScenes: main Window: mitmproxy stopped unexpectedly-windowstage Type: WindowStage Scene: mitmproxy stopped unexpectedly Rc: Geom: {(0,0) (1909,1300)} Visible: true RenderScenes.SetImages: sc Image NotUpdated mitmproxy stopped unexpectedly MouseLeave{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-0 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-0 MouseEnter{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-1 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-1 Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0 at (1649,1221)-(1788,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0.parts at (1677,1235)-(1760,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0.parts/label at (1677,1235)-(1760,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1 at (1795,1221)-(1902,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts at (1823,1235)-(1874,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts/label at (1823,1235)-(1874,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: mitmproxy stopped unexpectedly (0,0)-(1909,1300) MouseLeave{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-1 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-1 MouseEnter{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-0 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-0 Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0 at (1649,1221)-(1788,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0.parts at (1677,1235)-(1760,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0.parts/label at (1677,1235)-(1760,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1 at (1795,1221)-(1902,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts at (1823,1235)-(1874,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts/label at (1823,1235)-(1874,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: mitmproxy stopped unexpectedly (0,0)-(1909,1300) MouseLeave{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-0 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-0 Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0 at (1649,1221)-(1788,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0.parts at (1677,1235)-(1760,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0.parts/label at (1677,1235)-(1760,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: mitmproxy stopped unexpectedly (0,0)-(1909,1300) MouseEnter{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-0 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-0 Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0 at (1649,1221)-(1788,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0.parts at (1677,1235)-(1760,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0.parts/label at (1677,1235)-(1760,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: mitmproxy stopped unexpectedly (0,0)-(1909,1300) MouseLeave{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-0 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-0 Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0 at (1649,1221)-(1788,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0.parts at (1677,1235)-(1760,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-0.parts/label at (1677,1235)-(1760,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: mitmproxy stopped unexpectedly (0,0)-(1909,1300) MouseEnter{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-1 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-1 Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1 at (1795,1221)-(1902,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts at (1823,1235)-(1874,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts/label at (1823,1235)-(1874,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: mitmproxy stopped unexpectedly (0,0)-(1909,1300) MouseLeave{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-1 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-1 Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1 at (1795,1221)-(1902,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts at (1823,1235)-(1874,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts/label at (1823,1235)-(1874,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: mitmproxy stopped unexpectedly (0,0)-(1909,1300) MouseEnter{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-1 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-1 Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1 at (1795,1221)-(1902,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts at (1823,1235)-(1874,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts/label at (1823,1235)-(1874,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: mitmproxy stopped unexpectedly (0,0)-(1909,1300) Window got event MouseDown{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} MouseDown{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} to /mitmproxy stoppe...tton-1.parts/label MouseDown{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} to /mitmproxy stoppe...bar/button-1.parts MouseDown{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} to /mitmproxy stoppe...ottom-bar/button-1 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-1 MouseDown{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} to /mitmproxy stoppe...ectedly/bottom-bar MouseDown{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} to /mitmproxy stopped unexpectedly Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1 at (1795,1221)-(1902,1293) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts at (1823,1235)-(1874,1275) Render: /mitmproxy stopped unexpectedly/bottom-bar/button-1.parts/label at (1823,1235)-(1874,1275) RenderWindow: doing render: mitmproxy stopped unexpectedly-windowstage rebuild: false stageMods: false sceneMods: true RenderScenes.SetImages: mitmproxy stopped unexpectedly (0,0)-(1909,1300) Window got event MouseUp{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} MouseUp{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} to /mitmproxy stoppe...tton-1.parts/label MouseUp{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} to /mitmproxy stoppe...bar/button-1.parts MouseUp{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} to /mitmproxy stoppe...ottom-bar/button-1 DebugSettings.UpdateTrace: NeedsRender: /mitmproxy stoppe...ottom-bar/button-1 MouseUp{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} to /mitmproxy stoppe...ectedly/bottom-bar MouseUp{Button: Left, Pos: (1838,1266), Mods: , Time: 19:50} to /mitmproxy stopped unexpectedly Click{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-1 /mitmproxy stopped unexpectedly SetFocus: /mitmproxy stoppe...ottom-bar/button-1 /mitmproxy stopped unexpectedly Losing focus: /mitmproxy stoppe...ottom-bar/button-0 FocusLost{Time: 19:50, Handled: false} to /mitmproxy stoppe...ottom-bar/button-0 panic: vulkan error: vulkan error: out of host memory (-1) [recovered] panic: vulkan error: vulkan error: out of host memory (-1) goroutine 37 [running]: cogentcore.org/core/gi.HandleRecover({0x7ff7bea29880, 0xc001ae6170}) D:/workspace/workspace/core/gi/recover.go:60 +0x233 cogentcore.org/core/gi.(*RenderWin).EventLoop.func1() D:/workspace/workspace/core/gi/renderwin.go:589 +0x24 panic({0x7ff7bea29880?, 0xc001ae6170?}) C:/Users/Admin/go/pkg/mod/golang.org/toolchain@v0.0.1-go1.21.6.windows-amd64/src/runtime/panic.go:914 +0x21f cogentcore.org/core/vgpu.IfPanic(...) D:/workspace/workspace/core/vgpu/errors.go:39 cogentcore.org/core/vgpu.(*Surface).ConfigSwapchain(0xc00104c420) D:/workspace/workspace/core/vgpu/surface.go:254 +0xa66 cogentcore.org/core/vgpu.(*Surface).ReConfigSwapchain(0xc00104c420) D:/workspace/workspace/core/vgpu/surface.go:302 +0x25 cogentcore.org/core/vgpu.(*Surface).AcquireNextImage(0xc00104c420) D:/workspace/workspace/core/vgpu/surface.go:347 +0x10b cogentcore.org/core/vgpu/vdraw.(*Drawer).StartDraw(0xc00021d680, 0x7ff7c0223540?) D:/workspace/workspace/core/vgpu/vdraw/draw.go:234 +0xa7 cogentcore.org/core/gi.(*RenderWin).DrawScenes(0xc001e36000) D:/workspace/workspace/core/gi/renderwin.go:1036 +0x262 cogentcore.org/core/gi.(*RenderWin).RenderWindow(0xc001e36000) D:/workspace/workspace/core/gi/renderwin.go:1000 +0x379 cogentcore.org/core/gi.(*RenderWin).HandleWindowEvents(0xc001e36000, {0x7ff7c022cf30, 0xc000309500}) D:/workspace/workspace/core/gi/renderwin.go:651 +0x55f cogentcore.org/core/gi.(*RenderWin).HandleEvent(0xc001e36000, {0x7ff7c022cf30, 0xc000309500}) D:/workspace/workspace/core/gi/renderwin.go:636 +0xe5 cogentcore.org/core/gi.(*RenderWin).EventLoop(0xc001e36000) D:/workspace/workspace/core/gi/renderwin.go:603 +0x125 created by cogentcore.org/core/gi.(*RenderWin).GoStartEventLoop in goroutine 1 D:/workspace/workspace/core/gi/renderwin.go:557 +0xa5 进程 已完成,退出代码为 2

Platform

windows

kkoreilly commented 7 months ago

It seems like this issue has finally been fixed, mostly by ea3e656 and ab16a96.

ddkwork commented 7 months ago

It's a great and perfect restoration, you're amazing 👍🏻

---Original--- From: @.> Date: Wed, Feb 21, 2024 12:41 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

It seems like this issue has finally been fixed, mostly by ea3e656 and ab16a96.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ddkwork commented 7 months ago

Just panicked again, I've tested it a few more times

ddkwork commented 7 months ago

I'm wondering if we should add a lock, because we break the logic of the normal application and free up space of the swap chain, and redistributing the swap chain when the window is frequently minimized can cause contention, although the upper renderwin part is locked, but when frequent events come in, this can happen in scenarios where minimization is also frequent. However, this is not necessary, as minimization is not as frequent in the actual scenario.

ddkwork commented 7 months ago

Further testing revealed that this may be needed, and 6 times out of 10 tests can make it panic, and the way to reproduce it stably is to minimize frequent clicks for a longer period of time

kkoreilly commented 7 months ago

Do you want me to debug this on your machine now?

ddkwork commented 7 months ago

Yes, but you should be tired from clicking the minimization button frequently, I want to find a software to simulate clicking, can the unit test actively trigger clicking it? You debug it first, I'll find this software to test later, my computer will turn on for you every day, come on, let's kill this bug

---Original--- From: @.> Date: Wed, Feb 21, 2024 13:44 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

Do you want me to debug this on your machine now?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ddkwork commented 7 months ago

Do you want me to debug this on your machine now?

1670379990

ddkwork commented 7 months ago

screenshots

import pygetwindow
import pyautogui
import time

# 获取指定窗口标题
target_window_title = 'Async Updating'

# 获取指定窗口
window = pygetwindow.getWindowsWithTitle(target_window_title)

if window:
    # 获取窗口对象
    window = window[0]

    # 重复执行最小化和还原操作
    for i in range(10000):
        # 最小化窗口
        window.minimize()
        time.sleep(0.1)

        # 还原窗口
        window.restore()
        time.sleep(0.1)
kkoreilly commented 7 months ago

Sorry, I had to go. I will be able to debug this later today; nice job writing the minimize script.

ddkwork commented 7 months ago

Where are you going ?

---Original--- From: @.> Date: Wed, Feb 21, 2024 23:42 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

Sorry, I had to go. I will be able to debug this later today; nice job writing the minimize script.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kkoreilly commented 7 months ago

I went to sleep.

ddkwork commented 7 months ago

I went to sleep.

It's dawn here for me, and the good day begins now, is it dawn for you there? It's 7:45 a.m

kkoreilly commented 7 months ago

It is currently 4:45 PM for me.

ddkwork commented 7 months ago

Do you have time to debug now?

---Original--- From: @.> Date: Thu, Feb 22, 2024 08:46 AM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

It is currently 4:45 PM for me.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kkoreilly commented 7 months ago

I am currently working on something else, but I should be available to debug later today in a couple of hours.

ddkwork commented 7 months ago

okay

---Original--- From: @.> Date: Thu, Feb 22, 2024 08:56 AM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

I am currently working on something else, but I should be available to debug later today in a couple of hours.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kkoreilly commented 7 months ago

Sorry, I was busy with other things today, so I did not get to debugging this, but I will definitely debug it tomorrow.

ddkwork commented 7 months ago

Oh no, no problem

---Original--- From: @.> Date: Thu, Feb 22, 2024 14:57 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

Sorry, I was busy with other things today, so I did not get to debugging this, but I will definitely debug it tomorrow.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ddkwork commented 7 months ago

Hello, are you free to debug today? panic can be reproduced stably every time

kkoreilly commented 7 months ago

I am ready to debug now.

ddkwork commented 7 months ago

ok 1670379990

---Original--- From: @.> Date: Fri, Feb 23, 2024 08:09 AM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

I am ready to debug now.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kkoreilly commented 7 months ago

It should be all working now after the latest fix in 0cd3455.

ddkwork commented 7 months ago

I summarized your fix principle: the perfect solution for vulkan host memory overflow under Windows, ignore the error returned by vk, check the swap chain size before rendering the next frame, reallocate the swap chain memory if it is 0, context plus various judgments and checks. You're amazing 👍🏻, admire!

---Original--- From: @.> Date: Fri, Feb 23, 2024 08:42 AM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

It should be all working now after the latest fix in 0cd3455.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ddkwork commented 7 months ago

I found a raw code and it no longer panics on my computer, can you reset this logic to core? https://github.com/vulkan-go/asche

ddkwork commented 7 months ago

I summarized your fix principle: the perfect solution for vulkan host memory overflow under Windows, ignore the error returned by vk, check the swap chain size before rendering the next frame, reallocate the swap chain memory if it is 0, context plus various judgments and checks. You're amazing 👍🏻, admire! ---Original--- From: @.> Date: Fri, Feb 23, 2024 08:42 AM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868) It should be all working now after the latest fix in 0cd3455. — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

Hello, the Vulkan panic has occurred again. At this moment, it will panic every time. Would it be convenient for you to debug

ddkwork commented 7 months ago
GOROOT=C:\Program Files\Go #gosetup
GOPATH=C:\Users\Admin\go #gosetup
"C:\Program Files\Go\bin\go.exe" build -o C:\Users\Admin\AppData\Local\JetBrains\GoLand2023.3\tmp\GoLand\___11go_build_cogentcore_org_core_examples_async.exe cogentcore.org/core/examples/async #gosetup
C:\Users\Admin\AppData\Local\JetBrains\GoLand2023.3\tmp\GoLand\___11go_build_cogentcore_org_core_examples_async.exe
Exception 0xc0000005 0x0 0xffffffffffffffff 0x7fffb780d59d
PC=0x7fffb780d59d
signal arrived during external code execution

runtime.cgocall(0x7ff7bc7f6930, 0xc000261a58)
        C:/Program Files/Go/src/runtime/cgocall.go:157 +0x3e fp=0xc000261a30 sp=0xc0002619f8 pc=0x7ff7bbfc939e
github.com/goki/vulkan._Cfunc_callVkWaitForFences(0x22e002b46b8, 0x1, 0xc002104ca0, 0x1, 0xffffffffffffffff)
        _cgo_gotypes.go:9817 +0x55 fp=0xc000261a58 sp=0xc000261a30 pc=0x7ff7bc3e45f5
github.com/goki/vulkan.WaitForFences.func1(0x22e002b46b8, 0x1, 0xc002104ca0, 0x1, 0xffffffffffffffff)
        C:/Users/Admin/go/pkg/mod/github.com/goki/vulkan@v1.0.7/vulkan.go:386 +0x8c fp=0xc000261aa0 sp=0xc000261a58 pc=0x7ff7bc40f88c
github.com/goki/vulkan.WaitForFences(0x22e002b46b8, 0xbc478e67?, {0xc002104ca0, 0x1, 0x1}, 0x4c4808?, 0xc000000000?)
        C:/Users/Admin/go/pkg/mod/github.com/goki/vulkan@v1.0.7/vulkan.go:386 +0x37 fp=0xc000261ad8 sp=0xc000261aa0 pc=0x7ff7bc40f797
cogentcore.org/core/vgpu.(*Surface).AcquireNextImage(0xc0003da210)
        C:/Users/Admin/Desktop/ux/core/vgpu/surface.go:355 +0x73 fp=0xc000261b70 sp=0xc000261ad8 pc=0x7ff7bc44f173
cogentcore.org/core/vgpu/vdraw.(*Drawer).StartDraw(0xc0002ce488, 0x0)
        C:/Users/Admin/Desktop/ux/core/vgpu/vdraw/draw.go:236 +0xd7 fp=0xc000261bd0 sp=0xc000261b70 pc=0x7ff7bc462d17
cogentcore.org/core/gi.(*RenderWin).DrawScenes(0xc0003120f0)
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:993 +0x262 fp=0xc000261c80 sp=0xc000261bd0 pc=0x7ff7bc50d0c2
cogentcore.org/core/gi.(*RenderWin).RenderWindow(0xc0003120f0)
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:957 +0x3b9 fp=0xc000261db0 sp=0xc000261c80 pc=0x7ff7bc50cd59
cogentcore.org/core/gi.(*RenderWin).HandleWindowEvents(0xc0003120f0, {0x7ff7bceef5a0, 0xc0013ad960})
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:619 +0x5ac fp=0xc000261eb0 sp=0xc000261db0 pc=0x7ff7bc50ba0c
cogentcore.org/core/gi.(*RenderWin).HandleEvent(0xc0003120f0, {0x7ff7bceef5a0, 0xc0013ad960})
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:603 +0x11c fp=0xc000261f20 sp=0xc000261eb0 pc=0x7ff7bc50b3bc
cogentcore.org/core/gi.(*RenderWin).EventLoop(0xc0003120f0)
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:569 +0x125 fp=0xc000261fc8 sp=0xc000261f20 pc=0x7ff7bc50b0a5
cogentcore.org/core/gi.(*RenderWin).GoStartEventLoop.gowrap1()
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:523 +0x25 fp=0xc000261fe0 sp=0xc000261fc8 pc=0x7ff7bc50ae45
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000261fe8 sp=0xc000261fe0 pc=0x7ff7bc034de1
created by cogentcore.org/core/gi.(*RenderWin).GoStartEventLoop in goroutine 1
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:523 +0xa5

goroutine 1 gp=0xc00005a000 m=0 mp=0x7ff7bd629480 [syscall, locked to thread]:
runtime.cgocall(0x7ff7bc7f4840, 0xc000bebdb8)
        C:/Program Files/Go/src/runtime/cgocall.go:157 +0x3e fp=0xc000bebd90 sp=0xc000bebd58 pc=0x7ff7bbfc939e
github.com/go-gl/glfw/v3.3/glfw._Cfunc_glfwWaitEvents()
        _cgo_gotypes.go:2494 +0x49 fp=0xc000bebdb8 sp=0xc000bebd90 pc=0x7ff7bc4245a9
github.com/go-gl/glfw/v3.3/glfw.WaitEvents()
        C:/Users/Admin/go/pkg/mod/github.com/go-gl/glfw/v3.3/glfw@v0.0.0-20240118000515-a250818d05e3/window.go:949 +0x13 fp=0xc000bebde0 sp=0xc000bebdb8 pc=0x7ff7bc42d073
cogentcore.org/core/goosi/driver/desktop.(*App).MainLoop(0x7ff7bd628ce0)
        C:/Users/Admin/Desktop/ux/core/goosi/driver/desktop/app.go:73 +0x125 fp=0xc000bebe60 sp=0xc000bebde0 pc=0x7ff7bc46d505
cogentcore.org/core/gi.Wait()
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:42 +0x4b fp=0xc000bebe88 sp=0xc000bebe60 pc=0x7ff7bc508beb
cogentcore.org/core/gi.(*Stage).Wait(...)
        C:/Users/Admin/Desktop/ux/core/gi/stage.go:302
cogentcore.org/core/gi.(*Body).RunMainWindow(0x7ff7bc9b4440?)
        C:/Users/Admin/Desktop/ux/core/gi/mainstage.go:42 +0x2b fp=0xc000bebea8 sp=0xc000bebe88 pc=0x7ff7bc4fd9cb
main.main()
        C:/Users/Admin/Desktop/ux/core/examples/async/async.go:48 +0x2c5 fp=0xc000bebf50 sp=0xc000bebea8 pc=0x7ff7bc7deaa5
runtime.main()
        C:/Program Files/Go/src/runtime/proc.go:271 +0x28b fp=0xc000bebfe0 sp=0xc000bebf50 pc=0x7ff7bc00252b
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000bebfe8 sp=0xc000bebfe0 pc=0x7ff7bc034de1

goroutine 2 gp=0xc00005a700 m=nil [force gc (idle)]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005dfa8 sp=0xc00005df88 pc=0x7ff7bc00292e
runtime.goparkunlock(...)
        C:/Program Files/Go/src/runtime/proc.go:408
runtime.forcegchelper()
        C:/Program Files/Go/src/runtime/proc.go:326 +0xb8 fp=0xc00005dfe0 sp=0xc00005dfa8 pc=0x7ff7bc0027b8
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005dfe8 sp=0xc00005dfe0 pc=0x7ff7bc034de1
created by runtime.init.6 in goroutine 1
        C:/Program Files/Go/src/runtime/proc.go:314 +0x1a

goroutine 3 gp=0xc00005aa80 m=nil [GC sweep wait]:
runtime.gopark(0x1?, 0x0?, 0x0?, 0x0?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00005ff80 sp=0xc00005ff60 pc=0x7ff7bc00292e
runtime.goparkunlock(...)
        C:/Program Files/Go/src/runtime/proc.go:408
runtime.bgsweep(0xc000024230)
        C:/Program Files/Go/src/runtime/mgcsweep.go:318 +0xdf fp=0xc00005ffc8 sp=0xc00005ff80 pc=0x7ff7bbfeb4df
runtime.gcenable.gowrap1()
        C:/Program Files/Go/src/runtime/mgc.go:203 +0x25 fp=0xc00005ffe0 sp=0xc00005ffc8 pc=0x7ff7bbfdfda5
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00005ffe8 sp=0xc00005ffe0 pc=0x7ff7bc034de1
created by runtime.gcenable in goroutine 1
        C:/Program Files/Go/src/runtime/mgc.go:203 +0x66

goroutine 4 gp=0xc00005ac40 m=nil [GC scavenge wait]:
runtime.gopark(0x10000?, 0x7ff7bceda7b8?, 0x0?, 0x0?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00006ff78 sp=0xc00006ff58 pc=0x7ff7bc00292e
runtime.goparkunlock(...)
        C:/Program Files/Go/src/runtime/proc.go:408
runtime.(*scavengerState).park(0x7ff7bd628aa0)
        C:/Program Files/Go/src/runtime/mgcscavenge.go:425 +0x49 fp=0xc00006ffa8 sp=0xc00006ff78 pc=0x7ff7bbfe8e89
runtime.bgscavenge(0xc000024230)
        C:/Program Files/Go/src/runtime/mgcscavenge.go:658 +0x59 fp=0xc00006ffc8 sp=0xc00006ffa8 pc=0x7ff7bbfe9439
runtime.gcenable.gowrap2()
        C:/Program Files/Go/src/runtime/mgc.go:204 +0x25 fp=0xc00006ffe0 sp=0xc00006ffc8 pc=0x7ff7bbfdfd45
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006ffe8 sp=0xc00006ffe0 pc=0x7ff7bc034de1
created by runtime.gcenable in goroutine 1
        C:/Program Files/Go/src/runtime/mgc.go:204 +0xa5

goroutine 5 gp=0xc00005b180 m=nil [finalizer wait]:
runtime.gopark(0x0?, 0xc000a8c270?, 0x0?, 0xe0?, 0x1000000010?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000061e20 sp=0xc000061e00 pc=0x7ff7bc00292e
runtime.runfinq()
        C:/Program Files/Go/src/runtime/mfinal.go:194 +0x107 fp=0xc000061fe0 sp=0xc000061e20 pc=0x7ff7bbfdee27
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000061fe8 sp=0xc000061fe0 pc=0x7ff7bc034de1
created by runtime.createfing in goroutine 1
        C:/Program Files/Go/src/runtime/mfinal.go:164 +0x3d

goroutine 18 gp=0xc00032d180 m=nil [GC worker (idle)]:
runtime.gopark(0x137e26507c8?, 0x3?, 0xa8?, 0x52?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00006bf50 sp=0xc00006bf30 pc=0x7ff7bc00292e
runtime.gcBgMarkWorker()
        C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc00006bfe0 sp=0xc00006bf50 pc=0x7ff7bbfe1ee5
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00006bfe8 sp=0xc00006bfe0 pc=0x7ff7bc034de1
created by runtime.gcBgMarkStartWorkers in goroutine 1
        C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 6 gp=0xc00005b500 m=nil [GC worker (idle)]:
runtime.gopark(0x137e26507c8?, 0x3?, 0x0?, 0x0?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000071f50 sp=0xc000071f30 pc=0x7ff7bc00292e
runtime.gcBgMarkWorker()
        C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc000071fe0 sp=0xc000071f50 pc=0x7ff7bbfe1ee5
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000071fe8 sp=0xc000071fe0 pc=0x7ff7bc034de1
created by runtime.gcBgMarkStartWorkers in goroutine 1
        C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 34 gp=0xc000084380 m=nil [GC worker (idle)]:
runtime.gopark(0x137e26507c8?, 0x3?, 0x0?, 0x0?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000b9f50 sp=0xc0000b9f30 pc=0x7ff7bc00292e
runtime.gcBgMarkWorker()
        C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000b9fe0 sp=0xc0000b9f50 pc=0x7ff7bbfe1ee5
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000b9fe8 sp=0xc0000b9fe0 pc=0x7ff7bc034de1
created by runtime.gcBgMarkStartWorkers in goroutine 1
        C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 35 gp=0xc000084540 m=nil [GC worker (idle)]:
runtime.gopark(0x137e26507c8?, 0x3?, 0xa8?, 0x52?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000bbf50 sp=0xc0000bbf30 pc=0x7ff7bc00292e
runtime.gcBgMarkWorker()
        C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000bbfe0 sp=0xc0000bbf50 pc=0x7ff7bbfe1ee5
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000bbfe8 sp=0xc0000bbfe0 pc=0x7ff7bc034de1
created by runtime.gcBgMarkStartWorkers in goroutine 1
        C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 36 gp=0xc000084700 m=nil [GC worker (idle)]:
runtime.gopark(0x137e255b520?, 0x3?, 0x0?, 0x0?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000b5f50 sp=0xc0000b5f30 pc=0x7ff7bc00292e
runtime.gcBgMarkWorker()
        C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000b5fe0 sp=0xc0000b5f50 pc=0x7ff7bbfe1ee5
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000b5fe8 sp=0xc0000b5fe0 pc=0x7ff7bc034de1
created by runtime.gcBgMarkStartWorkers in goroutine 1
        C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 37 gp=0xc0000848c0 m=nil [GC worker (idle)]:
runtime.gopark(0x1378a739ca0?, 0x3?, 0x1c?, 0xe8?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000b7f50 sp=0xc0000b7f30 pc=0x7ff7bc00292e
runtime.gcBgMarkWorker()
        C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000b7fe0 sp=0xc0000b7f50 pc=0x7ff7bbfe1ee5
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000b7fe8 sp=0xc0000b7fe0 pc=0x7ff7bc034de1
created by runtime.gcBgMarkStartWorkers in goroutine 1
        C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 38 gp=0xc000084a80 m=nil [GC worker (idle)]:
runtime.gopark(0x137e255b520?, 0x3?, 0x0?, 0x0?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000c1f50 sp=0xc0000c1f30 pc=0x7ff7bc00292e
runtime.gcBgMarkWorker()
        C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000c1fe0 sp=0xc0000c1f50 pc=0x7ff7bbfe1ee5
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000c1fe8 sp=0xc0000c1fe0 pc=0x7ff7bc034de1
created by runtime.gcBgMarkStartWorkers in goroutine 1
        C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 39 gp=0xc000084c40 m=nil [GC worker (idle)]:
runtime.gopark(0x137e26507c8?, 0x1?, 0xa8?, 0x52?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000c3f50 sp=0xc0000c3f30 pc=0x7ff7bc00292e
runtime.gcBgMarkWorker()
        C:/Program Files/Go/src/runtime/mgc.go:1310 +0xe5 fp=0xc0000c3fe0 sp=0xc0000c3f50 pc=0x7ff7bbfe1ee5
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000c3fe8 sp=0xc0000c3fe0 pc=0x7ff7bc034de1
created by runtime.gcBgMarkStartWorkers in goroutine 1
        C:/Program Files/Go/src/runtime/mgc.go:1234 +0x1c

goroutine 40 gp=0xc00032ce00 m=nil [select]:
runtime.gopark(0xc000223f78?, 0x2?, 0x98?, 0x3e?, 0xc000223f44?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc000223de8 sp=0xc000223dc8 pc=0x7ff7bc00292e
runtime.selectgo(0xc000223f78, 0xc000223f40, 0x0?, 0x0, 0x0?, 0x1)
        C:/Program Files/Go/src/runtime/select.go:327 +0x725 fp=0xc000223f08 sp=0xc000223de8 pc=0x7ff7bc0142e5
cogentcore.org/core/goosi/driver/base.(*Window[...]).WinLoop(0x7ff7bceeb9a0)
        C:/Users/Admin/Desktop/ux/core/goosi/driver/base/window.go:93 +0x136 fp=0xc000223fc0 sp=0xc000223f08 pc=0x7ff7bc4758d6
cogentcore.org/core/goosi/driver/desktop.(*App).NewWindow.gowrap1()
        C:/Users/Admin/Desktop/ux/core/goosi/driver/desktop/app.go:171 +0x25 fp=0xc000223fe0 sp=0xc000223fc0 pc=0x7ff7bc46e4e5
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc000223fe8 sp=0xc000223fe0 pc=0x7ff7bc034de1
created by cogentcore.org/core/goosi/driver/desktop.(*App).NewWindow in goroutine 1
        C:/Users/Admin/Desktop/ux/core/goosi/driver/desktop/app.go:171 +0xa66

goroutine 42 gp=0xc00032d500 m=nil [semacquire]:
runtime.gopark(0x0?, 0x0?, 0x0?, 0x0?, 0x0?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc0000d5ef0 sp=0xc0000d5ed0 pc=0x7ff7bc00292e
runtime.goparkunlock(...)
        C:/Program Files/Go/src/runtime/proc.go:408
runtime.semacquire1(0x7ff7bd6b0d18, 0x0, 0x1, 0x0, 0x12)
        C:/Program Files/Go/src/runtime/sema.go:160 +0x232 fp=0xc0000d5f58 sp=0xc0000d5ef0 pc=0x7ff7bc015332
sync.runtime_Semacquire(0x0?)
        C:/Program Files/Go/src/runtime/sema.go:62 +0x25 fp=0xc0000d5f90 sp=0xc0000d5f58 pc=0x7ff7bc0301a5
sync.(*WaitGroup).Wait(0x0?)
        C:/Program Files/Go/src/sync/waitgroup.go:116 +0x48 fp=0xc0000d5fb8 sp=0xc0000d5f90 pc=0x7ff7bc043a28
cogentcore.org/core/gi.Wait.func2()
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:39 +0x37 fp=0xc0000d5fe0 sp=0xc0000d5fb8 pc=0x7ff7bc545577
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc0000d5fe8 sp=0xc0000d5fe0 pc=0x7ff7bc034de1
created by cogentcore.org/core/gi.Wait in goroutine 1
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:37 +0x37

goroutine 43 gp=0xc00032d6c0 m=nil [sync.Mutex.Lock]:
runtime.gopark(0x0?, 0x0?, 0xe0?, 0x39?, 0x10000000000?)
        C:/Program Files/Go/src/runtime/proc.go:402 +0xce fp=0xc00025de10 sp=0xc00025ddf0 pc=0x7ff7bc00292e
runtime.goparkunlock(...)
        C:/Program Files/Go/src/runtime/proc.go:408
runtime.semacquire1(0xc0002d4034, 0x0, 0x3, 0x1, 0x15)
        C:/Program Files/Go/src/runtime/sema.go:160 +0x232 fp=0xc00025de78 sp=0xc00025de10 pc=0x7ff7bc015332
sync.runtime_SemacquireMutex(0x0?, 0x1?, 0xc00025df00?)
        C:/Program Files/Go/src/runtime/sema.go:77 +0x25 fp=0xc00025deb0 sp=0xc00025de78 pc=0x7ff7bc030265
sync.(*Mutex).lockSlow(0xc0002d4030)
        C:/Program Files/Go/src/sync/mutex.go:171 +0x15d fp=0xc00025df00 sp=0xc00025deb0 pc=0x7ff7bc04211d
sync.(*Mutex).Lock(...)
        C:/Program Files/Go/src/sync/mutex.go:90
cogentcore.org/core/gi.(*RenderContext).Lock(...)
        C:/Users/Admin/Desktop/ux/core/gi/renderwin.go:788
cogentcore.org/core/gi.(*WidgetBase).UpdateStartAsync(0xc0000cc008)
        C:/Users/Admin/Desktop/ux/core/gi/render.go:140 +0x7d fp=0xc00025df60 sp=0xc00025df00 pc=0x7ff7bc50499d
main.main.func1.1()
        C:/Users/Admin/Desktop/ux/core/examples/async/async.go:33 +0x7f fp=0xc00025dfe0 sp=0xc00025df60 pc=0x7ff7bc7dec1f
runtime.goexit({})
        C:/Program Files/Go/src/runtime/asm_amd64.s:1695 +0x1 fp=0xc00025dfe8 sp=0xc00025dfe0 pc=0x7ff7bc034de1
created by main.main.func1 in goroutine 41
        C:/Users/Admin/Desktop/ux/core/examples/async/async.go:31 +0x90
rax     0xc350bff680
rbx     0x0
rcx     0x65006c0070006d
rdx     0x10c6f7a0b5ed
rdi     0xc002104ca0
rsi     0x22e002b46b8
rbp     0xc350bff6d0
rsp     0xc350bff5d0
r8      0x22e056f75f8
r9      0xc350bff780
r10     0x546c6148
r11     0xc002104ca0
r12     0xffffffff
r13     0x0
r14     0x1
r15     0x76a9480c8
rip     0x7fffb780d59d
rflags  0x10206
cs      0x33
fs      0x53
gs      0x2b

进程 已完成,退出代码为 2
ddkwork commented 7 months ago

I tested 5 times, and each time it was panic

ddkwork commented 7 months ago

I have finally found a stable way to reproduce it. It may have been due to this reason before today that you were unable to replicate it remotely on my computer. It has been stable in a separate core repository, but in the go. work environment, the panic is triggered every time. For example, I often use go work to maintain both the COGENT and the core in order to pull code and test at the same time. In this environment, the panic can be replicated every time

kkoreilly commented 7 months ago

That is strange; are you sure you are using the latest versions of all of the repositories in the workspace? Is it possible that you are setting a different version of Go (like 1.22) in the go.work file than the standard Go version used in core (1.21)?

ddkwork commented 7 months ago

No, there are only two modules in the workspace, so the workspace is also clean, as for the version, both modules are specified 1.21, my go is 1.22, if necessary, I can install the 1.21 test after removing 1.22, but based on the use during this time, I don't think it can be a go version issue

---Original--- From: @.> Date: Tue, Feb 27, 2024 15:05 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

That is strange; are you sure you are using the latest versions of all of the repositories in the workspace? Is it possible that you are setting a different version of Go (like 1.22) in the go.work file than the standard Go version used in core (1.21)?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ddkwork commented 7 months ago

Oh yes, it's all the latest today

---Original--- From: @.> Date: Tue, Feb 27, 2024 15:05 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

That is strange; are you sure you are using the latest versions of all of the repositories in the workspace? Is it possible that you are setting a different version of Go (like 1.22) in the go.work file than the standard Go version used in core (1.21)?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ddkwork commented 7 months ago

That is strange; are you sure you are using the latest versions of all of the repositories in the workspace? Is it possible that you are setting a different version of Go (like 1.22) in the go.work file than the standard Go version used in core (1.21)?

No matter what, because we have mastered the technique of avoiding collisions with her

kkoreilly commented 7 months ago

I will be able to debug this on your computer later today.

ddkwork commented 7 months ago

okay,

---Original--- From: @.> Date: Tue, Feb 27, 2024 23:52 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

I will be able to debug this on your computer later today.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kkoreilly commented 7 months ago

I am ready to debug this on your computer whenever you are.

ddkwork commented 7 months ago

Yes

---Original--- From: @.> Date: Wed, Feb 28, 2024 12:06 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

I am ready to debug this on your computer whenever you are.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ddkwork commented 7 months ago

1670379990

---Original--- From: @.> Date: Wed, Feb 28, 2024 12:06 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

I am ready to debug this on your computer whenever you are.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ddkwork commented 7 months ago

I am ready to debug this on your computer whenever you are.

Are you online? Teacher, now is pm 1:10 to me.

kkoreilly commented 7 months ago

Sorry, I am no longer available to debug this now, but I will be able to debug this on your computer tomorrow.

ddkwork commented 7 months ago

ok

---Original--- From: @.> Date: Wed, Feb 28, 2024 13:40 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

Sorry, I am no longer available to debug this now, but I will be able to debug this on your computer tomorrow.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

ddkwork commented 7 months ago

Hello teacher, is this issue still being investigated? If I want to investigate, I'll download go1.21 and test it now

kkoreilly commented 7 months ago

I am ready to debug this on your computer now. Please do not install go 1.21 yet.

kkoreilly commented 7 months ago

Do you want me to debug this on your computer?

ddkwork commented 7 months ago

yes

2762713521 @.***

 

------------------ 原始邮件 ------------------ 发件人: "cogentcore/core" @.>; 发送时间: 2024年3月1日(星期五) 中午11:03 @.>; @.**@.>; 主题: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of host memory (-1) (Issue #868)

Do you want me to debug this on your computer?

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kkoreilly commented 7 months ago

It says that it is invalid again.

ddkwork commented 7 months ago

ok,1670379990

2762713521 @.***

 

------------------ 原始邮件 ------------------ 发件人: "cogentcore/core" @.>; 发送时间: 2024年3月1日(星期五) 上午10:44 @.>; @.**@.>; 主题: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of host memory (-1) (Issue #868)

I am ready to debug this on your computer now. Please do not install go 1.21 yet.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

kkoreilly commented 7 months ago

Sorry, I have to go now, but I should be able to debug this later today.

kkoreilly commented 7 months ago

Sorry, I actually can't debug this today, but I will be able to debug it tomorrow. Can you try updating to the latest version of Cogent Core and see if that fixes it? I made some changes to the versioning.

ddkwork commented 7 months ago

Tried, the same ending

---Original--- From: @.> Date: Fri, Mar 1, 2024 14:02 PM To: @.>; Cc: @.**@.>; Subject: Re: [cogentcore/core] panic: vulkan error: vulkan error: out of hostmemory (-1) (Issue #868)

Sorry, I actually can't debug this today, but I will be able to debug it tomorrow. Can you try updating to the latest version of Cogent Core and see if that fixes it? I made some changes to the versioning.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>