Skip to content

Whisper cpp 1.7.4 used with go bindings segfaults on raspbery pi 5 #2934

Open
@grga1349

Description

@grga1349

Whisper lib was compiled with
cmake -B build -DGGML_CPU_ARM_ARCH=native -DGGML_NATIVE=OFF -DGGML_CPU=ON
cmake --build build --config Release

This is GDB output

[New Thread 0x7ffeb2ec30c0 (LWP 6321)]
[Thread 0x7ffeb2ec30c0 (LWP 6321) exited]
[New Thread 0x7ffeb2ec30c0 (LWP 6322)]
[New Thread 0x7ffeabfff0c0 (LWP 6323)]
[Thread 0x7ffeabfff0c0 (LWP 6323) exited]
[New Thread 0x7ffeabfff0c0 (LWP 6324)]
[New Thread 0x7ffeab7ef0c0 (LWP 6325)]
[New Thread 0x7ffeaafdf0c0 (LWP 6326)]
[New Thread 0x7ffeaa7cf0c0 (LWP 6327)]
[Thread 0x7ffeaa7cf0c0 (LWP 6327) exited]
[New Thread 0x7ffeaa7cf0c0 (LWP 6328)]

Thread 12 "go_assist" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7ffeabfff0c0 (LWP 6324)]
__memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:131
131 ../sysdeps/aarch64/multiarch/../memcpy.S: No such file or directory.
(gdb) bt
#0 __memcpy_generic () at ../sysdeps/aarch64/multiarch/../memcpy.S:131
#1 0x00007fff3878199c in ggml_compute_forward_mul_mat () from /usr/local/lib/libggml-cpu.so
#2 0x00007fff38787160 in ggml_graph_compute_thread.isra () from /usr/local/lib/libggml-cpu.so
#3 0x00007fff3821ae9c in ?? () from /lib/aarch64-linux-gnu/libgomp.so.1
#4 0x00007fff38b1ee90 in start_thread (arg=0x7ffef0f286a7) at ./nptl/pthread_create.c:442
#5 0x00007fff38b87b1c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:79
(gdb)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions