Skip to content

Segmentation fault in tblis_tensor_mult #19

@spneville

Description

@spneville

I am encountering segfaults when calling tblis_tensor_mult.

Here is a simple example:

`using TBLIS

n = 2

A = Array{Float64}(undef, n, n, n)
B = Array{Float64}(undef, n, n, n)
C = Array{Float64}(undef, n, n, n, n)

Atblis = tblis_tensor(A, 1.0)
Btblis = tblis_tensor(B, 1.0)
Ctblis = tblis_tensor(C, 1.0)

tblis_tensor_mult(Atblis, "abc", Btblis, "cde", Ctblis, "abde")`

which produces the following error:

`nt: 12

[9585] signal 11 (128): Segmentation fault
in expression starting at /home/simon/calculations/TBLIS_testing/test.jl:13
Allocations: 1 (Pool: 1; Big: 0); GC: 0
Segmentation fault (core dumped)`

In case it helps, here is my Julia environment:

julia> versioninfo() Julia Version 1.12.1 Commit ba1e628ee49 (2025-10-17 13:02 UTC) Build Info: Official https://julialang.org release Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 14 × Intel(R) Core(TM) Ultra 5 125U WORD_SIZE: 64 LLVM: libLLVM-18.1.7 (ORCJIT, alderlake) GC: Built with stock GC Threads: 1 default, 1 interactive, 1 GC (on 14 virtual cores)

Thanks for any help.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions