Skip to content

runnnlayertests segmentation fault (zero pointer) #1191

@ThomasZoschke

Description

@ThomasZoschke

./katago runnnlayertests

Only nonsense 0 values in output tabular. Then SEGFAULT.

In lldb you can easily see it is a NULL pointer.

0, 0,
0, 0,
0, 0,
0, 0,
0, 0,


Process 72129 stopped

  • thread Additional networks? #1, queue = 'com.apple.main-thread', stop reason = EXC_BAD_ACCESS (code=1, address=0x0)
    frame #0: 0x0000000239099b0c MetalPerformanceShadersGraphllvm::FailureOr<float> mlir::getSingleFloatValue<float>(mlir::ElementsAttr) + 996 MetalPerformanceShadersGraphmlir::getSingleFloatValue:
    -> 0x239099b0c <+996>: ldr s0, [x19, x9, lsl compiling on Windows #2]
    0x239099b10 <+1000>: str s0, [sp, #0xc]
    0x239099b14 <+1004>: add x8, x8, #0x1
    0x239099b18 <+1008>: cmp x21, x8
    Target 0: (katago) stopped.
    (lldb)

I've been using latest homebrew katago on Apple MacBook Pro M5. That's Silicon built with Metal.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions